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

:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #dbeafe;
  --blue-glow: rgba(37,99,235,0.2);
  --gold: #d97706;
  --gold-light: #fef3c7;
  --gold-glow: rgba(217,119,6,0.25);
  --green: #10b981;
  --coral: #ef4444;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --text-body: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 10px 15px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.06), 0 20px 40px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.08);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --max-w: 1200px;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --nav-h: 76px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.app { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--text); line-height: 1.15; letter-spacing: -0.02em; }

/* ===== SECTION ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--surface); }

/* Center all section tags and h2 when inside section-header */
.section-header { text-align: center; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: linear-gradient(135deg, var(--blue-light), #ede9fe);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  border: 1px solid rgba(37,99,235,0.12);
  box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}

/* Standalone section-tag (not inside section-header) - center it */
.section > .container > .section-tag,
.section-alt > .container > .section-tag {
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: 2.6rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding-bottom: 16px;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
}

/* ===== STANDALONE h2 (non section-header) ===== */
.section > .container > h2,
.section > .container > div + h2,
.section-alt > .container > h2,
.section-alt > .container > div + h2 {
  font-size: 2.4rem;
  margin-bottom: 40px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding-bottom: 14px;
  display: block;
  text-align: center;
}

.section > .container > h2::after,
.section > .container > div + h2::after,
.section-alt > .container > h2::after,
.section-alt > .container > div + h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

/* Page hero h1 */
.page-hero h1 {
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 16px var(--blue-glow); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 28px var(--blue-glow); }

.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 4px 16px var(--gold-glow); }
.btn-gold:hover { background: #b45309; transform: translateY(-2px); box-shadow: 0 8px 28px var(--gold-glow); }

.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--blue-light); transform: translateY(-2px); }

.btn-lg { padding: 16px 38px; font-size: 1rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  height: var(--nav-h);
}

.navbar:not(.scrolled) { background: transparent; }

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar .logo img { height: 44px; width: auto; border-radius: 6px; }

.navbar .logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.15;
  font-weight: 700;
  transition: color 0.3s;
}

.navbar.scrolled .logo-text { color: var(--text); }

.navbar .logo-text span {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  display: block;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.navbar.scrolled .logo-text span { color: var(--text-muted); }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }

.nav-links a {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
}

.navbar.scrolled .nav-links a { color: var(--text-body); }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.navbar.scrolled .nav-links a:hover { color: var(--blue); background: var(--blue-light); }
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.12); font-weight: 600; }
.navbar.scrolled .nav-links a.active { color: var(--blue); background: var(--blue-light); }

.nav-links .nav-cta {
  background: var(--gold) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600;
  margin-left: 10px;
  box-shadow: 0 4px 14px var(--gold-glow);
}

.nav-links .nav-cta:hover { background: #b45309 !important; transform: translateY(-1px); box-shadow: 0 6px 20px var(--gold-glow); }
.navbar.scrolled .nav-links .nav-cta { color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 4px;
  transition: all 0.3s;
}

.navbar.scrolled .nav-toggle span { background: var(--text); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 4px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(15,23,42,0.6) 50%, rgba(30,64,175,0.5) 100%);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.hero-wave svg { width: 100%; height: auto; display: block; }

.hero .container { position: relative; z-index: 3; padding-top: 60px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-size: 4rem;
  color: #fff;
  max-width: 720px;
  margin-bottom: 20px;
  line-height: 1.08;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #60a5fa, #a78bfa, #f9a8d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(96,165,250,0.3));
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== PAGE HERO (inner) ===== */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff;
  margin-top: 4px;
}

.page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.88), rgba(15,23,42,0.6));
  z-index: 0;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
}

/* ===== STATS ===== */
.stats-wrap {
  position: relative;
  z-index: 4;
  margin-top: -60px;
  padding-bottom: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.stat-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card:hover:before { opacity: 1; }
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.stat-card .s-icon { font-size: 1.8rem; margin-bottom: 10px; display: block; }

.stat-card .s-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--blue), #60a5fa);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card .s-label { font-size: 0.88rem; color: var(--text-muted); font-weight: 500; }

/* ===== FEATURES / PILLARS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.feature-card:hover:after { transform: scaleX(1); }
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.feature-card .fc-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--navy), var(--blue-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.feature-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

.fc-icon.fc-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: #fff; }
.fc-icon.fc-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; }
.fc-icon.fc-green { background: linear-gradient(135deg, #10b981, #059669); color: #fff; }
.fc-icon.fc-orange { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; }
.fc-icon.fc-teal { background: linear-gradient(135deg, #14b8a6, #0d9488); color: #fff; }
.fc-icon.fc-red { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; }
.fc-icon.fc-indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); color: #fff; }
.fc-icon.fc-amber { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }

/* ===== CLASSES ===== */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.class-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 12px;
  text-align: center;
  transition: all 0.3s;
}

