/* =====================================================================
   Domkal Diganta Welfare Society
   Premium "3D 4K Future" Design System
   ---------------------------------------------------------------------
   1.  Variables & base
   2.  Typography & utilities
   3.  Buttons (3D)
   4.  Header / announcement / mobile nav
   5.  Page banner
   6.  Hero
   7.  Cards (3D, glass, tilt)
   8.  Sections & layout helpers
   9.  Stats, timeline, values, counters
   10. Team, gallery, video, course, testimonial
   11. Forms
   12. Footer, float actions, toast
   13. Animations & scroll reveal
   14. Responsive breakpoints
   ===================================================================== */

/* ---------- 1. VARIABLES & BASE ---------- */
:root {
  --brand-primary:   #0C2D6E;
  --brand-primary-2: #1C59D9;
  --brand-secondary: #0D9465;
  --brand-secondary-2: #2DD4BF;
  --brand-accent:    #F59E0B;
  --brand-accent-2:  #FBBF24;
  --brand-dark:      #071530;
  --brand-cream:     #F8FAFC;

  --grad-primary:   linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-2) 100%);
  --grad-secondary: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-secondary-2) 100%);
  --grad-accent:    linear-gradient(135deg, #D97706 0%, var(--brand-accent) 50%, var(--brand-accent-2) 100%);
  --grad-mix:       linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 55%, var(--brand-accent) 100%);
  --grad-glass:     linear-gradient(135deg, rgba(255,255,255,.24), rgba(255,255,255,.08));
  --grad-card:      linear-gradient(180deg, #FFFFFF 0%, #FAFCFF 100%);

  --white: #ffffff;
  --text:  #0F172A;
  --muted: #475569;
  --line:  #E2E8F0;
  --soft:  #F1F5F9;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --sh-xs: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --sh-sm: 0 4px 12px -2px rgba(12, 37, 86, .08), 0 2px 6px -1px rgba(12, 37, 86, .04);
  --sh:    0 12px 32px -4px rgba(12, 37, 86, .10), 0 4px 12px -2px rgba(12, 37, 86, .05);
  --sh-lg: 0 22px 50px -8px rgba(12, 37, 86, .14), 0 8px 20px -4px rgba(12, 37, 86, .06);
  --sh-xl: 0 36px 80px -12px rgba(12, 37, 86, .20), 0 12px 30px -4px rgba(12, 37, 86, .08);
  --sh-glow:           0 14px 40px rgba(28, 89, 217, .32);
  --sh-glow-accent:    0 14px 38px rgba(245, 158, 11, .38);
  --sh-glow-secondary: 0 14px 38px rgba(13, 148, 101, .34);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: .18s var(--ease);
  --t:      .32s var(--ease);
  --t-slow: .6s var(--ease);

  --header-h: 68px;
  --container: 1240px;

  --persp: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--brand-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  box-sizing: border-box;
}

body.nav-open { overflow: hidden; }

/* Global viewport containment to prevent mobile side whitespace */
main,
.site-header,
.hero,
.section,
.section-sm,
.section-tight,
.page-banner,
.site-footer,
.cta-strip,
.header-container,
.container,
.container-fluid {
  max-width: 100% !important;
  box-sizing: border-box;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6,
.font-display, .brand-name, .banner-title, .section-title,
.hero-title, .stat-value, .footer-title {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.022em;
  color: var(--brand-dark);
}

h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
h4 { font-size: 1.12rem; }
h5 { font-size: 1rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-primary-2); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--brand-primary); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }

::selection { background: var(--brand-accent); color: #fff; }

:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container { max-width: var(--container); }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--soft); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--brand-primary-2), var(--brand-primary));
  border-radius: 20px;
  border: 2px solid var(--soft);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(var(--brand-secondary), var(--brand-secondary-2)); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 99999;
  background: var(--brand-primary); color: #fff; padding: .8rem 1.4rem;
  border-radius: 0 0 12px 0; font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 2. TYPOGRAPHY & UTILITIES ---------- */
.section { padding: clamp(56px, 7vw, 100px) 0; position: relative; }
.section-sm { padding: clamp(40px, 5vw, 68px) 0; }
.section-tight { padding: clamp(30px, 3.6vw, 52px) 0; }

