/* ============================================================
   YBRANT GLOBAL SCHOOLS — PREMIUM DESIGN LAYER v3.0
   World-class visual system — overrides style.css
   ============================================================ */

/* ─── ENHANCED TOKENS ─── */
:root {
  --midnight:      #03090E;
  --deep-navy:     #06112A;
  --royal-blue:    #1A3A8F;
  --blue-bright:   #2B5CE6;
  --academic-red:  #C8102E;
  --red-deep:      #920B22;
  --gold:          #E8A020;
  --gold-light:    #FFD16B;
  --gold-pale:     #FFFAF0;
  --surface-1:     #070E20;
  --surface-2:     #0B1530;
  --surface-3:     #10213F;
  --text-on-dark:  rgba(255,255,255,0.88);
  --text-dim:      rgba(255,255,255,0.50);
  --border-dark:   rgba(255,255,255,0.07);
  --border-glow:   rgba(255,255,255,0.13);
  --section-py:    clamp(6rem, 9vw, 9.5rem);
  --ease-out:      cubic-bezier(0.22,1,0.36,1);
  --ease-spring:   cubic-bezier(0.34,1.56,0.64,1);
}

/* ─── CUSTOM SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--midnight); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--royal-blue), var(--academic-red)); border-radius: 3px; }

/* ─── TYPOGRAPHY SCALE UP ─── */
.t-hero    { font-size: clamp(2rem, 3.5vw, 3.5rem);  letter-spacing: -0.02em; line-height: 1.15; }
.t-display { font-size: clamp(1.75rem, 3vw, 2.8rem);  letter-spacing: -0.01em; line-height: 1.2; }
.t-h2      { font-size: clamp(1.5rem, 2.5vw, 2.2rem); letter-spacing: -0.01em; line-height: 1.25; }
.t-h3      { font-size: clamp(1.2rem, 1.8vw, 1.5rem); letter-spacing: 0; }
.t-lead    { font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.7; }

/* ─── GRAIN TEXTURE SYSTEM ─── */
.grain { position: relative; }
.grain::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.042;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 250px 250px;
}
.grain > * { position: relative; z-index: 2; }

/* ─── GRADIENT ORBS ─── */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite;
}
.orb-1 { background: radial-gradient(circle, rgba(26,58,143,0.65) 0%, transparent 70%); animation-delay: 0s; }
.orb-2 { background: radial-gradient(circle, rgba(200,16,46,0.45) 0%, transparent 70%); animation-delay: -4s; }
.orb-3 { background: radial-gradient(circle, rgba(232,160,32,0.38) 0%, transparent 70%); animation-delay: -8s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(30px, -20px); }
  66%       { transform: translate(-20px, 15px); }
}

/* ─── GLASS MORPHISM ─── */
.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-dark); border-radius: 20px;
}
.glass-md {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-glow); border-radius: 20px;
}
.glass-light {
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.88); border-radius: 20px;
}

/* Gradient border card */
.grad-bd {
  position: relative; border-radius: 20px;
  background: var(--surface-1);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.grad-bd::before {
  content: ''; position: absolute; inset: -1px; border-radius: 21px; z-index: 0;
  background: linear-gradient(135deg, rgba(26,58,143,0.55), rgba(200,16,46,0.5), rgba(232,160,32,0.4));
  opacity: 0; transition: opacity 0.4s;
}
.grad-bd:hover::before { opacity: 1; }
.grad-bd:hover { transform: translateY(-5px); box-shadow: 0 24px 64px rgba(0,0,0,0.4); }
.grad-bd > * { position: relative; z-index: 1; }

/* ─── BUTTON PREMIUM UPGRADE ─── */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.17), transparent);
  transition: left 0.55s ease; z-index: 2; pointer-events: none;
}
.btn:hover::before { left: 100%; }

