/* =============================================
   GYAN SAGAR CLASSES — MAIN WEBSITE CSS
   Purple Theme (#7c3aed, #6d28d9, #a855f7)
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:       #7c3aed;
  --purple-dark:  #6d28d9;
  --purple-deep:  #4c1d95;
  --purple-light: #ede9fe;
  --purple-mid:   #a855f7;
  --purple-soft:  #f5f3ff;
  --gold:         #f59e0b;
  --gold-light:   #fef3c7;
  --white:        #ffffff;
  --dark:         #0f0a1e;
  --dark-mid:     #1e1040;
  --dark-card:    #150d30;
  --text:         #1e1b4b;
  --text-mid:     #4c1d95;
  --text-light:   #6b7280;
  --text-xlight:  #9ca3af;
  --border:       #e5e7eb;
  --border-purple:#ddd6fe;
  --shadow-sm:    0 1px 4px rgba(109,40,217,.08);
  --shadow-md:    0 4px 20px rgba(109,40,217,.15);
  --shadow-lg:    0 10px 50px rgba(109,40,217,.2);
  --radius:       14px;
  --radius-sm:    9px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f5f3ff; }
::-webkit-scrollbar-thumb { background: var(--purple-mid); border-radius: 99px; }

/* =============================================
   TOP BAR STRIP
   ============================================= */
.topbar-strip {
  position: fixed; top: 0; left: 0; right: 0; z-index: 501;
  background: #1a0505;
  border-bottom: 2px solid #3d0f0f;
  height: 44px;
  display: flex; align-items: center;
}

.topbar-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  height: 100%;
}

.topbar-left {
  display: flex; align-items: center; gap: 20px;
  flex-shrink: 0;
}

