@import url('chat.css');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

sup {
  font-size: 0.4em;
  /* Superscript will be 75% of 16px (12px) */
  vertical-align: super;
  /* Keeps it aligned as a superscript */
}

:root {
  --primary-1: #5A3D80;
  --primary-2: #86DCD3;
  --primary-3: #5CADFF;
  --bg-dark: #2b2b2b;
  --pill-bg: rgba(255, 255, 255, 0.92);
  --brand: #0b69ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  background-color: var(--bg-dark);
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* HERO WRAPPER + BACKGROUND */
.hero-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-image: url("../images/hero/home-bg.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
  /* spotlight variables (changed by JS) */
  --spot-x: -1000px;
  --spot-y: -1000px;
  --spot-radius: 600px;
  --spot-inner-alpha: 0.5;
}

/* dark overlay with radial reveal (spotlight) */
.hero-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  pointer-events: none;
  z-index: 20;
  -webkit-mask-image: radial-gradient(circle var(--spot-radius) at var(--spot-x) var(--spot-y),
      rgba(0, 0, 0, calc(var(--spot-inner-alpha))) 0%,
      rgba(0, 0, 0, 1) 60%,
      rgba(0, 0, 0, 1) 100%);
  mask-image: radial-gradient(circle var(--spot-radius) at var(--spot-x) var(--spot-y),
      rgba(0, 0, 0, calc(var(--spot-inner-alpha))) 0%,
      rgba(0, 0, 0, 1) 60%,
      rgba(0, 0, 0, 1) 100%);
  mask-mode: alpha;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  filter: blur(0.2px);
  transition: opacity 250ms ease;
}

/* smaller spotlight on small screens */
@media (max-width:880px) {
  .hero-wrapper {
    --spot-radius: 110px;
  }
}

/* Header / logo */
.site-header {
  position: relative;
  padding: 0 clamp(12px, 3vw, 20px);
  z-index: 100;
}

.page-logo {
  position: absolute;
  left: clamp(12px, 3vw, 20px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 110;
}

.page-logo img {
  display: block;
  height: clamp(48px, 8vh, 64px);
  width: auto;
}

/* Apply glossy blur effect to navbar ONLY */
.nav-glass {
  backdrop-filter: blur(18px) saturate(180%);
  background: rgba(255, 255, 255, 0.72) !important;
  transition: backdrop-filter .3s ease, background .3s ease;
}

/* Sticky behavior without altering original header styles */
.sticky-active {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999 !important;

  transition: background .3s ease;
}

/* Disable sticky header on mobile since nav is at bottom */
@media (max-width: 768px) {
  .sticky-active {
    position: absolute !important;
    /* Keep it at top but not sticky */
    transform: none !important;
  }
}

/*nav dropdown css*/
/* Dropdown Navigation Styles */
.nav-item-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
  margin-left: 2px;
}

.nav-item-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu Container */
.dropdown-menu-custom {
  position: fixed;
  top: calc(var(--nav-top, 60px) + 10px);
  /* 10px gap restored */
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 24px;
  min-width: 520px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 10000;
  border: 1px solid rgba(0, 0, 0, 0.06);

  /* Closing transition: Delay opacity and transform by 0.2s so it stays open briefly */
  transition: opacity 0.3s ease 0.2s, visibility 0s linear 0.5s, transform 0.3s ease 0.2s;
  transform: translateX(-50%) translateY(-10px);
}

/* Add invisible bridge between nav item and dropdown */
.dropdown-menu-custom::before {
  content: "";
  position: absolute;
  top: -30px;
  /* Extend upwards to cover gap (10px) + overlap (20px) */
  left: 0;
  right: 0;
  height: 40px;
  /* Large safe area */
  background: transparent;
}

.nav-item-dropdown:hover .dropdown-menu-custom,
.dropdown-menu-custom:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);

  /* Opening transition: Instant (no delay) */
  transition: opacity 0.3s ease 0s, visibility 0s linear 0s, transform 0.3s ease 0s;
}

/* Dropdown Content Layout */
.dropdown-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Category Styling */
.dropdown-category {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.category-title {
  font-family: "ibm plex serif", serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-1);
  margin: 0 0 14px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  text-align: left;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0px;
  /* Reduced from 2px to 0px */
  width: 100%;
  align-items: flex-start;
}

.category-list li {
  margin-bottom: 0;
  width: 100%;
  text-align: left;
}

/* Dropdown Items */
.dropdown-item {
  display: block;
  padding: 8px 12px;
  /* Reduced from 10px to 8px */
  color: #374151;
  text-decoration: none;
  font-family: "open sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.dropdown-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--primary-3);
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(92, 173, 255, 0.08);
  color: var(--brand);
  padding-left: 16px;
  transform: translateX(4px);
}