.btn-primary {
  background: linear-gradient(135deg, #D42030 0%, #8E0B1F 100%);
  box-shadow: 0 8px 32px rgba(200,16,46,0.40), inset 0 1px 0 rgba(255,255,255,0.14);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 56px rgba(200,16,46,0.58); }

.btn-gold {
  background: linear-gradient(135deg, #F2AA22 0%, #C47A00 100%);
  color: #180F00; font-weight: 700;
  box-shadow: 0 8px 32px rgba(232,160,32,0.42), inset 0 1px 0 rgba(255,255,255,0.28);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 22px 56px rgba(232,160,32,0.62); }

.btn-navy {
  background: linear-gradient(135deg, #2248BB 0%, #0D1B4B 100%);
  box-shadow: 0 8px 32px rgba(26,58,143,0.40), inset 0 1px 0 rgba(255,255,255,0.12);
  color: #fff;
}
.btn-navy:hover { transform: translateY(-3px); box-shadow: 0 22px 56px rgba(26,58,143,0.58); }

.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px); color: #fff;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.65); transform: translateY(-2px); }

.btn-wa { background: #25D366; color: #fff; box-shadow: 0 8px 28px rgba(37,211,102,0.36); }
.btn-wa:hover { background: #1DAF57; transform: translateY(-2px); box-shadow: 0 18px 44px rgba(37,211,102,0.50); }

/* ─── NAVIGATION PREMIUM ─── */
#navbar {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(8,13,34,0.08) !important;
  box-shadow: 0 2px 20px rgba(8,13,34,0.07) !important;
}
#navbar.nav-solid {
  background: rgba(255,255,255,0.98) !important;
  backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px);
  border-bottom: 1px solid rgba(8,13,34,0.10) !important;
  box-shadow: 0 4px 32px rgba(8,13,34,0.11) !important;
}

/* Always dark links on white nav */
.nav-link { color: var(--text-body) !important; font-size: 0.84rem; font-weight: 600; letter-spacing: 0.01em; }
.nav-link:hover { color: var(--deep-navy) !important; background: rgba(8,13,34,0.05) !important; }
.nav-link.active { color: var(--deep-navy) !important; background: rgba(8,13,34,0.05) !important; }
.nav-phone { color: var(--text-muted) !important; }
.nav-phone:hover { color: var(--deep-navy) !important; }
.nav-hamburger span { background: var(--deep-navy) !important; }
.nav-logo img { height: 38px; }

/* ─── PAGE HERO PREMIUM ─── */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 6rem); padding-bottom: 6rem;
  overflow: hidden;
}
.ph-dark {
  background: linear-gradient(150deg, #03090E 0%, #060C1F 55%, #0A1840 100%);
  color: #fff;
}
.ph-light {
  background: linear-gradient(160deg, #EFF3FF 0%, #FFFFFF 100%);
}
.ph-headline {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}
.ph-dark .ph-headline { color: #fff; }
.ph-light .ph-headline { color: var(--deep-navy); }
.ph-sub {
  font-family: var(--f-accent);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.72; max-width: 580px; margin-bottom: 2.2rem;
}
.ph-dark .ph-sub { color: rgba(255,255,255,0.60); }
.ph-light .ph-sub { color: var(--text-muted); }
.ph-deco-num {
  position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
  font-family: var(--f-display); font-size: clamp(9rem, 22vw, 22rem);
  font-weight: 900; letter-spacing: -0.06em; line-height: 1;
  pointer-events: none; user-select: none;
}
.ph-dark .ph-deco-num { color: rgba(255,255,255,0.022); }
.ph-light .ph-deco-num { color: rgba(0,0,0,0.03); }
.ph-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--f-accent); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1.6rem;
}
.ph-dark .ph-breadcrumb { color: rgba(255,255,255,0.38); }
.ph-dark .ph-breadcrumb a { color: var(--gold-light); }
.ph-light .ph-breadcrumb { color: var(--text-muted); }
.ph-light .ph-breadcrumb a { color: var(--royal-blue); }
.ph-breadcrumb .sep { opacity: 0.4; }
.ph-inner { position: relative; z-index: 2; max-width: 800px; }

/* ─── IMAGE FRAMES PREMIUM ─── */
.img-frame { position: relative; border-radius: 20px; overflow: hidden; display: block; }
.img-frame::after {
  content: ''; position: absolute; inset: 0; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08); pointer-events: none;
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease-out); }
.img-frame:hover img { transform: scale(1.04); }

