/*---------------------------------------------
 * Practical Jainism – Education theme
 * Primary: Sky Blue (trust, clarity). Secondary: Pastel Orange. Tertiary: Soft Yellow.
---------------------------------------------*/
:root {
  /* Primary – pastel blue */
  --color-primary: #7ec1ec;
  --color-primary-hover: #f6a85b;
  /* Secondary – Pastel Orange (highlights, hover, icons) */
  --color-secondary: #f6a85b;
  /* Tertiary – Soft Yellow (cards, accents, badges) */
  --color-tertiary: #f2d16b;
  --color-textSecondary: #6b7280;
  --color-dark: #1f2937;
  --color-heading: #1f2937;
  --dark-color-heading: #ffffff;
  --color-border: #edf6fd;
  --dark-color-border: #282f3a;
  --color-body: #6b7280;
  --gradient-primary: #7ec1ec;
  /* Background – Soft spiritual white */
  --bg-color: #f8fbfe;
  --dark-bg-color: #020b17;
  --cta-color-bg: #f8fbfe;
  --color-bg-body: #f8fbfe;
  --dark-color-bg-body: #111822;
  --bg-color-2: #1c242f;
  /* Section background – light blue */
  --color-section-bg: #edf6fd;
  --color-white: #ffffff;
  --color-black: #1f2937;
  --footer-text: #1f2937;
  --dark-footer-text: #808080;
  --edu-btn-color: #ffffff;
  --color-title: #6b7280;
  --color-lighten01: #f8fbfe;
  --color-lighten02: #edf6fd;
  --color-lighten03: #f8fbfe;
  --color-lighten04: #edf6fd;
  --color-extra01: #7ec1ec;
  --color-extra02: #8e56ff;
  --color-extra03: #f92596;
  --color-extra04: #5866eb;
  --color-extra05: #f2d16b;
  --color-extra06: #a8c5e0;
  --color-extra07: #da04f8;
  --color-extra08: #4664e4;
  --color-extra09: #6b7280;
  --color-extra10: #1f2937;
  --color-extra11: #22272e;
  --color-success: #6b9b7a;
  --color-danger: #b55a5a;
  --color-warning: #f6a85b;
  --color-info: #7ec1ec;
  --color-placeholder: #6b7280;
}
/* Link / nav / button – smooth transitions (color, border, scale) */
a,
ul li a,
ol li a {
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}
a:hover,
a:focus,
ul li a:hover,
ol li a:hover {
  color: #f6a85b !important;
  border-color: #f6a85b !important;
}

.edu-breadcrumb-area .edu-breadcrumb li.breadcrumb-item a,
.breadcrumb-style-6 .breadcrumb-inner .edu-breadcrumb li.breadcrumb-item a,
.breadcrumb-style-8
  .breadcrumb-right-wrapper
  .breadcrumb-inner
  li.breadcrumb-item
  a {
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}
.edu-breadcrumb-area .edu-breadcrumb li.breadcrumb-item a:hover,
.breadcrumb-style-6
  .breadcrumb-inner
  .edu-breadcrumb
  li.breadcrumb-item
  a:hover,
.breadcrumb-style-8
  .breadcrumb-right-wrapper
  .breadcrumb-inner
  li.breadcrumb-item
  a:hover {
  color: #f6a85b !important;
  border-color: #f6a85b !important;
}

a.btn-transparent,
button.btn-transparent {
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}
a.btn-transparent:hover,
button.btn-transparent:hover {
  color: #f6a85b !important;
  border-color: #f6a85b !important;
}

/* Navigation bar – white only, dark links, pastel orange hover */
.edu-header .header-mainmenu {
  background-color: #ffffff !important;
}
.edu-header .header-mainmenu .mainmenu > li > a {
  color: var(--color-heading) !important;
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}
.edu-header .header-mainmenu .mainmenu li.has-droupdown .submenu li a {
  color: var(--color-heading) !important;
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}
.mainmenu-nav .mainmenu > li > a:hover,
.mainmenu-nav .mainmenu > li > a.active {
  color: #f6a85b !important;
  border-color: #f6a85b !important;
}

.mainmenu-nav .mainmenu li.has-droupdown .submenu li a:hover {
  color: #f6a85b !important;
  border-color: #f6a85b !important;
}

/* Mobile menu (popup) nav link hover */
.popup-mobile-menu .mainmenu li a {
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}
.popup-mobile-menu .mainmenu li a:hover {
  color: #f6a85b !important;
  border-color: #f6a85b !important;
}