.topbar-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: #c8b49a;
  white-space: nowrap; font-weight: 500;
}
.topbar-item i { color: #c9a84c; font-size: .8rem; }

.topbar-divider {
  width: 1px; height: 18px;
  background: #3d1010;
}

.topbar-right {
  display: flex; align-items: center; gap: 12px;
  flex: 1; overflow: hidden; min-width: 0;
}

.topbar-new-badge {
  background: #e53e3e;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 99px;
  letter-spacing: 1px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(229,62,62,.5);
}

.topbar-marquee-wrap {
  flex: 1; overflow: hidden; min-width: 0;
}

.topbar-marquee {
  font-size: .82rem;
  color: #c8b49a;
  font-weight: 500;
  letter-spacing: .2px;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed; top: 44px; left: 0; right: 0; z-index: 500;
  padding: 0;
  background: #1a0505;
  border-bottom: 2px solid #2d0a0a;
  transition: all .3s ease;
}
.navbar.scrolled {
  background: #120303;
  box-shadow: 0 4px 24px rgba(0,0,0,.6);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 72px;
}

/* LOGO */
.nav-brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-logo {
  width: 56px; height: 56px;
  border-radius: 10px; overflow: hidden;
  border: 2px solid rgba(201,168,76,.35);
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.brand-logo.small { width: 36px; height: 36px; border-radius: 8px; }

/* NAV LINKS */
.nav-links {
  display: flex; list-style: none; gap: 0; align-items: center;
}
.nav-links a {
  text-decoration: none; color: #d4c5a9;
  font-size: .875rem; font-weight: 500;
  padding: 8px 16px; border-radius: 0;
  transition: all .2s; position: relative;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active {
  color: #fff; font-weight: 700;
}
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -2px; left: 16px; right: 16px;
  height: 2px; background: #c9a84c; border-radius: 2px;
}

/* NAV ACTIONS */
.nav-actions { display: flex; align-items: center; gap: 8px; }

/* Language Select */
.lang-select-wrap {
  border: 1px solid #4a2020;
  border-radius: 6px; overflow: hidden;
}
.lang-select {
  background: transparent;
  border: none; outline: none;
  color: #d4c5a9; font-size: .78rem;
  padding: 6px 10px; cursor: pointer;
  font-family: inherit;
}
.lang-select option { background: #1a0505; color: #d4c5a9; }

/* Login Portals Button */
.btn-nav-login-portals {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px;
  background: transparent;
  border: 1.5px solid #c9a84c;
  color: #c9a84c; text-decoration: none;
  border-radius: 6px; font-size: .8rem; font-weight: 600;
  transition: all .2s; white-space: nowrap;
}
.btn-nav-login-portals:hover { background: #c9a84c; color: #1a0505; }

/* Install App Button */
.btn-nav-install {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px;
  background: #16a34a;
  border: 1.5px solid #16a34a;
  color: #fff; text-decoration: none;
  border-radius: 6px; font-size: .8rem; font-weight: 700;
  transition: all .2s; white-space: nowrap;
  box-shadow: 0 2px 10px rgba(22,163,74,.35);
}
.btn-nav-install:hover { background: #15803d; border-color: #15803d; transform: translateY(-1px); }

/* Enroll Now Button */
.btn-nav-enroll {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 18px;
  background: linear-gradient(135deg, #c9a84c, #a8892e);
  border: 1.5px solid #c9a84c;
  color: #1a0505; text-decoration: none;
  border-radius: 6px; font-size: .8rem; font-weight: 800;
  transition: all .2s; white-space: nowrap;
  box-shadow: 0 2px 10px rgba(201,168,76,.4);
}
.btn-nav-enroll:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(201,168,76,.55); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #c9a84c; border-radius: 2px; transition: all .3s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 88vh;
  background: #1a0505;
  display: flex; align-items: center;
  padding: 130px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 20% 50%, rgba(60,10,10,.7) 0%, transparent 65%);
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 60px; align-items: center; position: relative; z-index: 1;
}

/* BADGE */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.3);
  color: #c9a84c; font-size: .78rem; font-weight: 600;
  padding: 6px 16px; border-radius: 99px; margin-bottom: 18px;
}

/* BIG TITLE */
.hero-title {
  font-size: 3.4rem; font-weight: 900;
  color: #fff; line-height: 1.05;
  margin-bottom: 12px; letter-spacing: -.5px;
}

/* LOCATION */
.hero-location {
  display: flex; align-items: center; gap: 7px;
  color: #c9a84c; font-size: .88rem; font-weight: 600;
  margin-bottom: 16px;
}

/* SUBTITLE */
.hero-subtitle {
  font-size: 1.1rem; font-weight: 700;
  color: #e8d5b0; margin-bottom: 14px;
}

/* DESC */
.hero-desc {
  color: #9a8070; font-size: .88rem;
  line-height: 1.75; margin-bottom: 32px; max-width: 480px;
}
.hero-desc strong { color: #c9a84c; font-weight: 600; }

/* BUTTONS */
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-enroll-now {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 26px;
  background: linear-gradient(135deg, #c9a84c, #a8892e);
  color: #1a0505; text-decoration: none;
  border-radius: 8px; font-size: .9rem; font-weight: 800;
  box-shadow: 0 4px 18px rgba(201,168,76,.4); transition: all .2s;
}
.btn-enroll-now:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,.55); }

.btn-portal-outline {
  display: inline-flex; align-items: center;
  padding: 12px 22px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.2);
  color: #d4c0a8; text-decoration: none;
  border-radius: 8px; font-size: .9rem; font-weight: 600; transition: all .2s;
}
.btn-portal-outline:hover { border-color: #c9a84c; color: #c9a84c; background: rgba(201,168,76,.08); }

/* HERO CARD */
.hero-card-wrap { display: flex; justify-content: center; }
.hero-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.18);
  border-radius: 14px; padding: 26px 24px; width: 100%;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.hero-card-header {
  font-size: 1.08rem; font-weight: 800; color: #f5e9c8;
  display: flex; align-items: center; gap: 9px; margin-bottom: 8px;
}
.hero-card-header i { color: #c9a84c; }
.hero-card-sub { color: #7a6050; font-size: .83rem; line-height: 1.6; margin-bottom: 20px; }

.hero-card-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.hcl-item {
  display: flex; align-items: center; gap: 10px;
  color: #d4c0a8; font-size: .84rem; font-weight: 500;
}
.hcl-item i { color: #c9a84c; font-size: .9rem; flex-shrink: 0; }

.hero-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(201,168,76,.12); padding-top: 16px;
}
.batch-label {
  font-size: .78rem; font-weight: 600; color: #c9a84c;
  display: flex; align-items: center; gap: 6px;
}
.btn-register {
  padding: 8px 20px;
  background: linear-gradient(135deg, #c9a84c, #a8892e);
  color: #1a0505; text-decoration: none;
  border-radius: 7px; font-size: .82rem; font-weight: 800;
  box-shadow: 0 2px 10px rgba(201,168,76,.3); transition: all .2s;
}
.btn-register:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(201,168,76,.5); }

/* =============================================
   COUNTER SECTION
   ============================================= */
.counter-section {
  background: #0f0806;
  padding: 42px 0;
  border-top: 1px solid #2a1205;
  border-bottom: 1px solid #2a1205;
}

.counter-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.counter-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
  padding: 8px 20px;
}

.counter-icon {
  width: 52px; height: 52px;
  background: #1e1008;
  border: 1px solid #3a1e08;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: #c9a84c;
  flex-shrink: 0;
}

.counter-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.counter-num {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -.5px;
  font-variant-numeric: tabular-nums;
}

.counter-num.gold-text {
  color: #c9a84c;
}

.counter-label {
  font-size: .8rem;
  color: #7a6040;
  font-weight: 500;
  margin-top: 3px;
}

.counter-divider {
  width: 1px;
  height: 50px;
  background: #2a1808;
  flex-shrink: 0;
}

/* =============================================
   OLD STATS (hide)
   ============================================= */
.stats-section { display: none; }

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header { text-align: center; margin-bottom: 56px; }
.section-badge {
  display: inline-block;
  background: var(--purple-light); color: var(--purple);
  font-size: .75rem; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; padding: 5px 14px; border-radius: 99px;
  margin-bottom: 14px;
}
.section-badge.light { background: rgba(168,85,247,.2); color: #ddd6fe; }
.section-title {
  font-size: 2.1rem; font-weight: 800; color: var(--text);
  letter-spacing: -.3px; line-height: 1.2;
}
.section-title span { color: var(--purple); }
.section-title.light { color: #f5f3ff; }
.section-title.light span { color: var(--purple-mid); }
.section-sub { color: var(--text-light); font-size: .95rem; margin-top: 12px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* =============================================
   WHY CHOOSE US SECTION
   ============================================= */
.wcu-section {
  background: #1a0505;
  padding: 90px 0 80px;
}

/* HEADER */
.wcu-header { text-align: center; margin-bottom: 60px; }

.wcu-badge {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: #c9a84c; margin-bottom: 16px;
}

.wcu-title {
  font-size: 2.4rem; font-weight: 900;
  color: #ffffff; margin-bottom: 16px;
  letter-spacing: -.3px;
}

.wcu-sub {
  font-size: .92rem; color: #8a7060;
  line-height: 1.75; max-width: 560px;
  margin: 0 auto;
}

/* GRID */
.wcu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.wcu-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* CARD */
.wcu-card {
  background: #240a0a;
  border: 1px solid #3a1010;
  border-radius: 14px;
  padding: 32px 22px 28px;
  text-align: center;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.wcu-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(201,168,76,.04) 0%, transparent 60%);
  pointer-events: none;
}
.wcu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,.35);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.wcu-card-highlight {
  border-color: rgba(201,168,76,.2);
}

/* ICON CIRCLE */
.wcu-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,168,76,.4);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #c9a84c;
  margin: 0 auto 22px;
  transition: all .25s;
}
.wcu-card:hover .wcu-icon-wrap,
.wcu-icon-wrap.active {
  background: #c9a84c;
  color: #1a0505;
  border-color: #c9a84c;
  box-shadow: 0 4px 20px rgba(201,168,76,.45);
}

.wcu-card h3 {
  font-size: 1rem; font-weight: 800;
  color: #ffffff; margin-bottom: 12px;
}

.wcu-card p {
  font-size: .83rem; color: #7a6050;
  line-height: 1.7;
}

/* CENTER LOGO ROW */
.wcu-logo-row {
  display: flex; align-items: center;
  gap: 24px; margin: 36px 0;
}
.wcu-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, #3a1010, transparent);
}
.wcu-center-logo {
  width: 90px; height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(201,168,76,.4);
  box-shadow: 0 0 30px rgba(201,168,76,.2), 0 0 0 8px rgba(201,168,76,.06);
  flex-shrink: 0;
}
.wcu-center-logo img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* =============================================
   OLD FEATURES (hide)
   ============================================= */