/* Floating badge widget on images */
.float-badge {
  position: absolute;
  background: #fff; border-radius: 16px;
  padding: 0.9rem 1.25rem;
  box-shadow: 0 16px 52px rgba(0,0,0,0.22);
  display: flex; align-items: center; gap: 0.8rem;
  font-family: var(--f-accent); font-size: 0.84rem;
  color: var(--deep-navy); white-space: nowrap;
  animation: badgeFloat 5s ease-in-out infinite;
}
@keyframes badgeFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.float-badge .fb-icon {
  width: 40px; height: 40px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.float-badge strong { display: block; font-size: 0.92rem; font-weight: 700; }
.float-badge span { font-size: 0.75rem; color: var(--text-muted); }

/* ─── MARQUEE TICKER ─── */
.marquee-outer { overflow: hidden; }
.marquee-inner { display: flex; white-space: nowrap; animation: marqueeTick 30s linear infinite; }
.marquee-inner:hover { animation-play-state: paused; }
@keyframes marqueeTick { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.marquee-chip {
  display: inline-flex; align-items: center; gap: 2rem;
  font-family: var(--f-accent); font-size: 0.79rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: #ffffff; padding-right: 2rem; flex-shrink: 0;
}
.marquee-dot { color: var(--gold); font-size: 0.45rem; }

/* ─── TAGS UPGRADE ─── */
.tag { font-size: 0.69rem; letter-spacing: 0.14em; }
.tag-blue  { background: rgba(26,58,143,0.14);  color: #6A97FF; border: 1px solid rgba(26,58,143,0.22); }
.tag-red   { background: rgba(200,16,46,0.11);   color: #FF5570; border: 1px solid rgba(200,16,46,0.20); }
.tag-gold  { background: rgba(232,160,32,0.13);  color: #C88800; border: 1px solid rgba(232,160,32,0.22); }
.tag-white { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.82); border: 1px solid rgba(255,255,255,0.16); }
.tag-dark  { background: rgba(8,13,34,0.06);     color: var(--deep-navy); border: 1px solid rgba(8,13,34,0.10); }
.tag-green { background: rgba(34,197,94,0.10);   color: #15803d; border: 1px solid rgba(34,197,94,0.18); }

/* ─── GRADIENT ACCENT LINE ─── */
.accent-line {
  width: 54px; height: 3px;
  background: linear-gradient(90deg, var(--academic-red), var(--gold));
  border-radius: 2px; margin-bottom: 1.4rem;
}

/* ─── ANIMATED GRADIENT TEXT ─── */
@keyframes textShimmer { 0%{background-position:0%} 100%{background-position:200%} }
.grad-text-gold {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 3s linear infinite;
}
.grad-text-blue {
  background: linear-gradient(90deg, var(--royal-blue), var(--blue-bright), var(--royal-blue));
  background-size: 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 3s linear infinite;
}
.grad-text-red {
  background: linear-gradient(90deg, var(--academic-red), #FF5570, var(--academic-red));
  background-size: 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 3s linear infinite;
}

/* ─── STAT NUMBER DISPLAY ─── */
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 900; line-height: 1; letter-spacing: -0.04em;
}

/* ─── SECTION BACKGROUNDS ─── */
.bg-dark  { background: var(--midnight); }
.bg-navy  { background: var(--deep-navy); }
.bg-surf  { background: var(--surface-1); }
.bg-off   { background: #F3F6FC; }
.bg-white { background: #ffffff; }

/* ─── CARDS ─── */

/* Why Ybrant glass card */
.why-card {
  padding: 2rem 1.75rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  transition: all 0.4s var(--ease-out);
}
.why-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.why-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 1.2rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  transition: all 0.4s;
}
.why-card:hover .why-card-icon { background: rgba(255,255,255,0.13); }

/* Program card */
.prog-card {
  position: relative; border-radius: 20px; overflow: hidden;
  padding: 2.25rem;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
  cursor: pointer;
}
.prog-card::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0); transition: background 0.3s;
}
.prog-card:hover { transform: translateY(-8px); box-shadow: 0 32px 80px rgba(0,0,0,0.35); }
.prog-card-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.5rem;
  background: rgba(255,255,255,0.14);
}
.prog-card-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12); margin-top: 1.5rem;
  transition: all 0.35s var(--ease-spring);
}
.prog-card:hover .prog-card-arrow {
  background: rgba(255,255,255,0.25);
  transform: translateX(6px);
}

/* Testimonial card */
.testi-card {
  padding: 2.75rem;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(8,13,34,0.07), 0 1px 4px rgba(8,13,34,0.04);
  border: 1px solid rgba(8,13,34,0.06);
  position: relative; overflow: hidden;
  transition: all 0.45s var(--ease-out);
}
.testi-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--academic-red), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.testi-card:hover { transform: translateY(-8px); box-shadow: 0 24px 64px rgba(8,13,34,0.14); }
.testi-card:hover::before { transform: scaleX(1); }
.testi-card.featured { background: linear-gradient(145deg, var(--deep-navy) 0%, var(--royal-blue) 100%); color: #fff; border-color: transparent; }
.testi-card.featured::before { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.testi-quote { font-size: 5rem; line-height: 0.6; font-family: Georgia, serif; opacity: 0.18; margin-bottom: 0.75rem; color: var(--academic-red); }
.testi-card.featured .testi-quote { color: var(--gold); opacity: 0.3; }
.testi-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 1.1rem; }
.testi-text { font-size: 1rem; line-height: 1.74; color: var(--text-muted); font-style: italic; margin-bottom: 1.75rem; }
.testi-card.featured .testi-text { color: rgba(255,255,255,0.75); }
.testi-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--royal-blue), var(--academic-red));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 1.1rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); }
.testi-card.featured .testi-name { color: #fff; }
.testi-role { font-size: 0.8rem; color: var(--text-muted); }
.testi-card.featured .testi-role { color: rgba(255,255,255,0.55); }

/* Faculty card */
.faculty-card {
  border-radius: 20px; overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 24px rgba(8,13,34,0.07);
  border: 1px solid rgba(8,13,34,0.06);
  transition: all 0.4s var(--ease-out);
}
.faculty-card:hover { transform: translateY(-8px); box-shadow: 0 24px 64px rgba(8,13,34,0.14); }
.faculty-photo { width: 100%; aspect-ratio: 4/4.5; overflow: hidden; position: relative; }
.faculty-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s var(--ease-out); }
.faculty-card:hover .faculty-photo img { transform: scale(1.06); }
.faculty-info { padding: 1.5rem 1.4rem; }
.faculty-name { font-family: var(--f-display); font-size: 1.1rem; font-weight: 700; color: var(--deep-navy); margin-bottom: 0.3rem; }
.faculty-role { font-family: var(--f-accent); font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--academic-red); margin-bottom: 0.75rem; }
.faculty-bio { font-size: 0.88rem; line-height: 1.65; color: var(--text-muted); }