.class-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow), var(--shadow-md);
  transform: translateY(-3px);
}

.class-card .cc-icon { font-size: 1.6rem; margin-bottom: 6px; display: block; }
.class-card h4 { font-size: 0.9rem; font-weight: 600; color: var(--text); }

/* ===== WHY CHOOSE ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: all 0.3s;
}

.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--gold); }

.why-card .wc-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.why-card h4 { font-size: 0.95rem; color: var(--text); margin-bottom: 4px; }
.why-card p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.5; }

.wc-icon.wc-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: #fff; }
.wc-icon.wc-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; }
.wc-icon.wc-green { background: linear-gradient(135deg, #10b981, #059669); color: #fff; }
.wc-icon.wc-amber { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.wc-icon.wc-teal { background: linear-gradient(135deg, #14b8a6, #0d9488); color: #fff; }
.wc-icon.wc-orange { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; }
.wc-icon.wc-red { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; }
.wc-icon.wc-indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); color: #fff; }
.wc-icon.wc-sky { background: linear-gradient(135deg, #0ea5e9, #0284c7); color: #fff; }

/* ===== FACULTY ===== */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  max-width: 700px;
  margin: 0 auto;
}

.faculty-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.faculty-card:hover { 
  box-shadow: 0 20px 60px rgba(0,0,0,0.12); 
  transform: translateY(-8px); 
  border-color: var(--blue);
}

.faculty-card .f-photo {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  overflow: hidden;
  position: relative;
}

.faculty-card .f-photo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(0,0,0,0.1));
  pointer-events: none;
}

.faculty-card .f-photo img { width: 100%; height: 100%; object-fit: cover; }

.faculty-card .f-info { padding: 24px 28px 28px; }
.faculty-card .f-info h3 { font-size: 1.15rem; color: var(--text); margin-bottom: 4px; }
.faculty-card .f-info .f-role { font-size: 0.85rem; color: var(--blue); font-weight: 600; margin-bottom: 4px; }
.faculty-card .f-info .f-qual { font-size: 0.83rem; color: var(--text-muted); }

/* ===== FEE TABLE ===== */
.fee-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.fee-table { width: 100%; border-collapse: collapse; }

.fee-table th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  padding: 16px 24px;
  font-size: 0.9rem;
  font-weight: 600;
}

.fee-table td {
  padding: 14px 24px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}

.fee-table tr:last-child td { border-bottom: none; }
.fee-table tr:hover { background: var(--blue-light); }
.fee-table td:last-child { font-weight: 700; color: var(--blue); }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item .g-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,0.75));
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .g-overlay { opacity: 1; }
.gallery-item .g-overlay span { color: #fff; font-size: 0.88rem; font-weight: 600; }

/* ===== CAMPUS ===== */
.campus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 560px;
  margin: 0 auto;
}

.campus-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.campus-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.campus-card:hover:before { transform: scaleX(1); }
.campus-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.campus-card .cp-icon { font-size: 2.8rem; margin-bottom: 14px; display: block; }
.campus-card h4 { font-size: 1.05rem; color: var(--text); }

/* ===== ABOUT SPLIT ===== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-split .as-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  position: relative;
  border: 4px solid var(--surface);
}

.about-split .as-img img { width: 100%; height: 100%; object-fit: cover; }

.about-split .as-img .as-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37,99,235,0.4);
  letter-spacing: 0.02em;
}

.about-split .as-content {
  padding: 20px 0;
}

.about-split .as-content .section-tag {
  margin-bottom: 12px;
}

.about-split .as-content h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.about-split .as-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 16px;
}

.about-split .as-content p:last-child {
  margin-bottom: 0;
}

/* ===== ACADEMIC CARDS ===== */
.academic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.academic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all 0.3s;
}

.academic-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--blue); }

.academic-card .a-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.academic-card h3 { font-size: 1.15rem; color: var(--text); margin-bottom: 8px; }
.academic-card p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }

.academic-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }

.academic-card ul li {
  font-size: 0.82rem;
  color: var(--text-body);
  background: var(--bg);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

/* ===== ACTIVITIES ===== */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.activity-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px 16px;
  text-align: center;
  transition: all 0.3s;
}

