/* ============================================================================
   IMRF — Frontend Layout Styles  ·  built on design-system.css tokens
   Top bar · header/nav · hero · home sections · content pages · footer
   ========================================================================= */

/* ---------------------------------------------------------------------------
   TOP BAR
--------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-950); color: #AFC0E2;
  font-size: var(--text-xs); min-height: var(--topbar-height);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); padding-block: 0.4rem; flex-wrap: wrap;
}
.topbar__contacts { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.topbar__contacts a, .topbar__hours { display: inline-flex; align-items: center; gap: 0.4rem; color: #AFC0E2; }
.topbar__contacts a:hover { color: #fff; }
.topbar__right { display: flex; align-items: center; gap: var(--space-5); }
.topbar__social { display: flex; gap: var(--space-3); }
.topbar__social a { color: #AFC0E2; font-size: 0.95rem; }
.topbar__social a:hover { color: var(--orange-500); }
.lang-switch { display: flex; gap: 2px; background: rgba(255,255,255,0.08); border-radius: var(--radius-pill); padding: 2px; }
.lang-switch a {
  color: #AFC0E2; padding: 0.15rem 0.7rem; border-radius: var(--radius-pill);
  font-weight: 600;
}
.lang-switch a.is-active { background: var(--orange-600); color: #fff; }
.lang-switch a:hover:not(.is-active) { color: #fff; }
/* Responsive top bar — must stay one tidy line in EVERY language.
   English strings are wider than Telugu, so we progressively shed
   non-essential pieces instead of letting flex wrap into ragged rows. */
@media (max-width: 1080px) {
  .topbar__hours { display: none; }
}
@media (max-width: 900px) {
  .topbar__email span { display: none; }
  .topbar__inner { gap: var(--space-3); }
  .topbar__contacts, .topbar__right { gap: var(--space-3); }
}
@media (max-width: 720px) {
  .topbar__inner { flex-wrap: nowrap; }
  .topbar__contacts { flex-wrap: nowrap; white-space: nowrap; }
  .topbar__social { gap: 0.55rem; }
  .lang-switch a { padding: 0.15rem 0.55rem; }
}
@media (max-width: 600px) {
  .topbar { font-size: 0.72rem; }
  /* Keep WhatsApp (primary contact); hide the other social icons */
  .topbar__social a:not([aria-label="WhatsApp"]) { display: none; }
  .lang-switch a { padding: 0.14rem 0.5rem; }
}
@media (max-width: 420px) {
  .topbar__inner { gap: var(--space-2); }
  .topbar__contacts, .topbar__right { gap: var(--space-2); }
  .topbar__email { display: none; }
  .lang-switch a { padding: 0.13rem 0.42rem; letter-spacing: 0; }
}

/* ---------------------------------------------------------------------------
   HEADER + NAVIGATION
--------------------------------------------------------------------------- */
.site-header {
  background: var(--surface); box-shadow: var(--shadow-sm);
  position: relative; z-index: 100;
}
.site-header--sticky { position: sticky; top: 0; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5); min-height: var(--header-height);
}
.brand { display: inline-flex; align-items: center; gap: var(--space-3); }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand__text {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  color: var(--navy-900); letter-spacing: 0.02em;
}

.main-nav__list {
  display: flex; align-items: center; gap: var(--space-2);
  list-style: none; margin: 0; padding: 0;
}
.main-nav__link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 0.95rem; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: var(--text-sm); font-weight: 600;
  color: var(--ink-700); border-radius: var(--radius-pill);
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}
.main-nav__link:hover { background: var(--navy-50); color: var(--navy-700); }
.main-nav__link.is-active { background: var(--navy-700); color: #fff; }
.main-nav__ext { font-size: 0.7em; opacity: 0.7; }
.main-nav__item { position: relative; }
.main-nav__item.has-dropdown > .main-nav__link .bi-chevron-down {
  font-size: 0.7em; transition: transform var(--dur-fast) ease;
}
.main-nav__item.has-dropdown.is-open > .main-nav__link .bi-chevron-down { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px;
  background: var(--surface); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); border: 1px solid var(--ink-100);
  list-style: none; margin: 0; padding: var(--space-2);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              visibility var(--dur-fast);
}
.main-nav__item.is-open > .dropdown,
.main-nav__item.has-dropdown:hover > .dropdown,
.main-nav__item.has-dropdown:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: none;
}
.dropdown a {
  display: block; padding: 0.6rem 0.9rem; border-radius: var(--radius-sm);
  font-size: var(--text-sm); font-weight: 500; color: var(--ink-700);
}
.dropdown a:hover, .dropdown a.is-active { background: var(--navy-50); color: var(--navy-700); }

.site-header__actions { display: flex; align-items: center; gap: var(--space-4); }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none;
  border: 1.5px solid var(--ink-300); border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--navy-900); border-radius: 2px;
  transition: transform var(--dur-fast) ease, opacity var(--dur-fast) ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
  /* The off-canvas menu (translateX(100%)) must never create sideways scroll */
  html, body { overflow-x: hidden; overflow-x: clip; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw);
    background: var(--surface); box-shadow: var(--shadow-lg);
    padding: var(--space-4) var(--space-5) var(--space-4);
    transform: translateX(100%); transition: transform var(--dur-med) var(--ease-out);
    overflow-y: auto; z-index: 120; /* above the sticky header */
  }
  .main-nav.is-open { transform: none; }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: var(--space-1); }
  .main-nav__link { width: 100%; justify-content: space-between; border-radius: var(--radius-sm); }
  .dropdown {
    position: static; opacity: 1; visibility: hidden; transform: none;
    box-shadow: none; border: 0; padding: 0 0 0 var(--space-4);
    max-height: 0; overflow: hidden; visibility: visible;
    background: transparent; border-radius: 0;
    transition: max-height var(--dur-med) var(--ease-out);
  }
  /* Open on TAP ONLY (.is-open) — hover-expansion sticks on touch screens
     and left an empty white box under "About" */
  .main-nav__item.is-open > .dropdown { max-height: 300px; }
  .header-cta { display: none; }
}

/* ---------------------------------------------------------------------------
   HEADER v2 — professional hover animations + mobile polish
   (placed after base header styles so these refinements win)
--------------------------------------------------------------------------- */

/* Header lifts with a stronger shadow once the page is scrolled */
.site-header { transition: box-shadow var(--dur-med) ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 31, 75, 0.12); }

/* Brand: subtle logo swing on hover */
.brand img { transition: transform var(--dur-med) var(--ease-out); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.brand__text { transition: color var(--dur-fast) ease; }
.brand:hover .brand__text { color: var(--orange-600); }

/* Nav links: animated orange underline that grows from the center */
.main-nav__link { position: relative; overflow: visible; }
.main-nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 0; height: 2.5px; border-radius: 2px;
  background: var(--orange-500);
  transform: translateX(-50%);
  transition: width var(--dur-med) var(--ease-out);
}
.main-nav__link:hover::after { width: calc(100% - 1.6rem); }
.main-nav__link.is-active::after { width: 0; } /* active pill needs no underline */
.main-nav__link:hover { background: var(--navy-50); color: var(--navy-700); }
.main-nav__link.is-active:hover { background: var(--navy-700); color: #fff; }

/* Dropdown: springy pop from the top + refined item hover */
.dropdown {
  transform-origin: top left;
  transform: translateY(10px) scale(0.97);
  transition: opacity var(--dur-med) var(--ease-out),
              transform var(--dur-med) cubic-bezier(0.34, 1.4, 0.64, 1),
              visibility var(--dur-med);
  padding: var(--space-3);
}
.main-nav__item.is-open > .dropdown,
.main-nav__item.has-dropdown:hover > .dropdown,
.main-nav__item.has-dropdown:focus-within > .dropdown {
  transform: translateY(0) scale(1);
}
.dropdown a {
  position: relative; padding-left: 1.1rem;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease,
              padding-left var(--dur-fast) var(--ease-out);
}
.dropdown a::before {
  content: ""; position: absolute; left: 0.35rem; top: 50%;
  width: 3px; height: 0; border-radius: 2px; background: var(--orange-500);
  transform: translateY(-50%);
  transition: height var(--dur-fast) var(--ease-out);
}
.dropdown a:hover { padding-left: 1.35rem; }
.dropdown a:hover::before, .dropdown a.is-active::before { height: 60%; }

/* Join Membership CTA: gradient + shine sweep on hover */
.header-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--orange-600), var(--orange-500));
}
.header-cta::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%;
  width: 50%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transition: left 0.55s var(--ease-out);
}
.header-cta:hover::before { left: 130%; }