.dropdown-item:hover::before {
  transform: scaleY(1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .dropdown-menu-custom {
    min-width: 420px;
    padding: 20px;
  }

  .dropdown-content {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .dropdown-menu-custom {
    display: none;
    /* Hide on mobile, use offcanvas instead */
  }
}


/*head-badge*/

.head-badge {

  position: absolute;
  right: clamp(12px, 3vw, 20px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 110;
}

.head-badge img {
  display: block;
  height: clamp(48px, 8vh, 64px);
  width: auto;
}

@media (max-width: 768px) {
  .head-badge {
    top: 20px;
    /* Push down on mobile */
    transform: none;
    /* Remove vertical centering transform */
  }
}


/* Centered pill nav for md+ */
.nav-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  pointer-events: none;

}

.main-nav {
  pointer-events: auto;
  background: var(--pill-bg);
  padding: clamp(8px, 2vh, 12px) clamp(24px, 3vw, 44px);
  border-radius: 60px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  max-width: clamp(400px, 90vw, 1100px);
  z-index: 105;
  box-shadow: none;
}

.main-nav ul {
  display: flex;
  gap: clamp(20px, 2.5vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.main-nav .nav-link {
  color: #000;
  font-weight: 600;
  text-decoration: none;
  padding: clamp(4px, 1vh, 6px) clamp(6px, 1vw, 8px);
  transition: transform .18s ease, color .18s ease;
}

.main-nav .nav-link:hover {
  color: var(--brand);
  transform: translateY(-3px);
  background-color: #fff;
  padding: 5px;
  border-radius: 20px;
}

/* hide pill on small screens */
@media (max-width: 767.98px) {
  .nav-wrapper {
    display: none !important;
  }

  .main-nav {
    display: none !important;
  }
}

/* centered circular hamburger on mobile */
.menu-btn {
  width: clamp(48px, 10vh, 56px);
  height: clamp(48px, 10vh, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 50%;
  padding: 0;
  border: none;
  background: #0b69ff;
  box-shadow: none;
  z-index: 30;
}

.menu-btn:focus {
  outline: 3px solid rgba(11, 105, 255, 0.18);
  outline-offset: 2px;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: #fff;
  display: block;
  border-radius: 2px;
  transition: transform .18s ease, opacity .12s ease;
}

/* Offcanvas tweaks */
.offcanvas {
  width: 320px;
  max-width: 86%;
}

.offcanvas .nav-link {
  color: #111;
  font-weight: 600;
}

/* Mobile Dropdown Styles */
.mobile-dropdown-arrow {
  transition: transform 0.3s ease;
}

.nav-link[aria-expanded="true"] .mobile-dropdown-arrow {
  transform: rotate(180deg);
}

.mobile-dropdown-content {
  padding: 12px 0 8px 0;
  background: rgba(92, 173, 255, 0.04);
  border-radius: 12px;
  margin-top: 8px;
}

.mobile-category {
  padding: 8px 12px;
}

.mobile-category:not(:last-child) {
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 12px;
}

.mobile-category-title {
  font-family: "ibm plex serif", serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-1);
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-dropdown-content .nav-link {
  font-size: 14px;
  padding: 8px 12px !important;
  color: #374151;
  transition: all 0.2s ease;
  border-radius: 8px;
}

.mobile-dropdown-content .nav-link:hover {
  background: rgba(92, 173, 255, 0.12);
  color: var(--brand);
  padding-left: 16px !important;
}

/* HERO CONTENT */
.hero-section {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  z-index: 25;
  color: #fff;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

/* typography helpers */
.popr {
  font-family: "open sans", sans-serif;
  font-weight: 300;
}

.playbi {
  font-family: "ibm plex serif", serif;
  font-weight: 700;
  font-style: italic;
  color: var(--primary-3);
}

.big-title-1 {
  padding: 10px 20px;
  font-size: clamp(34px, 5.5vw, 59px);
  line-height: 1.02;
}

.big-title-2 {
  padding: 10px 20px;
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 400;
  margin-top: 6px;
}

.hero-para {
  font-size: clamp(16px, 1.6vw, 22.6px);
  margin-top: 14px;
  line-height: 1.4;
  color: #f8f8f8;
  text-align: center;
}

/* transform swap (Poppins -> Playfair) */
.transform-wrap {
  display: inline-block;
  position: relative;
  line-height: 1;
  vertical-align: baseline;
  max-width: 100%;
}

.transform-item {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  will-change: opacity, transform;
  font-size: inherit;
  line-height: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.transform-item.poppins {
  position: relative;
  opacity: 1;
  transform: none;
  font-family: "open sans", sans-serif;
  font-weight: 400;
}

.transform-item.playfair {
  font-family: "ibm plex serif", serif;
  font-weight: 700;
  font-style: italic;
  opacity: 0;
  transform: scale(1.05) translateY(6px);
  pointer-events: none;
  color: var(--primary-3);
}

/* CTA button */
.hero-btn {
  background: #fff;
  color: #111;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.hero-btn:hover {
  background: #eaeaea;
  transform: translateY(-2px);
}

/* Subtle decorative glows (pure CSS) */
.site-header::before {
  content: "";
  position: absolute;
  top: -330px;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: 660px;
  border-radius: 50px;
  background: radial-gradient(ellipse at center,
      rgba(243, 248, 255, 0.8) 0%,
      rgba(186, 220, 240, 0.4) 40%,
      rgba(61, 102, 128, 0.15) 70%,
      rgba(255, 255, 255, 0) 100%);
  filter: blur(50px);
  z-index: 1;
  opacity: 0.35;
  pointer-events: none;
}

/* bottom glow */
.hero-section::after {
  content: "";
  position: absolute;
  bottom: -250px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
      rgba(125, 83, 179, 0.4) 0%,
      rgba(122, 81, 176, 0.2) 40%,
      rgba(90, 61, 128, 0.08) 65%,
      rgba(90, 61, 128, 0.00) 100%);
  filter: blur(70px);
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

/* small screens layout tweaks */
@media (max-width:920px) {
  .hero-section {
    align-items: center;
    padding: clamp(30px, 6vh, 40px) clamp(16px, 3vw, 20px) clamp(60px, 10vh, 80px);
  }

  .page-logo {
    left: clamp(10px, 2.5vw, 12px);
    top: 16px;
    transform: none;
  }

  .menu-btn {
    position: relative;
    top: 4px;
  }
}


/* ===============================================================================
              card horizontal 
================================================================================ */

/* -------------------------
   Cards CSS — Updated
   - Outer white 2px border + inner gap
   - Inner card radius: 37px
   - 60% image / 40% text split
   - Hide native horizontal scrollbar (GSAP will animate x)
   - Desktop: ~1.5 cards visible
   - Mobile: stack vertically, no horizontal scroll
   ------------------------- */

/* ---------- Cards heading (styled like hero H1 but static font swap) ---------- */
.cards-heading {
  margin: 0 0 28px 0;
  padding: 0 24px;
  /* keep it aligned with card paddings */
  font-family: "open sans", sans-serif;
  /* base fallback; hero H1 uses poppins initially */
  font-weight: 300;
  color: #ffffff;
  /* if your cards section sits on colored bg; adjust if needed */
  /* choose the same sizing as hero H1 but responsive */
  font-size: clamp(28px, 4.6vw, 56px);
  line-height: 1.02;
  transform: translateX(0);
  /* initial transform (GSAP will override) */
  opacity: 1;
  will-change: transform, opacity;
  box-sizing: border-box;
  text-transform: none;
}

/* if you want the text inside the cards area to be dark (white bg below),
   you can override color on larger screens or change as per your design */
@media (min-width: 768px) {
  .services-cards-section {
    color: #0b2b4a;
  }

  /* text color for when heading overlaps white area */
  .cards-heading {
    color: #0b2b4a;
  }
}

/* tighten spacing on small screens */
@media (max-width: 767px) {
  .cards-heading {
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 18px;
    font-size: clamp(22px, 6.8vw, 30px);
  }
}


:root {
  --card-width: clamp(500px, 70vw, 640px);
  --card-height: clamp(380px, 55vh, 451px);
  --inner-radius: 37px;
  --gap: 8px;
  /* gap between outer border and inner card */
  --outer-border: 2px;
  --primary-1: #5A3D80;
}

/* container */
.services-cards-section {
  padding: clamp(60px, 10vh, 100px) 0 clamp(40px, 8vh, 80px) 0;
  width: 100%;
  /* height: 100vh; */
  overflow: hidden;
  box-sizing: border-box;
  background-color: #F3F0F7;
}

/* horizontal track for cards.
   NOTE: overflow-x set to visible so GSAP can transform .cards-scroll horizontally.
         We hide native scrollbars to avoid visual scroll rails. */
.cards-scroll {
  display: flex;
  gap: clamp(16px, 3vw, 28px);
  align-items: flex-start;
  /* left/right paddings intentionally let the next card peek in */
  padding-left: clamp(28px, 6vw, 96px);
  padding-right: clamp(28px, 6vw, 96px);
  padding-bottom: clamp(20px, 4vh, 30px);

  /* keep it transformable by GSAP; disable native horizontal scroll UI */
  overflow-x: visible !important;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: auto;
  box-sizing: border-box;
}

/* ---------- Soft teal blurred circle behind cards (layered under cards) ---------- */
/* ensure the section is positioned for absolute children */
.services-cards-section {
  position: relative;
  /* required for pseudo-element positioning */
  /* keep existing padding, etc. */
}

/* create the blurred teal 'spot' */
.services-cards-section::before {
  content: "";
  position: absolute;
  left: 70%;
  transform: translateX(-30%);
  /* place it visually below cards; adjust bottom to taste */
  bottom: -520px;

  /* Bigger soft circle (same proportions as your favorite version) */
  width: clamp(1000px, 90vw, 2200px);
  height: clamp(800px, 70vw, 1600px);

  border-radius: 50%;
  filter: blur(70px);


  /* radial gradient center color -> transparent edges to mimic soft glow */
  background: radial-gradient(circle at 45% 35%,
      rgba(134, 220, 211, 0.95) 0%,
      rgba(134, 220, 211, 0.70) 20%,
      rgba(134, 220, 211, 0.40) 40%,
      rgba(134, 220, 211, 0.14) 60%,
      rgba(134, 220, 211, 0.00) 100%);

  /* soften edges — combine with gradient for smoother falloff */
  filter: blur(36px);
  opacity: 1;
  z-index: 6;
  /* sits above background but below cards */
  pointer-events: none;
  transition: transform .45s ease;
}

/* ensure the cards themselves sit above the glow */
.cards-scroll,
.service-card,
.service-card .card-inner {
  position: relative;
  /* already okay — ensures z-index works */
  z-index: 10;
}

/* smaller screens: shrink and reposition the glow so it doesn't dominate */
@media (max-width: 767px) {
  .services-cards-section::before {
    bottom: -80px;
    width: clamp(320px, 90vw, 820px);
    height: clamp(220px, 50vw, 420px);
    filter: blur(28px);
    background: radial-gradient(circle at 50% 30%,
        rgba(134, 220, 211, 0.95) 0%,
        rgba(134, 220, 211, 0.70) 18%,
        rgba(134, 220, 211, 0.35) 36%,
        rgba(134, 220, 211, 0.12) 58%,
        rgba(134, 220, 211, 0.00) 100%);
  }
}

/* optional: tweak for very wide screens so the glow stays centered relative to cards */
@media (min-width: 1400px) {
  .services-cards-section::before {
    bottom: -420px;
    width: clamp(1200px, 95vw, 2200px);
    height: clamp(900px, 75vw, 1600px);
    filter: blur(44px);
  }
}


/* hide scrollbars if the browser would show any */
.cards-scroll::-webkit-scrollbar {
  display: none;
  height: 0;
}

.cards-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ---------- Outer clickable card (outer border + gap) ---------- */
.service-card {
  display: block;
  width: var(--card-width);
  height: var(--card-height);
  position: relative;
  text-decoration: none;
  color: inherit;

  /* outer border + gap: the outer element holds the border and padding (gap) */
  border-radius: calc(var(--inner-radius) + var(--gap));
  padding: var(--gap);
  border: var(--outer-border) solid #ffffff;
  background: transparent;
  /* shows through to page background between border and inner card */
  box-sizing: border-box;

  /* ensure flex behavior inside track and avoid shrinking */
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* inner white card surface */
.service-card .card-inner {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: var(--inner-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(11, 27, 46, 0.08);
  position: relative;
}

/* ---------- Top image area (60%) ---------- */
.card-img-wrap {
  position: relative;
  width: 100%;
  height: 60%;
  flex: 0 0 60%;
  overflow: hidden;
  border-radius: calc(var(--inner-radius)) calc(var(--inner-radius)) 0 0;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

/* subtle zoom on hover (desktop) */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover .card-img-wrap img {
    transform: scale(1.03);
  }
}

/* ---------- Top-right action circle (arrow) ---------- */
/* place button inside the image area so it sits visually over the photo */
.card-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(11, 27, 46, 0.12);
  z-index: 40;
  transition: transform .18s ease, box-shadow .18s ease;
}

/* rotate the arrow 45deg to match the design */
.card-arrow svg {
  width: 22px;
  height: 22px;
  transform: rotate(45deg);
}

/* hover/active */
.card-arrow:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 30px rgba(11, 27, 46, 0.16);
}

/* ensure the arrow is clickable and doesn't block anchor; pointer events kept normal */

/* ---------- Bottom text area (40%) ---------- */
.card-text {
  padding: 28px 30px;
  height: 40%;
  flex: 0 0 40%;
  background: #ffffff;
  border-radius: 0 0 var(--inner-radius) var(--inner-radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.card-title {
  font-family: "ibm plex serif", serif;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 400;
  color: #0b2b4a;
  margin: 0 0 6px 0;
}

.card-subtitle {
  font-family: "open sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 6px 0 6px;
  color: #595959;
  line-height: 1.5;
  width: 80%;
}

.card-subtitle span {
  color: var(--primary-1);
}

/* one-line description with ellipsis on desktop; allow multi-line on mobile */
.card-desc {
  font-family: "open sans", sans-serif;
  font-size: 14px;
  color: #374151;
  margin-top: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Responsive: stack on small screens ---------- */
@media (max-width: 767px) {
  .cards-scroll {
    display: block;
    padding-left: 20px;
    padding-right: 20px;
    overflow-x: visible;
  }

  .service-card {
    width: 100%;
    height: auto;
    padding: 6px;
    margin-bottom: 22px;
    border-radius: calc(12px + var(--gap));
  }

  .service-card .card-inner {
    border-radius: 12px;
  }

  .card-img-wrap {
    height: 220px;
    flex: 0 0 auto;
    border-radius: 12px 12px 0 0;
  }

  .card-text {
    height: auto;
    flex: 0 0 auto;
    padding: 20px;
    border-radius: 0 0 12px 12px;
  }

  .card-title {
    font-size: 22px;
  }

  .card-subtitle {
    font-size: 16px;
  }

  .card-desc {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}

/* ---------- Ensure a comfortable "peek" on very wide screens (approx 1.5 cards) ---------- */
@media (min-width: 1200px) {

  /* center the first card a bit and let the second card peek in */
  .cards-scroll {
    /* center the first card with a visible peek — tweak '80px' to increase/decrease the peek */
    padding-left: calc((100vw - var(--card-width)) / 2 - 80px);
    padding-top: 60px;
  }
}

/* Slight visual adjustments when the viewport is between tablet and desktop */
@media (min-width: 768px) and (max-width: 1199px) {
  .cards-scroll {
    padding-left: clamp(24px, 5vw, 60px);
  }

  .services-cards-section::before {
    bottom: -380px;
    width: clamp(800px, 85vw, 1400px);
    height: clamp(600px, 60vw, 1000px);
    filter: blur(40px);
  }
}

/* ===============================================================================
           ---------------- for-leaders section ---------------- 
================================================================================ */


/* ---------------------------
   For-Leaders (clean single card) — stable base CSS
   --------------------------- */

.for-leaders-clean {
  background: #F3F0F7;
  padding: clamp(50px, 10vh, 80px) 0 clamp(60px, 12vh, 120px) 0;
  position: relative;
  overflow: visible;
}

.container-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.cards-heading {
  margin-bottom: 36px;
  color: #0b2b4a;
  text-align: center;
}

/* wrapper that will contain the single stacking stage */
.cards-stack-wrapper {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin-top: 60px;
}

/* the single stage MUST contain all cards */
.for-leaders-single {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* OUTER CLICKABLE CARD */
.leader-card-single {
  display: block;
  width: clamp(600px, 90vw, 1135px);
  height: clamp(320px, 60vh, 511px);
  padding: 8px;
  border-radius: calc(37px + 8px);
  border: 2px solid rgba(255, 255, 255, 0.98);
  background: #F3F0F7;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: visible;
}

/* INNER WHITE SURFACE */
.leader-card-inner {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 37px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  box-shadow: 0 10px 28px rgba(11, 27, 46, 0.06);
  will-change: transform, opacity;
}

/* image and text */
.leader-card-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.leader-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.leader-card-single:hover .leader-card-img img {
  transform: scale(1.03);
}

.leader-card-body {
  padding: clamp(20px, 4vh, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leader-title {
  font-family: "ibm plex serif", serif;
  font-size: clamp(24px, 5vw, 34px);
  margin: 0;
  color: #0b2b4a;
}

.leader-sub {
  font-family: "open sans", sans-serif;
  font-size: clamp(14px, 2.5vw, 18px);
  margin-top: 8px;
  font-weight: 600;
  color: #111827;
  padding: 10px 0px;
  width: 85%;
}

.leader-desc {
  font-family: "open sans", sans-serif;
  font-size: 14px;
  margin-top: 10px;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* arrow (same as original) */
.card-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(11, 27, 46, 0.12);
  z-index: 40;
  transition: transform .18s ease, box-shadow .18s ease;
}

.card-arrow svg {
  width: 22px;
  height: 22px;
  transform: rotate(45deg);
}

.card-arrow:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 30px rgba(11, 27, 46, 0.16);
}

/* ---------- Desktop stacking readiness ----------
   On desktop we make the cards absolutely centered inside the single stage.
   GSAP will animate yPercent from 100 -> 0 to "stack" them.
   On mobile the cards stay normal stacked flow (below).
*/
@media (min-width: 768px) {
  .for-leaders-single {
    position: relative;
    height: clamp(320px, 60vh, 511px);
  }

  .for-leaders-single .leader-card-single {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    width: clamp(600px, 90vw, 1135px);
    height: clamp(320px, 60vh, 511px);
    box-sizing: border-box;
  }

  .for-leaders-single .leader-card-single:nth-child(1) {
    z-index: 300;
  }

  .for-leaders-single .leader-card-single:nth-child(2) {
    z-index: 200;
  }

  .for-leaders-single .leader-card-single:nth-child(3) {
    z-index: 100;
  }
}

/* Responsive adjustments for tablet/mid-range screens */
@media (min-width: 768px) and (max-width: 1199px) {
  .leader-card-single {
    width: clamp(550px, 85vw, 950px);
  }

  .leader-title {
    font-size: clamp(22px, 4vw, 28px);
  }

  .leader-sub {
    font-size: clamp(13px, 2.2vw, 16px);
  }
}

/* ---------- Mobile: natural stacked flow (unchanged visual) ---------- */
@media (max-width: 767px) {
  .for-leaders-single {
    position: static;
    height: auto;
    padding: 0 16px;
  }

  .for-leaders-single .leader-card-single {
    position: relative;
    width: 100%;
    height: auto;
    padding: 6px;
    border-radius: calc(12px + 6px);
    margin-bottom: 22px;
  }

  .for-leaders-single .leader-card-inner {
    grid-template-columns: 1fr;
    border-radius: 12px;
    overflow: hidden;
  }

  .for-leaders-single .leader-card-img {
    height: 220px;
  }

  .for-leaders-single .leader-card-body {
    padding: 20px;
  }

  .for-leaders-single .leader-desc {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}

/* smooth opacity/transform transitions for cards (helps scrubbed feel) */
.for-leaders-single .leader-card-single {
  transition: transform 360ms cubic-bezier(.22, .9, .2, 1), opacity 360ms ease;
}

/* stronger shadow / lift for the top-most card while animating */
.for-leaders-single .leader-card-single.stack-top .leader-card-inner {
  box-shadow: 0 22px 60px rgba(11, 27, 46, 0.16);
  transform-origin: center;
}

/* Slightly lower opacity for stacked cards once they reach place (if you'd like them dimmer) */
.for-leaders-single .leader-card-single {
  will-change: transform, opacity;
}

/* ===============================================================================
           ---------------- 10 years Badge ---------------- 
================================================================================ */

/* ---------- Decade badge (responsive, SVG background contained) ---------- */
/* ---------- Decade badge (responsive, reliable) ---------- */
.decade-section {
  background: #F4F7FB;
}

.decade-badge {
  width: 100%;
  max-width: 1200px;
  margin: 28px auto;
  /* Make sure SVG is fully visible and contained inside this box */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  position: relative;
  box-sizing: border-box;
  padding: 44px 18px;
  /* space inside the badge for content */
  min-height: 320px;
  /* ensures the badge has height for large numbers */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* inner wrapper that constrains the layout and creates the 40/60 split */
.decade-inner {
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  gap: 28px;
  box-sizing: border-box;
}

.decade-number {
  transform: translateY(-15%);
  /* adjust upward */
}

/* left 40% */
.decade-left {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-left: clamp(8px, 2.2vw, 28px);
  box-sizing: border-box;
}

/* right 60% */
.decade-right {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(8px, 2.2vw, 28px);
  box-sizing: border-box;
}

/* big number */
.decade-number {
  font-family: "ibm plex serif", serif;
  color: #5A3D80;
  font-weight: 400;
  line-height: 0.88;
  font-size: clamp(102px, 22vw, 380px);
  /* responsive sizing */
  margin: 0;
  display: block;
  /* ensure number never overflows the badge */
  max-width: 100%;
  word-break: keep-all;
  text-wrap: normal;
}

/* right column text */
.decade-line {
  font-family: "ibm plex serif", serif;
  margin: 0 0 6px 0;
  color: #5A3D80;
}

.decade-line--small {
  font-size: clamp(20px, 2.6vw, 36px);
  font-weight: 500;
}

.decade-line--lead {
  font-size: clamp(34px, 4.6vw, 72px);
  color: #B7932A;
  line-height: 0.95;
  font-weight: 600;
}

.decade-line--sub {
  font-size: clamp(20px, 2.6vw, 36px);
  color: #5A3D80;
  font-weight: 500;
}

/* MOBILE: stack vertically and center */
@media (max-width: 767.98px) {
  .decade-badge {
    padding: 26px 14px;
    min-height: 360px;
    background-position: top center;
    background-size: cover;
    /* let SVG visually fill more on mobile */
  }

  .decade-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding-top: 6px;
  }

  .decade-left,
  .decade-right {
    flex: 0 0 auto;
    padding: 0;
  }

  .decade-number {
    font-size: clamp(48px, 18vw, 120px);
    margin-bottom: 4px;
  }

  .decade-line--lead {
    font-size: clamp(22px, 6.8vw, 42px);
  }

  .decade-line--small {
    font-size: clamp(16px, 4.2vw, 24px);
  }

  .decade-line--sub {
    font-size: clamp(14px, 3.2vw, 18px);
  }
}

/* Small polish */
.decade-number,
.decade-line {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===============================================================================
           ---------------- Why Orenda ---------------- 
================================================================================ */

#why-orenda {
  position: relative;
  background-image: linear-gradient(to bottom, #5A3D80, #634787, #927BB0, #F3F0F7);
  width: 100%;
  height: auto;
  justify-items: center;
  padding-top: 10%;
  padding-bottom: 10%;
}

.box-wrapper1 {
  padding-top: 5%;
  padding-left: 10%;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: flex-start;


}

.whybox {
  /* background-color: #eaeaea; */
  border: solid 2px #eaeaea;
  border-radius: 32px;
  width: 380px;
  height: 210px;
  padding: 20px;
  margin-left: 30px;

}

.whybox p {
  font-family: "open sans", sans-serif;
  font-weight: 300;
  line-height: 1.5;
  padding: 20px 10px;
}

#icon-box {
  background-color: #86DCD3;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  align-content: center;
  text-align: center;
}

.box-wrapper2 {
  padding-top: 5%;
  padding-right: 10%;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: flex-end;

}

@media (max-width: 767.98px) {

  /* reduce vertical padding a bit for mobile if desired */
  #why-orenda {
    padding-top: 20%;
    padding-bottom: 6%;
  }

  /* wrappers become stacked columns, ignore horizontal padding you set */
  .box-wrapper1,
  .box-wrapper2 {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0 !important;
    /* remove heavy side paddings */
    padding-right: 0 !important;
    gap: 14px;
  }

  /* make each whybox full width of the viewport container:
     we keep a small internal gutter so card doesn't butt to the edge */
  .whybox {
    width: calc(100% - 32px) !important;
    /* full width with 16px side gutter */
    margin-left: 0 !important;
    /* remove desktop left offset */
    margin-right: 0 !important;
    height: auto !important;
    /* let content define height */
    padding: 16px !important;
    /* slightly smaller inner padding */
    border-radius: 16px !important;
    /* slightly smaller radius for mobile */
    align-content: center;
    justify-items: center;
    text-align: center;
  }

  /* give vertical spacing between stacked cards */
  .box-wrapper1 .whybox,
  .box-wrapper2 .whybox {
    margin-bottom: 12px !important;
  }

  /* icon size slightly reduced for mobile */
  #icon-box {
    width: 44px !important;
    height: 44px !important;
  }

  /* tighten paragraph padding so text flows nicely on mobile */
  .whybox p {
    padding: 10px 10px;
    font-size: 15px;
    line-height: 1.55;
  }

  /* If you want the title centered on mobile (optional) */
  /* #why-orenda .why-orenda-h { text-align: center; padding-left: 12px; padding-right: 12px; } */
}

/* ===============================================================================
           ---------------- Orenda Team ---------------- 
================================================================================ */
.team-section {
  background-color: #F3F0F7;
  padding-top: 100px;
}

#team {

  display: flex;
  justify-content: space-evenly;
  height: auto;
  padding: 80px 0px;
}

#team1 {
  padding-top: 5%;
  width: 400px;
  height: auto;
  position: relative;
}

#imgbox {
  border-radius: 32px;
  width: 400px;
  height: 529px;
  overflow: hidden;
  position: relative;
}

#imgbox>img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  display: block;
}


#icon-box2 {
  background-color: #86DCD3;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  align-content: center;
  text-align: center;
  position: absolute;
  right: 3%;
  bottom: 3%;
  z-index: 5;

}

.badges-container {
  display: flex;
  flex-direction: row;
  /* Horizontal */
  justify-content: center;
  /* Centered */
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  /* Space from name */
  margin-bottom: 5px;
  /* Removed absolute positioning */
}

.coach-badge {
  pointer-events: auto;
  /* Enable hover/click for tooltips */
  height: 50px;
  /* Match LinkedIn icon size */
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  /* No transition or hover effects needed */
}

/* Remove hover effect */
.coach-badge:hover {
  transform: none;
}

@media (max-width: 767.98px) {
  .badges-container {
    gap: 8px;
    /* Slightly tighter gap on mobile */
  }

  .coach-badge {
    height: 46px;
    /* Match mobile LinkedIn icon size */
  }
}

#team1 h2 {
  padding: 20px 10px;
  color: #282828;
  text-align: center;
}

#team1 p {
  text-align: center;
  padding: 0px 0px;
  font-family: "open sans", sans-serif;
  font-weight: 300;
  color: #282828;
}

#team2 h2 {
  padding: 20px 10px;
  color: #282828;
  text-align: center;
}

#team2 p {
  text-align: center;
  padding: 0px 0px;
  font-family: "open sans", sans-serif;
  font-weight: 300;
  color: #282828;
}

#team2 {
  padding-top: 10%;
  width: 400px;
  height: auto;
  position: relative;
}

#team-h {
  text-align: center;
  color: #282828;
}

/* ---------- Team section — mobile responsive overrides ----------
   
----------------------------------------------------------------- */
@media (max-width: 767.98px) {

  /* reduce overall vertical padding for mobile */
  .team-section {
    padding-top: 28px;
    /* optional, doesn't clash with your existing rules */
    padding-bottom: 28px;
  }

  /* stack the two team columns vertically and center them */
  #team {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 22px;
    padding: 18px 12px;
    /* tighten horizontal spacing */
  }

  /* make each team item full width but visually limited */
  #team1,
  #team2 {
    width: 100% !important;
    max-width: 420px;
    /* matches desktop width visually, while being centered */
    padding-top: 12px;
    /* preserve your top spacing feel */
    box-sizing: border-box;
  }

  /* image box becomes responsive - full width of parent with same aspect */
  #team1 #imgbox,
  #team2 #imgbox {
    width: 100% !important;
    height: auto !important;
    /* let image define height by aspect ratio */
    min-height: 320px;
    /* safeguard so badge doesn't collapse if images are short */
  }

  /* ensure the <img> covers the box area (if you still want fixed height, it will remain) */
  #team1 #imgbox>img,
  #team2 #imgbox>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* reposition the linkedin icon for smaller screens so it stays visible */
  #team1 #icon-box2,
  #team2 #icon-box2 {
    right: 6% !important;
    bottom: 6% !important;
    width: 46px !important;
    height: 46px !important;
  }

  /* heading and paragraph adjustments for mobile readability */
  #team1 h2,
  #team2 h2 {
    font-size: clamp(22px, 4.4vw, 22px);
    padding: 22px 28px;
    text-align: center;
  }

  #team1 p,
  #team2 p {
    font-size: 15px;
    padding: 0 8px 12px;
    text-align: center;
    /* keep left justify as you had */
  }

  /* small visual polish: keep the team item centered */
  #team1,
  #team2 {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===============================================================================
           ----------------Testimonials---------------- 