/* Preloader – logo centered + rotating ring, soft blue (logo-aligned) */
#edublink-preloader {
  background-color: #edf6fd !important;
  background-image: none !important;
}

#edublink-preloader .preloader-logo-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

#edublink-preloader .preloader-logo {
  max-width: 130px;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  border-radius: 50%;
}

#edublink-preloader .preloader-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 170px;
  height: 170px;
  margin: -85px 0 0 -85px;
  border-radius: 50%;
  border: 2px solid #7ec1ec;
  border-top-color: #f6a85b;
  background: transparent;
  animation: preloader-spin 1.2s linear infinite;
}

#edublink-preloader .loading-spinner {
  opacity: 0;
  pointer-events: none;
}

@keyframes preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Preloader → content fade-in: main content fades in when preloader is done */
.main-wrapper {
  opacity: 0;
  transition: opacity 0.6s ease;
}
body.preloader-done .main-wrapper {
  opacity: 1;
}

/* Scroll progress / back-to-top – unloaded track = primary blue */
.rn-progress-parent.rn-backto-top-active,
.rn-progress-parent {
  box-shadow: inset 0 0 0 2px #7ec1ec !important;
}

/* Journey CTA banner – white background, sits just above footer */
.journey-cta-banner {
  background: #ffffff !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Hero slider – darker overlay + more opaque text for readability */
.photography-banner .swiper-slide:before {
  background: linear-gradient(
    182deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0) 25%
  ) !important;
}
.photography-banner
  .swiper-slide-active
  .thumbnail-bg-content
  .banner-content
  .title,