/* ---------- Mobile menu polish ---------- */
@media (max-width: 991px) {
  /* Dimmed, blurred backdrop behind the open menu */
  body.nav-open::before {
    content: ""; position: fixed; inset: 0; z-index: 85;
    background: rgba(7, 21, 57, 0.55);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    animation: nav-fade 0.25s ease both;
  }
  @keyframes nav-fade { from { opacity: 0; } to { opacity: 1; } }

  .main-nav { border-radius: 22px 0 0 22px; }
  /* Staggered slide-in for menu items */
  .main-nav .main-nav__item { opacity: 0; transform: translateX(26px); }
  .main-nav.is-open .main-nav__item {
    animation: nav-item-in 0.4s var(--ease-out) both;
  }
  .main-nav.is-open .main-nav__item:nth-child(1) { animation-delay: 0.04s; }
  .main-nav.is-open .main-nav__item:nth-child(2) { animation-delay: 0.08s; }
  .main-nav.is-open .main-nav__item:nth-child(3) { animation-delay: 0.12s; }
  .main-nav.is-open .main-nav__item:nth-child(4) { animation-delay: 0.16s; }
  .main-nav.is-open .main-nav__item:nth-child(5) { animation-delay: 0.20s; }
  .main-nav.is-open .main-nav__item:nth-child(6) { animation-delay: 0.24s; }
  .main-nav.is-open .main-nav__item:nth-child(7) { animation-delay: 0.28s; }
  .main-nav.is-open .main-nav__item:nth-child(8) { animation-delay: 0.32s; }
  @keyframes nav-item-in { to { opacity: 1; transform: none; } }

  .main-nav__link { padding: 0.62rem 1rem; font-size: 0.95rem; } /* comfortable but compact */
  .main-nav__link::after { display: none; } /* underline is a desktop affordance */
  .main-nav__link.is-active { background: var(--navy-700); color: #fff; }
  .dropdown a { padding-top: 0.7rem; padding-bottom: 0.7rem; }

  /* Tablet: keep a compact Join CTA beside the hamburger
     (overrides the earlier display:none) */
  .site-header__actions .header-cta {
    display: inline-flex; padding: 0.5rem 0.95rem; font-size: 0.72rem;
  }
}

/* Small phones: the drawer has its own Join button — the header CTA only
   crowds the brand, so hide it and compact the logo */
@media (max-width: 620px) {
  .site-header__actions .header-cta { display: none; }
  .brand img { width: 44px; height: 44px; }
  .brand__text { font-size: 1.25rem; }
  .site-header__inner { gap: var(--space-3); }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav .main-nav__item { opacity: 1 !important; transform: none !important; animation: none !important; }
  body.nav-open::before { animation: none; }
  .header-cta::before { display: none; }
}

/* ---------------------------------------------------------------------------
   HERO
--------------------------------------------------------------------------- */
.hero {
  position: relative; display: grid; place-items: center; text-align: center;
  min-height: min(92vh, 860px); padding: var(--space-9) 0; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #fff;
}
.hero--compact { min-height: 46vh; }
.hero__media, .hero__media video, .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,21,57,0.55) 0%, rgba(7,21,57,var(--hero-overlay,0.72)) 70%);
}
.hero__content { position: relative; z-index: 2; max-width: 880px; padding-inline: var(--space-5); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #FFD9A8; background: rgba(249,115,22,0.16); border: 1px solid rgba(249,115,22,0.4);
  padding: 0.45rem 1.1rem; border-radius: var(--radius-pill); margin-bottom: var(--space-5);
}
.hero__title {
  font-size: var(--text-hero); color: #fff; font-weight: 800;
  margin-bottom: var(--space-5); text-wrap: balance;
}
.hero__title .accent { color: var(--orange-500); }
.hero__sub {
  font-size: var(--text-lg); color: #C9D6EF; max-width: 720px;
  margin: 0 auto var(--space-6);
}
.hero__actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: var(--space-5); left: 50%; transform: translateX(-50%);
  color: #C9D6EF; font-size: 1.4rem; animation: hero-bounce 2.2s infinite; z-index: 2;
}
@keyframes hero-bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,10px); } }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(150deg, var(--navy-950), var(--navy-700));
  color: #fff; text-align: center; padding: var(--space-8) 0;
}
.page-hero h1 { color: #fff; margin-bottom: var(--space-3); }
.page-hero .lede { color: #C9D6EF; max-width: 680px; margin-inline: auto; }

/* ---------------------------------------------------------------------------
   HOME SECTIONS
--------------------------------------------------------------------------- */

/* Trust highlights overlap the hero slightly */
.trust-strip { margin-top: -72px; position: relative; z-index: 5; padding-bottom: 0; }
.trust-strip .card { text-align: center; }
.trust-strip .feature-icon { margin-inline: auto; }

/* About */
.about-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--space-8); align-items: center; }
.about-visual { position: relative; }
.about-visual .about-logo {
  background: var(--surface); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); padding: var(--space-7);
  display: grid; place-items: center;
}
.about-visual .about-logo img { max-width: 320px; }
.about-list { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: var(--space-3); }
.about-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.about-list li::before {
  content: "\F26B"; font-family: "bootstrap-icons"; color: var(--green-600);
  font-size: 1.1rem; line-height: 1.5;
}
@media (max-width: 900px) { .about-split { grid-template-columns: 1fr; } }

/* Circle cards */
.circle-criteria { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: var(--space-2); }
.circle-criteria li { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--text-sm); }
.circle-criteria li::before {
  content: "\F26B"; font-family: "bootstrap-icons";
  color: var(--circle-accent, var(--green-600)); flex-shrink: 0;
}
.circle-criteria li.mandatory { color: var(--orange-600); font-weight: 600; }
.circle-criteria li.mandatory::before { content: "\F33A"; color: var(--orange-600); }
.card--circle .circle-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* Leader previews (founder / MD) */
.leader-split {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--space-8); align-items: center;
}
.leader-split--reverse { grid-template-columns: 1.15fr 0.85fr; }
.leader-split--reverse .leader-photo { order: 2; }
.leader-photo {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.6; background: var(--navy-50);
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-photo--placeholder {
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--navy-100), var(--navy-50));
}
.leader-photo--placeholder .monogram {
  font-family: var(--font-display); font-size: 4rem; font-weight: 800; color: var(--navy-700);
}
.leader-name { margin-bottom: var(--space-1); }
.leader-role {
  color: var(--color-accent); font-weight: 700; font-size: var(--text-sm);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-4);
}
.leader-quote {
  border-left: 4px solid var(--orange-500); background: var(--surface-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-4) var(--space-5); font-style: italic; color: var(--ink-700);
  margin: 0 0 var(--space-5);
}
@media (max-width: 900px) {
  .leader-split, .leader-split--reverse { grid-template-columns: 1fr; }
  .leader-split--reverse .leader-photo { order: 0; }
  .leader-photo { max-width: 420px; margin-inline: auto; }
}

/* Mission / vision cards */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.mv-card { border-top: 4px solid var(--navy-700); }
.mv-card--vision { border-top-color: var(--orange-600); }
.mv-values { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
@media (max-width: 820px) { .mv-grid { grid-template-columns: 1fr; } }

/* Statistics */
.stats-band { background: linear-gradient(140deg, var(--navy-900), var(--navy-700)); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-6); text-align: center; }
.stat-label { color: #AFC0E2; font-size: var(--text-sm); font-weight: 600; margin-top: var(--space-2); }

/* Gallery */
.gallery-filters { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; margin-bottom: var(--space-6); }
.gallery-filter {
  padding: 0.45rem 1.1rem; border-radius: var(--radius-pill); cursor: pointer;
  background: var(--ink-100); border: 0; font: inherit; font-size: var(--text-sm); font-weight: 600;
  color: var(--ink-700); transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}
.gallery-filter.is-active { background: var(--navy-700); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-4); }
.gallery-item {
  position: relative; border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in;
  aspect-ratio: 4 / 3; background: var(--ink-100); border: 0; padding: 0;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-med) var(--ease-out); }
.gallery-item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: rgba(7, 21, 57, 0.92); padding: var(--space-5);
  opacity: 0; visibility: hidden; transition: opacity var(--dur-med) ease, visibility var(--dur-med);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: var(--radius-md); object-fit: contain; }
.lightbox__close {
  position: absolute; top: var(--space-5); right: var(--space-5);
  background: rgba(255,255,255,0.12); color: #fff; border: 0; width: 44px; height: 44px;
  border-radius: 50%; font-size: 1.3rem; cursor: pointer;
}

/* Testimonials */
.testimonial-card { display: flex; flex-direction: column; gap: var(--space-4); height: 100%; }
.testimonial-card .quote-mark { color: var(--orange-500); font-size: 2rem; line-height: 1; }
.testimonial-card blockquote { margin: 0; flex: 1; color: var(--ink-700); }
.testimonial-author { display: flex; align-items: center; gap: var(--space-3); }
.testimonial-author img, .testimonial-author .avatar-fallback {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  background: var(--navy-100); color: var(--navy-700);
  display: grid; place-items: center; font-weight: 700;
}
.testimonial-author .name { font-weight: 700; color: var(--ink-900); }
.testimonial-author .role { font-size: var(--text-xs); color: var(--ink-500); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
  border-radius: var(--radius-xl); color: #fff; text-align: center;
  padding: clamp(2.5rem, 5vw, 4.5rem); box-shadow: var(--shadow-navy);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.25), transparent 65%);
  top: -180px; right: -120px;
}
.cta-band h2 { color: #fff; }
.cta-band .lede { color: #C9D6EF; }
.cta-band .hero__actions { margin-top: var(--space-5); }

/* Contact preview + contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
.contact-info-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.contact-info-list .ci-icon {
  width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--navy-50); color: var(--navy-700); border-radius: var(--radius-sm); font-size: 1.1rem;
}
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ---------------------------------------------------------------------------
   RULES TIMELINE
--------------------------------------------------------------------------- */
.rules-timeline { position: relative; max-width: 780px; margin-inline: auto; padding-left: 44px; }
.rules-timeline::before {
  content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 3px;
  background: linear-gradient(var(--orange-500), var(--navy-100));
  border-radius: 2px;
}
.rule-item { position: relative; margin-bottom: var(--space-5); }
.rule-item::before {
  content: ""; position: absolute; left: -37px; top: 26px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--orange-500);
  box-shadow: 0 0 0 4px var(--orange-100);
}
.rule-card { border-left: 4px solid var(--orange-500); }
.rule-card .rule-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.rule-card h3 { color: var(--orange-600); font-size: var(--text-lg); margin-bottom: var(--space-2); }
.rule-card p { margin: 0; color: var(--ink-700); }

/* ---------------------------------------------------------------------------
   BENEFITS PAGE
--------------------------------------------------------------------------- */
.benefit-roadmap { counter-reset: step; max-width: 820px; margin-inline: auto; }
.benefit-step {
  display: flex; gap: var(--space-5); padding: var(--space-5);
  border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--ink-100); box-shadow: var(--shadow-xs); margin-bottom: var(--space-4);
}
.benefit-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl);
  color: var(--navy-100); line-height: 1;
}