================================================================================ */

.testimonial-section {

  background-color: #F3F8FF;
  height: auto;
  padding: 50px 0px;

}

#testimonial-left {
  height: auto;
  padding: 100px 8%;
  align-content: center;
}

#testimonial-left p {
  padding: 30px 30px 0px 0px;
}

#testimonial-left h2 {
  padding: 0px;
  text-align: left;
}

#test-btns {

  padding-top: 30px;
}

.tst-btn1 {
  background: var(--primary-1);
  color: #dfdfdf;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.tst-btn1:hover {
  background: #eaeaea;
  transform: translateY(-2px);
}

.tst-btn2 {
  background: #fff;
  color: #111;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.tst-btn1:hover {
  background: #eaeaea;
  transform: translateY(-2px);
}

#testimonial-right {
  height: auto;
  padding: 10% 8%;
  align-content: center;
}

#testimonial-right img {
  border-radius: 32px;
}

#testimonial-right h4 {
  color: #646464;
  font-family: "open sans", "sans-serif";
  font-weight: 300;
  font-size: 18px;
}

.testimonial-text {

  padding: 25px 25px;
  background-color: #ffffff;
  border-radius: 32px;


}

.quote {

  padding: 10px;
  border-left: 2px solid var(--primary-3);
}

#testimonial-text1 {
  box-shadow: rgba(103, 45, 204, 0.25) 0px 25px 50px -12px;
}

