/** 
 * iWebsite Template Main Styles
 * Brahma Kumaris International Website
 */

/** General Styles **/
a {
  text-decoration: none;
}

a:visited {
  color: var(--bs-link-hover-color);
}

b, strong {
  font-weight: bold;
}

/** Breadcrumb Navigation **/
.breadcrumb {
  background-color: transparent;
  padding: 0.75rem 0;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "\f285";
  font-family: bootstrap-icons;
  color: var(--bs-secondary);
}

.breadcrumb-item a {
  color: var(--bs-link-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--bs-link-hover-color);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--bs-body-color);
}

/** Typography **/
h1, h2, h3, h4, h5, h6 {
  --bs-heading-color: var(--bs-dark);
}

h1 {
  font-size: 55px;
}

h4 {
  font-size: 19px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.page-header h1 {
  margin: 0 0 24px 0;
}

/** Header and Navigation **/
#iweb-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  background: rgba(34, 34, 34, 0.2);
  opacity: 1;
  padding-top: 15px;
  padding-bottom: 15px;
  transition: 0.4s ease;
  z-index: 999;
}

#main-nav {
  margin-top: 81px;
  border-bottom: none;
  background: rgba(34,34,34,0.2);
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  width: 100%;
  position: fixed;
  z-index: 998;
}

.logo-img {
  height: 50px;
}

.lightHeader {
  background-color: var(--bs-white) !important;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
  opacity: 1 !important;
}

/** Search and Mobile Menu **/
.mod-finder__search.input-group,
.itp-gs.input-group {
  flex-wrap: nowrap !important;
  margin-bottom: 0;
  width: 100%;
  max-width: 450px;
}

.mod-finder__search.input-group .form-control,
.itp-gs.input-group .form-control {
  min-width: 200px;
  padding: 0.6rem 1rem;
}

.mod-finder__search.input-group .btn,
.itp-gs.input-group .btn {
  padding: 0.6rem 1.2rem;
}

#iweb-header .d-flex {
  gap: 15px;
}

@media (max-width: 991.98px) {
  #iweb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    z-index: 1000;
  }
  
  #main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin-top: 90px;
    z-index: 999;
  }

  #iweb-header .mod-finder__search.input-group,
  #iweb-header .itp-gs.input-group {
    display: none !important;
  }

  #dj-megamenu111mobileWrap,
  #dj-megamenu111mobile.dj-megamenu-accordion {
    position: fixed !important;
    top: 28px !important;
    right: calc(var(--bs-gutter-x, 1.5rem) * 0.5) !important;
    z-index: 1002 !important;
  }

  #iweb-header .col-lg-7.col-3.mt-0 {
    margin-top: 0 !important;
  }

  #dj-megamenu111mobile .dj-accordion {
    max-height: calc(100vh - 60px);
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}

#dj-megamenu111mobileWrap {
  margin: 0 !important;
  padding: 0 !important;
}

.dj-mobile-open-btn {
  margin: 0 !important;
  vertical-align: middle;
}

/** Header Image **/
#header-image {
  min-height: 300px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  margin-bottom: 0;
  border-bottom: 8px solid var(--bs-white);
}

/** Video Container **/
.video-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.video-container video {
  display: block;
  position: relative;
  z-index: 0;
}

@media (min-width: 1400px) {
  .video-container {
    height: 720px;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
  }
}

@media (max-width: 1399.98px) {
  .video-container {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  }

  .video-container video {
    position: static;
    transform: none;
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: auto;
    z-index: auto;
  }
}

/** Footer **/
footer {
  border-top: 1px solid var(--bs-border-color);
  background: var(--bs-gray-700);
  color: var(--bs-light);
}

footer .nav-item a {
  color: var(--bs-white);
}

.footer-copyright {
  background: var(--bs-dark);
  color: var(--bs-light);
  padding: 20px 0;
  font-size: 14px;
}