/* ---------------------------------------------------------------------------
   CONTENT / LEGAL PAGES
--------------------------------------------------------------------------- */
.content-page { max-width: 820px; margin-inline: auto; }
.content-page h2 { font-size: var(--text-xl); margin-top: var(--space-7); }
.content-page blockquote {
  border-left: 4px solid var(--orange-500); background: var(--surface-alt);
  margin: 0 0 var(--space-5); padding: var(--space-4) var(--space-5);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display); font-size: var(--text-lg); color: var(--navy-800);
}
.content-page ul { padding-left: 1.2rem; display: grid; gap: var(--space-2); }
.legal-meta { color: var(--ink-500); font-size: var(--text-sm); margin-bottom: var(--space-6); }

/* Leader page layout */
.leader-page-hero {
  text-align: center; padding: var(--space-8) 0 var(--space-6);
}
.leader-page-hero .leader-photo {
  width: min(360px, 80vw); aspect-ratio: 1; border-radius: var(--radius-xl);
  margin: 0 auto var(--space-5);
}
.leader-page-hero h1 { margin-bottom: var(--space-1); }

/* ---------------------------------------------------------------------------
   FOOTER
--------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: #AFC0E2;
  padding-top: var(--space-8); margin-top: var(--space-8);
  font-size: var(--text-sm);
}
/* Premium tricolor-inspired top accent line */
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange-500) 0%, var(--orange-500) 33%,
              #ffffff 33%, #ffffff 50%, var(--green-600) 50%, var(--green-600) 66%,
              var(--navy-500) 66%, var(--navy-500) 100%);
  opacity: 0.9;
}
.site-footer a { color: #AFC0E2; transition: color var(--dur-fast) ease, transform var(--dur-fast) ease; }
.site-footer a:hover { color: var(--orange-500); }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.4fr 0.8fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
}
@media (max-width: 991px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .site-footer__grid { grid-template-columns: 1fr; gap: var(--space-6); } }

.footer-brand {
  display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4);
}
.footer-brand img {
  width: 64px; height: 64px; object-fit: contain;
  background: #fff; border-radius: var(--radius-md); padding: 6px;
}
.footer-brand span {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: #fff;
}
.footer-about { color: #AFC0E2; margin-bottom: var(--space-3); }
.footer-tagline { color: #fff; font-weight: 600; letter-spacing: 0.04em; }

.footer-heading {
  position: relative; color: #fff; font-size: var(--text-lg); font-weight: 700;
  margin-bottom: var(--space-5); padding-bottom: var(--space-2);
}
/* Orange accent underline for each column heading */
.footer-heading::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 34px; height: 3px; border-radius: 2px; background: var(--orange-500);
}

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.footer-links a { display: inline-flex; align-items: center; gap: 0.45rem; }
.footer-links a:hover { transform: translateX(4px); }
.footer-links .bi { font-size: 0.7rem; color: var(--orange-500); }

.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.footer-contact li { display: flex; gap: var(--space-3); align-items: flex-start; line-height: 1.6; }
.footer-contact .bi {
  color: var(--orange-500); font-size: 1rem; flex-shrink: 0; margin-top: 3px;
}

.footer-social { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.footer-social a {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); border-radius: 50%;
  font-size: 1.1rem; color: #fff;
  transition: background var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
}
.footer-social a:hover { background: var(--orange-600); color: #fff; transform: translateY(-3px); }

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-4) 0; text-align: center;
}
.site-footer__bottom p { margin: 0; color: #7E92BE; font-size: var(--text-xs); }

/* ---------------------------------------------------------------------------
   FLOATING ELEMENTS
--------------------------------------------------------------------------- */
/* Floating action buttons — stacked bottom-right with animations */
.fab-stack {
  position: fixed; right: var(--space-5); bottom: var(--space-5); z-index: 80;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.fab {
  position: relative; width: 54px; height: 54px; border-radius: 50%; border: 0;
  display: grid; place-items: center; font-size: 1.5rem; color: #fff; cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  animation: fab-pop 0.5s var(--ease-out) backwards;
}
.fab:hover { transform: translateY(-3px) scale(1.1); color: #fff; }
@keyframes fab-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
/* hover label pill sliding out to the left */
.fab::after {
  content: attr(data-label); position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(8px); white-space: nowrap;
  background: var(--navy-900); color: #fff; font-size: var(--text-xs); font-weight: 600;
  padding: 0.35rem 0.8rem; border-radius: 999px; pointer-events: none;
  opacity: 0; transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
  box-shadow: var(--shadow-md);
}
.fab:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* WhatsApp — green with radar ripple ring */
.whatsapp-fab {
  background: linear-gradient(135deg, #4AE383, #25D366);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
  animation: fab-pop 0.5s var(--ease-out) 0.15s backwards;
}
.whatsapp-fab::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  animation: fab-ripple-green 2.8s ease-out 1s infinite;
}
@keyframes fab-ripple-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  60% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Call — orange with ripple + ringing-phone wiggle */
.call-fab {
  background: linear-gradient(135deg, #FB923C, var(--orange-600));
  box-shadow: 0 10px 26px rgba(234, 88, 12, 0.42);
  animation: fab-pop 0.5s var(--ease-out) 0.05s backwards;
}
.call-fab::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  animation: fab-ripple-orange 2.8s ease-out 2.4s infinite;
}
@keyframes fab-ripple-orange {
  0% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.5); }
  60% { box-shadow: 0 0 0 18px rgba(234, 88, 12, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}
.call-fab i { animation: fab-ring-wiggle 4s ease-in-out 1.5s infinite; transform-origin: 50% 40%; }
@keyframes fab-ring-wiggle {
  0%, 86%, 100% { transform: rotate(0); }
  88% { transform: rotate(-16deg); } 90% { transform: rotate(14deg); }
  92% { transform: rotate(-10deg); } 94% { transform: rotate(8deg); }
  96% { transform: rotate(-4deg); } 98% { transform: rotate(2deg); }
}

/* Back to top — navy, appears on scroll, arrow nudges upward on hover */
.back-to-top {
  width: 46px; height: 46px; font-size: 1.05rem;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(0.9);
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) ease, visibility var(--dur-fast);
  animation: none;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top.is-visible:hover { transform: translateY(-3px) scale(1.1); }
.back-to-top:hover i { animation: fab-arrow-up 0.7s ease infinite; }
@keyframes fab-arrow-up { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

@media (prefers-reduced-motion: reduce) {
  .fab, .whatsapp-fab, .call-fab { animation: none; }
  .whatsapp-fab::before, .call-fab::before, .call-fab i { animation: none; }
}

/* Form feedback */
.form-alert {
  display: none; padding: var(--space-4); border-radius: var(--radius-sm);
  font-size: var(--text-sm); font-weight: 500; margin-bottom: var(--space-4);
}
.form-alert.is-success { display: block; background: var(--green-100); color: #14532D; }
.form-alert.is-error { display: block; background: var(--red-100); color: #7F1D1D; }

/* ===========================================================================
   HOME v2 — Recognition Circles (colourful cards) + page-wide polish
   ========================================================================= */

/* --- Section head refinement: gradient underline bar under every h2 ------ */
.section-head h2 { position: relative; padding-bottom: var(--space-3); }
.section-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 64px; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--navy-700), var(--orange-500));
}
.section-head--left h2::after { left: 0; transform: none; }
.section--navy .section-head h2::after {
  background: linear-gradient(90deg, var(--orange-500), var(--gold-500, #EAB308));
}

/* --- Recognition Circles v2 --------------------------------------------- */
.circles2-grid { align-items: stretch; }
.circle2 {
  --c: var(--navy-700);
  display: flex; flex-direction: column; border-radius: var(--radius-xl);
  background: var(--surface); overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--c) 22%, white);
  box-shadow: 0 6px 22px color-mix(in srgb, var(--c) 12%, transparent);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.circle2:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px color-mix(in srgb, var(--c) 28%, transparent);
}
/* Colored header */
.circle2__head {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: var(--space-5) var(--space-5) var(--space-6);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(255,255,255,0.22), transparent 55%),
    linear-gradient(150deg, color-mix(in srgb, var(--c) 88%, white) 0%, var(--c) 46%, color-mix(in srgb, var(--c) 72%, black) 100%);
}
.circle2__ring {
  position: absolute; width: 190px; height: 190px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18); top: -70px; right: -60px; pointer-events: none;
}
.circle2__ring--2 { width: 120px; height: 120px; top: auto; right: auto; bottom: -50px; left: -40px; }
.circle2__topline {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--space-4); position: relative; z-index: 1; min-height: 26px;
}
.circle2__level {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(3px); border-radius: 999px; padding: 0.28rem 0.75rem;
}
.circle2__crown-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em;
  color: #78350F; background: linear-gradient(120deg, #FDE68A, #F59E0B);
  border-radius: 999px; padding: 0.3rem 0.7rem;
  box-shadow: 0 4px 14px rgba(245,158,11,0.5);
  animation: circle2-badge-pulse 2.6s var(--ease-out) infinite;
}
@keyframes circle2-badge-pulse {
  0%,100% { transform: scale(1); } 50% { transform: scale(1.07); }
}
.circle2__icon {
  position: relative; z-index: 1; width: 72px; height: 72px; margin: 0 auto var(--space-3);
  display: grid; place-items: center; font-size: 1.9rem; color: var(--c);
  background: #fff; border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0,0,0,0.22), 0 0 0 6px rgba(255,255,255,0.18);
  animation: circle2-float 4.5s ease-in-out infinite;
}
.circle2:nth-child(2n) .circle2__icon { animation-delay: -1.4s; }
.circle2:nth-child(3n) .circle2__icon { animation-delay: -2.6s; }
@keyframes circle2-float {
  0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); }
}
.circle2:hover .circle2__icon { animation-play-state: paused; transform: translateY(-4px) scale(1.08); transition: transform 0.35s var(--ease-out); }
.circle2__name {
  position: relative; z-index: 1; color: #fff; font-size: var(--text-xl);
  margin-bottom: 0.2rem; text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.circle2__label {
  position: relative; z-index: 1; font-size: var(--text-xs); font-weight: 600;
  color: rgba(255,255,255,0.88); margin: 0; letter-spacing: 0.04em;
}
/* Sheen sweep across the header on hover */
.circle2__head::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
  transform: translateX(-120%);
}
.circle2:hover .circle2__head::after { animation: circle2-sheen 0.9s var(--ease-out); }
@keyframes circle2-sheen { to { transform: translateX(120%); } }
/* Body */
.circle2__body {
  display: flex; flex-direction: column; flex: 1;
  padding: var(--space-5); gap: var(--space-4);
}
.circle2__desc { font-size: var(--text-sm); color: var(--ink-500); margin: 0; }
.circle2__criteria { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); flex: 1; }
.circle2__criteria li {
  display: flex; gap: var(--space-2); align-items: flex-start;
  font-size: var(--text-sm); color: var(--ink-700);
  background: color-mix(in srgb, var(--c) 5%, white);
  border: 1px solid color-mix(in srgb, var(--c) 12%, white);
  border-radius: var(--radius-sm); padding: 0.5rem 0.7rem;
}
.circle2__criteria li i { color: var(--c); flex-shrink: 0; line-height: 1.5; }
.circle2__criteria li.mandatory {
  color: var(--orange-700, #C2410C); font-weight: 600;
  background: var(--orange-100); border-color: #FED7AA;
}
.circle2__criteria li.mandatory i { color: var(--orange-600); }
/* Actions */
.circle2__actions { display: grid; gap: var(--space-2); }
.circle2__join {
  position: relative; overflow: hidden; display: inline-flex; align-items: center;
  justify-content: center; gap: 0.45rem; padding: 0.72rem 1.2rem;
  border-radius: var(--radius-pill); font-weight: 700; font-size: var(--text-sm);
  color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 86%, white), var(--c));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 38%, transparent);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.circle2__join:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--c) 50%, transparent);
}
.circle2__join i { transition: transform 0.25s var(--ease-out); }
.circle2__join:hover i { transform: translateX(4px); }
.circle2__join::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.32) 50%, transparent 70%);
  transform: translateX(-130%);
}
.circle2__join:hover::before { animation: circle2-sheen 0.8s var(--ease-out); }
.circle2__more {
  text-align: center; font-size: var(--text-xs); font-weight: 600;
  color: var(--c); padding: 0.3rem;
}
.circle2__more:hover { text-decoration: underline; color: var(--c); }
/* Top-level (Crown) card stands out */
.circle2--top {
  border: 2px solid color-mix(in srgb, var(--c) 45%, white);
  box-shadow: 0 10px 32px color-mix(in srgb, var(--c) 24%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  .circle2__icon, .circle2__crown-badge { animation: none !important; }
}

/* --- Trust highlights: colour-coded icons + accent top border ------------ */
.trust-strip .card--feature { position: relative; overflow: hidden; }
.trust-strip .card--feature::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--th-accent, var(--navy-700));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.trust-strip .card--feature:hover::before { transform: scaleX(1); }
.trust-strip .card--feature:nth-child(1) { --th-accent: var(--navy-700); }
.trust-strip .card--feature:nth-child(2) { --th-accent: #7C3AED; }
.trust-strip .card--feature:nth-child(3) { --th-accent: var(--orange-600); }
.trust-strip .card--feature:nth-child(4) { --th-accent: #0891B2; }
.trust-strip .card--feature .feature-icon {
  color: var(--th-accent, var(--color-primary));
  background: color-mix(in srgb, var(--th-accent, var(--navy-700)) 10%, white);
  border-radius: 50%; transition: transform 0.3s var(--ease-out);
}
.trust-strip .card--feature:hover .feature-icon { transform: rotate(-8deg) scale(1.1); }

/* --- About visual: photo mode + glow behind logo ------------------------- */
.about-visual::before {
  content: ""; position: absolute; inset: -30px -20px;
  background: radial-gradient(60% 60% at 50% 45%, rgba(249,115,22,0.12), transparent 70%);
  pointer-events: none;
}
.about-photo {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--navy-50);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.about-photo:hover img { transform: scale(1.03); }

/* --- Statistics band: subtle grid pattern + gold numbers ----------------- */
.stats-band { position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(249,115,22,0.22), transparent 32%),
    radial-gradient(circle at 88% 85%, rgba(59,130,246,0.18), transparent 34%);
}
.stats-band .container { position: relative; }
.stats-band .stat-number {
  background: linear-gradient(120deg, #FFFFFF 30%, #FDBA74 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats-grid > div {
  padding: var(--space-4); border-radius: var(--radius-md);
  transition: background 0.3s ease, transform 0.3s var(--ease-out);
}
.stats-grid > div:hover { background: rgba(255,255,255,0.06); transform: translateY(-4px); }

/* --- CTA band: optional photo background + extra glow -------------------- */
.cta-band::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.2), transparent 65%);
  bottom: -160px; left: -100px; pointer-events: none;
}
.cta-band__bg { position: absolute; inset: 0; z-index: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band--photo::before, .cta-band--photo::after { z-index: 2; }
.cta-band--photo .cta-band__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,32,84,0.9), rgba(23,52,128,0.82));
}
.cta-band > *:not(.cta-band__bg) { position: relative; z-index: 3; }