#testimonial-text2 {
  transform: rotate(5deg);
  margin-bottom: 20px;
}

#testimonial-text3 {
  transform: rotate(-5deg);
  margin-top: 27px;
}

p.quote-icon {
  font-size: 20px;
  color: #737373;
}

/*Animation*/

/* Media Mentions */
/* -----------------------------
   Media Mentions (mm- prefix)
   ----------------------------- */
:root {
  --mm-card-width: 700px;
  --mm-card-height: 510px;
  --mm-inner-radius: 37px;
  --mm-gap: 8px;
  --mm-outer-border: 2px;
  --mm-primary: #5A3D80;
  --mm-bg: #EAF8FB;
  /* light bg similar to your screenshot */
}

/* section */
.mm-media-section {
  background: var(--mm-bg);
  padding: 80px 0 110px;
  position: relative;
  box-sizing: border-box;
}

.mm-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* header */
.mm-header {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 52px;
}

.mm-title {
  font-family: "open sans", sans-serif;
  font-size: clamp(36px, 4.6vw, 56px);
  margin: 0;
  color: #0b2b4a;
  font-weight: 300;
}

/* .mm-title .mm-play { font-style: italic; color: #7FB9FF; font-family: "ibm plex serif", serif; font-weight: 400; } */
.mm-lead {
  max-width: 420px;
  margin: 6px 0 0 0;
  color: #0b2633;
  font-weight: 300;
  line-height: 1.45;
}