/* Achievement stat card */
.achieve-stat {
  padding: 2.25rem 1.75rem;
  border-radius: 20px; text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  transition: all 0.4s var(--ease-out);
  position: relative; overflow: hidden;
}
.achieve-stat::before {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 80%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: opacity 0.4s; opacity: 0;
}
.achieve-stat:hover { transform: translateY(-6px); background: rgba(255,255,255,0.08); box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.achieve-stat:hover::before { opacity: 1; }
.achieve-stat-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto 1.25rem;
}

/* CTA section */
.h-cta {
  background: linear-gradient(135deg, #C8102E 0%, #800B1E 50%, #9B0B22 100%);
  position: relative; overflow: hidden;
}
.h-cta::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") repeat;
  background-size: 200px; opacity: 0.04;
}
.h-cta-inner { position: relative; z-index: 2; text-align: center; padding: clamp(5rem,8vw,8rem) 0; }
.h-cta-inner h2 { font-family: var(--f-display); font-size: clamp(1.5rem, 2.5vw, 2.2rem); color: #fff; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 1.1rem; }
.h-cta-inner p { color: rgba(255,255,255,0.70); font-size: clamp(1rem,1.8vw,1.2rem); max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.72; }
.h-cta-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Mosaic image grid */
.mosaic { display: grid; gap: 10px; }
.mosaic-item { border-radius: 14px; overflow: hidden; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease-out); }
.mosaic-item:hover img { transform: scale(1.06); }