.footer-copyright .footer-link {
  color: var(--bs-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-copyright .footer-link:hover {
  color: var(--bs-primary);
  text-decoration: underline;
}

.footer-copyright .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bs-primary);
  color: var(--bs-dark);
  margin-left: 15px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.footer-copyright .social-icon:hover {
  background-color: var(--bs-light);
  color: var(--bs-dark);
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.footer-copyright .social-icon i {
  line-height: 1;
  font-size: 22px;
}

/** Menu Styles **/
.mod-menu__sub li::before {
  content: "\f133";
  font-family: bootstrap-icons;
  font: 14px/20px;
  color: var(--bs-primary);
  top: 6px;
  left: -23px;
  font-weight: bolder;
  vertical-align: middle;
  margin-right: 6px;
}

.mod-menu__sub li {
  position: relative;
  font-size: 14px;
  line-height: 18px !important;
  margin-top: 10px;
}

/** Navigation Tabs **/
.nav.nav-tabs {
  border-bottom-color: var(--bs-primary);
}

.nav-tabs .nav-link {
  background-color: var(--bs-primary-bg-subtle);
  border-bottom-color: var(--bs-primary);
}

.nav-tabs .nav-link.active {
  color: var(--bs-dark);
  background-color: var(--bs-primary);
  border-bottom-color: var(--bs-primary);
}

/** Home Icon Box **/
.home-icon-box .home-icons .icon-img::before {
  content: "";
  pointer-events: none;
  position: absolute;
  border-radius: 100%;
  opacity: 0;
  background: var(--bs-white);
  transform: scale(2);
  transition: all 0.4s ease;
}

.home-icon-box .home-icons .icon-img.img {
  padding: 50px 0px;
  height: 100%;
  width: 100%;
}

.home-icon-box .home-icons .icon-img {
  background: var(--bs-primary);
  border-radius: 50%;
}

.home-icon-box .home-icons {
  width: 220px;
  height: 220px;
  margin: 0 auto;
}

.home-icon-box {
  padding: 15px 50px;
  text-align: center;
  transition: 0.4s ease-in-out;
}

.home-icon-box .home-icons .icon-img .glyphicon, 
.home-icon-box .home-icons .icon-img .bi {
  font-size: 2.5em;
  color: var(--bs-gray-700);
  z-index: 3;
  position: relative;
}

.bi {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  text-rendering: auto;
  transform: translate(0,0);
}

.spotlight-items .spotlight-item:hover, 
.hover-bounce:hover {
  transform: scale(1.3);
}

/** Utility Classes **/
.multi-line-truncate {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/** Round Images **/
.round-image {
  border-radius: 50% !important;
  aspect-ratio: 1;
  object-fit: cover;
}

/** Article Content Images **/
.article-content img,
.article-body img {
  max-width: 100%;
  height: auto !important;
}

.article-content img.round,
.article-content .round-image,
.article-body img.round,
.article-body .round-image {
  border-radius: 50% !important;
  aspect-ratio: 1;
  object-fit: cover;
}

/** Article Content - mobile responsiveness **/
@media (max-width: 575.98px) {
  .com-content-article-iweb .article-content img.float-start,
  .com-content-article-iweb .article-body img.float-start,
  .com-content-article-iweb .article-content img.float-end,
  .com-content-article-iweb .article-body img.float-end {
    float: none !important;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 1rem !important;
  }

  .com-content-article-iweb p.clearfix {
    margin: 1rem 0 !important;
  }

  .com-content-article-iweb .article-title {
    font-size: 2rem;
    line-height: 1.15;
  }
}

/** Module Custom 141 (The Brahma Kumaris Story tabs) - stack columns on mobile **/
@media (max-width: 767.98px) {
  #mod-custom141 #nav-tab.nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  #mod-custom141 #nav-tab.nav-tabs .nav-link {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  #mod-custom141 #nav-tabContent .tab-pane .row {
    flex-direction: column;
  }

  #mod-custom141 #nav-tabContent .tab-pane .row > [class*="col"] {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  #mod-custom141 #nav-tabContent .tab-pane img {
    display: block;
    max-width: 100%;
    height: auto;
  }
}

/** Article 338 - tabs: keep on one row with ellipsis on mobile **/
@media (max-width: 767.98px) {
  .com-content-article-iweb.article-id-338 #nav-tab.nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .com-content-article-iweb.article-id-338 #nav-tab.nav-tabs .nav-link {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/** Color Classes **/
.light-green-1 {
  background-color: #aec673;
}

.light-green-2 {
  background-color: #d8e4bb;
}

.light-green-3 {
  background-color: #99b74f;
}

.light-green-4 {
  background-color: #cddca9;
}

.light-green-5 {
  background-color: #8ba844;
}

.light-green-6 {
  background-color: #c3d597;
}

.light-green-7 {
  background-color: #7c963d;
}

/** Modals **/
.modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid var(--bs-border-color);
  padding: 20px 28px;
  background: var(--bs-primary);
  border-radius: 16px 16px 0 0;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--bs-white);
  line-height: 1.4;
  margin: 0;
}