.section-alt { background: linear-gradient(180deg, #fff 0%, var(--brand-cream) 100%); }
.section-white { background: #fff; }
.section-cream { background: var(--brand-cream); }
.section-dark {
  background:
    radial-gradient(1100px 520px at 12% 0%, rgba(27,77,177,.42), transparent 62%),
    radial-gradient(900px 480px at 92% 100%, rgba(14,159,110,.30), transparent 60%),
    linear-gradient(160deg, var(--brand-dark) 0%, #0C1D42 100%);
  color: rgba(255,255,255,.86);
}
.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5, .section-dark h6 { color: #fff; }
.section-dark .section-sub { color: rgba(255,255,255,.72); }
.section-dark .section-title .accent { color: var(--brand-accent-2); }
.section-dark .text-muted-2 { color: rgba(255,255,255,.66) !important; }

.bg-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 40%, transparent 100%);
}
.bg-grid-light {
  background-image:
    linear-gradient(rgba(11,44,107,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,44,107,.05) 1px, transparent 1px);
}

.section-head { margin-bottom: clamp(30px, 4vw, 52px); }
.section-head.center { text-align: center; margin-inline: auto; max-width: 760px; }
.section-head.left { text-align: left; }
.section-head p { margin-top: .85rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-secondary);
  background: linear-gradient(135deg, rgba(14,159,110,.12), rgba(52,211,153,.14));
  border: 1px solid rgba(14,159,110,.24);
  padding: .5rem 1.05rem; border-radius: 100px; margin-bottom: 1.05rem;
}
.eyebrow i { font-size: .8em; }
.section-dark .eyebrow {
  color: var(--brand-accent-2);
  background: rgba(245,158,11,.13);
  border-color: rgba(245,158,11,.32);
}
.eyebrow.accent { color: #B45309; background: rgba(245,158,11,.14); border-color: rgba(245,158,11,.3); }
.eyebrow.blue { color: var(--brand-primary-2); background: rgba(27,77,177,.10); border-color: rgba(27,77,177,.22); }

.section-title { margin: 0; }
.section-title .accent {
  background: var(--grad-mix);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-dark .section-title .accent {
  background: linear-gradient(135deg, #fff 0%, var(--brand-accent-2) 60%, var(--brand-secondary-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub { color: var(--muted); font-size: 1.03rem; max-width: 660px; }
.section-head.center .section-sub { margin-inline: auto; }

.text-muted-2 { color: var(--muted) !important; }
.text-accent { color: var(--brand-accent) !important; }
.text-secondary-c { color: var(--brand-secondary) !important; }
.fw-800 { font-weight: 800 !important; }
.rounded-xl { border-radius: var(--radius-lg) !important; }
.rounded-2xl { border-radius: var(--radius) !important; }

/* ---------- 3. BUTTONS (3D) ---------- */
.btn {
  --btn-bg: var(--grad-primary);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  position: relative;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: .95rem; letter-spacing: .012em;
  padding: .88rem 1.7rem;
  border: 0; border-radius: 100px;
  color: #fff; background: var(--btn-bg);
  cursor: pointer; overflow: hidden; isolation: isolate;
  box-shadow: var(--sh-sm);
  transition: transform var(--t), box-shadow var(--t), color var(--t), background var(--t), border-color var(--t);
  -webkit-tap-highlight-color: transparent;
  text-align: center; line-height: 1.25;
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.42) 48%, transparent 72%);
  transform: translateX(-130%);
  transition: transform .85s var(--ease);
}
.btn:hover::after { transform: translateX(130%); }
.btn:hover { transform: translateY(-3px); box-shadow: var(--sh-glow); color: #fff; }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled, .btn.is-disabled { opacity: .55; pointer-events: none; }

.btn-3d { transform-style: preserve-3d; will-change: transform; }
.btn-3d:hover { transform: perspective(500px) translateY(-3px) rotateX(7deg) scale(1.03); }

.btn-primary, .btn-brand   { background: var(--grad-primary); }
.btn-secondary-c, .btn-green { background: var(--grad-secondary); }
.btn-accent, .btn-gold    { background: var(--grad-accent); color: #3B2400; box-shadow: var(--sh-sm), inset 0 -2px 0 rgba(0,0,0,.10); }
.btn-accent:hover, .btn-gold:hover { color: #2A1A00; box-shadow: var(--sh-glow-accent); }
.btn-dark   { background: linear-gradient(135deg, #16203A, #2A3B64); }
.btn-outline {
  background: transparent; color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  box-shadow: none;
}
.btn-outline:hover { background: var(--brand-primary); color: #fff; box-shadow: var(--sh-glow); }
.section-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,.55); }
.section-dark .btn-outline:hover { background: #fff; color: var(--brand-primary); }

.btn-glass-3d, .btn-glass {
  background: var(--grad-glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: #fff; border: 1px solid rgba(255,255,255,.30);
  box-shadow: 0 10px 30px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.24);
}
.btn-glass:hover { background: rgba(255,255,255,.20); color: #fff; box-shadow: 0 18px 44px rgba(0,0,0,.28); }
.section-dark .btn-glass:hover { background: rgba(255,255,255,.26); }

.btn-white { background: #fff; color: var(--brand-primary); box-shadow: var(--sh-sm); }
.btn-white:hover { color: var(--brand-primary); box-shadow: var(--sh-glow); }

.btn-sm { padding: .6rem 1.2rem; font-size: .85rem; }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-icon { width: 46px; height: 46px; padding: 0; border-radius: 50%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .93rem;
  color: var(--brand-primary-2);
}
.link-arrow i { transition: transform var(--t); }
.link-arrow:hover { color: var(--brand-secondary); }
.link-arrow:hover i { transform: translateX(6px); }
.section-dark .link-arrow { color: var(--brand-accent-2); }

/* ---------- 4. HEADER ---------- */
.announce-bar {
  position: relative; z-index: 60;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-primary-2) 50%, var(--brand-secondary) 130%);
  color: #fff; font-size: .875rem; font-weight: 600;
  padding: .62rem 2.6rem; text-align: center;
  overflow: hidden;
}
.announce-bar::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  animation: shimmerSlide 6s linear infinite;
}
.announce-bar i { opacity: .9; }
.announce-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.announce-link:hover { color: var(--brand-accent-2); }
.announce-close {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.16); border: 0; color: #fff;
  width: 28px; height: 28px; border-radius: 50%; font-size: 1.15rem; line-height: 1;
  cursor: pointer; transition: background var(--t-fast), transform var(--t-fast);
}
.announce-close:hover { background: rgba(255,255,255,.3); transform: translateY(-50%) rotate(90deg); }
.announce-bar.is-hidden { display: none; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(11, 44, 107, 0.08);
  box-shadow: 0 4px 20px -2px rgba(9, 24, 57, 0.05);
  transition: box-shadow var(--t), background var(--t), border-color var(--t);
}
.site-header.is-stuck {
  box-shadow: 0 8px 30px -4px rgba(9, 24, 57, 0.12);
  border-bottom-color: rgba(11, 44, 107, 0.12);
  background: rgba(255, 255, 255, 0.98);
}
.header-container {
  max-width: 1440px !important;
  width: 100%;
  padding-left: clamp(1rem, 2.5vw, 2rem) !important;
  padding-right: clamp(1rem, 2.5vw, 2rem) !important;
  margin-left: auto;
  margin-right: auto;
}
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(.4rem, 1.2vw, 1.2rem);
  width: 100%;
}

.brand { display: flex; align-items: center; gap: .65rem; color: inherit; flex-shrink: 0; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-logo-wrap { position: relative; display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; }
.brand-logo {
  width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 2;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(9, 24, 57, 0.14);
  transition: transform var(--t), box-shadow var(--t);
}
.brand:hover .brand-logo { transform: scale(1.06) rotate(-2deg); box-shadow: 0 6px 20px rgba(14, 159, 110, 0.35); }
.brand-ring {
  position: absolute; inset: -2px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--brand-secondary), var(--brand-primary-2), var(--brand-accent), var(--brand-secondary));
  filter: blur(6px); opacity: .45; z-index: 1;
  animation: spinSlow 9s linear infinite;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  color: var(--brand-dark); line-height: 1.15; letter-spacing: -.02em;
  white-space: nowrap; font-size: clamp(.86rem, 1vw, 1rem);
  max-width: clamp(160px, 20vw, 260px); overflow: hidden; text-overflow: ellipsis;
}
.brand-tag {
  font-size: .60rem; font-weight: 700; color: var(--brand-secondary);
  letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 1350px) {
  .brand-tag { display: none; }
}
.brand-sm .brand-logo-wrap { width: 38px; height: 38px; }
.brand-sm .brand-name { font-size: .92rem; max-width: 220px; }

/* Desktop Navigation - Ultra-Clean, Non-Overlapping */
.main-nav {
  display: flex; align-items: center;
  flex: 1 1 auto; justify-content: center; min-width: 0;
}
.nav-list {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(.10rem, .32vw, .26rem);
  list-style: none; margin: 0; padding: 0; flex-wrap: nowrap;
}
.nav-item { display: inline-flex; flex-shrink: 0; }
.main-nav .nav-link i { display: none !important; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: .32rem;
  padding: .36rem clamp(.44rem, .60vw, .72rem); border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600;
  font-size: clamp(.80rem, .85vw, .87rem);
  color: #33405C; white-space: nowrap !important; text-decoration: none;
  transition: all .20s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.nav-link:hover {
  color: var(--brand-primary);
  background: rgba(11, 44, 107, 0.07);
  transform: translateY(-1px);
}

/* === GLOWING ACTIVE NAV BUTTON === */
.nav-link.is-active {
  color: #ffffff !important;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-2) 55%, var(--brand-secondary) 100%);
  box-shadow: 0 0 16px rgba(27, 77, 177, 0.55), 0 0 30px rgba(14, 159, 110, 0.35), 0 2px 8px rgba(11, 44, 107, 0.25);
  animation: activeNavGlow 3s ease-in-out infinite alternate;
}
.nav-link.is-active::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399, 0 0 14px #34D399;
  margin-right: 2px;
  animation: activeDotPulse 1.8s ease-in-out infinite;
}
.nav-link.is-active:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 0 22px rgba(27, 77, 177, 0.75), 0 0 40px rgba(14, 159, 110, 0.55), 0 4px 12px rgba(11, 44, 107, 0.3);
}

@keyframes activeNavGlow {
  0% {
    box-shadow: 0 0 14px rgba(27, 77, 177, 0.5), 0 0 24px rgba(14, 159, 110, 0.3), inset 0 1px 1px rgba(255,255,255,0.4);
    transform: translateY(0);
  }
  100% {
    box-shadow: 0 0 22px rgba(27, 77, 177, 0.8), 0 0 38px rgba(14, 159, 110, 0.5), inset 0 1px 1px rgba(255,255,255,0.6);
    transform: translateY(-1px);
  }
}

@keyframes activeDotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
    box-shadow: 0 0 12px #34D399, 0 0 22px #34D399;
  }
}

.header-actions { display: flex; align-items: center; gap: .45rem; flex-shrink: 0; }

.header-phone {
  align-items: center; gap: .40rem; font-weight: 700; font-size: .80rem;
  color: var(--brand-primary); padding: .36rem .70rem; border-radius: 999px;
  background: var(--soft); transition: all var(--t-fast); text-decoration: none;
  white-space: nowrap; flex-shrink: 0;
}
.header-phone i { color: var(--brand-secondary); font-size: .82rem; }
.header-phone:hover { background: rgba(14,159,110,.14); color: var(--brand-secondary); transform: translateY(-1.5px); }

.header-social { display: flex; gap: .25rem; flex-shrink: 0; }
.hsocial {
  width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 50%; background: var(--soft); color: var(--brand-primary);
  font-size: .78rem; transition: all var(--t-fast); text-decoration: none;
}
.hsocial:hover {
  background: var(--grad-primary); color: #fff;
  transform: translateY(-2px) rotate(6deg); box-shadow: var(--sh-glow);
}

.header-donate-btn {
  padding: .38rem .92rem !important;
  font-size: .82rem !important;
  border-radius: 999px !important;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.35);
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.header-donate-btn.is-active-donate {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.85), 0 0 38px rgba(251, 191, 36, 0.6) !important;
  animation: activeDonateGlow 2.5s ease-in-out infinite alternate;
}
@keyframes activeDonateGlow {
  0% { box-shadow: 0 0 16px rgba(245, 158, 11, 0.6), 0 0 28px rgba(251, 191, 36, 0.4); transform: translateY(0); }
  100% { box-shadow: 0 0 24px rgba(245, 158, 11, 0.95), 0 0 44px rgba(251, 191, 36, 0.7); transform: translateY(-1.5px); }
}

.nav-toggle {
  width: 38px; height: 38px; border: 0; border-radius: 10px;
  background: var(--soft); cursor: pointer; display: grid; place-items: center;
  transition: all var(--t-fast); flex-shrink: 0;
}
.nav-toggle:hover { background: var(--line); transform: scale(1.04); }
.nav-toggle-bars { display: flex; flex-direction: column; gap: 4px; width: 19px; }
.nav-toggle-bars i {
  height: 2.2px; background: var(--brand-dark); border-radius: 3px; display: block;
  transition: transform var(--t), opacity var(--t-fast), width var(--t);
}
.nav-toggle-bars i:nth-child(2) { width: 68%; margin-left: auto; }
body.nav-open .nav-toggle-bars i:nth-child(1) { transform: translateY(6.2px) rotate(45deg); }
body.nav-open .nav-toggle-bars i:nth-child(2) { opacity: 0; transform: translateX(-12px); }
body.nav-open .nav-toggle-bars i:nth-child(3) { transform: translateY(-6.2px) rotate(-45deg); }

/* Responsive Navigation Breakpoint: 1080px */
@media (min-width: 1080px) {
  .main-nav { display: flex !important; }
  .nav-toggle { display: none !important; }
}
@media (max-width: 1079px) {
  .main-nav { display: none !important; }
  .nav-toggle { display: grid !important; }
  .header-actions { margin-left: auto; }
}

/* Mobile & Tablet Header Tightening (< 768px) - Absolutely No Overlap */
@media (max-width: 767px) {
  .brand { gap: .5rem !important; }
  .brand-logo-wrap { width: 36px !important; height: 36px !important; }
  .brand-name {
    font-size: .84rem !important;
    max-width: clamp(125px, 45vw, 185px) !important;
    white-space: normal !important;
    line-height: 1.15 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .brand-tag { display: none !important; }
  .header-actions { gap: .35rem !important; }
  .header-donate-btn span { display: none !important; }
  .header-donate-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center !important;
  }
  .header-donate-btn i {
    margin: 0 !important;
    font-size: .92rem !important;
  }
  .header-phone, .header-social { display: none !important; }
}

.header-progress {
  height: 3px; width: 0;
  background: var(--grad-mix);
  position: absolute; left: 0; bottom: -1px;
  transition: width .1s linear;
}

/* Mobile nav */
.mobile-nav { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.mobile-nav.is-open { visibility: visible; }
.mobile-nav-backdrop {
  position: absolute; inset: 0; background: rgba(6, 15, 38, .6);
  backdrop-filter: blur(5px); opacity: 0; transition: opacity var(--t);
}
.mobile-nav.is-open .mobile-nav-backdrop { opacity: 1; }
.mobile-nav-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw);
  background: #fff; box-shadow: -20px 0 70px rgba(6,15,38,.28);
  transform: translateX(102%); transition: transform .44s var(--ease);
  display: flex; flex-direction: column; overflow: hidden;
}
.mobile-nav.is-open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.icon-btn {
  width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--soft);
  font-size: 1.4rem; line-height: 1; color: var(--brand-dark); cursor: pointer;
  display: grid; place-items: center; transition: all var(--t-fast); flex-shrink: 0;
}
.icon-btn:hover { background: var(--line); transform: rotate(90deg); }
.mobile-nav-body { padding: 1rem 1.15rem 1.6rem; overflow-y: auto; flex: 1; }
.mobile-nav-list li {
  opacity: 0; transform: translateX(26px);
  transition: opacity .38s var(--ease), transform .38s var(--ease);
  transition-delay: calc(var(--i, 0) * 45ms);
}
.mobile-nav.is-open .mobile-nav-list li { opacity: 1; transform: translateX(0); }
.mobile-nav-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .76rem .75rem; border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; color: #33405C;
  border: 1px solid transparent;
  transition: all var(--t-fast); text-decoration: none;
}
.mobile-nav-link i:first-child { width: 20px; color: var(--brand-secondary); text-align: center; font-size: .95rem; }
.mobile-nav-link i.ms-auto { font-size: .72rem; color: #B9C3D8; transition: transform var(--t-fast); }
.mobile-nav-link:hover {
  background: rgba(11, 44, 107, 0.05);
  color: var(--brand-primary); padding-left: .92rem;
}
.mobile-nav-link.is-active {
  background: linear-gradient(135deg, rgba(11, 44, 107, 0.08) 0%, rgba(14, 159, 110, 0.16) 100%);
  color: var(--brand-primary);
  font-weight: 700;
  border-color: rgba(14, 159, 110, 0.35);
  box-shadow: 0 0 16px rgba(14, 159, 110, 0.25), inset 0 0 12px rgba(27, 77, 177, 0.05);
  padding-left: .95rem;
}
.mobile-nav-link.is-active i:first-child {
  color: var(--brand-secondary);
  filter: drop-shadow(0 0 8px rgba(14, 159, 110, 0.8));
  transform: scale(1.15);
}
.mobile-nav-link.is-active i.ms-auto {
  color: var(--brand-secondary);
  transform: translateX(3px);
  filter: drop-shadow(0 0 6px rgba(14, 159, 110, 0.6));
}
.mobile-nav-contact { margin-top: 1.3rem; display: flex; flex-direction: column; gap: .55rem; }
.mobile-nav-contact a {
  display: flex; align-items: center; gap: .7rem; font-size: .88rem; font-weight: 600;
  color: #4A587A; padding: .55rem .6rem; border-radius: 12px; background: var(--soft);
}
.mobile-nav-contact a i { color: var(--brand-primary-2); }
.mobile-nav-social { display: flex; gap: .5rem; margin-top: 1.2rem; flex-wrap: wrap; }
.mobile-nav-social a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  background: var(--grad-primary); color: #fff; transition: transform var(--t);
}
.mobile-nav-social a:hover { transform: translateY(-4px) rotate(6deg); }