/* grid layout (3 / 2 / 1) */
.mm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  align-items: start;
  margin-top: 8px;
}

/* each card outer wrapper (outer border + gap) */
.mm-card {
  width: 100%;
  display: block;
  text-decoration: none;
  color: inherit;
  padding: var(--mm-gap);
  border-radius: calc(var(--mm-inner-radius) + var(--mm-gap));
  border: var(--mm-outer-border) solid #ffffff;
  box-sizing: border-box;
  background: transparent;
}

/* inner white surface */
.mm-card-inner {
  width: 100%;
  height: var(--mm-card-height);
  background: #ffffff;
  border-radius: var(--mm-inner-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(11, 27, 46, 0.08);
  position: relative;
}

/* image area (60%) */
.mm-img {
  position: relative;
  height: 60%;
  overflow: hidden;
  border-radius: calc(var(--mm-inner-radius)) calc(var(--mm-inner-radius)) 0 0;
}

.mm-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

/* arrow circle */
.mm-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 10px 34px rgba(11, 27, 46, 0.08);
  cursor: pointer;
}

.mm-arrow svg {
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
}

/* text area (40%) */
.mm-text {
  padding: 28px 30px;
  height: 40%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mm-ttl {
  font-family: "ibm plex serif", serif;
  font-size: clamp(18px, 2.6vw, 24px);
  color: #0b2b4a;
  margin: 0 0 6px 0;
  font-weight: 400;
}

.mm-sub {
  font-family: "open sans", sans-serif;
  font-size: 15px;
  color: #111827;
  margin: 0 0 8px;
  line-height: 1.12;
  font-weight: 600;
  text-align: left;
}

.mm-sub span {
  color: var(--mm-primary);
}

.mm-desc {
  font-family: "open sans", sans-serif;
  font-size: 13px;
  color: #374151;
  margin: 0;
  opacity: .95;
  text-align: left;
}

/* subtle hover zoom for desktop */
@media (hover: hover) and (pointer: fine) {
  .mm-card:hover .mm-img img {
    transform: scale(1.03);
  }

  .mm-card:hover .mm-card-inner {
    box-shadow: 0 18px 48px rgba(11, 27, 46, 0.12);
    transform: translateY(-6px);
    transition: transform .18s ease, box-shadow .18s ease;
  }
}

/* actions (buttons) */
.mm-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 40px;
}