/* --- Testimonials & gallery micro-polish --------------------------------- */
.testimonial-card { border-top: 3px solid transparent; }
.testimonial-card:hover { border-top-color: var(--orange-500); }
.gallery-item::after {
  content: "\F52A"; font-family: "bootstrap-icons"; position: absolute; inset: 0;
  display: grid; place-items: center; font-size: 1.6rem; color: #fff;
  background: rgba(13,32,84,0.35); opacity: 0; transition: opacity 0.3s ease;
}
.gallery-item:hover::after { opacity: 1; }

/* --- Leader preview polish ----------------------------------------------- */
.leader-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  border: 1px solid rgba(13,32,84,0.08);
  box-shadow: inset 0 -60px 60px -30px rgba(13,32,84,0.18);
}

/* ===========================================================================
   LEADER PREVIEWS v2 — grand landscape (3:2) photo cards, Founder & MD
   ========================================================================= */
.leader2 {
  display: grid; grid-template-columns: 1.08fr 1fr;
  gap: clamp(1.8rem, 4.5vw, 4rem); align-items: center;
}
.leader2--flip .leader2__photo-col { order: 2; }
.leader2__photo-col { position: relative; }
/* soft glow behind the frame */
.leader2__photo-col::before {
  content: ""; position: absolute; inset: -36px -26px;
  background: radial-gradient(60% 60% at 50% 45%, rgba(249,115,22,0.14), transparent 70%);
  pointer-events: none;
}
.leader2__photo {
  position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius-xl);
  overflow: hidden; background: linear-gradient(160deg, var(--navy-100), var(--navy-50));
  box-shadow: 0 24px 54px rgba(13, 32, 84, 0.22);
}
/* premium gradient frame ring (orange → navy) */
.leader2__photo::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: var(--radius-xl); border: 3px solid transparent;
  background: linear-gradient(140deg, var(--orange-500), transparent 38%, transparent 62%, var(--navy-500)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* bottom fade so the chip always reads */
.leader2__photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(7, 21, 57, 0.45), transparent 34%);
}
.leader2__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.leader2__photo:hover img { transform: scale(1.045); }
.leader2__photo--placeholder { display: grid; place-items: center; }
.leader2__photo--placeholder::after { display: none; }
.leader2__monogram {
  font-family: var(--font-display); font-size: 4rem; font-weight: 800; color: var(--navy-700);
}
/* floating role chip on the photo */
.leader2__chip {
  position: absolute; left: 18px; bottom: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em;
  color: #fff; text-transform: uppercase;
  background: linear-gradient(135deg, var(--orange-600), var(--orange-500));
  border-radius: 999px; padding: 0.5rem 1.05rem;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.45);
}
.leader2__chip i { font-size: 0.85em; }
/* content */
.leader2__name {
  position: relative; margin-bottom: var(--space-1); padding-bottom: var(--space-3);
}
.leader2__name::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 58px; height: 4px;
  border-radius: 999px; background: linear-gradient(90deg, var(--navy-700), var(--orange-500));
}
.leader2__role {
  color: var(--color-accent); font-weight: 700; font-size: var(--text-sm);
  letter-spacing: 0.08em; text-transform: uppercase; margin: var(--space-2) 0 var(--space-4);
}
.leader2__quote {
  position: relative; margin: 0 0 var(--space-5);
  background: var(--surface); border: 1px solid var(--ink-100);
  border-left: 4px solid var(--orange-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-4) var(--space-5) var(--space-4) var(--space-6);
  font-style: italic; color: var(--ink-700); box-shadow: var(--shadow-sm);
}
.leader2__qmark {
  position: absolute; top: 2px; left: 12px; font-family: Georgia, serif;
  font-size: 2.6rem; line-height: 1; color: var(--orange-200, #FED7AA); pointer-events: none;
}
.section--alt .leader2__quote { background: #fff; }
@media (max-width: 900px) {
  .leader2, .leader2--flip { grid-template-columns: 1fr; }
  .leader2--flip .leader2__photo-col { order: 0; }
  .leader2__photo { max-width: 560px; margin-inline: auto; }
}

/* ===========================================================================
   HOME v3 — reference-style redesign: about, circles compact, gallery mosaic,
   trusted-stats with photo, why-IMRF cards, CTA side photo, gold hero title
   ========================================================================= */

/* --- Hero: gold title like the reference ------------------------------- */
.hero__title {
  background: linear-gradient(120deg, #FFE9A8 0%, #FFC93C 45%, #F5A623 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 10px rgba(7, 21, 57, 0.55));
}
.hero__title .accent {
  background: linear-gradient(120deg, #FFB25C, var(--orange-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --- About v3: swirl stage + award overlay + checklist ------------------ */
.about3 { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about3__visual { position: relative; }
.about3__stage {
  position: relative; aspect-ratio: 1 / 1; max-width: 460px; margin-inline: auto;
  border-radius: var(--radius-xl); overflow: hidden;
  background:
    radial-gradient(70% 70% at 30% 30%, rgba(249,115,22,0.14), transparent 60%),
    conic-gradient(from 210deg at 60% 40%, #F4F7FE, #E7EDFB, #FDF3E7, #F4F7FE);
  box-shadow: var(--shadow-lg); display: grid; place-items: center;
}
.about3__stage::before, .about3__stage::after {
  content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(13,32,84,0.08);
}
.about3__stage::before { width: 78%; height: 78%; animation: about3-spin 26s linear infinite; border-style: dashed; }
.about3__stage::after { width: 94%; height: 94%; }
@keyframes about3-spin { to { transform: rotate(360deg); } }
.about3__logo { width: 62%; position: relative; z-index: 1; filter: drop-shadow(0 14px 26px rgba(13,32,84,0.18)); }
.about3__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about3__award {
  position: absolute; right: 4px; bottom: -22px; width: clamp(110px, 30%, 150px);
  aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden;
  border: 4px solid #fff; box-shadow: 0 16px 34px rgba(13,32,84,0.28);
  animation: about3-bob 5s ease-in-out infinite;
}
.about3__award img { width: 100%; height: 100%; object-fit: cover; }
@keyframes about3-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.about3__heading { color: var(--navy-900); }
.about3__points { list-style: none; padding: 0; margin: var(--space-4) 0 var(--space-5); display: grid; gap: var(--space-2); }
.about3__points li { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--text-sm); color: var(--ink-700); }
.about3__points li i { color: var(--green-600); line-height: 1.6; }
@media (max-width: 900px) { .about3 { grid-template-columns: 1fr; } .about3__award { bottom: -12px; } }

/* --- Circles v3: compact colourful cards (reference style) -------------- */
.circles3-grid {
  display: grid; gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  align-items: stretch;
}
/* Balanced 3 + 3 on large screens (avoids a 4+2 orphan row) */
@media (min-width: 1100px) { .circles3-grid { grid-template-columns: repeat(3, 1fr); } }
.circle3 {
  --c: var(--navy-700);
  position: relative; display: flex; flex-direction: column; text-align: center;
  background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--c) 20%, white);
  border-top: 4px solid var(--c);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--c) 10%, transparent);
  padding: var(--space-4) var(--space-4) var(--space-5);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.circle3:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--c) 26%, transparent);
}
.circle3__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-2); }
.circle3__pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 85%, white), var(--c));
  border-radius: 999px; padding: 0.35rem 0.8rem;
  box-shadow: 0 5px 14px color-mix(in srgb, var(--c) 35%, transparent);
}
.circle3__lvl {
  flex-shrink: 0; width: 26px; height: 26px; display: grid; place-items: center;
  font-size: 0.62rem; font-weight: 800; color: var(--c);
  background: color-mix(in srgb, var(--c) 10%, white); border-radius: 50%;
}
.circle3--top .circle3__lvl { color: #B45309; background: linear-gradient(120deg, #FDE68A, #FBBF24); box-shadow: 0 4px 10px rgba(245,158,11,0.45); }
.circle3__label { font-size: 0.72rem; font-weight: 600; color: var(--ink-500); text-align: left; margin: 0 0 var(--space-3); }
.circle3__criteria { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: grid; gap: var(--space-2); flex: 1; }
.circle3__criteria li {
  font-size: var(--text-sm); color: var(--ink-700); line-height: 1.55;
  background: color-mix(in srgb, var(--c) 4%, white);
  border: 1px dashed color-mix(in srgb, var(--c) 18%, white);
  border-radius: var(--radius-sm); padding: 0.55rem 0.6rem;
}
.circle3__criteria li strong { color: var(--c); font-size: 1.02em; }
.circle3__criteria li.mandatory {
  color: var(--orange-700, #C2410C); font-weight: 600; border-style: solid;
  background: var(--orange-100); border-color: #FED7AA;
  display: flex; gap: 0.4rem; align-items: flex-start; justify-content: center;
}
.circle3__criteria li.mandatory i { color: var(--orange-600); line-height: 1.55; }
.circle3__join {
  position: relative; overflow: hidden; display: inline-flex; align-items: center;
  justify-content: center; gap: 0.45rem; padding: 0.65rem 1rem;
  border-radius: var(--radius-pill); font-weight: 700; font-size: var(--text-xs);
  color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 85%, white), var(--c));
  box-shadow: 0 7px 18px color-mix(in srgb, var(--c) 35%, transparent);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.circle3__join:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 11px 24px color-mix(in srgb, var(--c) 48%, transparent); }