.features-section { display: none; }

/* =============================================
   ABOUT / VISION MISSION
   ============================================= */
.about-section { padding: 90px 0; background: #1a0505; }

.about-section .section-header { margin-bottom: 50px; }
.about-section .section-badge { background: rgba(201,168,76,.12); color: #c9a84c; }
.about-section .section-title { color: #ffffff; }
.about-section .section-title span { color: #c9a84c; }

.vision-mission-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 70px;
}
.vm-card {
  background: #240a0a;
  border: 1px solid #3a1010;
  border-radius: 14px;
  padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: all .25s;
}
.vm-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, #c9a84c, #a8892e);
}
.vm-card:hover {
  border-color: rgba(201,168,76,.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.vm-icon {
  width: 50px; height: 50px;
  background: rgba(201,168,76,.12);
  border: 1.5px solid rgba(201,168,76,.3);
  color: #c9a84c; border-radius: 12px; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.vm-card h3 { font-size: 1.15rem; font-weight: 800; color: #ffffff; margin-bottom: 12px; }
.vm-card p  { color: #7a6050; line-height: 1.75; font-size: .9rem; }

/* TIMELINE */
.timeline-wrap { margin-bottom: 70px; }
.timeline-title, .facilities-title {
  font-size: 1.5rem; font-weight: 800; color: #ffffff;
  text-align: center; margin-bottom: 44px; position: relative;
}
.timeline-title::after, .facilities-title::after {
  content: ''; display: block; width: 60px; height: 3px;
  background: linear-gradient(90deg, #c9a84c, #a8892e);
  border-radius: 2px; margin: 12px auto 0;
}
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 14px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, #c9a84c, rgba(201,168,76,.2));
}
.tl-item { position: relative; padding-bottom: 40px; }
.tl-dot {
  position: absolute; left: -32px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #c9a84c; border: 3px solid #240a0a;
  box-shadow: 0 0 0 4px rgba(201,168,76,.2);
}
.tl-year {
  font-size: .8rem; font-weight: 800; color: #c9a84c;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.tl-card {
  background: #240a0a; border: 1px solid #3a1010;
  border-radius: 10px; padding: 20px 24px;
  transition: all .25s;
}
.tl-card:hover { border-color: rgba(201,168,76,.3); }
.tl-card h4 { font-size: 1rem; font-weight: 700; color: #ffffff; margin-bottom: 6px; }
.tl-card p  { font-size: .875rem; color: #7a6050; line-height: 1.65; }

/* FACILITIES */
.facilities-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.fac-card {
  background: #240a0a; border: 1px solid #3a1010;
  border-radius: 14px; padding: 28px;
  transition: all .25s;
}
.fac-card:hover { transform: translateY(-3px); border-color: rgba(201,168,76,.35); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.fac-icon {
  width: 46px; height: 46px;
  background: rgba(201,168,76,.1); border: 1.5px solid rgba(201,168,76,.25);
  color: #c9a84c; border-radius: 10px; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.fac-card h4 { font-size: .95rem; font-weight: 700; color: #ffffff; margin-bottom: 8px; }
.fac-card p  { font-size: .84rem; color: #7a6050; line-height: 1.65; }

/* =============================================
   PORTAL SECTION
   ============================================= */
.portal-section { padding: 90px 0; background: #1a0505; }

.portal-section .section-badge { background: rgba(201,168,76,.12); color: #c9a84c; }
.portal-section .section-title { color: #ffffff; }
.portal-section .section-title span { color: #c9a84c; }
.portal-section .section-sub { color: #7a6050; }

.portal-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.portal-card {
  background: #240a0a;
  border: 1px solid #3a1010;
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: none;
  transition: all .25s;
  position: relative;
}
.portal-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201,168,76,.35);
  box-shadow: 0 16px 50px rgba(0,0,0,.5);
}
.portal-card.featured {
  background: linear-gradient(145deg, #3d0f0f, #2a0808);
  border-color: rgba(201,168,76,.4);
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.portal-badge-top {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #c9a84c, #a8892e);
  color: #1a0505; font-size: .72rem; font-weight: 800;
  padding: 5px 16px; border-radius: 99px; letter-spacing: .5px;
  white-space: nowrap;
}
.portal-icon {
  width: 68px; height: 68px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 22px;
}
.portal-icon.student { background: rgba(201,168,76,.1); color: #c9a84c; border: 1.5px solid rgba(201,168,76,.25); }
.portal-icon.parent  { background: rgba(201,168,76,.2); color: #e8b94f; border: 1.5px solid rgba(201,168,76,.4); }
.portal-icon.admin   { background: rgba(201,168,76,.1); color: #c9a84c; border: 1.5px solid rgba(201,168,76,.25); }

.portal-card h3 {
  font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; color: #ffffff;
}
.portal-card.featured h3 { color: #f5e9c8; }
.portal-card p { font-size: .875rem; color: #7a6050; line-height: 1.65; margin-bottom: 20px; }
.portal-card.featured p { color: #9a7860; }

.portal-demo {
  font-size: .75rem; color: #5a4030; margin-bottom: 24px;
  background: rgba(0,0,0,.3); padding: 9px 14px; border-radius: 8px;
  border: 1px solid #3a1010;
}
.portal-card.featured .portal-demo { background: rgba(0,0,0,.3); color: #7a6050; border-color: rgba(201,168,76,.15); }
.portal-demo code {
  font-family: 'Courier New', monospace; font-weight: 700;
  color: #c9a84c; font-size: .78rem;
}
.portal-card.featured .portal-demo code { color: #e8b94f; }

.btn-portal {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, #c9a84c, #a8892e);
  color: #1a0505; text-decoration: none; border-radius: 10px;
  font-weight: 800; font-size: .875rem;
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(201,168,76,.3);
}
.btn-portal:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(201,168,76,.5); }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  padding: 90px 0;
  background: #120303;
  border-top: 1px solid #2a0808;
  border-bottom: 1px solid #2a0808;
}
.testimonials-section .section-badge { background: rgba(201,168,76,.12); color: #c9a84c; }
.testimonials-section .section-title { color: #ffffff; }
.testimonials-section .section-title span { color: #c9a84c; }

.rating-bar {
  display: flex; align-items: center; gap: 10px;
  justify-content: center; margin-top: 14px;
  color: #7a6050; font-size: .9rem; font-weight: 500;
}
.stars { color: #c9a84c; font-size: 1.1rem; letter-spacing: 2px; }

.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testi-card {
  background: #1e0808;
  border: 1px solid #3a1010;
  border-radius: 14px; padding: 28px;
  transition: all .25s;
}
.testi-card:hover {
  border-color: rgba(201,168,76,.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.testi-header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, #c9a84c, #a8892e);
  display: flex; align-items: center; justify-content: center;
  color: #1a0505; font-weight: 800; font-size: 1.1rem; flex-shrink: 0;
}
.testi-name  { font-weight: 700; color: #f5e9c8; font-size: .9rem; }
.testi-stars { color: #c9a84c; font-size: .9rem; margin-top: 2px; }
.testi-card p { color: #7a6050; font-size: .875rem; line-height: 1.75; font-style: italic; }

/* =============================================
   CONTACT
   ============================================= */
.contact-section { padding: 100px 0; background: #fff; }
.contact-grid { display: grid; grid-template-columns: 420px 1fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.ci-item { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--purple-light); color: var(--purple);
  border-radius: 10px; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.ci-item h4 { font-size: .85rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.ci-item p  { font-size: .84rem; color: var(--text-light); line-height: 1.6; }
.btn-contact-portal {
  display: flex; align-items: center; gap: 9px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--purple), var(--purple-mid));
  color: #fff; text-decoration: none; border-radius: 10px;
  font-weight: 700; font-size: .9rem; margin-top: 8px;
  box-shadow: 0 4px 18px rgba(124,58,237,.35);
  transition: all .2s; width: fit-content;
}
.btn-contact-portal:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(124,58,237,.5); }
.map-wrap {
  height: 380px; border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--border-purple);
  box-shadow: var(--shadow-md);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(168,85,247,.15);
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; padding: 64px 0 40px;
}
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.footer-brand p { color: #6b7280; font-size: .84rem; line-height: 1.7; }
.footer-links h4, .footer-contact h4 {
  font-size: .85rem; font-weight: 700; color: #f5f3ff;
  margin-bottom: 16px; letter-spacing: .3px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #6b7280; text-decoration: none; font-size: .84rem; transition: color .2s; }
.footer-links a:hover { color: #a855f7; }
.footer-contact p {
  color: #6b7280; font-size: .84rem; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.footer-contact i { color: #7c3aed; width: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(168,85,247,.1);
  border: 1px solid rgba(168,85,247,.2);
  display: flex; align-items: center; justify-content: center;
  color: #a855f7; font-size: .9rem;
  text-decoration: none; transition: all .2s;
}
.footer-social a:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06); padding: 20px 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; color: #4b5563; flex-wrap: wrap; gap: 8px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .wcu-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card-wrap { display: none; }
  .hero-title { font-size: 2.2rem; }
}

@media (max-width: 900px) {
  .topbar-left .topbar-item:last-of-type,
  .topbar-left .topbar-divider { display: none; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #1a0505; padding: 16px 24px; border-bottom: 1px solid #2d0a0a; gap: 4px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .lang-select-wrap, .btn-nav-install { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .vision-mission-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr 1fr; }
  .portal-cards { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 100px 0 60px; }
  .hero-title { font-size: 1.8rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .facilities-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .section-title { font-size: 1.6rem; }
}

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* Stagger children */
.features-grid .feature-card:nth-child(2)  { transition-delay: .06s; }
.features-grid .feature-card:nth-child(3)  { transition-delay: .12s; }
.features-grid .feature-card:nth-child(4)  { transition-delay: .18s; }
.features-grid .feature-card:nth-child(5)  { transition-delay: .24s; }
.features-grid .feature-card:nth-child(6)  { transition-delay: .06s; }
.features-grid .feature-card:nth-child(7)  { transition-delay: .12s; }
.features-grid .feature-card:nth-child(8)  { transition-delay: .18s; }
.features-grid .feature-card:nth-child(9)  { transition-delay: .24s; }
.features-grid .feature-card:nth-child(10) { transition-delay: .3s; }

.portal-cards .portal-card:nth-child(2) { transition-delay: .1s; }
.portal-cards .portal-card:nth-child(3) { transition-delay: .2s; }

.testimonials-grid .testi-card:nth-child(2) { transition-delay: .1s; }
.testimonials-grid .testi-card:nth-child(3) { transition-delay: .2s; }

/* Active nav link */
.nav-links a.active { background: rgba(168,85,247,.2); color: #fff; }