/* ---------- 5. PAGE BANNER ---------- */
.page-banner {
  position: relative; overflow: hidden;
  padding: clamp(46px, 6vw, 84px) 0 clamp(38px, 4.6vw, 62px);
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(27,77,177,.30), transparent 60%),
    radial-gradient(760px 400px at 95% 100%, rgba(14,159,110,.26), transparent 62%),
    linear-gradient(155deg, var(--brand-dark) 0%, #0E2450 100%);
  color: #fff;
}
.banner-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .20;
  transform: scale(1.06);
  transition: transform 1.4s var(--ease);
}
.page-banner:hover .banner-bg { transform: scale(1.12); }
.banner-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,19,46,.62), rgba(8,19,46,.9));
}
.banner-orb { position: absolute; border-radius: 50%; filter: blur(52px); pointer-events: none; }
.banner-orb-1 { width: 340px; height: 340px; background: rgba(52,211,153,.34); top: -110px; right: 8%; animation: floatY 9s ease-in-out infinite; }
.banner-orb-2 { width: 280px; height: 280px; background: rgba(245,158,11,.28); bottom: -100px; left: 5%; animation: floatY 11s ease-in-out infinite reverse; }
.banner-content { position: relative; z-index: 3; }
.banner-title { color: #fff; margin: 0 0 .6rem; max-width: 20ch; }
.banner-sub {
  color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 62ch; margin: 0;
}

.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-bottom: 1rem; }
.breadcrumbs li { display: flex; align-items: center; gap: .45rem; font-size: .84rem; font-weight: 600; }
.breadcrumbs li + li::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; opacity: .5; font-size: .8rem; }
.breadcrumbs a { color: rgba(255,255,255,.78); }
.breadcrumbs a:hover { color: var(--brand-accent-2); }
.breadcrumbs span { color: var(--brand-accent-2); }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(560px, 82vh, 880px);
  display: flex; align-items: center;
  padding: clamp(56px, 8vw, 110px) 0;
  background: var(--brand-dark);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.5s var(--ease), transform 8s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .5;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(100deg, rgba(6,15,38,.94) 0%, rgba(6,15,38,.80) 42%, rgba(6,15,38,.44) 74%, rgba(6,15,38,.66) 100%),
    radial-gradient(900px 520px at 78% 26%, rgba(27,77,177,.42), transparent 62%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse 80% 60% at 30% 45%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 30% 45%, #000 30%, transparent 100%);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(64px); pointer-events: none; z-index: -1;
}
.hero-orb-1 { width: 420px; height: 420px; background: rgba(52,211,153,.30); top: -130px; right: 4%; animation: floatY 10s ease-in-out infinite; }
.hero-orb-2 { width: 320px; height: 320px; background: rgba(245,158,11,.26); bottom: -110px; right: 32%; animation: floatY 13s ease-in-out infinite reverse; }

.hero-content { position: relative; z-index: 4; max-width: 810px; color: #fff; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.12); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.26); color: #fff;
  padding: .55rem 1.15rem; border-radius: 100px;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 1.5rem;
}
.hero-badge .pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--brand-secondary-2);
  box-shadow: 0 0 0 0 rgba(52,211,153,.65); animation: pulseRing 2s infinite;
}
.hero-title {
  color: #fff; font-size: clamp(2.15rem, 5.6vw, 4.15rem);
  line-height: 1.06; margin: 0 0 1.2rem; letter-spacing: -.03em;
}
.hero-title .grad {
  background: linear-gradient(120deg, #fff 0%, var(--brand-accent-2) 45%, var(--brand-secondary-2) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: block; }
.hero-text {
  color: rgba(255,255,255,.84); font-size: clamp(1rem, 1.5vw, 1.16rem);
  max-width: 60ch; margin-bottom: 2.1rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.6rem; }
.hero-actions .btn { padding: 1rem 2rem; }

.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.hero-chip {
  display: inline-flex; align-items: center; gap: .55rem;
  color: rgba(255,255,255,.9); font-size: .89rem; font-weight: 600;
  padding: .4rem .2rem;
}
.hero-chip i { color: var(--brand-secondary-2); font-size: 1.02rem; }

.hero-floaters { position: absolute; inset: 0; z-index: 3; pointer-events: none; display: none; }
@media (min-width: 992px) { .hero-floaters { display: block; } }
.floater {
  position: absolute; border-radius: 20px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 24px 60px rgba(0,0,0,.32);
  padding: 1.05rem 1.25rem; color: #fff;
  animation: floatY 7s ease-in-out infinite;
}
.floater-1 { top: 16%; right: 7%; width: 190px; animation-delay: .4s; }
.floater-2 { bottom: 18%; right: 16%; width: 210px; animation-delay: 1.4s; }
.floater-3 { top: 42%; right: 32%; width: 150px; animation-delay: 2.2s; }
.floater .fl-icon {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-mix); color: #fff; font-size: 1.1rem; margin-bottom: .6rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.3);
}
.floater strong { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.35rem; line-height: 1.1; }
.floater span { font-size: .8rem; color: rgba(255,255,255,.78); }

.hero-slider-nav {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: inline-flex; align-items: center; gap: .75rem;
  background: rgba(8,19,46,.5);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: .45rem .9rem; border-radius: 50px;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 12px 35px rgba(0,0,0,.4);
  transition: opacity var(--t), transform var(--t);
}
.hero-arrow {
  width: 32px; height: 32px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.15); color: #fff;
  display: grid; place-items: center; font-size: .78rem;
  cursor: pointer; transition: all var(--t-fast);
}
.hero-arrow:hover {
  background: var(--brand-accent); color: #08132E; transform: scale(1.12);
  box-shadow: 0 4px 15px rgba(245,158,11,.45);
}
.hero-arrow:active { transform: scale(.92); }
.hero-dots { display: flex; gap: .5rem; align-items: center; }
.hero-dot {
  width: 9px; height: 9px; border-radius: 50px; border: 0; cursor: pointer; padding: 0;
  background: rgba(255,255,255,.4); transition: all var(--t);
}
.hero-dot:hover { background: rgba(255,255,255,.75); }
.hero-dot.is-active { width: 32px; background: var(--brand-accent); box-shadow: 0 0 12px rgba(245,158,11,.6); }

.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 5; color: rgba(255,255,255,.6); font-size: .74rem;
  letter-spacing: .18em; text-transform: uppercase; display: none;
  flex-direction: column; align-items: center; gap: .5rem;
}
@media (min-height: 780px) { .scroll-hint { display: flex; } }
.scroll-hint .mouse {
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: ''; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; border-radius: 3px; background: var(--brand-accent);
  animation: wheelMove 1.7s infinite;
}

/* ---------- 7. CARDS ---------- */
.card-grid { display: grid; gap: clamp(18px, 2vw, 26px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.glass-panel {
  background: var(--grad-glass);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 60px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.20);
}
.glass-light {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh);
}

/* --- 3D tilt card --- */
.card-3d {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
  box-shadow: var(--sh-sm);
  height: 100%;
  display: flex; flex-direction: column;
  will-change: transform;
}
.card-3d::before {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit; opacity: 0; transition: opacity var(--t);
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(27,77,177,.13), transparent 62%);
}
.card-3d:hover::before { opacity: 1; }
.card-3d:hover {
  box-shadow: var(--sh-lg);
  border-color: rgba(27,77,177,.28);
  transform: perspective(var(--persp)) translateY(-10px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.015);
  z-index: 5;
}
.card-3d .card-body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; transform: translateZ(28px); }
.card-3d .card-media { position: relative; overflow: hidden; transform: translateZ(0); }
.card-3d .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card-3d:hover .card-media img { transform: scale(1.10); }

.card-media-4x3 { aspect-ratio: 4 / 3; }
.card-media-16x9 { aspect-ratio: 16 / 9; }
.card-media-1x1 { aspect-ratio: 1 / 1; }
.card-media-3x4 { aspect-ratio: 3 / 4; }

.media-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,15,38,.06) 0%, rgba(6,15,38,.34) 55%, rgba(6,15,38,.82) 100%);
  opacity: 0; transition: opacity var(--t);
}
.card-3d:hover .media-overlay { opacity: 1; }