/* Bento grid */
.bento { display: grid; gap: 14px; }

/* ─── FOOTER DEEP DARK ─── */
#footer { background: #020609 !important; }
.footer-main { background: #020C1E !important; border-top: 1px solid rgba(255,255,255,0.045) !important; }
.footer-admit-strip {
  background: linear-gradient(90deg, #0D1B4B, #1A3A8F, #0D1B4B) !important;
  background-size: 200% auto !important;
  animation: textShimmer 6s linear infinite !important;
}
.fas-inner a {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: var(--deep-navy) !important;
  padding: 0.4rem 1.2rem !important;
  border-radius: 100px !important;
  font-family: var(--f-accent) !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 12px rgba(232,160,32,0.3) !important;
  transition: all 0.3s var(--ease-out) !important;
  text-decoration: none !important;
  border: none !important;
}
.fas-inner a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(232,160,32,0.5) !important;
}

/* ─── SCROLL REVEAL (upgrade) ─── */
.rv { opacity: 0; transform: translateY(48px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.rv.visible { opacity: 1; transform: none; }
.rv-l { opacity: 0; transform: translateX(-48px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.rv-l.visible { opacity: 1; transform: none; }
.rv-r { opacity: 0; transform: translateX(48px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.rv-r.visible { opacity: 1; transform: none; }
.rv-s { opacity: 0; transform: scale(0.90); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.rv-s.visible { opacity: 1; transform: scale(1); }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; } .d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; } .d6 { transition-delay: 0.48s; }
.d7 { transition-delay: 0.56s; } .d8 { transition-delay: 0.64s; }


/* =====================================================
   SECTION 1 · CINEMATIC HERO (2025 Premium Design)
   ===================================================== */

/* =====================================================
   SECTION 1 · CINEMATIC HERO (2025 Premium Design)
   ===================================================== */

/* ── Hero Container ── */
.cin-hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Lock height to viewport */
  min-height: 650px; /* Prevent it from getting too squished */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #000;
  color: #fff;
}

/* ── Background Slides Container ── */
.cin-bg-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* ── Individual Background Slide ── */
.cin-bg-slide {
  position: absolute;
  inset: -5%; /* Slightly larger for the Ken Burns effect */
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.8s ease-in-out;
  pointer-events: none;
}
.cin-bg-slide.active {
  opacity: 1;
  /* Ken burns slow zoom */
  animation: cinKenBurns 12s linear infinite alternate;
}
@keyframes cinKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

/* ── Layered Overlays ── */
/* Base dark tint to normalize bright images */
.cin-ov-tint {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(0, 0, 0, 0.1);
}
/* Left-to-right gradient for left-aligned text */
.cin-ov-left {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.25) 45%, transparent 80%);
}
/* Bottom-to-top gradient to ground the content and stats */
.cin-ov-bottom {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.35) 20%, transparent 60%);
}

/* ── Main Content Area ── */
.cin-body {
  position: relative;
  z-index: 10;
  width: 100%;
  /* Use padding to avoid overlapping the absolute nav header and the bottom bar */
  padding-top: calc(var(--nav-h, 72px) + 1rem);
  padding-bottom: 4rem; 
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cin-inner {
  max-width: 800px; /* Constrain text width but perfectly left-aligned inside container */
}

/* ── Initial Animation States ── */
.cin-anim {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
}
/* A class added via JS to trigger animations */
.cin-hero.is-loaded .cin-anim {
  opacity: 1;
  transform: translateY(0);
}

/* ── Trust Badge ── */
.cin-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-family: var(--f-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin-bottom: 2rem;
}
.cin-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: cinPulse 2s infinite;
}
@keyframes cinPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34,197,94,0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34,197,94,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.cin-trust-sep { color: #fff; }
.cin-trust-divider { opacity: 0.4; }

/* ── Main Headline ── */
.cin-headline {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4.5vw, 4.2rem); /* Reduced from 5rem max */
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}
.cin-hl-line {
  display: block;
}
.cin-hl-em {
  color: var(--gold);
  font-style: italic;
  font-weight: 900;
}

/* ── Subtext ── */
.cin-sub {
  font-family: var(--f-accent);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem); /* Reduced slightly */
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 600px;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* ── CTAs ── */
.cin-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}
/* Base CTA styles */
.cin-ctas a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  font-family: var(--f-accent);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cin-ctas a i { font-size: 1.1em; }