.mm-btn {
  padding: 14px 36px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 10px 18px rgba(11, 27, 46, 0.06);
}

.mm-primary {
  background: var(--mm-primary);
  color: #fff;
}

.mm-secondary {
  background: #fff;
  color: #000;
}

/* responsive breakpoints */
@media (max-width: 1199.98px) {
  .mm-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mm-container {
    padding: 0 20px;
  }

  .mm-lead {
    max-width: 360px;
  }
}

@media (max-width: 767.98px) {
  .mm-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .mm-grid {
    display: block;
  }

  .mm-card {
    margin-bottom: 22px;
    padding: 6px;
    border-radius: calc(12px + var(--mm-gap));
  }

  .mm-card-inner {
    height: auto;
    border-radius: 12px;
  }

  .mm-img {
    height: 220px;
    border-radius: 12px 12px 0 0;
  }

  .mm-text {
    padding: 18px;
  }

  .mm-actions {
    justify-content: flex-start;
    gap: 12px;
    margin-top: 18px;
  }

  .mm-title {
    font-size: clamp(26px, 8.6vw, 38px);
  }

  .mm-lead {
    max-width: 100%;
  }
}

/* simple entrance transition (for non-GSAP fallback) */
.mm-card {
  opacity: 0;
  transform: translateY(12px);
  transition: transform .6s cubic-bezier(.2, .9, .2, 1), opacity .6s ease;
}

.mm-card.mm-in {
  opacity: 1;
  transform: translateY(0);
}


/*-----==============Testimonial css==================*/
/* Center everything inside this section */
.quote-section {
  padding: 50px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* horizontal center */
  justify-content: center;
  /* vertical center if needed */
  text-align: center;
}

/* Center the quote text and limit width */
.quote-text {
  width: 100%;
  max-width: 650px;
  /* prevents text from stretching too wide */
  color: teal;
  text-align: center;
  margin: 0 auto 20px auto;
  line-height: 1.5;
  font-family: "open sans", sans-serif;
  font-size: clamp(16px, 2.1vw, 20px);
  max-width: 80%;
}

.testimonial-author {
  font-family: "open sans", sans-serif;
  font-weight: 400;
  font-size: 18px;
  margin-top: 10px;
  color: #333;

}

.test-author img {
  border-radius: 50%;
}

/*============================CTA===============================*/
.cta-wrapper {
  position: relative;
  padding: 0px;
  background-color: #F3F0F7;
  width: 100%;
  height: 100vh;
  background-image: url(../images/CTA/gradient-circle.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

@media (max-width: 768px) {
  .cta-wrapper {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 550px;
  }
}

/* CTA foreground layer — does not modify .cta-wrapper */
.cta-foreground {
  position: absolute;
  inset: 0;
  /* fill the wrapper */
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* keep background interactions unaffected */
}

/* inner content centers and constrains width */
.cta-foreground .cta-inner {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  /* allow button clicks inside inner */
  text-align: center;
  max-width: 980px;
  padding: 8vh 20px;
  /* vertical spacing responsive to viewport */
  box-sizing: border-box;
  margin: 0 auto;
}

/* logo */
.cta-logo {
  margin-bottom: 18px;
}

.cta-logo-img {
  padding: 20px 20px;
  width: clamp(120px, 24vw, 230px);
  height: auto;
  display: inline-block;
  object-fit: contain;
}

/* title */
.cta-title {
  font-family: "open sans", sans-serif;
  font-weight: 300;
  font-size: clamp(18px, 6.2vw, 54px);
  line-height: 1.04;
  margin: 8px 0 14px;
  color: #0b2b4a;
}

/* purple italic accent word */
.cta-accent {
  font-family: "ibm plex serif", serif;
  font-style: italic;
  color: #5A3D80;
  font-weight: 700;
  padding-left: 6px;
}

/* lead paragraph */
.cta-lead {
  padding: 20px 0px;
  max-width: 60%;
  margin: 0 auto 22px;
  font-family: "open sans", sans-serif;
  font-weight: 400;
  color: #0b2b4a;
  font-size: clamp(16px, 2.1vw, 20px);
  line-height: 1.6;
  opacity: 0.95;
}

/* CTA button */
.cta-actions {
  margin-top: 8px;
}

.cta-btn {
  display: inline-block;
  background: #ffffff;
  border-radius: 40px;
  padding: 12px 26px;
  box-shadow: 0 6px 18px rgba(11, 27, 46, 0.12);
  color: #0b2b4a;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(11, 27, 46, 0.06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 27, 46, 0.14);
}

/* floating team avatars that sit above the circle */
.cta-team {
  position: absolute;
  width: clamp(50px, 9vw, 90px);
  height: clamp(50px, 9vw, 90px);
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 32px rgba(11, 27, 46, 0.12);
  background: #fff;
  border: 2px solid #ffffff;
  z-index: 12;
  pointer-events: none;
}

/* left top avatar — tune the clamp() values to nudge placement */
.cta-team-left {
  left: clamp(25%, 4vw, 120px);
  top: clamp(120px, 18vh, 200px);
  transform: translateY(-6%);
}

/* right bottom avatar */
.cta-team-right {
  right: clamp(24%, 4vw, 120px);
  bottom: clamp(98px, 11vh, 165px);
  transform: translateY(6%);
}

/* RESPONSIVE: smaller screens */
@media (max-width: 768px) {
  .cta-foreground .cta-inner {
    padding: 6vh 14px;
  }

  .cta-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 8px;
  }

  .cta-lead {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .cta-team {
    display: none !important;
  }
}


/*CUSTOM CURSOR=========================================================================*/
/* ==========================
   CUSTOM CIRCLE CURSOR
   ========================== */

/* Hide native cursor */
body {
  cursor: none;
}

/* Base circle cursor */
#cursor-circle {
  position: fixed;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;

  /* Glossy look */
  background: radial-gradient(circle at 30% 30%, rgba(252, 253, 255, 0.9), rgba(255, 255, 255, 0.5));
  border-radius: 50%;
  border: 1px solid rgba(117, 117, 117, 0.718);

  pointer-events: none;
  z-index: 9999;

  transform: translate(-50%, -50%);
  transition:
    width 0.16s ease,
    height 0.16s ease,
    background 0.2s ease,
    opacity 0.2s ease,
    transform 0.12s ease;
}

/* Enlarged glossy hover state */
.cursor-hover {
  width: 40px !important;
  height: 40px !important;
  background: radial-gradient(circle at 30% 30%, rgb(241, 254, 255), rgba(255, 255, 255, 0.7));
}

/* Disable custom cursor on mobile */
@media (max-width: 768px) {
  body {
    cursor: auto !important;
  }

  #cursor-circle {
    display: none !important;
  }
}