.photography-banner
  .swiper-slide-active
  .thumbnail-bg-content
  .banner-content
  p {
  opacity: 1 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Buttons – pastel blue, hover pastel orange + smooth transition + slight scale */
.edu-btn,
a.edu-btn,
button.edu-btn {
  background: #7ec1ec !important;
  border-color: #7ec1ec !important;
  color: var(--color-white) !important;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease;
}
.edu-btn:hover,
a.edu-btn:hover,
button.edu-btn:hover {
  background: #f6a85b !important;
  border-color: #f6a85b !important;
  color: var(--color-white) !important;
  transform: scale(1.02);
}

/* Button hover overlay – solid pastel */
a.edu-btn:after,
button.edu-btn:after {
  background: #f6a85b !important;
}

.btn-gradient::after {
  background: #7ec1ec !important;
}

/* Bordered buttons – hover: Pastel Orange */
a.edu-btn.btn-border:hover,
button.edu-btn.btn-border:hover {
  border-color: #f6a85b !important;
}
a.edu-btn.btn-border-curved:hover,
button.edu-btn.btn-border-curved:hover {
  border-color: #f6a85b !important;
}

/* Section backgrounds – soft white / light blue / light yellow rhythm */
.bg-color,
.cta-color-bg {
  background-color: var(--bg-color) !important;
}

/* Alternating section background (light blue) */
.edu-section-gap.bg-color-alt,
[class*="section"].bg-light {
  background-color: #edf6fd !important;
}

/* Section rhythm: light blue → light yellow → light blue → ... */
.edu-about-area.about-style-3 {
  background-color: #edf6fd !important;
}
.edu-course-area.course-area-1 {
  background-color: #fafcff !important;
}
.counterup-area-4 {
  background-color: #edf6fd !important;
}
.edu-categorie-area.categorie-area-2 {
  background-color: #edf6fd !important;
}
.edu-about-area.about-style-1 {
  background-color: #fafcff !important;
}

/* Page body – soft spiritual white */
body,
.main-wrapper {
  background-color: var(--color-bg-body) !important;
}

/* Cards – white with section-border */
.edu-course-widget,
.course-grid-style-1,
[class*="course-card"] {
  border: 1px solid #edf6fd !important;
}

/* Top Categories – pastel blue, hover pastel orange */
.edu-categorie-area.categorie-area-2 .categorie-grid.categorie-style-2 {
  background: #7ec1ec !important;
  transition: background 0.35s ease;
  border: 1px solid #edf6fd !important;
}
.edu-categorie-area.categorie-area-2 .categorie-grid.categorie-style-2:hover {
  background: #f6a85b !important;
  border-color: #f6a85b !important;
}
.edu-categorie-area.categorie-area-2 .categorie-grid.categorie-style-2 .icon {
  background-color: transparent !important;
  color: var(--color-white) !important;
}
.edu-categorie-area.categorie-area-2
  .categorie-grid.categorie-style-2
  .content
  .title {
  color: var(--color-white) !important;
}
.edu-categorie-area.categorie-area-2
  .categorie-grid.categorie-style-2:hover
  .icon {
  background-color: transparent !important;
  color: var(--color-white) !important;
}
.edu-categorie-area.categorie-area-2
  .categorie-grid.categorie-style-2:hover
  .content
  .title {
  color: var(--color-white) !important;
}
.edu-categorie-area.categorie-area-2
  .categorie-grid.categorie-style-2
  .icon
  svg
  path {
  fill: var(--color-white) !important;
  stroke: var(--color-white) !important;
}
.edu-categorie-area.categorie-area-2
  .categorie-grid.categorie-style-2:hover
  .icon
  svg
  path {
  fill: var(--color-white) !important;
  stroke: var(--color-white) !important;
}

/* Testimonial cards – all same size, stars/name/location pinned to bottom */
.home-one-testimonial-activator .swiper-slide .testimonial-grid {
  height: 460px;
  overflow: hidden;
  position: relative !important;
  padding-bottom: 100px !important;
}
.home-one-testimonial-activator
  .swiper-slide
  .testimonial-grid
  .content
  .rating-icon,
.home-one-testimonial-activator .swiper-slide .testimonial-grid .content .title,
.home-one-testimonial-activator
  .swiper-slide
  .testimonial-grid
  .content
  .subtitle {
  position: absolute;
  left: 30px;
  right: 30px;
}
.home-one-testimonial-activator
  .swiper-slide
  .testimonial-grid
  .content
  .rating-icon {
  bottom: 75px;
}
.home-one-testimonial-activator
  .swiper-slide
  .testimonial-grid
  .content
  .title {
  bottom: 40px;
}

.testimonial-grid {
  padding-top: 20px;
}
.home-one-testimonial-activator
  .swiper-slide
  .testimonial-grid
  .content
  .subtitle {
  bottom: 20px;
}

/* Card hover lift – Top Categories, feature boxes, course cards */
.edu-categorie-area.categorie-area-2 .categorie-grid.categorie-style-2,
.features-area-2 .features-box.features-style-2,
.edu-course.course-style-1 {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.35s ease,
    border-color 0.3s ease;
}
.edu-categorie-area.categorie-area-2 .categorie-grid.categorie-style-2:hover,
.features-area-2 .features-box.features-style-2:hover,
.edu-course.course-style-1:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   Team Directory Page  (team-two.html)
   ============================================================ */

/* ── Uniform card: same height for all cards ── */
.edu-team-area.team-area-1 .team-member-col {
  display: flex;
}
.edu-team-area.team-area-1 .edu-team-grid.team-style-1 {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.edu-team-area.team-area-1 .edu-team-grid.team-style-1 .inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 360px;
}

/* ── Uniform card image ── */
.edu-team-grid.team-style-1 .thumbnail {
  height: 240px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  position: relative;
}
.edu-team-grid.team-style-1 .thumbnail a {
  display: block;
  width: 100%;
  height: 100%;
}
.edu-team-grid.team-style-1 .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ── Override green image overlay: subtle dark dim ── */
.edu-team-grid .thumbnail a:after {
  background-color: rgba(0, 0, 0, 0.2) !important;
}

/* ── Card hover: softer lift + gentle shadow ── */
.edu-team-grid.team-style-1:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

/* ── Card content: centrally aligned (name, position, phone, email) ── */
.edu-team-area.team-area-1 .edu-team-grid .content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1;
  min-height: 0;
  text-align: center !important;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: flex-start;
}
.edu-team-area.team-area-1 .edu-team-grid .team-card-left {
  flex: 0 0 auto;
  text-align: center !important;
}
.edu-team-area.team-area-1 .edu-team-grid .content .title,
.edu-team-area.team-area-1 .edu-team-grid .content .designation {
  text-align: center !important;
  display: block;
}
.edu-team-area.team-area-1 .edu-team-grid .team-contact {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 12px;
  flex: 0 0 auto;
  font-size: 13px;
  line-height: 1.2;
  margin-top: 8px;
}
.edu-team-area.team-area-1 .edu-team-grid .team-contact a {
  display: block;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}
.edu-team-area.team-area-1 .edu-team-grid .team-contact a:first-of-type {
  text-align: left;
}
.edu-team-area.team-area-1 .edu-team-grid .team-contact a:last-of-type {
  text-align: right;
  margin-top: 0;
}
.edu-team-area.team-area-1 .edu-team-grid .team-contact a:hover {
  color: #f6a85b;
}

/* ── Team card click: cursor to show it’s clickable ── */
.edu-team-area.team-area-1 .edu-team-grid {
  cursor: pointer;
}