/* Primary Button (Gold) */
.cin-btn-primary {
  background: linear-gradient(135deg, #F3B93F 0%, #D8981A 100%);
  color: #080D22 !important;
  box-shadow: 0 4px 15px rgba(243, 185, 63, 0.4);
}
.cin-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(243, 185, 63, 0.6);
  filter: brightness(1.05);
}

/* Secondary Button (Glass) */
.cin-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff !important;
}
.cin-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Ghost Button (Text Only) */
.cin-btn-ghost {
  color: #cbd5e1 !important;
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}
.cin-btn-ghost:hover {
  color: #fff !important;
  transform: translateX(4px);
}

/* ── Integrated Stats Strip ── */
.cin-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.8rem;
  padding: 1.5rem 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.cin-stat {
  display: flex;
  flex-direction: column;
}
.cin-stat strong {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.cin-stat strong sup {
  font-size: 0.6em;
  color: var(--gold);
}
.cin-stat span {
  font-family: var(--f-accent);
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
}
.cin-stat-rule {
  width: 1px;
  height: 35px;
  background: rgba(255, 255, 255, 0.15);
}

/* ── Bottom Bar ── */
.cin-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 10;
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cin-bb-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Slide Progress Dots */
.cin-dots {
  display: flex;
  gap: 0.6rem;
}
.cin-dot {
  width: 10px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.cin-dot:hover {
  background: rgba(255,255,255,0.6);
}
.cin-dot.active {
  width: 24px;
  background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Scroll Cue */
.cin-scroll-cue {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cin-scroll-cue span {
  font-family: var(--f-accent);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
}
.cin-scroll-line {
  width: 1px;
  height: 25px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.cin-scroll-runner {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 50%;
  background: #fff;
  animation: cinScrollAnim 2s infinite;
}
@keyframes cinScrollAnim {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* =====================================================
   CINEMATIC HERO RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .cin-ov-left { background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 60%, transparent 100%); }
}
@media (max-width: 768px) {
  .cin-hero { height: auto; min-height: 100vh; padding-top: var(--nav-h, 68px); }
  .cin-ov-left { background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.1) 100%); }
  .cin-body { padding-top: 3rem; padding-bottom: 6rem; }
  .cin-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: none; }
  .cin-stat-rule { display: none; }
  .cin-ctas { flex-direction: column; align-items: stretch; }
  .cin-ctas a { justify-content: center; }
  .cin-btn-ghost { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
}
@media (max-width: 480px) {
  .cin-headline { font-size: 2.2rem; }
  .cin-sub { font-size: 0.95rem; }
  .cin-stat strong { font-size: 1.2rem; }
  .cin-scroll-cue { display: none; }
}


/* ─── HOME ABOUT PREVIEW ─── */
#h-about {
  background: #ffffff;
  position: relative; overflow: hidden;
}
.about-pull-quote {
  font-family: var(--f-display); font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 600; font-style: italic; line-height: 1.55;
  color: var(--deep-navy); margin-bottom: 1.75rem;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(232,160,32,0.06);
  border-radius: 0 10px 10px 0;
}

/* ─── HOME PROGRAMS ─── */
#h-programs { background: #F3F6FC; }
.prog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.prog-card-navy  { background: linear-gradient(145deg, #0D1B4B 0%, #1A3A8F 100%); color: #fff; }
.prog-card-red   { background: linear-gradient(145deg, #8E0B1F 0%, #C8102E 100%); color: #fff; }
.prog-card-gold  { background: linear-gradient(145deg, #7A5000 0%, #C47A00 100%); color: #fff; }
.prog-card-blue  { background: linear-gradient(145deg, #1A3A8F 0%, #2B5CE6 100%); color: #fff; }
.prog-card-dark  { background: linear-gradient(145deg, #060C1F 0%, #0D1B4B 100%); color: #fff; }
.prog-card-teal  { background: linear-gradient(145deg, #0B4D4D 0%, #0D7070 100%); color: #fff; }

/* ─── NUMBERS SECTION ─── */
#h-numbers {
  background: #F3F6FC;
  text-align: center; position: relative; overflow: hidden;
}
.numbers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(8,13,34,0.08);
  border: 1px solid rgba(8,13,34,0.07);
  overflow: hidden;
}
.num-cell {
  padding: 3.5rem 2rem;
  border-right: 1px solid rgba(8,13,34,0.07);
  transition: background 0.3s;
}
.num-cell:last-child { border-right: none; }
.num-cell:hover { background: rgba(26,58,143,0.03); }
.num-big {
  font-family: var(--f-display); font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900; letter-spacing: -0.02em; line-height: 1;
}
.num-cell-label {
  font-family: var(--f-accent); font-size: 0.75rem;
  color: var(--text-muted); margin-top: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700;
}

/* ─── RESPONSIVE ─── */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-img-col { display: none; }
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }

  /* Page hero padding */
  .page-hero { padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 4rem; }
}

/* ── Tablet/Large Phone (≤768px) ── */
@media (max-width: 768px) {
  /* Hero programs grid */
  .prog-grid { grid-template-columns: 1fr; }

  /* Hero stats */
  .hero-stats { gap: 1.5rem; flex-direction: row; flex-wrap: wrap; }
  .hs-item { border-right: none; padding-right: 0; min-width: 120px; }

  /* Hero slider — hide right card */
  .hss-layout { grid-template-columns: 1fr; gap: 0; }
  .hss-right { display: none; }

  /* Hero content */
  .hss-title { font-size: clamp(2.5rem, 7vw, 3.5rem); }
  .hss-subtitle { font-size: 1rem; max-width: 100%; }
  .hss-btns { gap: 0.75rem; flex-wrap: wrap; }
  .hss-stats { gap: 1.75rem; padding-top: 1.5rem; flex-wrap: wrap; }
  .hss-stat strong { font-size: 1.75rem; }

  /* Float badges — hide to avoid overflow */
  .hss-float-badge { display: none !important; }
  .float-badge { display: none !important; }
  .ha-badge { display: none !important; }

  /* Page hero */
  .page-hero { padding-top: calc(var(--nav-h) + 2.5rem) !important; padding-bottom: 2.5rem !important; }
  .ph-headline { font-size: clamp(1.8rem, 6vw, 2.8rem); }
  .ph-sub { font-size: clamp(0.95rem, 3vw, 1.1rem); max-width: 100%; }
  .ph-deco-num { display: none; }

  /* Numbers section */
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .num-cell { padding: 2rem 1rem; }
  .num-big { font-size: clamp(1.8rem, 5vw, 2.5rem); }

  /* Prog cards — reduce padding */
  .prog-card { padding: 1.75rem 1.5rem; }
  .prog-card-icon { width: 48px; height: 48px; }

  /* About section */
  .about-pull-quote { font-size: 1rem; padding: 0.9rem 1.1rem; }

  /* Testi cards */
  .testi-card { padding: 2rem 1.5rem; }

  /* CTA section */
  .h-cta-btns { flex-direction: column; align-items: center; }
  .h-cta-btns .btn { width: 100%; max-width: 340px; justify-content: center; }

  /* Why cards — ensure 2-col */
  .why-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .why-card { padding: 1.5rem 1.25rem; }
}

/* ── Phone (≤480px) ── */
@media (max-width: 480px) {
  /* Hero title */
  .hss-title { font-size: clamp(2.2rem, 8vw, 3rem); }

  /* Hero buttons — stack */
  .hss-btns { flex-direction: column; gap: 0.65rem; }
  .hss-btns .btn { width: 100%; justify-content: center; }

  /* Hero stats — 3 items wrap */
  .hss-stats { gap: 1.25rem; }
  .hss-stat { min-width: 0; flex: 1 1 auto; }
  .hss-stat strong { font-size: 1.5rem; }
  .hss-stat span { font-size: 0.72rem; }

  /* Numbers — 2-col */
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }

  /* Programs — 1-col */
  .prog-grid { grid-template-columns: 1fr; }

  /* Prog cards */
  .prog-card { padding: 1.5rem; }

  /* Why cards — 1-col */
  .why-grid { grid-template-columns: 1fr !important; }
  .why-card { padding: 1.5rem 1.25rem; }

  /* Testi cards */
  .testi-card { padding: 1.5rem; }
  .testi-quote { font-size: 3.5rem; }

  /* Badge float - hide */
  .hss-float-badge, .float-badge { display: none !important; }
}

/* ── Tiny (≤360px) ── */
@media (max-width: 360px) {
  .hss-title { font-size: 2rem !important; }
  .ph-headline { font-size: 1.7rem !important; }
  .numbers-grid { grid-template-columns: 1fr; }
  .hss-badge { font-size: 0.68rem; padding: 0.35rem 0.75rem; }
  .prog-card { padding: 1.25rem; }
  .why-card { padding: 1.25rem 1rem; }
}

/* ============================================================
   WHITE THEME HERO OVERRIDES
   ============================================================ */
.hero-light .hss-overlay {
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 45%, rgba(255,255,255,0.4) 100%);
}
.hero-light .hss-badge {
  background: rgba(26,58,143,0.08);
  border: 1px solid rgba(26,58,143,0.15);
  color: var(--royal-blue);
}
.hero-light .hss-title,
.hero-light .t-line1 {
  color: var(--deep-navy);
}
.hero-light .t-line2 {
  color: var(--royal-blue);
}
.hero-light .hss-subtitle {
  color: var(--text-muted);
}
.hero-light .hss-stat strong {
  color: var(--deep-navy);
}
.hero-light .hss-stat span {
  color: var(--text-muted);
}
.hero-light .hss-stats {
  border-top-color: rgba(8,13,34,0.1);
}
.hero-light .hss-arrow {
  background: rgba(8,13,34,0.05);
  border-color: rgba(8,13,34,0.1);
  color: var(--deep-navy);
}
.hero-light .hss-arrow:hover {
  background: var(--royal-blue);
  color: #fff;
  border-color: var(--royal-blue);
}
.hero-light .hss-dot {
  background: rgba(8,13,34,0.15);
}
.hero-light .hss-dot.active {
  background: var(--royal-blue);
}
.hero-light .hss-card-wrap,
.hero-light .hss-card-caption {
  background: #ffffff;
}
.hero-light .hss-card-wrap {
  box-shadow: 0 25px 60px -12px rgba(8,13,34,0.15);
}
.hero-light .hss-card-caption h4 {
  color: var(--deep-navy);
}
.hero-light .hss-card-caption p {
  color: var(--text-muted);
}
.hero-light .hss-float-badge {
  background: #fff;
  color: var(--deep-navy);
  box-shadow: 0 10px 25px rgba(8,13,34,0.1);
  border: 1px solid rgba(8,13,34,0.05);
}