.circle3__join i { transition: transform 0.25s var(--ease-out); }
.circle3__join:hover i { transform: translateX(4px); }
.circle3__join::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transform: translateX(-130%);
}
.circle3__join:hover::before { animation: circle2-sheen 0.8s var(--ease-out); }
.circle3--top { border-width: 2px; }

/* --- Gallery v3: split head + mosaic ------------------------------------ */
.gallery3-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6);
  align-items: center; margin-bottom: var(--space-6);
}
.gallery3-title { position: relative; padding-bottom: var(--space-3); margin-bottom: 0; }
.gallery3-title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 58px; height: 4px;
  border-radius: 999px; background: linear-gradient(90deg, var(--navy-700), var(--orange-500));
}
@media (max-width: 820px) { .gallery3-head { grid-template-columns: 1fr; gap: var(--space-4); } }
/* Mosaic: 1st and 4th items span wider on desktop */
@media (min-width: 821px) {
  .gallery3-mosaic { grid-template-columns: repeat(4, 1fr); }
  .gallery3-mosaic .gallery-item:nth-child(6n+1),
  .gallery3-mosaic .gallery-item:nth-child(6n+4) { grid-column: span 2; }
}
.gallery3-mosaic .gallery-item { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* --- Statistics v3: trusted split with photo ----------------------------- */
.stats3-section { overflow: hidden; }
.stats3 { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.stats3--no-photo { grid-template-columns: 1fr; text-align: center; }
.stats3--no-photo .stats3__nums { justify-content: center; }
.stats3__heading { color: var(--navy-900); }
.stats3__nums { display: flex; flex-wrap: wrap; gap: var(--space-6); margin-top: var(--space-5); }
.stats3__num { position: relative; padding-left: var(--space-4); text-align: left; }
.stats3__num::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px;
  border-radius: 999px; background: linear-gradient(180deg, var(--orange-500), var(--navy-700));
}
.stats3 .stat-number { color: var(--navy-800); }
.stats3 .stat-label { color: var(--ink-500); }
.stats3__photo {
  position: relative; aspect-ratio: 4 / 5; max-width: 400px; margin-inline: auto;
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 22px 48px rgba(13,32,84,0.24);
}
.stats3__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.stats3__photo:hover img { transform: scale(1.04); }
.stats3__chip {
  position: absolute; left: -6px; bottom: 26px; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: var(--text-xs); font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--orange-600), var(--orange-500));
  padding: 0.55rem 1.1rem; border-radius: 0 999px 999px 0;
  box-shadow: 0 10px 24px rgba(234,88,12,0.45);
  animation: about3-bob 4.5s ease-in-out infinite;
}
@media (max-width: 900px) { .stats3 { grid-template-columns: 1fr; } }

/* --- Why IMRF v3: intro + 2×2 icon cards --------------------------------- */
.why3 { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.why3__heading { position: relative; padding-bottom: var(--space-3); }
.why3__heading::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 58px; height: 4px;
  border-radius: 999px; background: linear-gradient(90deg, var(--navy-700), var(--orange-500));
}
.why3__cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.why3__card {
  background: var(--surface); border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg); padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease;
}
.why3__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--navy-100); }
.why3__card h3 { font-size: var(--text-base); margin-bottom: var(--space-2); }
.why3__card p { font-size: var(--text-sm); color: var(--ink-500); }
.why3__icon {
  width: 50px; height: 50px; display: grid; place-items: center; font-size: 1.3rem;
  color: #fff; background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  border-radius: 50%; margin-bottom: var(--space-3);
  box-shadow: 0 8px 18px rgba(13,32,84,0.28);
  transition: transform 0.3s var(--ease-out), background 0.3s ease;
}
.why3__card:hover .why3__icon { transform: rotate(-8deg) scale(1.08); background: linear-gradient(135deg, var(--orange-600), var(--orange-500)); }
.why3__card:nth-child(even) .why3__icon { background: linear-gradient(135deg, var(--orange-600), var(--orange-500)); box-shadow: 0 8px 18px rgba(234,88,12,0.3); }
.why3__card:nth-child(even):hover .why3__icon { background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); }
@media (max-width: 900px) { .why3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why3__cards { grid-template-columns: 1fr; } }

/* --- CTA v3: side photo band --------------------------------------------- */
.cta3 { text-align: left; }
.cta3__content { position: relative; z-index: 3; max-width: 620px; }
.cta3__actions { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-5); }
.cta3--photo { min-height: 320px; display: flex; align-items: center; }
.cta3__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; z-index: 1; }
.cta3__photo img { width: 100%; height: 100%; object-fit: cover; }
.cta3__photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy-800) 0%, rgba(23,52,128,0.25) 45%, rgba(23,52,128,0.15) 100%);
}
@media (max-width: 760px) {
  .cta3__photo { width: 100%; }
  .cta3__photo::before { background: linear-gradient(135deg, rgba(13,32,84,0.94), rgba(23,52,128,0.86)); }
}

/* ===========================================================================
   HOME v4 — exact reference match: yellow hero, curved edge, one-card trust,
   reference circle cards (2+4), full-width CTA, trusted stats, light-blue why
   ========================================================================= */

