/* ==========================================================================
   Sri Vivekananda Higher Secondary School - Stylesheet
   Fully Mobile Responsive, High Performance & Authentic Aesthetic
   ========================================================================== */

/* --------------------------------------------------
   Root Variables & Color System
   -------------------------------------------------- */
:root {
  --primary: #0e2a5e;
  --primary-dark: #081b3d;
  --primary-light: #1b438b;
  --accent-gold: #d97706;
  --accent-gold-light: #f59e0b;
  --accent-gold-bg: #fffbeb;
  --accent-gold-border: #fde68a;
  
  --secondary: #1e3a8a;
  --emerald: #059669;
  --emerald-bg: #ecfdf5;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --border-card: #cbd5e1;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.1), 0 4px 10px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 30px -5px rgba(14, 42, 94, 0.15);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

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

img, picture {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --------------------------------------------------
   Buttons
   -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  touch-action: manipulation;
  user-select: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 10px rgba(14, 42, 94, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(14, 42, 94, 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-weight: 700;
  border: 1px solid #d97706;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-white);
}

.btn-light {
  background-color: var(--bg-white);
  color: var(--primary);
  font-weight: 700;
}

.btn-light:hover {
  background-color: #f1f5f9;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

.text-gold {
  color: #fbbf24;
}

/* --------------------------------------------------
   Top Notification Bar
   -------------------------------------------------- */
.top-bar {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  font-size: 0.825rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar-left i, .top-bar-right i {
  color: var(--accent-gold-light);
  margin-right: 4px;
}

.top-bar-left .divider {
  color: rgba(255, 255, 255, 0.2);
}

.top-contact-link {
  color: #f1f5f9;
}

.top-contact-link:hover {
  color: var(--accent-gold-light);
}

.badge-admission {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* --------------------------------------------------
   Main Navigation
   -------------------------------------------------- */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.school-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.school-logo {
  width: 52px;
  height: 52px;
  min-width: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.brand-sub {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.brand-loc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after, .nav-link:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--accent-gold);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-header-call {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--emerald-bg);
  color: var(--emerald);
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid #a7f3d0;
}

.mobile-header-call:hover {
  background: var(--emerald);
  color: #ffffff;
}

.mobile-toggle {
  display: none;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  color: var(--primary);
  font-size: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: #f1f5f9;
}

/* Mobile Slide Menu & Backdrop */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 27, 61, 0.6);
  backdrop-filter: blur(3px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: #ffffff;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-brand-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-drawer-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.mobile-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.mobile-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.mobile-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
}

.mobile-links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.mobile-link i {
  color: var(--accent-gold);
  width: 18px;
  font-size: 0.95rem;
}

.mobile-link:hover, .mobile-link:active {
  background-color: #f1f5f9;
  color: var(--primary);
}

.mobile-call-box {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.call-lead {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.call-lead i {
  color: var(--primary);
}

.btn-call {
  background: var(--primary);
  color: white;
  padding: 11px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-call.secondary {
  background: var(--accent-gold);
}

.mobile-drawer-rating {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
  font-weight: 600;
}

.mobile-drawer-rating i {
  color: var(--accent-gold);
}

/* --------------------------------------------------
   Hero Section
   -------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #091a38 0%, #0e2a5e 60%, #163674 100%);
  color: #ffffff;
  padding: 60px 0 80px 0;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fef3c7;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-badge i {
  color: #fbbf24;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 18px;
  color: #ffffff;
}

.hero-description {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 30px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.trust-lbl {
  font-size: 0.75rem;
  color: #94a3b8;
}

.hero-visual {
  position: relative;
  width: 100%;
}

.hero-card-frame {
  position: relative;
  border-radius: var(--radius-lg);
}

.hero-img {
  width: 100%;
  height: clamp(240px, 45vw, 380px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255, 255, 255, 0.12);
}

.hero-floating-badge {
  position: absolute;
  background: #ffffff;
  color: var(--text-dark);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  border: 1px solid var(--border-light);
  z-index: 3;
}

.hero-floating-badge strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
  line-height: 1.2;
}

.hero-floating-badge small {
  color: var(--text-muted);
}

.float-top-right {
  top: -16px;
  right: -10px;
}

.float-bottom-left {
  bottom: -18px;
  left: -10px;
}

.badge-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: var(--radius-full);
  background: var(--emerald-bg);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.badge-icon.gold {
  background: var(--accent-gold-bg);
  color: var(--accent-gold);
}

/* --------------------------------------------------
   Highlights Strip
   -------------------------------------------------- */
.highlights-strip {
  background: #ffffff;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.highlight-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.highlight-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.highlight-info p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* --------------------------------------------------
   Section Structure & Typography
   -------------------------------------------------- */
.section {
  padding: clamp(48px, 8vw, 80px) 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(30px, 5vw, 50px) auto;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.25;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent-gold));
  margin: 12px auto 14px auto;
  border-radius: var(--radius-full);
}

.section-intro {
  font-size: clamp(0.92rem, 2vw, 1.025rem);
  color: var(--text-muted);
}

/* --------------------------------------------------
   About Section
   -------------------------------------------------- */
.about-section {
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(30px, 5vw, 50px);
  align-items: center;
}

.motto-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--accent-gold-bg);
  border: 1px solid var(--accent-gold-border);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.motto-logo {
  width: 65px;
  height: 65px;
  min-width: 65px;
  object-fit: contain;
}

.motto-tagline {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

.motto-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  color: var(--primary);
  font-weight: 700;
  margin: 2px 0;
}

.motto-values {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.body-p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.body-p strong {
  color: var(--primary);
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 30px 0;
}

.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.feat-item i {
  color: var(--emerald);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.about-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.about-image-card {
  position: relative;
}

.main-about-img {
  width: 100%;
  height: clamp(260px, 45vw, 440px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.experience-card {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: var(--primary);
  color: white;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.exp-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
}

.exp-text {
  font-size: 0.825rem;
  font-weight: 600;
  max-width: 120px;
  line-height: 1.3;
}

/* --------------------------------------------------
   Academics Section
   -------------------------------------------------- */
.academics-section {
  background-color: var(--bg-light);
}

.academics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.academic-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.academic-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.featured-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent-gold);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.academic-header {
  padding: 26px 22px 18px 22px;
  border-bottom: 1px solid var(--border-light);
}

.academic-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-gold-bg);
  color: var(--accent-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.academic-card.featured .academic-icon {
  background: #eff6ff;
  color: var(--primary);
}

.academic-class {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.academic-header h3 {
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 700;
}

.academic-body {
  padding: 22px;
  flex-grow: 1;
}

.academic-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.program-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.program-points li {
  font-size: 0.88rem;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.program-points li i {
  color: var(--emerald);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.academic-footer {
  padding: 16px 22px;
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
}

.card-call-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-call-link:hover {
  color: var(--accent-gold);
}

/* --------------------------------------------------
   Facilities Section
   -------------------------------------------------- */
.facilities-section {
  background-color: #ffffff;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.facility-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.facility-img-wrap {
  position: relative;
  height: clamp(190px, 25vw, 220px);
  overflow: hidden;
}

.facility-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.facility-card:hover .facility-img-wrap img {
  transform: scale(1.05);
}

.facility-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(14, 42, 94, 0.88);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

.facility-body {
  padding: 20px 22px;
  flex-grow: 1;
}

.facility-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.facility-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.facility-card.value-card {
  background: linear-gradient(135deg, #0e2a5e, #1a3d7c);
  color: white;
  justify-content: center;
  padding: 30px;
}

.value-card-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.value-card h3 {
  color: white;
  font-size: 1.25rem;
  margin: 0;
}

.value-card p {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.value-card .btn {
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

.value-card .btn:hover {
  background: #ffffff;
  color: var(--primary);
}

/* --------------------------------------------------
   ECI Rating Section
   -------------------------------------------------- */
.rating-section {
  background: linear-gradient(to bottom, var(--bg-light), #ffffff);
  padding: clamp(40px, 6vw, 60px) 0;
}

.rating-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  overflow: hidden;
}

.rating-left {
  background: linear-gradient(135deg, #091a38, #0e2a5e);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(30px, 5vw, 40px);
  text-align: center;
}

.score-number {
  font-size: clamp(3.6rem, 8vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
  color: #fbbf24;
  margin-bottom: 8px;
}

.stars {
  color: #fbbf24;
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.score-label {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #cbd5e1;
}

.rating-right {
  padding: clamp(24px, 5vw, 40px);
}

.rating-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 0.8px;
}

.rating-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  color: var(--primary);
  margin: 6px 0 14px 0;
  line-height: 1.3;
}

.rating-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.rating-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rf-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.rf-icon {
  color: var(--emerald);
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.rf-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.rf-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --------------------------------------------------
   Admissions Section & Form
   -------------------------------------------------- */
.admissions-section {
  background-color: var(--bg-light);
}

.admissions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.admission-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: clamp(22px, 4vw, 30px);
  box-shadow: var(--shadow-sm);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-gold-bg);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.info-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.fee-callout {
  margin-top: 18px;
  padding: 14px;
  background: #eff6ff;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--primary);
}

.fee-callout i {
  margin-top: 2px;
  flex-shrink: 0;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.steps-list li {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.steps-list strong {
  color: var(--primary);
}

.form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow-lg);
}

.form-header {
  margin-bottom: 22px;
}

.badge-quick {
  display: inline-block;
  background: var(--emerald-bg);
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.form-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group label i {
  color: var(--accent-gold);
}

/* Ensure font-size 16px to prevent iOS Safari auto-zooming */
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-main);
  font-size: 16px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  background: #fdfdfd;
  color: var(--text-dark);
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 42, 94, 0.12);
  background: #ffffff;
}

.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.form-alert.success {
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid #a7f3d0;
}

/* --------------------------------------------------
   Contact Section
   -------------------------------------------------- */
.contact-section {
  background-color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.contact-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: clamp(24px, 4vw, 32px) clamp(18px, 3vw, 26px);
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-card.primary-border {
  border-top: 4px solid var(--primary);
}

.contact-card.gold-border {
  border-top: 4px solid var(--accent-gold);
}

.contact-card.info-border {
  border-top: 4px solid var(--emerald);
}

.contact-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.contact-icon.gold {
  background: var(--accent-gold-bg);
  color: var(--accent-gold);
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.contact-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.contact-phone-box {
  margin-bottom: 20px;
}

.phone-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.phone-link {
  font-size: clamp(1.25rem, 3.5vw, 1.45rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.phone-link:hover {
  color: var(--accent-gold);
}

.contact-address {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 16px;
}

.office-timings {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  width: 100%;
}

.call-banner {
  background: linear-gradient(135deg, #091a38, #0e2a5e);
  color: white;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px) clamp(20px, 4vw, 44px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  box-shadow: var(--shadow-lg);
}

.call-banner-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  color: #ffffff;
  margin-bottom: 8px;
}

.call-banner-content p {
  color: #cbd5e1;
  font-size: 0.95rem;
  max-width: 600px;
}

.call-banner-buttons {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

/* --------------------------------------------------
   Footer
   -------------------------------------------------- */
.site-footer {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  padding-top: clamp(40px, 6vw, 60px);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 40px);
  padding-bottom: clamp(30px, 5vw, 50px);
}

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

.footer-logo {
  width: 50px;
  height: 50px;
  min-width: 50px;
  object-fit: contain;
}

.footer-brand h4 {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
}

.footer-brand p {
  font-size: 0.8rem;
  color: #94a3b8;
}

.footer-motto-p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 18px;
  color: #94a3b8;
}

.footer-motto-p em {
  color: #fbbf24;
  font-weight: 500;
}

.footer-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: #fef08a;
}

.footer-col h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2.5px;
  background: var(--accent-gold);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
}

.footer-nav a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #cbd5e1;
}

.footer-info-list li i {
  color: var(--accent-gold);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-info-list a {
  color: #fbbf24;
  font-weight: 600;
}

.footer-info-list a:hover {
  text-decoration: underline;
}

.footer-bottom {
  background-color: #051024;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.825rem;
  color: #64748b;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.designed-note {
  color: #94a3b8;
}

/* --------------------------------------------------
   Floating Quick Action Bar (Mobile Only)
   -------------------------------------------------- */
.floating-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 8px 12px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.16);
  border-top: 1px solid var(--border-light);
  gap: 10px;
}

.quick-call-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  text-align: center;
  touch-action: manipulation;
}

.quick-call-btn.hrsec {
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(14, 42, 94, 0.3);
}

.quick-call-btn.primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

/* --------------------------------------------------
   Responsive Breakpoints & Media Queries
   -------------------------------------------------- */

/* Large Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-trust-row {
    justify-content: center;
  }
  
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image-card {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .academics-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .rating-box {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablets (<= 768px) */
@media (max-width: 768px) {
  /* Hide desktop top-bar to keep mobile header clean */
  .top-bar {
    display: none;
  }
  
  .nav-links, .btn-nav-desktop {
    display: none;
  }
  
  .mobile-header-call {
    display: inline-flex;
  }

  .mobile-toggle {
    display: inline-flex;
  }
  
  .school-logo {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .brand-name {
    font-size: 1.025rem;
  }

  .brand-sub {
    font-size: 0.72rem;
  }

  .brand-loc {
    font-size: 0.68rem;
  }

  .hero-section {
    padding: 36px 0 54px 0;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .facilities-grid {
    grid-template-columns: 1fr;
  }
  
  .admissions-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .call-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }
  
  .call-banner-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  
  .call-banner-buttons .btn {
    width: 100%;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .rating-features-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }

  .floating-call-bar {
    display: flex;
  }
  
  /* Give enough space at bottom of document for sticky call bar */
  body {
    padding-bottom: 64px;
  }
  
  .footer-bottom {
    padding-bottom: 24px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Small Smart Phones (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: var(--radius-md);
  }

  .trust-item {
    width: 100%;
  }

  /* Prevent floating badges from causing overflow on narrow screens */
  .float-top-right {
    top: 10px;
    right: 10px;
    padding: 6px 12px;
  }

  .float-bottom-left {
    bottom: 10px;
    left: 10px;
    padding: 6px 12px;
  }

  .hero-floating-badge {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .motto-box {
    flex-direction: column;
    text-align: center;
    padding: 18px 14px;
  }

  .about-cta {
    flex-direction: column;
  }

  .about-cta .btn {
    width: 100%;
  }

  .experience-card {
    position: static;
    margin-top: 16px;
    border-radius: var(--radius-md);
    justify-content: center;
    text-align: left;
  }

  .btn-block-sm {
    width: 100%;
  }

  .form-card {
    padding: 20px 14px;
  }

  .quick-call-btn span {
    font-size: 0.8rem;
  }
}

/* Ultra Small screens (<= 360px) */
@media (max-width: 360px) {
  .brand-name {
    font-size: 0.95rem;
  }

  .brand-sub {
    font-size: 0.68rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-floating-badge small {
    display: none;
  }
}