/* ── Team member modal (popup on card click) ── */
.team-member-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.team-member-modal.team-member-modal-visible {
  opacity: 1;
  visibility: visible;
}
.team-member-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.team-member-modal-box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.team-member-modal-visible .team-member-modal-box {
  transform: scale(1);
}
.team-member-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  background: #edf6fd;
  color: #1f2937;
  font-size: 24px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.team-member-modal-close:hover {
  background: #7ec1ec;
  color: #fff;
}
.team-member-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.team-member-modal-body .team-modal-img-wrap {
  display: block;
  width: 100%;
  max-width: 280px;
  height: 280px;
  margin: 0 auto 20px auto;
  border-radius: 12px;
  overflow: hidden;
}
.team-member-modal-body .team-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.team-member-modal-body .team-modal-name,
.team-member-modal-body .team-modal-line {
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.team-member-modal-body .team-modal-name {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}
.team-member-modal-body .team-modal-line {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}
.team-member-modal-body .team-modal-line a {
  color: #7ec1ec;
  text-decoration: none;
}
.team-member-modal-body .team-modal-line a:hover {
  color: #f6a85b;
}
.team-member-modal-body .teacher-modal-img-wrap {
  margin-bottom: 20px;
}
.team-member-modal-body .thumbnail-wrap {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto 20px auto;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.team-member-modal-body .thumbnail {
  width: 100%;
  height: 280px;
  margin-bottom: 0;
  display: block;
  overflow: hidden;
}
.team-member-modal-body .thumbnail a {
  display: block;
  width: 100%;
  height: 100%;
}
.team-member-modal-body .thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}
.team-member-modal-body .content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  text-align: center !important;
  width: 100%;
}
.team-member-modal-body .team-card-left,
.team-member-modal-body .content .title,
.team-member-modal-body .content .designation {
  text-align: center !important;
}
.team-member-modal-body .team-contact {
  display: flex !important;
  flex-direction: column !important;
  margin-top: 12px;
  width: 100%;
  align-items: center;
  justify-content: center;
  text-align: center !important;
}
.team-member-modal-body .team-contact a {
  display: block;
}
.team-member-modal-body .team-contact a:first-of-type {
  order: 2;
}
.team-member-modal-body .team-contact a:last-of-type {
  order: 1;
}

/* ═══════════════════════════════════════════════════════════
   Our Teachers page – Read more button + teacher modal
   ═══════════════════════════════════════════════════════════ */

.teacher-read-more-wrap {
  text-align: center;
  margin-top: 12px;
}
.teacher-read-more-link {
  font-size: 13px;
  color: #7ec1ec;
  text-decoration: none;
  transition: color 0.2s ease;
}
.teacher-read-more-link:hover {
  color: #f6a85b;
  text-decoration: underline;
}

.teacher-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.teacher-modal.teacher-modal-visible {
  opacity: 1;
  visibility: visible;
}
.teacher-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.teacher-modal-box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.teacher-modal.teacher-modal-visible .teacher-modal-box {
  transform: scale(1);
}
.teacher-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  background: #edf6fd;
  color: #1f2937;
  font-size: 24px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.teacher-modal-close:hover {
  background: #7ec1ec;
  color: #fff;
}
.teacher-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.teacher-modal-img-wrap {
  display: block;
  width: 100%;
  max-width: 280px;
  height: 280px;
  margin: 0 auto 20px auto;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.teacher-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.teacher-modal-name {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}
.teacher-modal-line {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}
.teacher-modal-line a {
  color: #7ec1ec;
  text-decoration: none;
}
.teacher-modal-line a:hover {
  color: #f6a85b;
}

/* ── Search bar ── */
.team-search-wrapper {
  display: flex;
  justify-content: center;
  margin: 0 auto 24px;
  max-width: 480px;
  position: relative;
}
.team-search-wrapper input {
  width: 100%;
  padding: 12px 20px 12px 48px;
  border: 2px solid #edf6fd;
  border-radius: 50px;
  font-size: 15px;
  color: #1f2937;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(126, 193, 236, 0.12);
}
.team-search-wrapper input:focus {
  border-color: #7ec1ec;
  box-shadow: 0 4px 20px rgba(126, 193, 236, 0.28);
}
.team-search-wrapper .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #7ec1ec;
  font-size: 18px;
  pointer-events: none;
}