/* --- Hero: bright yellow title + gold button + curved bottom ------------- */
.hero { padding-bottom: 90px; }
.hero__badge {
  background: rgba(255, 213, 74, 0.12); border: 1px solid rgba(255, 213, 74, 0.55);
  color: #FFD54A; letter-spacing: 0.18em; font-size: 0.66rem;
}
.hero__title {
  background: none; -webkit-background-clip: initial; background-clip: initial;
  color: #FFD500; filter: none; text-transform: uppercase; letter-spacing: 0.02em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}
.hero__title .accent { background: none; -webkit-background-clip: initial; background-clip: initial; color: #FFD500; }
.hero__sub { font-size: var(--text-sm); max-width: 640px; line-height: 1.9; }
.btn--gold {
  --btn-bg: #FFD500; --btn-color: #0D2054; --btn-shadow: 0 10px 26px rgba(255, 213, 0, 0.35);
  font-weight: 800;
}
.btn--gold:hover { background: #FFC61A; color: #0D2054; }
/* curved bottom edge */
.hero__curve {
  position: absolute; left: -8%; right: -8%; bottom: -2px; height: 110px; z-index: 3;
  background: var(--surface); border-radius: 100% 100% 0 0 / 200px 200px 0 0;
  pointer-events: none;
}
.hero__scroll { display: none; }

/* --- Trust strip v4: ONE white card with columns ------------------------- */
.trust4 { margin-top: -150px; }
.trust4__card {
  position: relative; z-index: 6; background: var(--surface);
  border-radius: var(--radius-xl); box-shadow: 0 24px 60px rgba(13, 32, 84, 0.16);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(1.4rem, 3vw, 2.6rem);
}
.trust4__col h3 { font-size: var(--text-base); margin: var(--space-3) 0 var(--space-2); }
.trust4__col p { font-size: var(--text-xs); color: var(--ink-500); line-height: 1.8; }
.trust4__icon {
  width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.15rem;
  color: #fff; background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  border-radius: 50%; box-shadow: 0 8px 18px rgba(234, 88, 12, 0.35);
  transition: transform 0.3s var(--ease-out);
}
.trust4__col:hover .trust4__icon { transform: scale(1.12) rotate(-6deg); }

/* --- Plain eyebrow (small caps gray, like the reference) ----------------- */
.eyebrow--plain {
  display: block; font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-500);
  margin-bottom: var(--space-3);
}

/* --- About: navy check circles like reference ---------------------------- */
.about3__points li i { color: var(--navy-800); font-size: 1.05rem; }
.about3__points li { font-weight: 600; color: var(--navy-800); }

/* --- Circles v4 section: lavender bg + floating pastel ring decorations -- */
.circles4-section { position: relative; overflow: hidden; background: #F2F3F9; }
.circles4-section .deco {
  position: absolute; border-radius: 50%; border: 10px solid; opacity: 0.35;
  animation: deco-float 9s ease-in-out infinite; pointer-events: none;
}
.deco--1 { width: 120px; height: 120px; border-color: #F9C6CF; top: 8%; left: -34px; }
.deco--2 { width: 74px; height: 74px; border-color: #BFD8F7; top: 16%; right: 7%; animation-delay: -3s; }
.deco--3 { width: 150px; height: 150px; border-color: #CFF1DC; bottom: 12%; right: -44px; animation-delay: -5s; }
.deco--4 { width: 60px; height: 60px; border-color: #FBE3B9; bottom: 20%; left: 9%; animation-delay: -7s; }
@keyframes deco-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.pill-navy {
  display: inline-block; font-size: var(--text-xs); font-weight: 700; color: #fff;
  background: var(--navy-800); border-radius: 999px; padding: 0.4rem 1.1rem;
  margin-bottom: var(--space-4); box-shadow: 0 6px 16px rgba(13, 32, 84, 0.25);
}
.h2-twotone { color: var(--navy-900); }
.h2-twotone span { color: var(--orange-600); }
.section-head .h2-twotone::after { display: none; }

/* --- Circles v4 cards: fully coloured, white inset panel (2 + 4 layout) -- */
.circles4-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); align-items: stretch; }
.circle4:nth-child(1), .circle4:nth-child(2) { grid-column: span 2; }
@media (max-width: 1080px) {
  .circles4-grid { grid-template-columns: repeat(2, 1fr); }
  .circle4:nth-child(1), .circle4:nth-child(2) { grid-column: span 1; }
}
@media (max-width: 620px) { .circles4-grid { grid-template-columns: 1fr; } }
.circle4 {
  --c: var(--navy-700);
  position: relative; display: flex; flex-direction: column; text-align: center;
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(165deg, color-mix(in srgb, var(--c) 82%, white) 0%, var(--c) 55%, color-mix(in srgb, var(--c) 80%, black) 100%);
  padding: var(--space-4) var(--space-4) var(--space-4);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--c) 30%, transparent);
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out);
}
.circle4:hover { transform: translateY(-8px); box-shadow: 0 22px 46px color-mix(in srgb, var(--c) 44%, transparent); }
.circle4__badges {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--space-2); min-height: 22px;
}
.circle4__lvl {
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.12em; color: #fff;
  background: rgba(0, 0, 0, 0.28); border-radius: 999px; padding: 0.24rem 0.7rem;
}
.circle4__toplvl {
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.1em; color: #6B3A00;
  background: linear-gradient(120deg, #FFE9A8, #FBBF24); border-radius: 999px; padding: 0.26rem 0.65rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.5);
  animation: circle2-badge-pulse 2.6s var(--ease-out) infinite;
}
.circle4__star {
  width: 52px; height: 52px; margin: 0.35rem auto var(--space-2);
  display: grid; place-items: center; font-size: 1.35rem; color: var(--c);
  background: #fff; border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25), 0 0 0 5px rgba(255, 255, 255, 0.16);
  animation: circle2-float 4.5s ease-in-out infinite;
}
.circle4:nth-child(2n) .circle4__star { animation-delay: -1.6s; }
.circle4:nth-child(3n) .circle4__star { animation-delay: -2.8s; }
.circle4:hover .circle4__star { animation-play-state: paused; transform: scale(1.1); transition: transform 0.3s var(--ease-out); }
.circle4__name {
  color: #fff; font-size: 0.95rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: var(--space-3);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.circle4__panel {
  flex: 1; background: #fff; border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3); margin-bottom: var(--space-3);
  display: grid; align-content: center; gap: var(--space-2);
  box-shadow: inset 0 1px 4px rgba(13, 32, 84, 0.06);
}
.circle4__line { font-size: var(--text-xs); color: var(--ink-700); line-height: 1.7; margin: 0; }
.circle4__line strong { display: inline-block; color: var(--navy-900); font-size: 1.12em; }
.circle4__line.is-mandatory {
  color: var(--orange-700, #C2410C); font-weight: 700; font-size: 0.68rem;
  border-top: 1px dashed var(--ink-100); padding-top: var(--space-2); margin-top: 0.2rem;
}
.circle4__join {
  position: relative; overflow: hidden; display: block; text-align: center;
  padding: 0.66rem 1rem; border-radius: var(--radius-sm);
  font-weight: 800; font-size: 0.74rem; letter-spacing: 0.04em; color: #fff;
  background: color-mix(in srgb, var(--c) 68%, black);
  transition: transform 0.25s var(--ease-out), background 0.25s ease;
}
.circle4__join:hover { color: #fff; transform: translateY(-2px); background: color-mix(in srgb, var(--c) 55%, black); }
.circle4__join::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-130%);
}
.circle4__join:hover::before { animation: circle2-sheen 0.8s var(--ease-out); }
.circle4--top { box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.65), 0 12px 30px color-mix(in srgb, var(--c) 38%, transparent); }

/* --- Gallery mosaic v4: wide+narrow / narrow+wide rows -------------------- */
@media (min-width: 821px) {
  .gallery3-mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; }
  .gallery3-mosaic .gallery-item { aspect-ratio: auto; height: 100%; }
  .gallery3-mosaic .gallery-item:nth-child(4n+1),
  .gallery3-mosaic .gallery-item:nth-child(4n) { grid-column: span 2; }
}