.media-badges { position: absolute; top: .9rem; left: .9rem; z-index: 4; display: flex; flex-wrap: wrap; gap: .4rem; }
.badge-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .36rem .82rem; border-radius: 100px;
  font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  font-family: 'Plus Jakarta Sans', sans-serif;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  background: rgba(255,255,255,.92); color: var(--brand-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,.16);
}
.badge-pill.green  { background: linear-gradient(135deg, var(--brand-secondary), var(--brand-secondary-2)); color: #fff; }
.badge-pill.gold   { background: var(--grad-accent); color: #3B2400; }
.badge-pill.blue   { background: var(--grad-primary); color: #fff; }
.badge-pill.red    { background: linear-gradient(135deg, #E11D48, #FB7185); color: #fff; }
.badge-pill.dark   { background: rgba(6,15,38,.82); color: #fff; }

.card-3d .card-title { font-size: 1.13rem; margin: 0 0 .55rem; }
.card-3d .card-title a { color: inherit; }
.card-3d .card-title a:hover { color: var(--brand-primary-2); }
.card-3d .card-text { color: var(--muted); font-size: .93rem; margin-bottom: 1rem; flex: 1; }

.card-icon-3d {
  width: 60px; height: 60px; border-radius: 18px;
  display: grid; place-items: center; font-size: 1.42rem; color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 12px 28px rgba(27,77,177,.34), inset 0 1px 0 rgba(255,255,255,.34);
  transform: translateZ(38px) rotateX(6deg);
  transition: transform .5s var(--ease-back), box-shadow var(--t);
  margin-bottom: 1.05rem;
  flex-shrink: 0;
}
.card-3d:hover .card-icon-3d { transform: translateZ(52px) rotateX(0deg) rotateY(6deg) scale(1.08); }
.card-icon-3d.green { background: var(--grad-secondary); box-shadow: 0 12px 28px rgba(14,159,110,.34), inset 0 1px 0 rgba(255,255,255,.34); }
.card-icon-3d.gold  { background: var(--grad-accent); color: #3B2400; box-shadow: 0 12px 28px rgba(245,158,11,.38), inset 0 1px 0 rgba(255,255,255,.4); }
.card-icon-3d.navy  { background: linear-gradient(135deg, #16203A, #35497C); box-shadow: 0 12px 28px rgba(22,32,58,.36), inset 0 1px 0 rgba(255,255,255,.24); }

.card-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .82rem; color: var(--muted); }
.card-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.card-meta i { color: var(--brand-secondary); }

.card-footer-line {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding-top: 1rem; margin-top: auto; border-top: 1px solid var(--soft);
}
.card-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.chip {
  display: inline-flex; align-items: center; gap: .42rem;
  padding: .34rem .78rem; border-radius: 100px;
  background: var(--soft); color: #4A587A;
  font-size: .78rem; font-weight: 700; white-space: nowrap;
}
.chip i { color: var(--brand-secondary); }
.chip.gold { background: rgba(245,158,11,.14); color: #B45309; }
.chip.gold i { color: var(--brand-accent); }
.chip.green { background: rgba(14,159,110,.12); color: #047857; }
.chip.green i { color: var(--brand-secondary); }
.chip.blue { background: rgba(27,77,177,.10); color: var(--brand-primary-2); }
.chip.blue i { color: var(--brand-primary-2); }
.chip.red { background: rgba(225,29,72,.10); color: #BE123C; }

/* Floating 3D image cluster - Aesthetic, Contained, Zero-Overlap */
.image-cluster {
  position: relative;
  perspective: 1200px;
  width: 100%;
  max-width: 530px;
  margin: 0 auto;
  padding: 12px 14px 20px 12px;
}
.image-cluster-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(12, 37, 86, 0.22);
  border: 4px solid #ffffff;
  transform: rotateY(-5deg) rotateX(3deg);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  position: relative;
  z-index: 1;
}
.image-cluster:hover .image-cluster-main {
  transform: rotateY(-2deg) rotateX(1deg) scale(1.01);
  box-shadow: 0 28px 64px -8px rgba(12, 37, 86, 0.28);
}
.image-cluster-main img {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
  display: block;
}

.image-cluster-sub {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(12, 37, 86, 0.20);
  border: 4px solid #ffffff;
  z-index: 2;
  transition: transform .5s var(--ease);
}
.image-cluster-sub img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.image-cluster-sub.sb-1 {
  width: 40%;
  max-width: 180px;
  bottom: 8px;
  left: 2px;
  animation: floatY 6s ease-in-out infinite;
}
.image-cluster-sub.sb-2 {
  width: 32%;
  max-width: 145px;
  top: 8px;
  right: 4px;
  animation: floatY 7s ease-in-out infinite reverse;
}

.cluster-badge {
  position: absolute;
  top: 20px;
  left: 2px;
  z-index: 4;
  background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-secondary-2) 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: .7rem 1.05rem;
  box-shadow: 0 12px 28px rgba(13, 148, 101, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.4);
  animation: floatY 5.5s ease-in-out infinite;
  backdrop-filter: blur(8px);
}
.cluster-badge strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}
.cluster-badge span {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .02em;
  opacity: .95;
}

.experience-badge {
  position: absolute;
  bottom: 10px;
  right: 6px;
  z-index: 4;
  background: #ffffff;
  border-radius: 18px;
  padding: .8rem 1.1rem;
  box-shadow: 0 16px 36px rgba(12, 37, 86, 0.18);
  border: 1.5px solid rgba(12, 37, 86, 0.08);
  display: flex;
  align-items: center;
  gap: .75rem;
  animation: floatY 6.5s ease-in-out infinite reverse;
}
.experience-badge .eb-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad-accent);
  color: #2D1B00;
  font-size: 1.1rem;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.32);
}
.experience-badge strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.05;
}
.experience-badge span {
  font-size: .74rem;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- 8. SECTIONS & BALANCED SPLIT LAYOUT ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
  width: 100%;
}
.split.reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
.split.reverse > .split-media {
  order: -1;
}
.split-content {
  min-width: 0;
  position: relative;
  z-index: 2;
}
.split-media {
  min-width: 0;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

/* ============ ADMIN-AUTHORED RICH CONTENT ============ */
.rich-content { font-size: 1rem; line-height: 1.85; color: #4a5a76; }
.rich-content > *:first-child { margin-top: 0; }
.rich-content > *:last-child { margin-bottom: 0; }
.rich-content h1, .rich-content h2, .rich-content h3,
.rich-content h4, .rich-content h5, .rich-content h6 {
  color: var(--brand-dark); font-weight: 800; letter-spacing: -.02em;
  line-height: 1.28; margin: 2rem 0 .8rem;
}
.rich-content h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.rich-content h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.rich-content h3 { font-size: 1.25rem; }
.rich-content h4 { font-size: 1.08rem; }
.rich-content p { margin: 0 0 1.1rem; }
.rich-content a { color: var(--brand-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.rich-content a:hover { color: var(--brand-accent); }
.rich-content strong { color: var(--brand-dark); font-weight: 700; }
.rich-content ul, .rich-content ol { margin: 0 0 1.2rem; padding-left: 1.5rem; }
.rich-content ul { list-style: disc; }
.rich-content ol { list-style: decimal; }
.rich-content li { margin-bottom: .5rem; }
.rich-content li::marker { color: var(--brand-accent); font-weight: 700; }
.rich-content img {
  max-width: 100%; height: auto; border-radius: var(--radius);
  margin: 1.4rem 0; box-shadow: var(--sh);
}
.rich-content blockquote {
  margin: 1.6rem 0; padding: 1.1rem 1.4rem;
  border-left: 4px solid var(--brand-accent);
  background: var(--cream-1); border-radius: 0 var(--radius) var(--radius) 0;
  color: #40506e; font-style: italic;
}
.rich-content table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .94rem;
  box-shadow: var(--sh-sm); border-radius: var(--radius); overflow: hidden;
}
.rich-content thead th {
  background: var(--brand-dark); color: #fff; text-align: left;
  padding: .8rem 1rem; font-weight: 700; font-size: .88rem; letter-spacing: .02em;
}
.rich-content tbody td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.rich-content tbody tr:last-child td { border-bottom: 0; }
.rich-content tbody tr:nth-child(even) { background: rgba(15,40,80,.02); }
.rich-content hr { border: 0; height: 1px; background: var(--line); margin: 2.2rem 0; }
.rich-content iframe { max-width: 100%; border: 0; border-radius: var(--radius); aspect-ratio: 16/9; height: auto; width: 100%; }
@media (max-width: 860px) {
  .rich-content table { display: block; overflow-x: auto; white-space: nowrap; }
}

.split-content .eyebrow { margin-bottom: .85rem; }
.split-content .section-title { margin-bottom: 1rem; }
.split-content .text-muted-2 { font-size: 1.02rem; line-height: 1.8; color: #475569 !important; }
.split-content .text-muted-2 p { margin-bottom: .95rem; }
.split-content .text-muted-2 p:last-child { margin-bottom: 0; }

.feature-list { display: flex; flex-direction: column; gap: .85rem; margin: 1.35rem 0 1.5rem; }
.feature-item {
  display: flex; gap: 1.05rem; align-items: center;
  padding: .92rem 1.25rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.feature-item:hover {
  transform: translateX(6px);
  box-shadow: var(--sh-sm); border-color: rgba(28, 89, 217, 0.28);
}
.feature-item .fi-icon {
  width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.08rem; color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 6px 16px rgba(28, 89, 217, 0.28);
}
.feature-item .fi-icon.green { background: var(--grad-secondary); box-shadow: 0 6px 16px rgba(13, 148, 101, 0.28); }
.feature-item .fi-icon.gold  { background: var(--grad-accent); color: #2D1B00; box-shadow: 0 6px 16px rgba(245, 158, 11, 0.32); }
.feature-item h4 { margin: 0; font-size: .98rem; font-weight: 700; color: var(--brand-dark); line-height: 1.35; }
.feature-item p { margin: 0; color: var(--muted); font-size: .91rem; }

/* ---------- 9. STATS / MISSION / TIMELINE / VALUES ---------- */
.stats-band { position: relative; overflow: hidden; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 22px);
}
.stat-card {
  position: relative; text-align: center; padding: 2rem 1.2rem;
  border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.20);
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  transform-style: preserve-3d;
}
.stat-card:hover { transform: perspective(900px) translateY(-10px) rotateX(6deg); background: rgba(255,255,255,.17); box-shadow: 0 26px 60px rgba(0,0,0,.3); }
.stat-card::before {
  content: ''; position: absolute; inset: auto 0 0 0; height: 3px;
  background: var(--grad-mix); transform: scaleX(0); transition: transform var(--t);
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-icon {
  width: 58px; height: 58px; border-radius: 18px; margin: 0 auto .95rem;
  display: grid; place-items: center; font-size: 1.45rem; color: #fff;
  background: var(--grad-mix); box-shadow: 0 12px 28px rgba(0,0,0,.28);
  transform: translateZ(24px);
}
.stat-value {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem); font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #fff, var(--brand-accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: block; margin-bottom: .3rem;
}
.section-white .stat-card .stat-value, .section-cream .stat-card .stat-value, .section-alt .stat-card .stat-value {
  background: linear-gradient(135deg, var(--brand-primary-2), var(--brand-secondary));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: .92rem; color: rgba(255,255,255,.82); font-weight: 600; }
.section-white .stat-label, .section-cream .stat-label, .section-alt .stat-label { color: var(--muted); }

.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 26px); }
.mv-card {
  position: relative; padding: 2.1rem 1.7rem; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm);
  overflow: hidden; transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.mv-card:hover { transform: perspective(var(--persp)) translateY(-10px) rotateX(5deg) scale(1.02); box-shadow: var(--sh-lg); }
.mv-card::after {
  content: ''; position: absolute; top: -46px; right: -46px; width: 130px; height: 130px;
  border-radius: 50%; background: var(--grad-mix); opacity: .10; transition: transform var(--t-slow);
}
.mv-card:hover::after { transform: scale(1.7); }
.mv-icon {
  width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center;
  font-size: 1.5rem; color: #fff; margin-bottom: 1.2rem;
  background: var(--grad-primary); box-shadow: 0 14px 30px rgba(27,77,177,.32), inset 0 1px 0 rgba(255,255,255,.3);
  transform: translateZ(30px);
}
.mv-card.green .mv-icon { background: var(--grad-secondary); box-shadow: 0 14px 30px rgba(14,159,110,.32), inset 0 1px 0 rgba(255,255,255,.3); }
.mv-card.gold .mv-icon  { background: var(--grad-accent); color: #3B2400; box-shadow: 0 14px 30px rgba(245,158,11,.36), inset 0 1px 0 rgba(255,255,255,.4); }
.mv-card h3 { margin: 0 0 .7rem; }
.mv-card p { color: var(--muted); font-size: .95rem; margin: 0; }

.timeline { position: relative; padding-left: 2.4rem; }
.timeline::before {
  content: ''; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--brand-primary-2), var(--brand-secondary), var(--brand-accent));
  border-radius: 2px;
}
.tl-item { position: relative; padding-bottom: 2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -2.4rem; top: 2px; width: 24px; height: 24px;
  border-radius: 50%; background: #fff; border: 3px solid var(--brand-primary-2);
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(27,77,177,.3);
  transition: transform var(--t), box-shadow var(--t);
}
.tl-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-accent); }
.tl-item:hover .tl-dot { transform: scale(1.18); box-shadow: 0 10px 24px rgba(245,158,11,.42); }
.tl-year {
  display: inline-block; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: .84rem; color: #fff; background: var(--grad-primary);
  padding: .3rem .85rem; border-radius: 100px; margin-bottom: .5rem;
  box-shadow: 0 6px 16px rgba(27,77,177,.28);
}
.tl-item h4 { margin: 0 0 .35rem; }
.tl-item p { color: var(--muted); font-size: .93rem; margin: 0; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.value-chip {
  display: flex; align-items: center; gap: .9rem; padding: 1.15rem 1.3rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--sh-xs); transition: all var(--t);
  transform-style: preserve-3d;
}
.value-chip:hover { transform: perspective(700px) translateY(-6px) rotateX(5deg); box-shadow: var(--sh); border-color: rgba(14,159,110,.3); }
.value-chip .vc-icon {
  width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center;
  background: rgba(14,159,110,.12); color: var(--brand-secondary); font-size: 1.05rem;
  transition: all var(--t);
}
.value-chip:hover .vc-icon { background: var(--grad-secondary); color: #fff; transform: translateZ(20px) scale(1.08); }
.value-chip strong { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .98rem; }
.value-chip span { font-size: .84rem; color: var(--muted); }

/* ---------- 10. TEAM / GALLERY / VIDEO / COURSE / TESTIMONIAL ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.team-card { perspective: 1400px; }
.team-inner {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  height: 100%; display: flex; flex-direction: column;
}
.team-card:hover .team-inner {
  transform: perspective(var(--persp)) translateY(-12px) rotateX(7deg) rotateY(-5deg) scale(1.02);
  box-shadow: var(--sh-xl);
}
.team-photo { position: relative; aspect-ratio: 1 / 1.08; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .85s var(--ease), filter var(--t); }
.team-card:hover .team-photo img { transform: scale(1.12); filter: saturate(1.1); }
.team-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,15,38,.85) 100%);
  opacity: .9;
}
.team-role-tag {
  position: absolute; top: .85rem; left: .85rem; z-index: 3;
  background: var(--grad-accent); color: #3B2400;
  padding: .3rem .8rem; border-radius: 100px;
  font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 6px 16px rgba(245,158,11,.42);
}
.team-designation {
  position: absolute; bottom: .9rem; left: 1.1rem; right: 1.1rem; z-index: 3;
  color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .95rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.team-body { padding: 1.15rem 1.3rem 1.4rem; text-align: center; flex: 1; display: flex; flex-direction: column; transform: translateZ(30px); }
.team-body h3 { margin: 0 0 .25rem; font-size: 1.08rem; }
.team-dept { font-size: .8rem; color: var(--brand-secondary); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.team-body p { font-size: .89rem; color: var(--muted); flex: 1; }
.team-social { display: flex; justify-content: center; gap: .45rem; margin-top: 1rem; }
.team-social a {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px;
  background: var(--soft); color: #4A587A; font-size: .82rem;
  transition: all var(--t-fast);
}
.team-social a:hover { background: var(--grad-primary); color: #fff; transform: translateY(-4px) rotate(8deg); box-shadow: var(--sh-glow); }
.team-card.featured .team-inner { border-color: rgba(245,158,11,.5); }
.team-card.featured .team-inner::after {
  content: '\f005'; position: absolute; top: 1rem; right: 1rem; z-index: 4;
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  background: var(--grad-accent); color: #3B2400; font-size: .8rem; font-family: 'Font Awesome 6 Free';
  box-shadow: 0 6px 16px rgba(245,158,11,.44);
}

/* Filter bar */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
  margin-bottom: clamp(22px, 3vw, 36px);
}
.filter-btn {
  padding: .6rem 1.25rem; border-radius: 100px; border: 1px solid var(--line);
  background: #fff; color: #4A587A; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: .88rem;
  transition: all var(--t-fast); display: inline-flex; align-items: center; gap: .45rem;
  box-shadow: var(--sh-xs);
}
.filter-btn:hover { border-color: var(--brand-primary-2); color: var(--brand-primary); transform: translateY(-3px); box-shadow: var(--sh-sm); }
.filter-btn.is-active, .filter-btn.active {
  background: var(--grad-primary); color: #fff; border-color: transparent;
  box-shadow: var(--sh-glow);
}
.filter-btn .count {
  background: rgba(0,0,0,.08); padding: .05rem .5rem; border-radius: 100px; font-size: .75rem; font-weight: 700;
}
.filter-btn.is-active .count { background: rgba(255,255,255,.24); }

/* Masonry gallery */
.gallery-masonry { column-gap: clamp(14px, 1.8vw, 22px); columns: 3; }
@media (max-width: 991px) { .gallery-masonry { columns: 2; } }
@media (max-width: 600px)  { .gallery-masonry { columns: 1; } }
.gallery-item {
  position: relative; break-inside: avoid; margin-bottom: clamp(14px, 1.8vw, 22px);
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  box-shadow: var(--sh-sm); display: block;
  transform: translateZ(0);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.gallery-item:hover { transform: perspective(var(--persp)) translateY(-8px) scale(1.02); box-shadow: var(--sh-xl); z-index: 3; }
.gallery-item img {
  width: 100%; height: auto; display: block;
  transition: transform .9s var(--ease), filter var(--t);
  filter: saturate(1.02);
}
.gallery-item:hover img { transform: scale(1.09); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,15,38,.15) 0%, transparent 35%, rgba(6,15,38,.9) 100%);
  opacity: 0; transition: opacity var(--t);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.2rem;
  transform: translateY(16px); opacity: 0; transition: all var(--t); z-index: 3; color: #fff;
}
.gallery-item:hover .gallery-cap { transform: translateY(0); opacity: 1; }
.gallery-cap h4 { margin: 0 0 .2rem; color: #fff; font-size: 1rem; }
.gallery-cap p { margin: 0; font-size: .82rem; color: rgba(255,255,255,.8); }
.gallery-cap .g-zoom {
  position: absolute; right: 1rem; top: -2.4rem;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.22); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.35); color: #fff;
}
.gallery-cat-tag {
  position: absolute; top: .85rem; left: .85rem; z-index: 3;
  background: rgba(255,255,255,.9); color: var(--brand-dark);
  padding: .3rem .78rem; border-radius: 100px; font-size: .72rem; font-weight: 700;
  backdrop-filter: blur(8px);
}
.gallery-item:hover .gallery-cat-tag { background: var(--grad-secondary); color: #fff; }
.gallery-empty { text-align: center; padding: 4rem 1rem; color: var(--muted); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(5, 12, 30, .95); backdrop-filter: blur(10px);
}
.lightbox.is-open { display: flex; align-items: center; justify-content: center; animation: fadeIn .3s var(--ease); }
.lightbox-figure { max-width: min(1300px, 94vw); max-height: 90vh; text-align: center; position: relative; }
.lightbox-figure img {
  max-width: 100%; max-height: 74vh; object-fit: contain;
  border-radius: var(--radius); box-shadow: 0 40px 100px rgba(0,0,0,.6);
  animation: zoomIn .45s var(--ease-back);
}
.lightbox-cap { color: #fff; margin-top: 1.1rem; }
.lightbox-cap h3 { color: #fff; font-size: 1.15rem; margin: 0 0 .3rem; }
.lightbox-cap p { color: rgba(255,255,255,.7); font-size: .9rem; margin: 0; }
.lightbox-cap .lb-nav-info { color: rgba(255,255,255,.5); font-size: .8rem; margin-top: .5rem; }
.lightbox-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-size: 1.1rem; cursor: pointer; display: grid; place-items: center;
  transition: all var(--t-fast); backdrop-filter: blur(10px);
}
.lightbox-btn:hover { background: rgba(255,255,255,.3); transform: scale(1.1); }
.lb-close { top: 18px; right: 18px; position: fixed; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.1); }
.lb-next:hover { transform: translateY(-50%) scale(1.1); }
.lb-zoom { right: 22px; bottom: 22px; position: fixed; }
.lightbox.is-zoomed .lightbox-figure img { max-width: none; max-height: none; width: auto; cursor: zoom-out; }
.lb-toolbar { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: .6rem; }
.lb-dots { display: flex; gap: .35rem; justify-content: center; margin-top: .8rem; }
.lb-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); transition: all var(--t); }
.lb-dots span.is-on { background: var(--brand-accent); width: 20px; border-radius: 6px; }