/* ── Filter pill buttons ── */
.team-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}
@media (max-width: 767px) {
  .team-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .team-filter-bar::-webkit-scrollbar {
    display: none;
  }
}
.team-filter-btn {
  white-space: nowrap;
  padding: 8px 22px;
  border-radius: 50px;
  border: 2px solid #7ec1ec;
  background: transparent;
  color: #7ec1ec;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease;
}
.team-filter-btn:hover,
.team-filter-btn.active {
  background: #7ec1ec;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ── Section headings ── */
.team-section {
  margin-bottom: 60px;
}
.team-section-heading {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 30px;
  padding-bottom: 12px;
  border-bottom: 2px solid #edf6fd;
  position: relative;
}
.team-section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 60px;
  height: 2px;
  background: #7ec1ec;
}

/* ── Member card col transitions ── */
.team-member-col {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.team-member-col.hidden {
  display: none !important;
}

/* ── Hidden sections (filter) ── */
.team-section.section-hidden {
  display: none;
}

/* ── No-results message ── */
#no-results {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
  font-size: 16px;
}
#no-results i {
  font-size: 48px;
  color: #7ec1ec;
  display: block;
  margin-bottom: 16px;
}

/* ============================================================
   Annual Events Page  (event-grid.html)
   ============================================================ */

/* ── Filter Panel ── */
.event-filter-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(126, 193, 236, 0.14);
  padding: 28px 32px;
  margin-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
}

.event-filter-panel .filter-group {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.event-filter-panel label {
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  letter-spacing: 0.3px;
}

.event-filter-panel input,
.event-filter-panel select {
  height: 44px;
  padding: 0 16px;
  border: 2px solid #edf6fd;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1;
  color: #1f2937;
  outline: none;
  background: #f8fbfe;
  box-sizing: border-box;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}

.event-filter-panel select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.event-filter-panel input:focus,
.event-filter-panel select:focus {
  border-color: #7ec1ec;
  box-shadow: 0 0 0 3px rgba(126, 193, 236, 0.15);
  background: #fff;
}

.event-filter-panel select:focus {
  background-color: #fff;
}

.event-filter-panel .filter-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: flex-end;
}

.event-filter-panel .btn-apply,
.event-filter-panel .btn-reset {
  height: 44px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.event-filter-panel .btn-reset {
  padding: 0 20px;
}

.btn-apply {
  padding: 10px 24px;
  background: #7ec1ec;
  border: 2px solid #7ec1ec;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.2s;
}

.btn-apply:hover {
  background: #62aede;
  border-color: #62aede;
  transform: translateY(-2px);
}

.btn-reset {
  padding: 10px 20px;
  border: 2px solid #edf6fd;
  border-radius: 8px;
  background: #f8fbfe;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.25s,
    color 0.25s;
}

.btn-reset:hover {
  border-color: #7ec1ec;
  color: #7ec1ec;
}

/* ── Event Card enhancements (equal-height cards) ── */
#events-grid.row {
  display: flex;
  flex-wrap: wrap;
}

#events-grid .event-card-col {
  display: flex;
}

#events-grid .event-card-col .edu-event {
  width: 100%;
  display: flex;
  flex-direction: column;
}

#events-grid .event-card-col .edu-event .inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#events-grid .event-card-col .edu-event .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#events-grid .event-card-col .edu-event .content .event-agenda {
  flex: 1;
  min-height: 120px;
  max-height: 180px;
  overflow-y: auto;
}

#events-grid .event-card-col .edu-event .content .event-read-more {
  margin-top: auto;
}

.edu-event.event-style-1 {
  background: #fff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

#events-grid .edu-event.event-style-1 .content {
  background-color: #fff;
}

.edu-event.event-style-1:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1) !important;
}

.edu-event.event-style-1 .thumbnail {
  flex-shrink: 0;
}

.edu-event.event-style-1 .thumbnail img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Agenda table ── */
.event-agenda {
  background: #f8fbfe;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 10px 0 14px;
  font-size: 12.5px;
  color: #4b5563;
}

.event-agenda .agenda-header {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
  display: flex;
  gap: 0;
}

.event-agenda .agenda-row {
  display: flex;
  gap: 0;
  padding: 3px 0;
  border-top: 1px solid #edf6fd;
  line-height: 1.4;
}

.event-agenda .col-time {
  width: 90px;
  flex-shrink: 0;
  font-weight: 600;
  color: #7ec1ec;
}

.event-agenda .col-title {
  flex: 1;
}

/* ── Read More link ── */
.event-read-more a {
  color: #7ec1ec;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.event-read-more a:hover {
  color: #f6a85b !important;
}

/* ── No results ── */
#events-no-results {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
  font-size: 16px;
}

#events-no-results i {
  font-size: 48px;
  color: #7ec1ec;
  display: block;
  margin-bottom: 14px;
}