/*==============FOOTER CSS===============================*/
/* Footer wrapper */
.site-footer {
  background-color: #ffffff;
  padding: 60px 0 20px;
  color: #282828;
  font-family: "open sans", sans-serif;
}

/* Inner layout (3 columns) */
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* Each column */
.footer-col {
  flex: 1 1 280px;
}

/* Logo */
.footer-logo {
  width: 160px;
  margin-bottom: 14px;
  align-self: center;
}

/* Description text */
.footer-desc {
  max-width: 260px;
  line-height: 1.6;
  color: #5a5a5a;
  font-size: 14px;
}

/* Section title */
.footer-title {
  font-family: "ibm plex serif", serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #5A3D80;
}

/* Links list */
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 8px;
}

.footer-links a {
  text-decoration: none;
  color: #282828;
  font-weight: 400;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #5A3D80;
}

/* Bottom bar */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 16px;
  font-size: 13px;
  color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-col {
    max-width: 380px;
  }

  .footer-desc {
    max-width: 100%;
  }

  .footer-logo {
    margin: 0 auto 16px;
  }
}

/*=========== LEADERSHIP COACHING SERVICE */
/* ---------- Leadership section - ensure light surface on dark site ----------
   Paste after your existing leadership CSS to override global dark theme
------------------------------------------------------------------------- */

/* ============================================================
   LEADERSHIP FROM WITHIN THE SYSTEM (MATCHES YOUR SCREENSHOT)
============================================================ */

.leadership-system-section {
  background: #ffffff;
  padding: 100px 0;
}

/* Title */
.ls-title {
  font-family: "open sans", sans-serif;
  font-weight: 300;
  font-size: clamp(32px, 5vw, 60px);
  text-align: center;
  margin-bottom: 50px;
  color: #0b2b4a;
}

/* Left paragraph */
.ls-left .ls-body {
  font-family: "open sans", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #282828;
  padding-right: 20px;
  padding-left: 10%;
  align-self: center;
  text-align: justify;
}

/* Right Card List */
.ls-card {
  background: #ffffff;
  padding: 18px 22px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.ls-card p {
  margin: 0;
  font-size: 15px;
  color: #111;
  font-family: "open sans", sans-serif;
}

.ls-icon {
  width: 26px;
  height: 26px;
  border-radius: 50px;
  background: #86DCD3;
  /* Orenda teal */
}

/* Footer paragraph */
.ls-footnote {
  font-family: "open sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #333;
  max-width: 80%;
  justify-self: center;
  text-align: center;
  margin-top: 60px;
}

/* Responsive */
@media (max-width: 768px) {
  .ls-title {
    text-align: center;
    margin-bottom: 30px;
  }

  .ls-left {
    align-content: center;
    text-align: center;
    padding-bottom: 20px;
  }

  .ls-right {
    margin-top: 20px;
  }

  .ls-card {
    border-radius: 30px;
    padding: 14px 18px;
  }

  .ls-footnote {
    margin-top: 40px;
    text-align: center;
    padding: 0 10px;
  }
}

.service-wrapper {
  width: 100%;
  height: 60vh;
}

.service-hero {
  min-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  z-index: 25;
  color: #fff;
}

.servioce-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

/*============================================CONTACT PAGE==================================*/
/* ---------------------------
   Contact Page Styling
---------------------------- */

.contact-hero {
  padding: 80px 0 40px;
  background: #F3F8FF;
}

.contact-title {
  font-size: clamp(36px, 5vw, 56px);
  font-family: "open sans", sans-serif;
  font-weight: 300;
  line-height: 1.2;
}

.contact-accent {
  font-family: "ibm plex serif", serif;
  font-style: italic;
  font-weight: 700;
  color: var(--primary-3);
}

.contact-sub {
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 18px;
  color: #444;
}


/* ----- Main Section Layout ----- */

.contact-section {
  padding: 60px 0 80px;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

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

/* ----- Left Info ----- */

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.contact-label {
  margin-top: 20px;
  font-weight: 600;
  color: #333;
}

.contact-email {
  font-size: 18px;
  font-weight: 600;
  display: inline-block;
  margin-top: 6px;
  color: var(--primary-1);
  text-decoration: none;
}

.contact-email:hover {
  text-decoration: underline;
}

.contact-text {
  margin-top: 6px;
  color: #444;
  line-height: 1.6;
}

.contact-note {
  margin-top: 20px;
  font-style: italic;
  color: #666;
}

/* ----- Form Styling ----- */

.contact-form-wrapper {
  background: #F8FAFF;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(90, 61, 128, 0.1);
}

.form-title {
  margin-bottom: 20px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #dcdcdc;
  font-size: 15px;
  background: #fff;
  outline: none;
  transition: border 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-3);
}

.contact-btn {
  background: var(--primary-1);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
  width: 100%;
}

.contact-btn:hover {
  background: #6a4a9d;
  transform: translateY(-2px);
}

/* ===============================================================================
               THE PI PROJECT PAGE STYLES
================================================================================ */

/* Hero Wrapper for PI Project - Shorter height, specific background */
.pi-hero-wrapper {
  position: relative;
  width: 100%;
  min-height: 60vh;
  /* Shorter than home page */
  background-color: var(--bg-dark);
  /* Fallback */
  background-image: url("../images/hero/home-bg.jpg");
  /* Reusing home bg */
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Darker overlay for PI Hero */
.pi-hero-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 5, 30, 0.85);
  /* Dark purple tint */
  z-index: 10;
}