/* Video cards */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #08132E; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .85s var(--ease), transform .4s var(--ease); }
.card-3d:hover .video-thumb img { transform: scale(1.12); }
.video-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,15,38,.12), rgba(6,15,38,.62));
  transition: background var(--t);
}
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1);
  width: 68px; height: 68px; border-radius: 50%; z-index: 4;
  display: grid; place-items: center; font-size: 1.35rem; color: #fff;
  background: rgba(255,255,255,.20); border: 2px solid rgba(255,255,255,.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 36px rgba(0,0,0,.4);
  transition: all .45s var(--ease-back);
}
.card-3d:hover .play-btn {
  background: var(--grad-accent); color: #3B2400; border-color: transparent;
  transform: translate(-50%, -50%) scale(1.14) rotate(8deg);
  box-shadow: 0 20px 46px rgba(245,158,11,.55);
}
.play-btn::after {
  content: ''; position: absolute; inset: -12px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.28);
  animation: rippleOut 2.4s var(--ease) infinite;
}
.video-duration {
  position: absolute; right: .8rem; bottom: .8rem; z-index: 4;
  background: rgba(6,15,38,.82); color: #fff; padding: .24rem .6rem; border-radius: 6px;
  font-size: .76rem; font-weight: 700; backdrop-filter: blur(6px);
}
.video-type-tag {
  position: absolute; left: .8rem; top: .8rem; z-index: 4;
  background: rgba(255,255,255,.9); color: var(--brand-dark);
  padding: .26rem .7rem; border-radius: 100px; font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; display: flex; align-items: center; gap: .35rem;
}