/* ── Hidden event card ── */
.event-card-col.hidden {
  display: none !important;
}

/* ── Compact breadcrumb (events page) ── */
.edu-breadcrumb-area.breadcrumb-style-2.bg-image {
  padding-top: 60px !important;
  padding-bottom: 40px !important;
  min-height: unset !important;
}

/* ── Finance model (about-three.html) – primary blue ── */
.finance-icon {
  background: #7ec1ec !important;
}

.finance-amount {
  color: #7ec1ec !important;
}

.finance-arrow {
  color: #7ec1ec !important;
}

.finance-arrow i {
  color: inherit;
}

.finance-tag {
  background: #7ec1ec !important;
  color: #fff !important;
}

/* ── Management cards + initiative icons (about-three.html) – primary blue, no gradient ── */
.mgmt-avatar {
  background: #7ec1ec !important;
}

.mgmt-social li a {
  background: #7ec1ec !important;
  border-color: #7ec1ec !important;
  color: #fff !important;
}

.mgmt-social li a:hover {
  background: #62aede !important;
  border-color: #62aede !important;
  color: #fff !important;
}

.initiative-icon-1,
.initiative-icon-2,
.initiative-icon-3,
.initiative-icon-4,
.initiative-icon-5 {
  background: #7ec1ec !important;
  transition: background 0.25s ease;
}

/* Hover: primary → secondary (icon box + plus button) */
.initiatives-accordion .accordion-button:hover .initiative-icon-wrap {
  background: #f6a85b !important;
}