.activity-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gold); }

.activity-card .ac-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.activity-card h4 { font-size: 0.9rem; color: var(--text); }

/* ===== CONTACT ===== */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-cards { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: all 0.3s;
}

.contact-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue); }

.contact-card .cc-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-card h4 { font-size: 0.95rem; color: var(--text); margin-bottom: 2px; }
.contact-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }

.form-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-box h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 24px;
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: all 0.2s;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-glow);
}

.form-row textarea { min-height: 110px; resize: vertical; }

/* ===== INFO STRIP ===== */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: all 0.3s;
}

.info-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue); }

.info-card .ic-icon { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.info-card h4 { font-size: 0.95rem; color: var(--text); margin-bottom: 4px; }
.info-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ===== MAP ===== */
.map-box {
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 220px;
  background: linear-gradient(135deg, var(--blue-light), #e0e7ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 20px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 70% 30%, #fff 1px, transparent 1px);
  background-size: 60px 60px;
}

.cta-banner h2 { font-size: 2.4rem; color: #fff; margin-bottom: 14px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.65); max-width: 520px; margin: 0 auto 28px; font-size: 1.05rem; position: relative; }
.cta-banner .btn { position: relative; }

/* ===== FEATURES LIST (inner pages) ===== */
.fl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fl-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: all 0.3s;
}
.fl-card:hover { box-shadow: var(--shadow-sm); border-color: var(--gold); }
.fl-card .fl-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 3px; }
.fl-card h4 { font-size: 0.9rem; color: var(--text); margin-bottom: 2px; }
.fl-card p { font-size: 0.82rem; color: var(--text-muted); }

/* ===== MISSION / VISION ===== */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.mv-card {
  background: linear-gradient(135deg, var(--surface) 0%, #f8fafc 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0);
  transition: transform 0.4s;
}

.mv-card:hover::before { transform: scaleX(1); }
.mv-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.1); transform: translateY(-6px); border-color: var(--blue); }

.mv-card .mv-icon { 
  font-size: 2.8rem; 
  margin-bottom: 20px; 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--blue-light), #ede9fe);
  border-radius: 20px;
  color: var(--blue);
}

.mv-card h3 { 
  font-size: 1.4rem; 
  color: var(--text); 
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--navy), var(--blue-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mv-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; }

/* ===== EXTRA FEES ===== */
.extra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ===== FOOTER ===== */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,0.6);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .fb-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-brand .fb-top img { height: 50px; width: auto; border-radius: 8px; }

.footer-brand .fb-top h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
}

.footer-brand > p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 0;
  color: rgba(255,255,255,0.5);
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  transition: all 0.2s;
  text-decoration: none;
}

.footer-links a:hover { color: #60a5fa; padding-left: 4px; }

.footer-contact p {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
}

.footer-contact p strong { color: rgba(255,255,255,0.75); min-width: 50px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin-top: 48px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

/* ===== WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover { transform: scale(1.1) rotate(-5deg); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 86px;
  right: 24px;
  z-index: 999;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s;
}

.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--blue); transform: translateY(-3px); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .academic-grid { grid-template-columns: 1fr; }
  .fl-grid { grid-template-columns: repeat(2, 1fr); }
  .info-strip { grid-template-columns: repeat(2, 1fr); }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .extra-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-xl);
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; color: var(--text-body) !important; }
  .nav-links a:hover { color: var(--blue) !important; background: var(--blue-light) !important; }
  .nav-links a.active { color: var(--blue) !important; background: var(--blue-light) !important; }
  .nav-links .nav-cta { text-align: center; margin-left: 0; }

  .section { padding: 64px 0; }
  .section-header h2 { font-size: 1.8rem; }

  .hero h1 { font-size: 2.4rem; }
  .hero { min-height: 80vh; }

  .page-hero h1 { font-size: 2.2rem; }
  .page-hero { padding: 110px 0 60px; }

  .stats-grid { gap: 12px; }
  .stat-card .s-num { font-size: 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .contact-split { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { text-align: center; flex-direction: column; gap: 8px; }
  .mv-grid { grid-template-columns: 1fr; }
  .campus-grid { grid-template-columns: 1fr; }
  .fl-grid { grid-template-columns: 1fr; }
  .extra-grid { grid-template-columns: 1fr; }
  .info-strip { grid-template-columns: 1fr; }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .form-box { padding: 24px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .activity-grid { grid-template-columns: 1fr; }
  .classes-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}