/* Video modal */
.video-modal .modal-dialog { max-width: 1000px; }
.video-modal .modal-content { background: #000; border: 0; border-radius: var(--radius-lg); overflow: hidden; }
.video-frame { position: relative; aspect-ratio: 16/9; background: #000; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Courses */
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.course-card .card-body { padding: 1.35rem 1.4rem 1.5rem; }
.course-price {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.35rem;
  background: var(--grad-mix); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.course-price small { font-size: .74rem; font-weight: 600; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.seat-bar { height: 7px; border-radius: 20px; background: var(--soft); overflow: hidden; margin: .35rem 0 .1rem; }
.seat-bar span { display: block; height: 100%; border-radius: 20px; background: var(--grad-secondary); transition: width 1s var(--ease); }
.seat-bar.is-full span { background: linear-gradient(135deg, #E11D48, #FB7185); }
.course-specs { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin: 1rem 0; }
.course-spec {
  display: flex; align-items: center; gap: .55rem; padding: .55rem .7rem;
  background: var(--soft); border-radius: 12px; font-size: .82rem; color: #4A587A;
}
.course-spec i { color: var(--brand-secondary); font-size: .92rem; }
.course-spec strong { display: block; color: var(--brand-dark); font-size: .85rem; font-weight: 700; }

.detail-hero { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.detail-hero img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.detail-hero-overlay {
  position: absolute; inset: 0; padding: clamp(20px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(6,15,38,.12) 0%, rgba(6,15,38,.88) 100%);
  color: #fff;
}
.detail-hero-overlay h1 { color: #fff; margin: 0 0 .5rem; font-size: clamp(1.5rem, 3vw, 2.4rem); }
.detail-hero-overlay p { color: rgba(255,255,255,.85); margin: 0; max-width: 70ch; }

.syllabus-item {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  margin-bottom: .8rem; overflow: hidden; box-shadow: var(--sh-xs);
  transition: box-shadow var(--t), border-color var(--t);
}
.syllabus-item:hover { box-shadow: var(--sh-sm); border-color: rgba(27,77,177,.26); }
.syllabus-head {
  display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; cursor: pointer;
  background: transparent; border: 0; width: 100%; text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: var(--brand-dark);
  transition: background var(--t-fast);
}
.syllabus-head:hover { background: var(--soft); }
.syllabus-num {
  width: 34px; height: 34px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--grad-primary); color: #fff; font-size: .85rem; font-weight: 800;
  box-shadow: 0 6px 16px rgba(27,77,177,.28);
}
.syllabus-head .ms-auto { transition: transform var(--t); color: var(--brand-secondary); }
.syllabus-item.open .syllabus-head .ms-auto { transform: rotate(180deg); }
.syllabus-body { display: none; padding: 0 1.2rem 1.2rem 3.6rem; color: var(--muted); font-size: .92rem; }
.syllabus-item.open .syllabus-body { display: block; animation: fadeInUp .4s var(--ease); }
.syllabus-body li { position: relative; padding-left: 1.1rem; margin-bottom: .3rem; }
.syllabus-body li::before {
  content: '\f058'; position: absolute; left: 0; top: 0;
  font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .7rem; color: var(--brand-secondary);
}

.info-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.info-table th, .info-table td { padding: .85rem .2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 42%; font-weight: 600; color: var(--muted); font-size: .89rem; }
.info-table td { font-weight: 600; color: var(--brand-dark); font-size: .94rem; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(18px, 2.2vw, 26px); }
.testi-card {
  position: relative; padding: 2rem 1.6rem 1.5rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--sh-sm);
  transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  height: 100%; display: flex; flex-direction: column;
}
.testi-card:hover { transform: perspective(var(--persp)) translateY(-9px) rotateX(4deg) scale(1.015); box-shadow: var(--sh-lg); }
.testi-quote-icon {
  position: absolute; top: -22px; left: 1.5rem; width: 52px; height: 52px;
  border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; color: #fff;
  background: var(--grad-mix); box-shadow: var(--sh-glow);
  transform: translateZ(34px);
}
.testi-card > p { color: #40506E; font-size: .96rem; flex: 1; margin-top: .6rem; }
.testi-user { display: flex; align-items: center; gap: .85rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--soft); transform: translateZ(28px); }
.testi-avatar {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 3px solid #fff; box-shadow: var(--sh-sm);
}
.testi-avatar-fallback {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; color: #fff; background: var(--grad-primary); font-size: 1.1rem;
}
.testi-user strong { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .96rem; }
.testi-user span { font-size: .82rem; color: var(--muted); }
.stars i { color: #D8DEEA; font-size: .82rem; }
.stars i.is-on { color: var(--brand-accent); }

/* ---------- 11. FORMS ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(20px, 2.6vw, 32px); box-shadow: var(--sh);
  position: relative; overflow: hidden;
}
.form-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-mix);
}
.form-group { margin-bottom: 1.05rem; }
.form-label {
  display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
  font-size: .86rem; color: var(--brand-dark); margin-bottom: .45rem;
}
.form-label .req { color: #E11D48; }
.form-control, .form-select {
  width: 100%; padding: .82rem 1.05rem; font-size: .95rem;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--soft);
  color: var(--text); font-family: 'Inter', sans-serif;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 384 512'%3E%3Cpath fill='%235A6785' d='M292.95 1.95l-128-128C132.35-16.26 80-16.26 39.4 1.95l-128 128C-21.7 148-15.4 206.5 16.55 254.1c18.87 28.1 46.91 50.48 80 62.4V416h192V316.5c33.09-11.93 61.14-34.3 80-62.4 31.94-47.6 38.25-106.1 16.55-124.15zm-136.9 84.8l16.6 16.6c12.7 12.7 31.8 12.7 44.5 0l118.5-118.5c12.7-12.7 12.7-31.8 0-44.5l-16.6-16.6c-12.7-12.7-31.8-12.7-44.5 0l-118.5 118.5c-12.6 12.8-12.6 31.9 0 44.6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.05rem center; padding-right: 2.5rem;
}
.form-control:focus, .form-select:focus {
  outline: none; border-color: var(--brand-primary-2); background: #fff;
  box-shadow: 0 0 0 4px rgba(27,77,177,.13);
}
.form-control::placeholder { color: #A3AEC4; }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #E11D48; box-shadow: 0 0 0 4px rgba(225,29,72,.11); }
.invalid-feedback { font-size: .8rem; color: #E11D48; }
.form-hint { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
.form-msg { margin-top: .8rem; font-size: .9rem; font-weight: 600; display: none; padding: .7rem 1rem; border-radius: 12px; }
.form-msg.show { display: block; animation: fadeInUp .35s var(--ease); }
.form-msg.ok  { background: rgba(14,159,110,.12); color: #047857; }
.form-msg.err { background: rgba(225,29,72,.10); color: #BE123C; }
.form-msg.info { background: rgba(27,77,177,.10); color: var(--brand-primary-2); }

/* ============ CONTACT PAGE STYLES ============ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
  margin-bottom: 2rem;
}
.cc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--sh-sm);
  color: var(--text);
  text-decoration: none;
  transition: all var(--t);
  overflow: hidden;
}
.cc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--t);
}
.cc-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--sh-xl);
  border-color: rgba(27,77,177,.28);
  color: var(--text);
}
.cc-card:hover::before {
  background: var(--grad-mix);
}
.cc-card.is-static:hover {
  transform: translateY(-4px);
}
.cc-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 10px 22px rgba(27,77,177,.3);
  margin-bottom: 1.15rem;
  transition: transform var(--t);
}
.cc-card:hover .cc-icon {
  transform: scale(1.1) rotate(6deg);
}
.cc-icon.green {
  background: var(--grad-secondary);
  box-shadow: 0 10px 22px rgba(14,159,110,.32);
}
.cc-icon.blue {
  background: var(--grad-primary);
  box-shadow: 0 10px 22px rgba(27,77,177,.32);
}
.cc-icon.wa {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 10px 22px rgba(37,211,102,.34);
}
.cc-icon.gold {
  background: var(--grad-accent);
  color: #3B2400;
  box-shadow: 0 10px 22px rgba(245,158,11,.34);
}
.cc-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 0 0 .45rem;
}
.cc-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0 0 .35rem;
  word-break: break-word;
  line-height: 1.35;
}
.cc-sub {
  font-size: .82rem;
  color: var(--muted);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.cc-sub i {
  color: var(--brand-secondary);
  font-size: .85rem;
}
.cc-cta {
  margin-top: auto;
  font-size: .84rem;
  font-weight: 700;
  color: var(--brand-primary-2);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: all var(--t-fast);
}
.cc-cta i {
  transition: transform var(--t-fast);
}
.cc-card:hover .cc-cta {
  color: var(--brand-accent);
}
.cc-card:hover .cc-cta i {
  transform: translateX(4px);
}
.cc-card.is-static:hover .cc-cta i {
  transform: translateY(3px);
}

/* Contact Form Specifics */
.form-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 0 0 .5rem;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.form-card-title i {
  color: var(--brand-primary-2);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.char-count {
  font-size: .75rem;
  color: var(--muted);
  text-align: right;
  margin-top: .25rem;
}
.form-note {
  font-size: .82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: .8rem 0 1.25rem;
}
.form-note i {
  color: var(--brand-secondary);
  font-size: .95rem;
}

/* Side Card */
.side-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--sh-sm);
  position: relative;
  overflow: hidden;
}
.side-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 0 0 .55rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.side-card-title i {
  color: var(--brand-accent);
}
.quick-link {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .75rem 1rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--brand-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--t-fast);
}
.quick-link i:first-child {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(27,77,177,.08);
  color: var(--brand-primary-2);
  display: grid;
  place-items: center;
  font-size: .85rem;
  transition: all var(--t-fast);
}
.quick-link:hover {
  background: #fff;
  border-color: rgba(27,77,177,.3);
  transform: translateX(4px);
  color: var(--brand-primary);
  box-shadow: var(--sh-xs);
}
.quick-link:hover i:first-child {
  background: var(--brand-primary-2);
  color: #fff;
}
.quick-link.is-active {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(11,44,107,.28);
}
.quick-link.is-active i:first-child {
  background: rgba(255,255,255,.2);
  color: #fff;
}

/* Side Table */
.side-table {
  width: 100%;
  margin-top: .75rem;
  border-collapse: separate;
  border-spacing: 0 .45rem;
}
.side-table tr th {
  padding: .45rem .6rem;
  font-size: .84rem;
  color: var(--muted);
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.side-table tr td {
  padding: .45rem .6rem;
  font-size: .88rem;
  color: var(--brand-dark);
  font-weight: 700;
  text-align: right;
  border-bottom: 1px solid rgba(0,0,0,.04);
}

/* Map Wrap & Floating Card */
.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  border: 1px solid var(--line);
  background: var(--soft);
}
.map-wrap iframe {
  width: 100%;
  height: clamp(340px, 45vw, 480px);
  border: 0;
  display: block;
}
.map-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  max-width: 380px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 20px 50px rgba(9,24,57,.24);
  z-index: 2;
  transition: transform var(--t);
}
.map-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 0 0 .35rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.map-card h3 i {
  color: #E11D48;
}
.map-card p {
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  margin-bottom: .7rem; overflow: hidden; box-shadow: var(--sh-xs);
  transition: box-shadow var(--t);
}
.faq-item.open { box-shadow: var(--sh-sm); border-color: rgba(27,77,177,.26); }
.faq-q {
  display: flex; align-items: center; gap: 1rem; width: 100%; text-align: left;
  padding: 1.05rem 1.25rem; background: transparent; border: 0; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .98rem; color: var(--brand-dark);
  transition: background var(--t-fast);
}
.faq-q:hover { background: var(--soft); }
.faq-q i { margin-left: auto; color: var(--brand-secondary); transition: transform var(--t); }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 1.25rem 1.25rem; color: var(--muted); font-size: .93rem; }
.faq-item.open .faq-a { display: block; animation: fadeInUp .35s var(--ease); }

/* ---------- 12. CTA STRIP / FOOTER / FLOAT / TOAST ---------- */
.cta-strip { position: relative; padding: clamp(30px, 4vw, 50px) 0; overflow: hidden; background: var(--white); }
.cta-strip-orb { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(27,77,177,.18), transparent 68%); top: -160px; right: -80px; filter: blur(20px); }
.cta-strip-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  flex-wrap: wrap; padding: clamp(24px, 3.2vw, 40px);
  background:
    radial-gradient(700px 320px at 10% 0%, rgba(52,211,153,.30), transparent 60%),
    radial-gradient(600px 300px at 95% 100%, rgba(245,158,11,.26), transparent 60%),
    linear-gradient(140deg, var(--brand-primary) 0%, #12357F 100%);
  border-radius: var(--radius-xl);
  color: #fff; position: relative; overflow: hidden;
}
.cta-strip-text { position: relative; z-index: 2; max-width: 660px; }
.cta-strip-text h2 { color: #fff; margin: 0 0 .5rem; font-size: clamp(1.4rem, 2.6vw, 2.05rem); }
.cta-strip-text p { color: rgba(255,255,255,.84); margin: 0; }
.cta-strip-actions { display: flex; gap: .8rem; flex-wrap: wrap; position: relative; z-index: 2; }

.site-footer {
  position: relative; padding: clamp(46px, 5.5vw, 76px) 0 0;
  background:
    radial-gradient(900px 400px at 8% 0%, rgba(27,77,177,.34), transparent 62%),
    linear-gradient(170deg, #0A1836 0%, #050D20 100%);
  color: rgba(255,255,255,.74); overflow: hidden;
}
.footer-glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,159,110,.20), transparent 68%);
  bottom: -220px; right: -120px; filter: blur(24px);
}
.footer-top { position: relative; z-index: 2; padding-bottom: clamp(30px, 3.6vw, 46px); }
.footer-logo {
  width: 68px; height: 68px; object-fit: contain; margin-bottom: 1.05rem;
  border-radius: 50%;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.42));
  transition: transform var(--t);
}
.footer-brand:hover .footer-logo { transform: scale(1.08) rotate(-4deg); }
.footer-brand-name { color: #fff; font-size: 1.14rem; margin: 0 0 .3rem; }
.footer-brand-tag { color: var(--brand-accent-2); font-size: .84rem; font-weight: 600; margin: 0 0 .8rem; }
.footer-about { font-size: .9rem; color: rgba(255,255,255,.66); margin-bottom: .9rem; }
.footer-reg { font-size: .78rem; color: rgba(255,255,255,.55); margin: 0 0 .2rem; }
.footer-reg i { color: var(--brand-secondary-2); margin-right: .3rem; }
.footer-title {
  color: #fff; font-size: 1.02rem; margin: 0 0 1.15rem; position: relative; padding-bottom: .7rem;
}
.footer-title::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px;
  border-radius: 3px; background: var(--grad-accent);
}
.footer-links li { margin-bottom: .58rem; }
.footer-links a {
  color: rgba(255,255,255,.68); font-size: .9rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: .5rem; transition: all var(--t-fast);
}
.footer-links a i { font-size: .68rem; color: var(--brand-accent); opacity: 0; transform: translateX(-6px); transition: all var(--t-fast); }
.footer-links a:hover { color: #fff; transform: translateX(5px); }
.footer-links a:hover i { opacity: 1; transform: translateX(0); }

.footer-contact li { display: flex; gap: .85rem; margin-bottom: .85rem; align-items: flex-start; }
.footer-contact .fc-icon {
  width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
  background: rgba(255,255,255,.09); color: var(--brand-accent-2); font-size: .88rem;
  transition: all var(--t);
}
.footer-contact li:hover .fc-icon { background: var(--grad-accent); color: #3B2400; transform: scale(1.08); }
.footer-contact .fc-text { font-size: .89rem; color: rgba(255,255,255,.68); line-height: 1.6; word-break: break-word; }
.footer-contact .fc-text a { color: rgba(255,255,255,.86); font-weight: 600; }
.footer-contact .fc-text a:hover { color: var(--brand-accent-2); }
.footer-contact .fc-emergency .fc-icon { background: rgba(225,29,72,.22); color: #FCA5A5; }
.footer-contact .fc-emergency .fc-icon:hover { background: #E11D48; color: #fff; }

.footer-social { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.1rem; }
.footer-social a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.82); font-size: .92rem;
  transition: all var(--t);
}
.footer-social a:hover {
  background: var(--grad-mix); color: #fff; transform: translateY(-5px) rotate(8deg);
  box-shadow: 0 12px 26px rgba(0,0,0,.36);
}

.footer-newsletter { display: flex; gap: .5rem; margin-top: 1.4rem; position: relative; }
.nl-input-group { position: relative; flex: 1; min-width: 0; }
.nl-input-group i { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: #7C8AA8; font-size: .88rem; }
.footer-newsletter input {
  width: 100%; padding: .82rem 1rem .82rem 2.6rem; font-size: .89rem;
  border-radius: 100px; border: 1.5px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07); color: #fff; font-family: 'Inter', sans-serif;
  transition: all var(--t-fast);
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.42); }
.footer-newsletter input:focus {
  outline: none; border-color: var(--brand-accent); background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 4px rgba(245,158,11,.16);
}
.footer-newsletter .btn { width: 46px; height: 46px; padding: 0; border-radius: 50%; flex-shrink: 0; }
.nl-note { display: block; font-size: .78rem; color: rgba(255,255,255,.48); margin-top: .55rem; }

.footer-bottom {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.3rem 0; border-top: 1px solid rgba(255,255,255,.10);
  font-size: .84rem;
}
.footer-copy { margin: 0; color: rgba(255,255,255,.56); }
.footer-copy strong { color: rgba(255,255,255,.86); }
.footer-bottom-links { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,.56); font-size: .82rem; }
.footer-bottom-links a:hover { color: var(--brand-accent-2); }
.footer-made { margin: 0; color: rgba(255,255,255,.44); }
.footer-made i { color: #E11D48; animation: beat 1.6s ease-in-out infinite; }

.float-actions {
  position: fixed; right: 16px; bottom: 16px; z-index: 70;
  display: flex; flex-direction: column; gap: .65rem;
}
.fab {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.2rem; color: #fff; border: 0; cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
  transition: transform var(--t), box-shadow var(--t);
  opacity: 0; transform: translateY(16px) scale(.85); pointer-events: none;
}
.float-actions.is-visible .fab { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.float-actions .fab:nth-child(2) { transition-delay: .08s; }
.float-actions .fab:nth-child(3) { transition-delay: .16s; }
.fab:hover { transform: translateY(-5px) scale(1.08); }
.fab-whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
.fab-whatsapp:hover { box-shadow: 0 18px 40px rgba(37,211,102,.5); }
.fab-call { background: var(--grad-primary); }
.fab-call:hover { box-shadow: var(--sh-glow); }
.fab-top { background: var(--grad-accent); color: #3B2400; }
.fab-top:hover { box-shadow: var(--sh-glow-accent); }

.toast-host {
  position: fixed; top: 18px; right: 18px; z-index: 300;
  display: flex; flex-direction: column; gap: .6rem; max-width: min(360px, calc(100vw - 36px));
  pointer-events: none;
}
.toast-msg {
  display: flex; align-items: flex-start; gap: .8rem; padding: .95rem 1.1rem;
  border-radius: 16px; background: #fff; box-shadow: var(--sh-lg);
  border-left: 4px solid var(--brand-primary-2);
  font-size: .9rem; font-weight: 600; color: var(--brand-dark);
  animation: toastIn .42s var(--ease-back); pointer-events: auto;
}
.toast-msg.ok   { border-left-color: var(--brand-secondary); }
.toast-msg.err  { border-left-color: #E11D48; }
.toast-msg.warn { border-left-color: var(--brand-accent); }
.toast-msg i { font-size: 1.05rem; margin-top: .1rem; }
.toast-msg.ok i   { color: var(--brand-secondary); }
.toast-msg.err i  { color: #E11D48; }
.toast-msg.warn i { color: var(--brand-accent); }
.toast-msg.is-out { animation: toastOut .3s var(--ease) forwards; }

/* Pagination */
.pagination { margin-top: clamp(28px, 3.4vw, 44px); }
.pagination-list { display: flex; gap: .45rem; justify-content: center; flex-wrap: wrap; }
.page-btn {
  min-width: 44px; height: 44px; padding: 0 .8rem; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); color: #4A587A;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .92rem;
  box-shadow: var(--sh-xs); transition: all var(--t-fast);
  transform-style: preserve-3d;
}
.page-btn:hover { transform: perspective(400px) translateY(-4px) rotateX(8deg); box-shadow: var(--sh-sm); color: var(--brand-primary); border-color: rgba(27,77,177,.3); }
.page-btn.is-active { background: var(--grad-primary); color: #fff; border-color: transparent; box-shadow: var(--sh-glow); }
.page-btn.is-disabled { opacity: .4; pointer-events: none; }
.page-dots { min-width: 30px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }

/* Notice / callout */
.notice {
  display: flex; gap: 1rem; padding: 1.15rem 1.3rem; border-radius: var(--radius);
  background: rgba(27,77,177,.07); border: 1px solid rgba(27,77,177,.18);
  border-left: 4px solid var(--brand-primary-2); font-size: .92rem; color: #40506E;
}
.notice i { font-size: 1.15rem; color: var(--brand-primary-2); }
.notice.warn { background: rgba(245,158,11,.09); border-color: rgba(245,158,11,.24); border-left-color: var(--brand-accent); }
.notice.warn i { color: #B45309; }
.notice.green { background: rgba(14,159,110,.08); border-color: rgba(14,159,110,.2); border-left-color: var(--brand-secondary); }
.notice.green i { color: var(--brand-secondary); }

.empty-state { text-align: center; padding: clamp(40px, 6vw, 80px) 1rem; }
.empty-state .es-icon {
  width: 96px; height: 96px; border-radius: 30px; margin: 0 auto 1.5rem;
  display: grid; place-items: center; font-size: 2.2rem; color: #fff;
  background: var(--grad-primary); box-shadow: var(--sh-glow);
  animation: floatY 4s ease-in-out infinite;
}
.empty-state h3 { margin: 0 0 .5rem; }
.empty-state p { color: var(--muted); max-width: 46ch; margin: 0 auto 1.5rem; }

/* Loading spinner */
.spinner {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: spin .7s linear infinite; display: inline-block; vertical-align: -3px;
}
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading .btn-label { visibility: hidden; }

/* ---------- 13. ANIMATIONS ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes shimmerSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(52,211,153,.7); }
  70%  { box-shadow: 0 0 0 14px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}
@keyframes rippleOut {
  0%   { transform: scale(.86); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes beat { 0%,100% { transform: scale(1); } 30% { transform: scale(1.22); } 60% { transform: scale(.94); } }
@keyframes wheelMove { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translateX(60px) scale(.9); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(60px) scale(.9); } }
@keyframes drawLine { from { width: 0; } to { width: 100%; } }
@keyframes slideUpText { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes slideDownText { from { transform: translateY(-105%); } to { transform: translateY(0); } }
@keyframes countFlash { 0% { transform: scale(1); } 40% { transform: scale(1.12); color: var(--brand-accent); } 100% { transform: scale(1); } }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-24px); }
[data-reveal="right"] { transform: translateX(24px); }
[data-reveal="zoom"]  { transform: scale(.95); }
[data-reveal="flip"]  { transform: perspective(900px) rotateX(12deg) translateY(18px); transform-origin: top; }
[data-reveal].is-visible {
  opacity: 1 !important;
  transform: none !important;
}

.reveal-text > * { opacity: 0; transform: translateY(20px); animation: fadeInUp .65s var(--ease) forwards; }
.reveal-text > *:nth-child(1) { animation-delay: .04s; }
.reveal-text > *:nth-child(2) { animation-delay: .12s; }
.reveal-text > *:nth-child(3) { animation-delay: .20s; }
.reveal-text > *:nth-child(4) { animation-delay: .28s; }
.reveal-text.delay-1 { animation-delay: .15s; }
.banner-title.reveal-text, .banner-sub.reveal-text { opacity: 1 !important; }

/* Parallax base */
[data-parallax] { will-change: transform; }

/* ---------- 14. RESPONSIVE ---------- */
@media (max-width: 991px) {
  :root { --header-h: 58px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > .split-media { order: 0; }
  .split-media { width: 100%; max-width: 480px; margin: 0 auto; }
  .split-content { width: 100%; }
  .image-cluster { max-width: 460px; padding: 8px 8px 16px 8px; }
  .image-cluster-sub.sb-2 { display: none !important; }
  .cluster-badge { top: 12px !important; left: 10px !important; }
  .experience-badge { bottom: 10px !important; right: 10px !important; }
  .cta-strip-orb, .footer-glow { display: none !important; }
  .announce-bar { font-size: .78rem; padding: .55rem 2.4rem; }
  .footer-columns { grid-template-columns: repeat(2, 1fr) !important; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .map-card { position: static; max-width: none; border-radius: 0; border: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .row { margin-left: 0 !important; margin-right: 0 !important; }
  .container, .container-fluid { padding-left: 14px !important; padding-right: 14px !important; overflow-x: clip !important; }
  .grid-2, .grid-3, .grid-4, .mv-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 1.4rem .8rem; }
  .stat-icon { width: 48px; height: 48px; font-size: 1.2rem; }
  .hero { min-height: auto; padding: 62px 0 74px; }
  .hero-content { text-align: left; }
  .hero-actions .btn { flex: 1 1 auto; min-width: 150px; }
  .hero-title { font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .image-cluster-main { transform: none; }
  .image-cluster-sub.sb-1 { width: 38%; bottom: 6px; left: 6px !important; }
  .cluster-badge { top: 10px !important; left: 8px !important; padding: .65rem .95rem; }
  .cluster-badge strong { font-size: 1.25rem; }
  .experience-badge { bottom: 6px !important; right: 8px !important; padding: .75rem 1rem; }
  .experience-badge .eb-icon { width: 40px; height: 40px; font-size: 1.05rem; }
  .experience-badge strong { font-size: 1.2rem; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .cta-strip-actions { width: 100%; }
  .cta-strip-actions .btn { flex: 1; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .7rem; }
  .lightbox-btn { width: 44px; height: 44px; font-size: 1rem; }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
  .course-specs { grid-template-columns: 1fr; }
  .toast-host { top: 10px; right: 10px; left: 10px; max-width: none; }
  .float-actions { right: 12px; bottom: 12px; }
  .fab { width: 48px; height: 48px; font-size: 1.05rem; }
  .btn { padding: .82rem 1.5rem; font-size: .92rem; }
}
@media (max-width: 575px) {
  .container { padding-left: 12px !important; padding-right: 12px !important; }
  .section { padding: 44px 0; }
  .brand-name {
    font-size: .84rem; max-width: 170px;
    white-space: normal; line-height: 1.15;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .brand-tag { display: none; }
  .brand-logo-wrap { width: 38px; height: 38px; }
  .header-actions .btn span { display: none; }
  .header-actions .btn { width: 36px; height: 36px; padding: 0; border-radius: 50%; display: grid; place-items: center; }
  .hero-slider-nav { bottom: 18px; padding: .35rem .7rem; gap: .5rem; }
  .hero-arrow { width: 28px; height: 28px; font-size: .7rem; }
  .hero-dot.is-active { width: 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .filter-bar { gap: .45rem; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; -webkit-overflow-scrolling: touch; max-width: 100%; }
  .filter-btn { padding: .5rem .9rem; font-size: .8rem; white-space: nowrap; flex-shrink: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-3d .card-body { padding: 1.15rem 1.1rem 1.25rem; }
  .footer-columns, .col-6 { width: 100%; }
  .footer-contact li { margin-bottom: .7rem; }
  .image-cluster-sub { display: none; }
  .experience-badge { position: static; margin: 1rem auto 0; width: fit-content; }
  .detail-hero-overlay { padding: 1.2rem; }
  .syllabus-body { padding-left: 1.2rem; }
  .form-card { padding: 1.25rem; }
  .form-row-2 { grid-template-columns: 1fr; gap: .75rem; }
  .contact-cards { grid-template-columns: 1fr; gap: 12px; }
  .cc-card { padding: 1.25rem 1.15rem; }
  .lb-toolbar { bottom: 14px; }
  .gallery-masonry { columns: 2; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }
}
@media (max-width: 380px) {
  .brand-name { font-size: .8rem; max-width: 150px; }
  .stats-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-chips { gap: .5rem .9rem; }
  .hero-chip { font-size: .82rem; }
  .gallery-masonry { columns: 1; }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-slide { transition: none; }
/* =====================================================================
   15. DEDICATED PAGE COMPONENTS & AESTHETIC POLISH
   ===================================================================== */

/* ---------- DONATION PAGE ---------- */
.donate-hero {
  background:
    radial-gradient(900px 480px at 15% 10%, rgba(27,77,177,.40), transparent 60%),
    radial-gradient(800px 440px at 85% 90%, rgba(13,148,101,.30), transparent 60%),
    linear-gradient(155deg, var(--brand-dark) 0%, #091C42 100%);
  color: #fff;
  padding: clamp(52px, 7vw, 92px) 0;
  position: relative;
  overflow: hidden;
}
.glass-dark {
  background: rgba(11, 28, 66, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  color: #fff;
}
.donate-raised-label {
  display: block;
  font-size: .80rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2px;
}
.donate-raised-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  background: linear-gradient(120deg, #ffffff 0%, var(--brand-accent-2) 65%, var(--brand-secondary-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.donate-progress {
  height: 12px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
  margin: .8rem 0;
}
.donate-progress .progress-bar {
  background: linear-gradient(90deg, var(--brand-secondary) 0%, var(--brand-secondary-2) 50%, var(--brand-accent) 100%);
  border-radius: 50px;
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.7);
  transition: width 1.2s var(--ease);
  position: relative;
}
.donate-progress .progress-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmerSlide 2.5s infinite;
}
.donate-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .6rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.dms-item {
  text-align: center;
  padding: .5rem .3rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: all var(--t-fast);
}
.dms-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.dms-value {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--brand-accent-2);
  line-height: 1.15;
}
.dms-label {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}
.donor-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
}
.donor-trust span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .84rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: .35rem .85rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}
.donor-trust i {
  color: var(--brand-secondary-2);
}

/* Amount picker buttons */
.amount-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: .65rem;
  margin-top: .45rem;
}
.amount-btn {
  padding: .75rem .8rem;
  border-radius: 14px;
  border: 1.8px solid var(--line);
  background: #ffffff;
  color: var(--brand-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  box-shadow: var(--sh-xs);
  transition: all var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.amount-btn:hover {
  border-color: var(--brand-primary-2);
  color: var(--brand-primary-2);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
  background: rgba(28, 89, 217, 0.04);
}
.amount-btn.is-selected {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-2) 100%);
  border-color: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(28, 89, 217, 0.35);
  transform: translateY(-2px) scale(1.02);
}
.amount-btn.is-other {
  border-style: dashed;
}
.amount-btn.is-other.is-selected {
  border-style: solid;
  background: var(--grad-accent);
  color: #2D1B00;
}

/* Payment Method radio tiles */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: .65rem;
  margin-top: .45rem;
}
.pm-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem .8rem;
  border-radius: 16px;
  border: 2px solid var(--line);
  background: var(--soft);
  color: var(--text);
  cursor: pointer;
  text-align: center;
  transition: all var(--t-fast);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.pm-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pm-option:hover {
  background: #ffffff;
  border-color: rgba(28, 89, 217, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}
.pm-option.is-active {
  background: #ffffff;
  border-color: var(--brand-primary-2);
  color: var(--brand-primary-2);
  box-shadow: 0 10px 28px rgba(28, 89, 217, 0.18);
  transform: translateY(-2px);
}
.pm-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: var(--brand-primary-2);
  background: rgba(28, 89, 217, 0.08);
  margin-bottom: .45rem;
  transition: all var(--t-fast);
}
.pm-option.is-active .pm-icon {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-2));
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(28, 89, 217, 0.3);
}
.pm-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.2;
}
.pm-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-secondary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .62rem;
  opacity: 0;
  transform: scale(0.6);
  transition: all var(--t-fast);
}
.pm-option.is-active .pm-check {
  opacity: 1;
  transform: scale(1);
}

/* Pay Box (Bank / UPI details) */
.pay-box {
  background: linear-gradient(145deg, #F8FAFC, #EDF2F7);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-top: 1rem;
}
.pay-box-label {
  display: block;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: .35rem;
}
.pay-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-primary);
  background: #ffffff;
  padding: .4rem .75rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  word-break: break-all;
}
.pay-qr {
  max-width: 190px;
  border-radius: 12px;
  box-shadow: var(--sh);
  border: 4px solid #ffffff;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- SEARCH BAR & FILTER TABS ---------- */
.search-bar {
  margin: 0 auto clamp(24px, 3.5vw, 38px);
  max-width: 720px;
}
.search-field {
  position: relative;
  display: flex;
  align-items: center;
}
.search-field i {
  position: absolute;
  left: 1.1rem;
  color: #64748B;
  font-size: .95rem;
  pointer-events: none;
}
.search-field input {
  width: 100%;
  padding: .85rem 1.1rem .85rem 2.85rem;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: #ffffff;
  font-size: .95rem;
  color: var(--text);
  box-shadow: var(--sh-sm);
  transition: all var(--t-fast);
}
.search-field input:focus {
  outline: none;
  border-color: var(--brand-primary-2);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(28, 89, 217, 0.14);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin-bottom: clamp(24px, 3.5vw, 40px);
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1.15rem;
  border-radius: 100px;
  background: #ffffff;
  border: 1.5px solid var(--line);
  color: var(--muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .84rem;
  text-decoration: none;
  box-shadow: var(--sh-xs);
  transition: all var(--t-fast);
  white-space: nowrap;
}
.filter-btn:hover {
  background: rgba(28, 89, 217, 0.06);
  border-color: rgba(28, 89, 217, 0.3);
  color: var(--brand-primary);
  transform: translateY(-1.5px);
}
.filter-btn.is-active {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-2) 100%);
  border-color: transparent;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(28, 89, 217, 0.32);
}
.filter-btn .count {
  font-size: .72rem;
  padding: .15rem .5rem;
  border-radius: 50px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 800;
}
.filter-btn.is-active .count {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

/* Course Facts, Price & Tags */
.featured-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  background: linear-gradient(135deg, var(--brand-secondary), var(--brand-secondary-2));
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: .72rem;
  padding: .28rem .72rem;
  border-radius: 50px;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.course-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem 1.1rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: .65rem;
  margin-bottom: .85rem;
}
.course-facts span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.course-facts i {
  color: var(--brand-secondary);
}
.price-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-primary);
}
.price-tag.free {
  color: var(--brand-secondary);
}
.badge-pill.big.price-tag {
  font-size: .95rem;
  padding: .45rem 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

/* Progress ring & detail facts */
.progress-ring-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  text-align: center;
  padding: .75rem 0;
}
.pr-item {
  display: flex;
  flex-direction: column;
}
.pr-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.1;
}
.pr-label {
  font-size: .74rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pr-sep {
  width: 1px;
  height: 32px;
  background: var(--line);
}
.sticky-lg {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

/* Notices */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(28, 89, 217, 0.06);
  border: 1px solid rgba(28, 89, 217, 0.16);
  border-left: 4px solid var(--brand-primary-2);
  color: var(--text);
}
.notice.success {
  background: rgba(13, 148, 101, 0.07);
  border-color: rgba(13, 148, 101, 0.18);
  border-left-color: var(--brand-secondary);
}
.notice-icon {
  font-size: 1.35rem;
  color: var(--brand-primary-2);
  margin-top: .15rem;
}
.notice.success .notice-icon {
  color: var(--brand-secondary);
}

/* ---------- LEGAL & CONTENT PAGES ---------- */
.legal-intro {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #334155;
  padding: 1.2rem 1.5rem;
  background: rgba(28, 89, 217, 0.05);
  border-left: 4px solid var(--brand-primary-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 2rem;
}
.legal-toc {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--sh-sm);
  margin-bottom: 2.5rem;
}
.legal-toc-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 0 0 .8rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.legal-toc-title i {
  color: var(--brand-primary-2);
}
.legal-toc ol {
  margin: 0;
  padding-left: 1.4rem;
}
.legal-toc li {
  margin-bottom: .45rem;
  font-weight: 600;
}
.legal-toc a {
  color: var(--brand-primary-2);
  text-decoration: none;
}
.legal-toc a:hover {
  text-decoration: underline;
}
.legal-block {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  box-shadow: var(--sh-xs);
  margin-bottom: 2rem;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.legal-block h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.legal-block h2 i {
  color: var(--brand-secondary);
  font-size: 1.15rem;
}
.legal-bullets {
  margin: 1rem 0;
  padding-left: 0;
  list-style: none;
}
.legal-bullets li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .6rem;
  color: var(--text);
}
.legal-bullets li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: .1rem;
  color: var(--brand-secondary);
  font-size: .9rem;
}

/* Rich content formatting */
.rich-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
}
.rich-content p {
  margin-bottom: 1.1rem;
}
.rich-content h2, .rich-content h3, .rich-content h4 {
  color: var(--brand-dark);
  margin-top: 1.8rem;
  margin-bottom: .75rem;
}
.rich-content ul, .rich-content ol {
  margin: 1rem 0 1.3rem;
  padding-left: 1.4rem;
}
.rich-content ul { list-style: disc; }
.rich-content ol { list-style: decimal; }
.rich-content li { margin-bottom: .45rem; }
.rich-content blockquote {
  padding: 1.1rem 1.4rem;
  border-left: 4px solid var(--brand-accent);
  background: var(--soft);
  border-radius: 0 12px 12px 0;
  margin: 1.4rem 0;
  font-style: italic;
  color: #1E293B;
}