.modal-body {
  padding: 0;
  background: var(--bs-body-bg);
}

#youtube-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bs-dark);
}

.video-description-modal {
  padding: 24px 28px;
  background: var(--bs-light);
  border-top: 1px solid var(--bs-border-color);
}

@media (min-width: 992px) {
  .modal-lg {
    max-width: 900px;
  }
}

/** Custom Module Styles **/
.beezone-banner {
  padding: 10px;
}

.side_video, #side-image {
  margin-bottom: 30px;
  border-radius: 8px;
}

#mod-custom114 {
  margin-top: -150px;
  position: relative;
  z-index: 1;
}

@media (max-width: 767.98px) {
  #mod-custom114 {
    margin-top: 20px;
  }
}

/** jQuery UI Overrides **/
.ui-accordion .ui-accordion-header {
  margin: 8px 0 0 0;
  padding: .8em .5em .8em 2em;
}

.ui-state-default, 
.ui-widget-content .ui-state-default, 
.ui-widget-header .ui-state-default {
  background: var(--bs-light);
  color: var(--bs-gray-700);
  font-weight: normal;
  border: 1px solid var(--bs-border-color);
}

*:focus {
  outline: none;
  box-shadow: none;
}

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
  border: 1px solid var(--bs-light);
  background: var(--bs-primary);
  color: var(--bs-white);
}

/** Meditation Steps Backgrounds **/
.meditation-steps.step2 {
  background-color: #fefbf4 !important;
}

.meditation-steps.step3 {
  background-color: #fcf7ea !important;
}

.meditation-steps.step4 {
  background-color: #fbf3e0 !important;
}

.meditation-steps.step5 {
  background-color: #f8e9c4 !important;
}

.ui-state-active, 
.ui-widget-content .ui-state-active, 
.ui-widget-header .ui-state-active {
  background: var(--bs-primary) !important;
  color: var(--bs-white) !important;
}

.ui-corner-all, 
.ui-corner-bottom, 
.ui-corner-right, 
.ui-corner-br {
  border-bottom-right-radius: 8px;
}

.ui-corner-all, 
.ui-corner-bottom, 
.ui-corner-left, 
.ui-corner-bl {
  border-bottom-left-radius: 8px;
}

.ui-corner-all, 
.ui-corner-top, 
.ui-corner-right, 
.ui-corner-tr {
  border-top-right-radius: 8px;
}

.ui-corner-all, 
.ui-corner-top, 
.ui-corner-left, 
.ui-corner-tl {
  border-top-left-radius: 8px;
}

.ui-widget-content {
  border: 1px solid var(--bs-border-color);
  background: var(--bs-white);
  color: var(--bs-gray-700);
}

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
  border-color: var(--bs-primary) !important;
}

.card-hover:hover .rounded-circle {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.transition-all {
  transition: all 0.3s ease !important;
}