/* --- CTA v4: full-bleed navy band ---------------------------------------- */
.cta4 {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 120% at 85% 20%, rgba(59, 130, 246, 0.28), transparent 60%),
    radial-gradient(50% 100% at 10% 90%, rgba(249, 115, 22, 0.16), transparent 60%),
    linear-gradient(115deg, #12295F 0%, #1B3A85 55%, #274FA8 100%);
  padding: clamp(3rem, 6vw, 4.6rem) 0;
}
.cta4__bg { position: absolute; inset: 0; opacity: 0.3; }
.cta4__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta4__trophy, .cta4__arrow {
  position: absolute; color: rgba(255, 255, 255, 0.08); pointer-events: none;
}
.cta4__trophy { font-size: clamp(8rem, 16vw, 15rem); right: 12%; top: 50%; transform: translateY(-50%); animation: about3-bob 6s ease-in-out infinite; }
.cta4__arrow { font-size: clamp(4rem, 8vw, 7rem); left: 4%; bottom: -6%; }
.cta4__inner {
  position: relative; z-index: 2; display: flex; align-items: center;
  justify-content: space-between; gap: var(--space-6); flex-wrap: wrap;
}
.cta4__text h2 { color: #fff; margin-bottom: var(--space-3); max-width: 560px; }
.cta4__text p { color: #C9D6EF; font-size: var(--text-sm); max-width: 560px; margin: 0; line-height: 1.85; }
.cta4__btn-col { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* --- Trusted stats v4 ----------------------------------------------------- */
.stats4 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.stats4--no-photo { grid-template-columns: 1fr; }
.stats4__heading { color: var(--navy-900); }
.stats4__sub { color: var(--ink-500); font-size: var(--text-sm); line-height: 1.85; margin-bottom: var(--space-5); }
.stats4__nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-5); }
.stats4__num { border-top: 2px solid var(--navy-900); padding-top: var(--space-3); }
.stats4__num .stat-number { color: var(--navy-900); font-size: var(--text-3xl); }
.stats4__label { font-weight: 800; color: var(--navy-900); font-size: var(--text-sm); margin: var(--space-2) 0 var(--space-1); border-bottom: 1px solid var(--ink-100); padding-bottom: var(--space-2); }
.stats4__desc { font-size: var(--text-xs); color: var(--ink-500); line-height: 1.7; margin: var(--space-2) 0 0; }
.stats4__photo {
  position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 20px 44px rgba(13, 32, 84, 0.22);
}
.stats4__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.stats4__photo:hover img { transform: scale(1.04); }
.stats4__chip {
  position: absolute; left: -8px; bottom: 30px; max-width: 60%;
  font-size: var(--text-xs); font-weight: 700; color: #fff; line-height: 1.5;
  background: #17A05E; padding: 0.7rem 1.1rem; border-radius: var(--radius-sm);
  box-shadow: 0 10px 24px rgba(23, 160, 94, 0.4);
  animation: about3-bob 5s ease-in-out infinite;
}
@media (max-width: 900px) { .stats4 { grid-template-columns: 1fr; } }

/* --- Why IMRF v4: light-blue band + navy icons ---------------------------- */
.why4-section { background: #EBF1F9; }
.why4__sub { color: var(--ink-500); font-size: var(--text-sm); line-height: 1.9; }
.why4-section .why3__card { border: 0; box-shadow: 0 6px 18px rgba(13, 32, 84, 0.07); }
.why4-section .why3__icon,
.why4-section .why3__card:nth-child(even) .why3__icon {
  background: var(--navy-800); box-shadow: 0 8px 18px rgba(13, 32, 84, 0.28);
}
.why4-section .why3__card:hover .why3__icon,
.why4-section .why3__card:nth-child(even):hover .why3__icon {
  background: linear-gradient(135deg, var(--orange-600), var(--orange-500));
}

/* ===========================================================================
   BUTTON ANIMATIONS — selectable in Admin → Membership Buttons
   ========================================================================= */
.btn-anim-pulse { animation: mbtn-pulse 2s ease-in-out infinite; }
@keyframes mbtn-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.btn-anim-shine { position: relative; overflow: hidden; }
.btn-anim-shine::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-130%); animation: mbtn-shine 2.8s ease infinite;
}
@keyframes mbtn-shine { 0% { transform: translateX(-130%); } 45%,100% { transform: translateX(130%); } }
.btn-anim-glow { animation: mbtn-glow 2.2s ease-in-out infinite; }
@keyframes mbtn-glow {
  0%,100% { box-shadow: var(--shadow-sm); }
  50% { box-shadow: 0 0 24px var(--mb-glow, rgba(234, 88, 12, 0.55)); }
}
.btn-anim-bounce { animation: mbtn-bounce 1.6s ease-in-out infinite; }
@keyframes mbtn-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) {
  .btn-anim-pulse, .btn-anim-glow, .btn-anim-bounce { animation: none; }
  .btn-anim-shine::before { animation: none; }
}

/* ===========================================================================
   MEMBERSHIP PAGE — hover colour/effect options + mobile responsive layout
   ========================================================================= */
