/* ===================================================
   SARASWATI CLASSES - Main Stylesheet
   Blue + White + Orange Academic Theme
=================================================== */

:root {
  --blue-dark:   #0a2a6e;
  --blue-main:   #1a4aad;
  --blue-light:  #2563eb;
  --blue-pale:   #dbeafe;
  --orange:      #f97316;
  --orange-dark: #ea580c;
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-600:    #475569;
  --gray-800:    #1e293b;
  --text-dark:   #0f172a;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.12);
  --shadow-md:   0 4px 16px rgba(10,42,110,.12);
  --shadow-lg:   0 8px 32px rgba(10,42,110,.18);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  all .3s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }

/* ── Utility ──────────────────────────────────── */
.section-pad  { padding: 80px 0; }
.section-sm   { padding: 50px 0; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.25;
}
.section-sub {
  font-size: .95rem;
  color: var(--gray-600);
  max-width: 580px;
}
.badge-accent {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.divider-bar {
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--blue-light));
  border-radius: 4px;
  margin: 12px 0 20px;
}
.divider-bar.center { margin: 12px auto 20px; }

.btn-primary-custom {
  background: linear-gradient(135deg, var(--blue-main), var(--blue-light));
  color: #fff;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,74,173,.35);
  color: #fff;
}
.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,115,22,.4);
  color: #fff;
}
.btn-outline-custom {
  background: transparent;
  color: var(--blue-main);
  padding: 11px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid var(--blue-main);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-custom:hover {
  background: var(--blue-main);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  padding: 11px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid rgba(255,255,255,.7);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: #fff;
}

/* ── Scroll Animation ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── Navbar ───────────────────────────────────── */
#mainNav {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0;
  transition: var(--transition);
  z-index: 1000;
}
#mainNav.scrolled {
  box-shadow: var(--shadow-md);
}
.nav-top-bar {
  background: var(--blue-dark);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  padding: 6px 0;
}
.nav-top-bar a { color: rgba(255,255,255,.85); }
.nav-top-bar a:hover { color: #fff; }

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.logo-text .brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.1;
  letter-spacing: -.01em;
}
.logo-text .brand-tag {
  font-size: .65rem;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-link-custom {
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-800) !important;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-link-custom:hover::after,
.nav-link-custom.active::after { transform: scaleX(1); }
.nav-link-custom:hover,
.nav-link-custom.active { color: var(--blue-main) !important; }

.nav-enroll-btn {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff !important;
  padding: 8px 22px !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: .85rem;
}
.nav-enroll-btn:hover { 
  box-shadow: 0 4px 14px rgba(249,115,22,.4);
  transform: translateY(-1px);
}
.nav-enroll-btn::after { display: none; }

/* ── Hero ─────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-main) 50%, #1e5bc6 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: .08;
  background: var(--white);
}
.hero-shapes .s1 { width: 420px; height: 420px; top: -150px; right: -80px; }
.hero-shapes .s2 { width: 280px; height: 280px; bottom: -100px; left: -60px; }
.hero-shapes .s3 { width: 180px; height: 180px; bottom: 80px; right: 180px; }

.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.hero-hindi {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  background: linear-gradient(90deg, #fbbf24, var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
}
.hero-desc {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.75;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.hero-tag {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.hero-tag:hover { background: rgba(255,255,255,.22); }
.hero-tag i { color: var(--orange); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.hero-stat { color: rgba(255,255,255,.9); }
.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 2px;
}
.hero-stat .lbl { font-size: .78rem; color: rgba(255,255,255,.65); }

/* Hero visual panel */
.hero-visual {
  position: relative;
  z-index: 2;
}
.hero-card-stack { position: relative; }
.hero-main-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: #fff;
}
.hero-main-card .card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.floating-badge {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  animation: float 3s ease-in-out infinite;
}
.floating-badge.fb1 { top: -16px; right: -16px; animation-delay: 0s; }
.floating-badge.fb2 { bottom: -16px; left: -16px; animation-delay: 1.5s; }
.floating-badge .fb-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.floating-badge .fb-icon.green { background: #dcfce7; color: #16a34a; }
.floating-badge .fb-icon.orange { background: #fff7ed; color: var(--orange); }
.floating-badge .fb-text .val { font-size: .95rem; font-weight: 700; color: var(--text-dark); line-height: 1; }
.floating-badge .fb-text .key { font-size: .7rem; color: var(--gray-600); }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Quick Highlights Bar ─────────────────────── */
.highlights-bar {
  background: var(--blue-dark);
  padding: 18px 0;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 500;
  padding: 6px 0;
}
.highlight-item i { color: var(--orange); font-size: 1.1rem; }

/* ── Stats Section ────────────────────────────── */
.stats-section { background: var(--gray-50); }
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat-card .icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}
.stat-card .icon.blue { background: var(--blue-pale); color: var(--blue-main); }
.stat-card .icon.orange { background: #fff7ed; color: var(--orange); }
.stat-card .icon.green { background: #dcfce7; color: #16a34a; }
.stat-card .icon.purple { background: #f3e8ff; color: #7c3aed; }
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: .85rem; color: var(--gray-600); font-weight: 500; }

/* ── About Section ────────────────────────────── */
.about-section { background: var(--white); }
.about-img-wrapper {
  position: relative;
  padding: 20px;
}
.about-img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--blue-pale), #e0f2fe);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-main);
  font-size: 6rem;
  overflow: hidden;
}
.about-exp-badge {
  position: absolute;
  bottom: 0; right: 0;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-exp-badge .years { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.about-exp-badge .yrs-text { font-size: .75rem; font-weight: 500; opacity: .9; }

.feature-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.feature-item .fi-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue-pale);
  color: var(--blue-main);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.feature-item:hover .fi-icon {
  background: var(--blue-main);
  color: #fff;
}
.feature-item .fi-title { font-weight: 600; font-size: .95rem; color: var(--blue-dark); margin-bottom: 2px; }
.feature-item .fi-desc { font-size: .83rem; color: var(--gray-600); }

/* ── Courses Section ──────────────────────────── */
.courses-section { background: var(--gray-50); }
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  height: 100%;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}
.course-card-header {
  padding: 28px 24px 20px;
  position: relative;
}
.course-card-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.course-card-header.blue::before { background: linear-gradient(90deg, var(--blue-main), var(--blue-light)); }
.course-card-header.orange::before { background: linear-gradient(90deg, var(--orange), var(--orange-dark)); }
.course-card-header.green::before { background: linear-gradient(90deg, #16a34a, #22c55e); }
.course-card-header.purple::before { background: linear-gradient(90deg, #7c3aed, #a855f7); }

.cc-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.cc-icon.blue { background: var(--blue-pale); color: var(--blue-main); }
.cc-icon.orange { background: #fff7ed; color: var(--orange); }
.cc-icon.green { background: #dcfce7; color: #16a34a; }
.cc-icon.purple { background: #f3e8ff; color: #7c3aed; }

.course-card-body { padding: 0 24px 24px; }
.course-tag {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue-main);
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Why Choose Us ────────────────────────────── */
.why-section { background: var(--white); }
.why-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  background: var(--white);
}
.why-card:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.why-card:hover .wc-title { color: #fff; }
.why-card:hover .wc-desc { color: rgba(255,255,255,.75); }
.why-card:hover .wc-icon { background: rgba(255,255,255,.1); color: var(--orange); }
.wc-icon {
  width: 68px; height: 68px;
  border-radius: var(--radius);
  background: var(--blue-pale);
  color: var(--blue-main);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}
.wc-title { font-size: 1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 8px; }
.wc-desc { font-size: .83rem; color: var(--gray-600); line-height: 1.65; }

/* ── Scholarship Banner ───────────────────────── */
.scholarship-banner {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.scholarship-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.scholarship-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.schol-pct {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}

/* ── Testimonials ─────────────────────────────── */
.testimonials-section { background: var(--gray-50); }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  height: 100%;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 5rem;
  color: var(--blue-pale);
  font-family: Georgia, serif;
  line-height: 1;
}
.t-rating { color: #fbbf24; margin-bottom: 12px; }
.t-text { font-size: .88rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 20px; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1rem;
}
.t-name { font-weight: 600; font-size: .9rem; color: var(--blue-dark); }
.t-class { font-size: .75rem; color: var(--gray-600); }

/* ── Contact Section ──────────────────────────── */
.contact-section { background: var(--white); }
.contact-info-card {
  background: var(--blue-dark);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #fff;
  height: 100%;
}
.contact-info-card .ci-item {
  display: flex; gap: 14px; margin-bottom: 24px;
}
.contact-info-card .ci-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 1rem; flex-shrink: 0;
}
.contact-info-card .ci-label { font-size: .75rem; color: rgba(255,255,255,.6); margin-bottom: 2px; }
.contact-info-card .ci-val { font-size: .92rem; color: #fff; font-weight: 500; }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.form-control-custom {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: .9rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  color: var(--text-dark);
  background: var(--white);
  outline: none;
}
.form-control-custom:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-control-custom.error { border-color: #ef4444; }
.form-label-custom { font-size: .83rem; font-weight: 600; color: var(--gray-800); margin-bottom: 6px; display: block; }
.form-group-custom { margin-bottom: 18px; }
.form-error { font-size: .75rem; color: #ef4444; margin-top: 4px; display: none; }
.form-error.show { display: block; }

/* ── Map ──────────────────────────────────────── */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-wrapper iframe { display: block; }

/* ── CTA Section ──────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-main) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}

/* ── Footer ───────────────────────────────────── */
.footer {
  background: #070f2b;
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}
.footer-brand .brand-name { font-size: 1.3rem; font-weight: 700; color: #fff; }
.footer-brand .brand-desc { font-size: .83rem; line-height: 1.75; margin-top: 10px; }
.footer-heading {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-links a:hover { color: var(--orange); padding-left: 4px; }
.footer-links a i { font-size: .7rem; }
.footer-contact-item {
  display: flex; gap: 10px; margin-bottom: 14px;
}
.footer-contact-item i { color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.footer-contact-item span { font-size: .85rem; color: rgba(255,255,255,.7); }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-link {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.08);
}
.social-link:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.footer-bottom {
  background: rgba(0,0,0,.25);
  margin-top: 48px;
  padding: 18px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--orange); }

/* ── Back to Top ──────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 44px; height: 44px;
  background: var(--blue-main);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  border: none;
}
#backToTop.show { opacity: 1; transform: translateY(0); }
#backToTop:hover { background: var(--blue-dark); transform: translateY(-3px); }

/* ── WhatsApp Float ───────────────────────────── */
#whatsappFloat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px; height: 52px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 999;
  transition: var(--transition);
  animation: whatsapp-pulse 2.5s infinite;
}
#whatsappFloat:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
  color: #fff;
}
@keyframes whatsapp-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,.7); }
}

/* ── Page Hero (inner pages) ──────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-main));
  padding: 100px 0 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; position: relative; }
.breadcrumb-custom { position: relative; }
.breadcrumb-custom a { color: rgba(255,255,255,.75); }
.breadcrumb-custom a:hover { color: var(--orange); }
.breadcrumb-sep { color: rgba(255,255,255,.4); margin: 0 8px; }
.breadcrumb-current { color: var(--orange); }

/* ── Faculty Card ─────────────────────────────── */
.faculty-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.faculty-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.faculty-avatar {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.faculty-avatar.blue { background: linear-gradient(135deg, var(--blue-pale), #bfdbfe); color: var(--blue-main); }
.faculty-avatar.orange { background: linear-gradient(135deg, #fff7ed, #fed7aa); color: var(--orange); }
.faculty-avatar.green { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #16a34a; }
.faculty-info { padding: 20px; }
.faculty-name { font-size: 1.1rem; font-weight: 700; color: var(--blue-dark); }
.faculty-subject { font-size: .8rem; color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.faculty-exp { font-size: .83rem; color: var(--gray-600); margin-top: 8px; }
.faculty-tag {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue-main);
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  margin-top: 8px;
}

/* ── Gallery ──────────────────────────────────── */
.gallery-grid { }
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover { transform: scale(1.02); }
.gallery-icon { font-size: 3rem; color: var(--blue-main); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,42,110,.75);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: #fff;
  font-size: 2rem;
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#lightbox.active { display: flex; }
#lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--text-dark);
  text-align: center;
  position: relative;
}
#lightbox-close {
  position: absolute;
  top: -16px; right: -16px;
  width: 36px; height: 36px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  border: none;
}

/* ── Results Toppers ──────────────────────────── */
.topper-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.topper-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
}
.topper-card.gold::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.topper-card.silver::before { background: linear-gradient(90deg, #94a3b8, #cbd5e1); }
.topper-card.bronze::before { background: linear-gradient(90deg, #b45309, #d97706); }
.topper-card.blue::before { background: linear-gradient(90deg, var(--blue-main), var(--blue-light)); }

.topper-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.topper-rank {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem;
  margin: 0 auto 12px;
}
.topper-rank.gold { background: #fef3c7; color: #d97706; }
.topper-rank.silver { background: #f1f5f9; color: #64748b; }
.topper-rank.bronze { background: #fff7ed; color: #b45309; }
.topper-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; color: #fff;
}
.topper-avatar.blue { background: linear-gradient(135deg, var(--blue-main), var(--blue-light)); }
.topper-avatar.orange { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.topper-avatar.green { background: linear-gradient(135deg, #16a34a, #22c55e); }
.topper-score {
  font-size: 2rem; font-weight: 800;
  color: var(--blue-dark); line-height: 1;
}
.topper-score-label { font-size: .75rem; color: var(--gray-600); margin-bottom: 8px; }
.topper-exam-badge {
  display: inline-block;
  font-size: .72rem; font-weight: 600;
  padding: 4px 12px; border-radius: 50px;
  text-transform: uppercase; letter-spacing: .06em;
}
.topper-exam-badge.neet { background: #dcfce7; color: #16a34a; }
.topper-exam-badge.jee { background: var(--blue-pale); color: var(--blue-main); }
.topper-exam-badge.cbse { background: #fff7ed; color: var(--orange); }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 991px) {
  .hero-section { padding-top: 100px; }
  .hero-visual { margin-top: 40px; }
  .hero-stats { gap: 16px; }
}

@media (max-width: 767px) {
  .section-pad { padding: 56px 0; }
  .hero-section { padding-top: 90px; min-height: auto; padding-bottom: 56px; }
  .nav-top-bar { display: none; }
  .scholarship-banner { padding: 36px 24px; }
  .contact-info-card, .contact-form-card { border-radius: var(--radius); }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns a { text-align: center; justify-content: center; }
  .hero-stats { gap: 20px; }
}