.initiatives-accordion .accordion-button:hover::before {
  background: #f6a85b !important;
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   Founder's Message Section  (about-three.html)
   ═══════════════════════════════════════════════════════════ */

/* Section background – alternating light blue */
.founder-message-section {
  background-color: #edf6fd;
}

/* ── Image wrap ── */
.founder-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.founder-photo {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  box-shadow:
    0 16px 48px rgba(126, 193, 236, 0.35),
    0 4px 16px rgba(0, 0, 0, 0.1);
  border: 6px solid #ffffff;
  display: block;
  margin: 0 auto;
}

/* ── Content side ── */
.founder-content {
  position: relative;
  padding-left: 8px;
}

/* Big decorative opening quote */
.founder-quote-mark {
  font-size: 96px;
  line-height: 1;
  color: #7ec1ec;
  opacity: 0.35;
  font-family: Georgia, serif;
  margin-bottom: -32px;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Pull-quote styling */
.founder-quote {
  font-size: 18px;
  line-height: 1.8;
  font-style: italic;
  color: #1f2937;
  font-weight: 500;
  border-left: 4px solid #7ec1ec;
  padding-left: 20px;
  margin: 0 0 24px 0;
}

/* Body paragraph */
.founder-message-body {
  font-size: 15px;
  line-height: 1.85;
  color: #6b7280;
  margin-bottom: 28px;
}

/* ── Byline – name + role ── */
.founder-byline {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid #d4e8f5;
}

.founder-byline-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.founder-name {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  line-height: 1.3;
}

.founder-role {
  font-size: 13px;
  font-weight: 500;
  color: #7ec1ec;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ── Responsive: tablet / mobile → image stacks on top ── */
@media (max-width: 767px) {
  .founder-photo {
    max-width: 240px;
  }

  .founder-quote {
    font-size: 16px;
  }

  .founder-quote-mark {
    font-size: 72px;
  }
}

/* FAQ section */

.faq-page-nav .nav.nav-tabs {
  flex-direction: column;
  border: none;
  gap: 8px;
  margin-top: 20px;
}

.faq-page-nav .nav-item {
  width: 100%;
}

.faq-page-nav .nav-link {
  width: 100%;
  text-align: left;
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px !important;
  padding: 12px 20px;
  color: #231524;
  font-size: 15px;
  font-weight: 500;
  background: #fff;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-page-nav .nav-link i {
  font-size: 17px;
  color: var(--color-primary, #f5a623);
  flex-shrink: 0;
}

.faq-page-nav .nav-link:hover {
  background: #fdf9f0;
  border-color: var(--color-primary, #f5a623) !important;
  color: var(--color-primary, #f5a623);
}

.faq-page-nav .nav-link.active {
  background: var(--color-primary, #f5a623);
  border-color: var(--color-primary, #f5a623) !important;
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(245, 166, 35, 0.25);
}

.faq-page-nav .nav-link.active i {
  color: #fff;
}

/* FAQ tab content */
.faq-page-tab-content {
  padding-left: 10px;
}

/* Category title inside tab pane */
.faq-tab-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #231524;
}

.faq-tab-title span {
  color: var(--color-primary, #f5a623);
}

/* Accordion tweaks */
.faq-accordion .accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-accordion .accordion-item {
  border: 1px solid #e8e8e8;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}

.faq-accordion .accordion-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-accordion .accordion-header {
  margin: 0;
}

.faq-accordion .accordion-button {
  font-size: 15px;
  font-weight: 600;
  padding: 18px 24px;
  border-radius: 10px !important;
  background: #fff;
  color: #231524;
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: #fdf9f0;
  color: var(--color-primary, #f5a623);
  border-bottom: 1px solid #f0e8d5;
}

.faq-accordion .accordion-button::after {
  transition: transform 0.3s ease;
}

.faq-accordion .accordion-body {
  padding: 18px 24px 20px;
  font-size: 15px;
  color: #52565b;
  line-height: 1.75;
  background: #fff;
}

/* CTA banner at bottom */
.faq-still-query-area {
  background: #fff;
  border: none;
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
}

.faq-still-query-area .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary, #f5a623);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.35);
}

.faq-still-query-area .icon-wrap i {
  color: #fff;
  font-size: 26px;
}

.faq-still-query-area h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #231524;
}

.faq-still-query-area p {
  font-size: 16px;
  color: #52565b;
  margin-bottom: 22px;
}

.faq-still-query-area a.contact-link {
  display: inline-block;
  background: var(--color-primary, #f5a623);
  color: #fff !important;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.3);
}

.faq-still-query-area a.contact-link:hover {
  background: #e0940e;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(245, 166, 35, 0.45);
}

/* Responsive: stack on mobile */
@media (max-width: 991px) {
  .faq-page-nav .nav.nav-tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .faq-page-nav .nav-item {
    width: auto;
    flex-shrink: 0;
  }

  .faq-page-nav .nav-link {
    white-space: nowrap;
    padding: 10px 16px;
  }

  .faq-page-tab-content {
    padding-left: 0;
    padding-top: 24px;
  }

  .faq-still-query-area {
    padding: 36px 20px;
  }
}

/* ═══════════════════════════════════
           Testimonials Page – Custom Styles
        ═══════════════════════════════════ */

/* ── Section Header ── */
.testimonials-page-area {
  padding: 80px 0 60px;
}

/* ── Type Tabs (Text / Video) ── */
.testimonial-type-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.testimonial-type-tabs .type-tab-btn {
  padding: 12px 36px;
  border-radius: 50px;
  border: 2px solid #e0e0e0;
  background: #fff;
  color: #52565b;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.28s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimonial-type-tabs .type-tab-btn i {
  font-size: 18px;
}

.testimonial-type-tabs .type-tab-btn:hover {
  border-color: var(--color-primary, #f5a623);
  color: var(--color-primary, #f5a623);
}

.testimonial-type-tabs .type-tab-btn.active {
  background: var(--color-primary, #f5a623);
  border-color: var(--color-primary, #f5a623);
  color: #fff;
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.3);
}

/* ── Category Filter Pills ── */
.testimonial-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.testimonial-filters .filter-pill {
  padding: 8px 22px;
  border-radius: 50px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  color: #52565b;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.testimonial-filters .filter-pill:hover {
  border-color: var(--color-primary, #f5a623);
  color: var(--color-primary, #f5a623);
  background: #fff8ee;
}

.testimonial-filters .filter-pill.active {
  background: var(--color-primary, #f5a623);
  border-color: var(--color-primary, #f5a623);
  color: #fff;
}

/* ── Tab Content Panels ── */
.testimonial-tab-panel {
  display: none;
}

.testimonial-tab-panel.active {
  display: block;
}

/* ── Text Testimonial Cards ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 991px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testi-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 16px;
  padding: 28px 24px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}

.testi-card:hover {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

/* Quote + Avatar row */
.testi-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.testi-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #f5e8cc;
}

.testi-quote-icon {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff8ee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary, #f5a623);
  font-size: 20px;
  flex-shrink: 0;
}

/* Testimonial text */
.testi-text {
  font-size: 14.5px;
  color: #52565b;
  line-height: 1.75;
  flex-grow: 1;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Star rating */
.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  color: var(--color-primary, #f5a623);
  font-size: 14px;
}

/* Name + location */
.testi-footer {
  border-top: 1px solid #f0f0f0;
  padding-top: 14px;
}

.testi-name {
  font-size: 15px;
  font-weight: 700;
  color: #231524;
  margin: 0 0 2px;
}

.testi-location {
  font-size: 13px;
  color: #8a8a8a;
  display: flex;
  align-items: center;
  gap: 4px;
}

.testi-location i {
  font-size: 13px;
}

/* Category badge */
.testi-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  background: #fff3d4;
  color: #b07600;
}

/* ── No results message ── */
.no-results-msg {
  text-align: center;
  padding: 60px 0 40px;
  color: #aaa;
  font-size: 16px;
  display: none;
}

/* ── Video Testimonial Cards ── */
.video-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ebebeb;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}

.video-card:hover {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.13);
  transform: translateY(-4px);
}

.video-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1a1a2e;
}

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-card-thumb img {
  transform: scale(1.06);
}

/* Play button overlay */
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s;
}

.video-card:hover .video-play-btn {
  background: rgba(0, 0, 0, 0.45);
}

.video-play-btn .play-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-primary, #f5a623);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(245, 166, 35, 0.5);
  transition: transform 0.3s;
}

.video-card:hover .play-circle {
  transform: scale(1.1);
}

.video-play-btn .play-circle i {
  color: #fff;
  font-size: 24px;
  margin-left: 4px;
}

/* Duration badge */
.video-duration {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.video-card-body {
  padding: 16px 18px 18px;
}

.video-card-category {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary, #f5a623);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.video-card-name {
  font-size: 15px;
  font-weight: 700;
  color: #231524;
  margin: 0;
}

.video-card-subtitle {
  font-size: 13px;
  color: #8a8a8a;
  margin-top: 3px;
}

/* ── Video Modal ── */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.video-modal-box {
  position: relative;
  width: 90%;
  max-width: 860px;
  border-radius: 12px;
  overflow: hidden;
  transform: scale(0.92);
  transition: transform 0.3s ease;
  background: #000;
}

.video-modal-overlay.open .video-modal-box {
  transform: scale(1);
}

.video-modal-box iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border: none;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.video-modal-close:hover {
  color: var(--color-primary, #f5a623);
}

/* ── Responsive type tabs on mobile ── */
@media (max-width: 480px) {
  .testimonial-type-tabs .type-tab-btn {
    padding: 10px 22px;
    font-size: 14px;
  }
}

/* ============================================================
   Marketing Support – Orientation-Grouped Poster Gallery
   ============================================================ */

/* Gallery section spacing */
.ms-gallery-area {
  padding: 80px 0;
  background-color: var(--bg-color, #f8fbfe);
}

/* Orientation sections: space them apart */
.ms-orientation-section {
  margin-bottom: 56px;
}
.ms-orientation-section:last-child {
  margin-bottom: 0;
}

/* Section label (e.g. "Landscape Posters") */
.ms-section-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-body, #6b7280);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ms-section-label i {
  font-size: 18px;
  color: var(--color-primary, #7ec1ec);
}

/* ── Shared base grid ── */
.ms-poster-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

/* Landscape: 4 columns – wider, shorter cards */
.ms-poster-grid--landscape {
  grid-template-columns: repeat(4, 1fr);
}

/* Portrait: 3 columns – narrower, taller cards */
.ms-poster-grid--portrait {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Tablet breakpoints ── */
@media (max-width: 991px) {
  .ms-poster-grid--landscape {
    grid-template-columns: repeat(3, 1fr);
  }
  .ms-poster-grid--portrait {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Mobile breakpoints ── */
@media (max-width: 575px) {
  .ms-poster-grid--landscape,
  .ms-poster-grid--portrait {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* Column: stretch to fill grid cell */
.ms-poster-col {
  width: 100%;
  display: flex;
}

/* Card: white bg, rounded corners, subtle shadow, full height */
.ms-poster-card {
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.ms-poster-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

/* Anchor: fills card, adds inner padding */
.ms-poster-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  padding: 12px;
  box-sizing: border-box;
  background: #ffffff;
}

/* ── Fixed-height image containers enforce uniform row heights ── */

/* Landscape images: shorter fixed height */
.ms-poster-grid--landscape .ms-poster-card a {
  height: 220px;
}

/* Portrait images: taller fixed height */
.ms-poster-grid--portrait .ms-poster-card a {
  height: 340px;
}

/* Image fills container with contain so nothing is cropped */
.ms-poster-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 6px;
}

/* ── Mobile height adjustments ── */
@media (max-width: 575px) {
  .ms-gallery-area {
    padding: 50px 0;
  }
  .ms-poster-grid--landscape .ms-poster-card a {
    height: 160px;
  }
  .ms-poster-grid--portrait .ms-poster-card a {
    height: 240px;
  }
}