/* ---------- 404 ERROR PAGE ---------- */
.error-page {
  padding: clamp(60px, 8vw, 110px) 0;
}
.error-code {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(6rem, 16vw, 12rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-2) 40%, var(--brand-accent) 80%, var(--brand-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 14px 28px rgba(12, 37, 86, 0.20));
  margin-bottom: .5rem;
}
.quick-card {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius);
  transition: all var(--t);
}
.quick-card:hover {
  border-color: rgba(28, 89, 217, 0.35);
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  color: var(--brand-primary);
}
.search-results {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--sh);
  max-width: 520px;
  margin: 1rem auto 0;
}

/* Responsive tweaks for new components */
@media (max-width: 768px) {
  .donate-mini-stats { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .amount-picker { grid-template-columns: repeat(3, 1fr); }
  .payment-methods { grid-template-columns: repeat(2, 1fr); }
  .sticky-lg { position: static; }
}
@media (max-width: 480px) {
  .amount-picker { grid-template-columns: repeat(2, 1fr); }
}

/* Print */
@media print {
  .site-header, .announce-bar, .mobile-nav, .float-actions, .cta-strip, .site-footer,
  .lightbox, .toast-host, .hero-dots, .scroll-hint { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 12px 0; }
  .card-3d { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
}

/* ============ PRINT UTILITIES ============ */
@media print {
  .no-print, .site-header, .site-footer, .hero, .page-hero,
  .cta-band, .scroll-top, .fab-stack, .lightbox, .filter-bar { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .section { padding: 1.2rem 0 !important; background: none !important; }
  .card-3d, .glass-light, .mv-card { box-shadow: none !important; border: 1px solid #ccc !important; }
  a { text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; color: #555; }
}