/* Custom hover colours (Admin → Membership Buttons) */
.btn.has-hbg:hover { background: var(--mb-hbg) !important; border-color: var(--mb-hbg) !important; }
.btn.has-hfg:hover { color: var(--mb-hfg) !important; }
/* Hover effects */
.btn-hov-grow:hover { transform: translateY(-2px) scale(1.07); }
.btn-hov-glow:hover { box-shadow: 0 0 26px var(--mb-glow, rgba(234, 88, 12, 0.55)); }
.btn-hov-shine { position: relative; overflow: hidden; }
.btn-hov-shine::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-130%);
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
}
.btn-hov-shine:hover::after { animation: mbtn-shine-once 0.7s ease forwards; }
@keyframes mbtn-shine-once { to { transform: translateX(130%); } }
.btn-hov-fill.is-outline:hover { background: var(--mb-fill, var(--navy-700)) !important; color: #fff !important; border-color: transparent; }
.btn-hov-none:hover { transform: none; }

/* Circle detail cards: icon | content | buttons → stacks on mobile */
.mem-circle-grid {
  display: grid; grid-template-columns: auto 1fr 220px;
  gap: var(--space-5); align-items: start;
}
.mem-circle-actions { display: flex; flex-direction: column; gap: var(--space-3); }
.mem-circle-actions .btn { width: 100%; justify-content: center; text-align: center; }
@media (max-width: 960px) {
  .mem-circle-grid { grid-template-columns: auto 1fr; }
  .mem-circle-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .mem-circle-actions .btn { width: auto; flex: 1 1 200px; }
}
@media (max-width: 560px) {
  .mem-circle-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .card--circle .circle-icon { width: 46px; height: 46px; font-size: 1.2rem; margin-bottom: 0; }
  .mem-circle-grid h2.circle-name { font-size: var(--text-xl) !important; }
  .mem-circle-actions { flex-direction: column; }
  .mem-circle-actions .btn { width: 100%; flex: none; }
  .circle-criteria li { font-size: var(--text-xs); }
}

/* Extra-large button size (Admin → Membership Buttons) */
.btn--xl { padding: 1.2rem 2.7rem; font-size: var(--text-lg); }

/* ===========================================================================
   HOME v4.1 — Mission/Vision cards fix, stats background, testimonials
   slider, footer brand social buttons
   ========================================================================= */

/* --- Mission & Vision v4 -------------------------------------------------- */
.mv4-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 820px) { .mv4-grid { grid-template-columns: 1fr; } }
.mv4-card {
  position: relative; overflow: hidden; background: var(--surface);
  border: 1px solid var(--ink-100); border-top: 4px solid var(--mv-c, var(--navy-700));
  border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.mv4-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mv4-card--mission { --mv-c: var(--navy-700); --mv-soft: var(--navy-50); }
.mv4-card--vision  { --mv-c: var(--orange-600); --mv-soft: var(--orange-100); }
.mv4-ring {
  position: absolute; top: -46px; right: -46px; width: 140px; height: 140px;
  border-radius: 50%; border: 14px solid var(--mv-soft); opacity: 0.8; pointer-events: none;
  transition: transform 0.4s var(--ease-out);
}
.mv4-card:hover .mv4-ring { transform: scale(1.15) rotate(12deg); }
.mv4-icon {
  width: 56px; height: 56px; display: grid; place-items: center; font-size: 1.5rem;
  color: #fff; border-radius: 16px; margin-bottom: var(--space-4);
  background: linear-gradient(135deg, color-mix(in srgb, var(--mv-c) 80%, white), var(--mv-c));
  box-shadow: 0 10px 22px color-mix(in srgb, var(--mv-c) 35%, transparent);
  transition: transform 0.3s var(--ease-out);
}
.mv4-card:hover .mv4-icon { transform: rotate(-8deg) scale(1.08); }
.mv4-card h3 { margin-bottom: var(--space-3); color: var(--navy-900); }
.mv4-card p { color: var(--ink-700); font-size: var(--text-sm); line-height: 1.85; }
.mv4-values { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; margin-top: var(--space-6); }
.mv4-value {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: var(--text-xs); font-weight: 700; color: var(--navy-800);
  background: #fff; border: 1px solid var(--ink-100); border-radius: 999px;
  padding: 0.45rem 1rem; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease;
}
.mv4-value i { color: var(--green-600); }
.mv4-value:hover { transform: translateY(-2px); border-color: var(--orange-300, #FDBA74); }

/* --- Trusted & Prestigious: premium background ---------------------------- */
.stats4-section {
  position: relative; overflow: hidden;
  background:
    radial-gradient(46% 60% at 6% 10%, rgba(30, 58, 138, 0.07), transparent 65%),
    radial-gradient(40% 55% at 96% 88%, rgba(234, 88, 12, 0.08), transparent 62%),
    linear-gradient(150deg, #F6F9FF 0%, #FFFFFF 48%, #FDF6EE 100%);
}
.stats4-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(13, 32, 84, 0.07) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, transparent 40%, #000 100%);
  mask-image: radial-gradient(70% 70% at 50% 50%, transparent 40%, #000 100%);
}
.stats4-section::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  border: 26px solid rgba(30, 58, 138, 0.05); top: -110px; right: -90px; pointer-events: none;
}
.stats4-section .container { position: relative; z-index: 1; }

/* --- Advisors' Voices slider ---------------------------------------------- */
.tslider { position: relative; padding: 0 54px; }
.tslider__viewport { overflow: hidden; }
.tslider__track {
  display: flex; align-items: stretch;
  transition: transform 0.55s var(--ease-out);
}
.tslider__slide { flex: 0 0 33.333%; max-width: 33.333%; padding: 8px 10px; box-sizing: border-box; display: flex; }
.tslider__slide .testimonial-card { width: 100%; }
.tslider__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--surface); color: var(--navy-700); font-size: 1.1rem;
  box-shadow: var(--shadow-md); display: grid; place-items: center;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-out);
}
.tslider__nav:hover { background: var(--navy-700); color: #fff; transform: translateY(-50%) scale(1.08); }
.tslider__nav--prev { left: 0; }
.tslider__nav--next { right: 0; }
.tslider__dots { display: flex; justify-content: center; gap: 8px; margin-top: var(--space-5); }
.tslider__dot {
  width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: var(--ink-100); transition: width 0.3s var(--ease-out), background 0.3s ease;
}
.tslider__dot.is-active { width: 26px; background: var(--orange-500); }
@media (max-width: 640px) { .tslider { padding: 0 40px; } .tslider__nav { width: 36px; height: 36px; } }

/* --- Footer social: brand-coloured circle buttons ------------------------- */
.footer-social--brand { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social--brand .fs-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.15rem; color: #fff !important; position: relative;
  background: var(--fs-bg, rgba(255,255,255,0.08));
  box-shadow: 0 8px 18px var(--fs-glow, rgba(0,0,0,0.3));
  transition: transform 0.25s var(--ease-out), filter 0.25s ease, box-shadow 0.25s var(--ease-out);
  animation: fab-pop 0.5s var(--ease-out) backwards;
}
/* keep the brand colour on hover (base .footer-social a:hover turns orange) */
.footer-social--brand .fs-btn:hover {
  background: var(--fs-bg, rgba(255,255,255,0.08));
  transform: translateY(-4px) scale(1.1); filter: brightness(1.12);
  box-shadow: 0 12px 24px var(--fs-glow, rgba(0,0,0,0.35));
}
.footer-social--brand .fs-btn--facebook  { --fs-bg: #1877F2; --fs-glow: rgba(24, 119, 242, 0.4); }
.footer-social--brand .fs-btn--instagram { --fs-bg: radial-gradient(120% 120% at 30% 110%, #FDC468 0%, #DF4996 55%, #8A3AB9 100%); --fs-glow: rgba(223, 73, 150, 0.4); }
.footer-social--brand .fs-btn--youtube   { --fs-bg: #FF0000; --fs-glow: rgba(255, 0, 0, 0.35); }
.footer-social--brand .fs-btn--telegram  { --fs-bg: #229ED9; --fs-glow: rgba(34, 158, 217, 0.4); }
.footer-social--brand .fs-btn--whatsapp  { --fs-bg: #25D366; --fs-glow: rgba(37, 211, 102, 0.4); }

/* ===========================================================================
   ANIMATED BUTTON ICONS — header CTA + membership buttons
   ========================================================================= */
.cta-icon {
  display: inline-grid; place-items: center; line-height: 1;
  animation: cta-icon-tada 3.6s ease-in-out 1.2s infinite;
}
.cta-icon--nudge { animation: cta-icon-nudge 1.6s ease-in-out infinite; }
@keyframes cta-icon-tada {
  0%, 82%, 100% { transform: scale(1) rotate(0); }
  86% { transform: scale(1.25) rotate(-10deg); }
  90% { transform: scale(1.2) rotate(8deg); }
  94% { transform: scale(1.12) rotate(-5deg); }
  97% { transform: scale(1.05) rotate(2deg); }
}
@keyframes cta-icon-nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.btn:hover .cta-icon--nudge { animation-duration: 0.8s; }
@media (prefers-reduced-motion: reduce) { .cta-icon, .cta-icon--nudge { animation: none; } }

/* ===========================================================================
   MOBILE MENU v3 — premium drawer: animated logo header + CTA footer
   ========================================================================= */
/* Hidden on desktop — these blocks exist only for the mobile drawer */
.mnav-head, .mnav-foot { display: none; }

@media (max-width: 991px) {
  .main-nav {
    display: flex; flex-direction: column;
    background:
      radial-gradient(80% 30% at 50% 0%, rgba(30, 58, 138, 0.07), transparent 70%),
      linear-gradient(180deg, #FFFFFF 0%, #F6F9FF 100%);
    border-radius: 22px 0 0 22px;
  }
  /* ---- Drawer header: logo + brand ---- */
  .mnav-head {
    display: grid; place-items: center; text-align: center;
    padding: 0 0 var(--space-3); margin-bottom: var(--space-3);
    border-bottom: 1px solid var(--ink-100); position: relative;
  }
  .mnav-head::after {
    content: ""; position: absolute; bottom: -1.5px; left: 50%; transform: translateX(-50%);
    width: 70px; height: 3px; border-radius: 999px;
    background: linear-gradient(90deg, var(--navy-700), var(--orange-500));
  }
  .mnav-logo {
    position: relative; width: 64px; height: 64px; display: grid; place-items: center;
    margin-bottom: 0.35rem;
  }
  .mnav-logo img {
    width: 46px; height: 46px; object-fit: contain; position: relative; z-index: 1;
    filter: drop-shadow(0 8px 16px rgba(13, 32, 84, 0.2));
  }
  .mnav-logo__ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 2px dashed rgba(234, 88, 12, 0.55);
    animation: mnav-spin 14s linear infinite;
  }
  .mnav-logo__ring::after {
    content: ""; position: absolute; inset: 7px; border-radius: 50%;
    border: 1.5px solid rgba(30, 58, 138, 0.2);
  }
  @keyframes mnav-spin { to { transform: rotate(360deg); } }
  .mnav-brand {
    font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
    color: var(--navy-900); letter-spacing: 0.06em;
  }
  .mnav-tag {
    font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--orange-600); margin-top: 0.15rem;
  }
  /* Logo pops + ring fades in when the drawer opens */
  .main-nav .mnav-head { opacity: 0; transform: translateY(-14px); }
  .main-nav.is-open .mnav-head {
    animation: mnav-fade-down 0.45s var(--ease-out) 0.05s forwards;
  }
  .main-nav.is-open .mnav-logo img { animation: mnav-logo-pop 0.6s var(--ease-out) 0.1s backwards; }
  @keyframes mnav-fade-down { to { opacity: 1; transform: none; } }
  @keyframes mnav-logo-pop {
    0% { transform: scale(0) rotate(-20deg); } 70% { transform: scale(1.15) rotate(4deg); }
    100% { transform: scale(1) rotate(0); }
  }
  /* ---- Menu items: refined look ---- */
  .main-nav__list { flex: 1; overflow-y: auto; }
  .main-nav__link {
    padding: 0.62rem 1rem; font-size: 0.95rem; border-radius: var(--radius-md);
    border-left: 3px solid transparent;
  }
  .main-nav__link.is-active { border-left-color: var(--orange-500); }
  .main-nav__item + .main-nav__item { border-top: 1px solid rgba(13, 32, 84, 0.05); }
  /* ---- Drawer footer: CTA + contact icons ---- */
  .mnav-foot {
    display: grid; gap: var(--space-2); padding-top: var(--space-3);
    margin-top: var(--space-2); border-top: 1px solid var(--ink-100);
    opacity: 0; transform: translateY(14px);
  }
  .mnav-contact a { width: 38px; height: 38px; font-size: 0.95rem; }
  .main-nav.is-open .mnav-foot { animation: mnav-fade-down 0.45s var(--ease-out) 0.4s forwards; }
  .mnav-join { width: 100%; justify-content: center; }
  .mnav-contact { display: flex; justify-content: center; gap: var(--space-3); }
  .mnav-contact a {
    width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
    background: var(--navy-50); color: var(--navy-700); font-size: 1.05rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-out);
  }
  .mnav-contact a:hover { background: var(--navy-700); color: #fff; transform: translateY(-3px); }
  @media (prefers-reduced-motion: reduce) {
    .mnav-logo__ring { animation: none; }
    .main-nav .mnav-head, .main-nav .mnav-foot { opacity: 1; transform: none; animation: none; }
  }
}

/* Mobile drawer: closed dropdown must be truly flat (a later desktop rule
   re-adds padding, leaving a ~24px ghost gap under "About") */
@media (max-width: 991px) {
  .main-nav .dropdown { padding: 0 0 0 var(--space-4); }
  .main-nav .main-nav__item.is-open > .dropdown { padding: 0.25rem 0 0.35rem var(--space-4); }
}

/* ===========================================================================
   DESKTOP MENU FIX — labels must never wrap to two lines (Telugu/Hindi
   labels are wider than English); tighten spacing so one row always fits
   ========================================================================= */
.main-nav__link { white-space: nowrap; }
@media (min-width: 992px) {
  .main-nav__list { gap: 0; flex-wrap: nowrap; }
  .main-nav__link { padding: 0.55rem 0.7rem; }
  .site-header__inner { gap: var(--space-4); }
}
@media (min-width: 992px) and (max-width: 1280px) {
  .main-nav__link { padding: 0.5rem 0.5rem; font-size: var(--text-xs); }
  .brand img { width: 46px; height: 46px; }
  .brand__text { font-size: 1.25rem; }
  .header-cta { padding: 0.5rem 1rem; font-size: 0.72rem; }
  .site-header__inner { gap: var(--space-3); }
}

/* --- Mobile: hero bottom spacing fix -------------------------------------
   The white trust card was riding up over the hero buttons on phones
   (margin-top -150px designed for desktop). Give the hero breathing room
   and reduce the overlap on small screens. */
@media (max-width: 700px) {
  .hero { padding-bottom: calc(var(--space-9) + 90px); }
  .hero__curve { height: 70px; border-radius: 100% 100% 0 0 / 120px 120px 0 0; }
  .trust4 { margin-top: -60px; }
}
@media (max-width: 480px) {
  .hero { padding-bottom: calc(var(--space-9) + 110px); }
  .trust4 { margin-top: -46px; }
}

/* --- Content/legal pages: complete typography ---------------------------
   Admin → Pages editor lo rasina content ki proper sizes: headings
   correct scale lo (h2 > h3 > h4), lists/nested lists, tables, bold. */
.content-page { font-size: var(--text-base); line-height: 1.85; color: var(--ink-700); }
.content-page h1 { font-size: var(--text-2xl); margin-top: var(--space-6); }
.content-page h2 { font-size: var(--text-xl); margin-top: var(--space-6); margin-bottom: var(--space-3); }
.content-page h3 { font-size: var(--text-lg); margin-top: var(--space-5); margin-bottom: var(--space-2); }
.content-page h4, .content-page h5 { font-size: var(--text-base); margin-top: var(--space-4); margin-bottom: var(--space-2); }
.content-page p { margin: 0 0 var(--space-4); }
.content-page ul, .content-page ol { padding-left: 1.4rem; margin: 0 0 var(--space-4); display: block; }
.content-page li { margin-bottom: var(--space-2); line-height: 1.8; }
.content-page li ul, .content-page li ol { margin: var(--space-2) 0 0; }
.content-page b, .content-page strong { color: var(--ink-900); font-weight: 700; }
.content-page a { color: var(--navy-700); text-decoration: underline; }
.content-page a:hover { color: var(--orange-600); }
.content-page img { border-radius: var(--radius-md); margin: var(--space-4) 0; }
.content-page hr { border: 0; border-top: 1px solid var(--ink-100); margin: var(--space-6) 0; }
.content-page table { width: 100%; border-collapse: collapse; margin: 0 0 var(--space-5); font-size: var(--text-sm); }
.content-page th, .content-page td { border: 1px solid var(--ink-100); padding: 0.6rem 0.9rem; text-align: left; }
.content-page th { background: var(--surface-alt); color: var(--ink-900); }