/* Ensure Nav is visible above overlay */
.pi-hero-wrapper .site-header,
.pi-hero-wrapper .nav-wrapper,
.pi-hero-wrapper .main-nav {
  z-index: 100;
}

/* Hero Content Area */
.pi-hero {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 20;
  color: #fff;
  text-align: center;
  padding-bottom: 60px;
}

.pi-hero-content {
  max-width: 800px;
  padding: 0 20px;
}

/* Video Section */
.pi-video-section {
  background-color: #f8f9fa;
  /* Light bg */
  padding-top: 80px;
  padding-bottom: 80px;
}

.pi-video-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pi-video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25) !important;
}

/* Play Button Hover Effect */
.pi-play-btn:hover {
  transform: scale(1.1);
  background: #fff;
}

.pi-play-btn svg {
  margin-left: 4px;
  /* Optical centering */
}

/* Content Section */
.pi-content-section {
  background-color: #fff;
  padding-top: 60px;
  padding-bottom: 60px;
}

.pi-vision-section {
  background-color: #f4f4f4;
  /* Light gray to distinguish */
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Episodes Section (Reusing Media Mentions generally, but specific tweaks if needed) */
/* The HTML uses .mm-media-section classes, so it inherits existing styles. */

/* Responsive Tweaks */
@media (max-width: 768px) {
  .pi-hero-wrapper {
    min-height: 50vh;
  }

  .pi-video-card {
    border-radius: 20px !important;
  }

  .pi-play-btn {
    width: 60px !important;
    height: 60px !important;
  }

  .pi-play-btn svg {
    width: 24px;
    height: 24px;
  }
}

/* ================== PI PROJECT REFINEMENTS ================== */

/* 1. Hero Background - Remove BG Image */
.pi-hero-wrapper {
  background-image: none !important;
  background-color: #5A3D80;
  /* Or use variable var(--primary-1) */
  background: radial-gradient(circle at center, #5A3D80 0%, #2b2b2b 100%);
}

/* 2. Team Section Fixes - Fix Overlap */
/* We target the specific wrapper we added */
.pi-team-wrapper #team {
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  padding: 60px 20px;
}

.pi-team-wrapper #team1,
.pi-team-wrapper #team2 {
  width: auto;
  min-width: 300px;
  max-width: 400px;
  padding-top: 0;
  /* Align them */
  margin: 0;
}

/* Ensure images inside don't break layout */
.pi-team-wrapper #imgbox {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  /* Maintain portrait aspect ratio */
}

/* 3. Vision Text Color Fix */
.pi-vision-text {
  color: #333 !important;
}

/* 4. Episode Cards Aspect Ratio */
.pi-episode-card .mm-img {
  height: auto;
  aspect-ratio: 16 / 9;
}

.pi-episode-card .mm-card-inner {
  height: auto;
  /* Let content dictate height since image ratio changed */
}

/* ===============================================================================
              MOBILE BOTTOM NAVBAR 
================================================================================ */

.mobile-bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom)) 0;
  z-index: 1030;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
}

.nav-item {
  flex: 1;
  text-align: center;
}

.nav-link-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #888;
  font-family: "open sans", sans-serif;
  font-size: 10px;
  font-weight: 600;
  gap: 4px;
  transition: all 0.2s ease;
  background: transparent;
  width: 100%;
  padding: 4px 0;
  border: none;
  /* Reset for button/a */
}

.nav-link-bottom svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.2s ease;
}

.nav-link-bottom.active {
  color: var(--brand);
}

.nav-link-bottom.active svg {
  stroke: var(--brand);
  stroke-width: 2;
}

.nav-link-bottom:hover {
  color: var(--primary-1);
}

/* Offcanvas Bottom Styling */
.offcanvas-bottom.mobile-bottom-menu {
  width: 100% !important;
  /* Override global offcanvas width restriction */
  max-width: 100% !important;
  height: auto !important;
  max-height: 75vh;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  background: #ffffff;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 1050;
  /* Above the bottom navbar (1030) */
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto;
}

.offcanvas-bottom.mobile-bottom-menu .offcanvas-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 16px 24px;
}

.offcanvas-bottom.mobile-bottom-menu .offcanvas-title {
  font-family: "ibm plex serif", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-1);
}

.offcanvas-bottom.mobile-bottom-menu .offcanvas-body {
  padding: 24px;
}

/* Adjust main content padding so it doesn't get hidden */
@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
    /* height of bottom nav + spacing */
  }

  /* Hide the desktop nav wrapper just in case */
  .nav-wrapper {
    display: none !important;
  }
}

.event-gallery-section h2,
.event-gallery-section p,
.event-tabs,
.gallery-item,
.event-full-title {
  opacity: 0;
}

/* ==============================================================================================
   EVENT GALLERY STYLES
============================================================================================== */
.event-gallery-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.gallery-title {
  margin-bottom: 20px;
}

.gallery-desc {
  max-width: 700px;
  margin: 0 auto 50px;
  color: #666;
  font-size: 18px;
}

.event-tabs {
  margin-bottom: 60px;
  gap: 15px;
  max-width: 100%;
}

.event-tab-btn {
  background: #f8f8f8;
  border: 1px solid #eee;
  padding: 12px 25px;
  border-radius: 50px;
  color: #555;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .event-gallery-section {
    padding: 80px 0;
  }

  .gallery-desc {
    font-size: 16px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .event-gallery-section {
    padding: 60px 0;
  }

  .event-tabs {
    margin-bottom: 40px;
    gap: 10px;
  }

  .event-tab-btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 40px;
  }

  .gallery-desc {
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .event-gallery-section {
    padding: 50px 0;
  }

  .gallery-title {
    margin-bottom: 15px;
  }

  .event-tabs {
    gap: 8px;
  }

  .event-tab-btn {
    padding: 8px 16px;
    font-size: 13px;
    width: auto;
    /* Allow buttons to be compact */
  }
}


.event-tab-btn:hover {
  background: #f0f0f0;
  border-color: #ddd;
}

.event-tab-btn.active {
  background: #5A3D80;
  color: #fff;
  border-color: #5A3D80;
  box-shadow: 0 5px 15px rgba(90, 61, 128, 0.2);
}

.gallery-grid {
  position: relative;
  min-height: 400px;
}

.event-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

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

@media (max-width: 650px) {

  /* Increased breakpoint slightly for better mobile transition */
  .event-gallery {
    grid-template-columns: 1fr !important;
  }
}

.event-full-title {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #0b2b4a;
  font-size: 24px;
}

@media (max-width: 768px) {
  .event-full-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
  background-color: #f0f0f0;
}

.gallery-video {
  cursor: pointer;
}

.gallery-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(90, 61, 128, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-video:hover .play-btn-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(90, 61, 128, 1);
}

.gallery-video:hover img {
  transform: scale(1.05);
}

#galleryVideoModal .modal-content {
  border-radius: 20px;
  overflow: hidden;
}

#galleryVideoModal .ratio-16x9 {
  background: #000;
  border-radius: 20px;
  overflow: hidden;
}

#galleryVideoPlayer {
  width: 100%;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover img,
.image-placeholder:hover {
  transform: scale(1.05);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background-color: #f0edf5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #ddd;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-placeholder p {
  color: #999;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.image-placeholder.color-2 {
  background-color: #edf5f3;
}

.image-placeholder.color-3 {
  background-color: #f5f0ed;
}

.more-dots-btn {
  font-size: 24px;
  line-height: 0.5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
}

@media (max-width: 768px) {
  .more-dots-btn {
    font-size: 20px;
    min-width: 50px;
  }
}