/* ============================================================
   NAV YUG SENIOR SECONDARY SCHOOL – PREMIUM STYLESHEET v2
   Mobile-First | Conversion-Optimised | Accessible
   ============================================================ */

/* ---- GOOGLE FONTS & RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', 'Inter', sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.7;
  overflow-x: hidden;
  /* Reserve space for mobile sticky bar */
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
  --primary:        #1E3A8A;
  --primary-dark:   #162e73;
  --primary-light:  #3b5fc0;
  --accent:         #16A34A;
  --accent-light:   #22c55e;
  --cta:            #FBBF24;
  --cta-dark:       #d97706;
  --white:          #ffffff;
  --gray-50:        #f8fafc;
  --gray-100:       #f1f5f9;
  --gray-200:       #e2e8f0;
  --gray-300:       #cbd5e1;
  --gray-400:       #94a3b8;
  --gray-600:       #475569;
  --gray-700:       #334155;
  --gray-800:       #1e293b;
  --gradient-primary: linear-gradient(135deg, #1E3A8A 0%, #3b5fc0 100%);
  --gradient-accent:  linear-gradient(135deg, #16A34A 0%, #22c55e 100%);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.07);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.15);
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  30px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- CONTAINER ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   BUTTON SYSTEM
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
/* SVG icon inside .btn */
.btn svg, .btn .call-icon { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(30,58,138,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(30,58,138,0.45); }
.btn-primary:active { transform: translateY(0); }

/* ✅ FIXED CALL BUTTON – clean, no rotation */
.btn-call {
  background: var(--white);
  color: var(--primary);
  border: 2.5px solid rgba(255,255,255,0.6);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-call:hover { background: rgba(255,255,255,0.9); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.btn-call:active { transform: translateY(0); }

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(37,211,102,0.45); }
.btn-whatsapp:active { transform: translateY(0); }
.btn-full { width: 100%; }
.mt-2 { margin-top: 24px; }

/* SVG icon fix – no inherited transform */
.contact-svg-icon { width: 22px; height: 22px; flex-shrink: 0; display: block; }

/* ============================================================
   SECTION SYSTEM
   ============================================================ */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(22,163,74,0.1);
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-label.light { color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.15); }
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--gray-800);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title.white { color: var(--white); }
.section-desc {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 580px;
  margin: 0 auto;
}
.highlight { color: var(--primary); }
.highlight-yellow { color: var(--cta); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.1);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo {
  width: 44px; height: 44px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 15px rgba(30,58,138,0.3);
  flex-shrink: 0;
}
.nav-text { display: flex; flex-direction: column; }
.brand-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  transition: color 0.3s;
}
.navbar.scrolled .brand-name { color: var(--primary); }
.brand-tagline {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
  line-height: 1;
}
.navbar.scrolled .brand-tagline { color: var(--gray-400); }

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition);
}
.navbar.scrolled .nav-link { color: var(--gray-700); }
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.15); }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { color: var(--primary); background: rgba(30,58,138,0.08); }
.nav-cta-btn {
  font-size: 0.85rem !important;
  font-weight: 700;
  color: var(--primary) !important;
  background: var(--cta) !important;
  padding: 9px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(251,191,36,0.4);
  transition: var(--transition);
}
.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251,191,36,0.5);
  background: #f59e0b !important;
}

/* Hide mobile-only nav elements on desktop */
.mobile-nav-header, .mobile-nav-footer { display: none; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .nav-hamburger span { background: var(--primary); }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100svh;
  background: url('SCHOOL.jpg') center center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  padding: 110px 0 80px;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(15,28,80,0.93) 0%,
    rgba(30,58,138,0.82) 45%,
    rgba(22,163,74,0.35) 100%
  );
}
.hero-particles {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  animation: float-particle linear infinite;
}
@keyframes float-particle {
  0%   { transform: translateY(100vh); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-20px); opacity: 0; }
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 50px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(22,163,74,0.5);
  animation: pulse-badge 2.5s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 4px 20px rgba(22,163,74,0.4); }
  50%       { box-shadow: 0 4px 35px rgba(22,163,74,0.75); }
}
.badge-dot {
  width: 9px; height: 9px;
  background: #86efac;
  border-radius: 50%;
  animation: blink-dot 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}
.hero-title {
  font-size: clamp(2.1rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 18px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.35);
  letter-spacing: -0.5px;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.45rem);
  color: rgba(255,255,255,0.92);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 14px;
}
.hero-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  letter-spacing: 0.3px;
}
.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  flex-wrap: wrap;
  gap: 6px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}
.stat-num  { font-size: 1.9rem; font-weight: 900; color: var(--cta); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 0.73rem; color: rgba(255,255,255,0.8); text-align: center; }
.stat-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.2); }
.hero-scroll-indicator {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.55); font-size: 0.72rem; z-index: 2;
  animation: bounce-scroll 2s ease-in-out infinite;
}
@keyframes bounce-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 11px;
  display: flex; justify-content: center; padding-top: 5px;
}
.scroll-wheel {
  width: 3px; height: 7px;
  background: rgba(255,255,255,0.55);
  border-radius: 2px;
  animation: scroll-wheel-anim 1.5s ease-in-out infinite;
}
@keyframes scroll-wheel-anim {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(11px); opacity: 0; }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { background: var(--gradient-primary); padding: 24px 0; }
.trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-size: 0.88rem; font-weight: 500;
}
.trust-icon { font-size: 1.3rem; color: var(--cta); flex-shrink: 0; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-img {
  width: 100%; height: 450px;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}
.about-image-wrapper:hover .about-img { transform: scale(1.04); }
.about-badge-card {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
}
.about-badge-card i { font-size: 1.8rem; color: var(--cta); }
.about-badge-card strong { display: block; font-size: 0.72rem; color: var(--gray-600); }
.about-badge-card span  { font-size: 1.2rem; font-weight: 800; color: var(--primary); }
.about-text { color: var(--gray-600); margin-bottom: 16px; font-size: 0.96rem; line-height: 1.8; }
.about-features { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.about-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; font-weight: 500; color: var(--gray-700);
}
.about-feature i { color: var(--accent); font-size: 1rem; flex-shrink: 0; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section { background: var(--gray-50); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.why-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.why-card:hover::before { transform: scaleX(1); }
.why-card-icon {
  width: 58px; height: 58px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.why-card-icon.blue   { background: rgba(30,58,138,0.1);  color: var(--primary); }
.why-card-icon.green  { background: rgba(22,163,74,0.1);  color: var(--accent); }
.why-card-icon.yellow { background: rgba(251,191,36,0.15); color: var(--cta-dark); }
.why-card-icon.purple { background: rgba(147,51,234,0.1);  color: #7c3aed; }
.why-card-icon.teal   { background: rgba(20,184,166,0.1);  color: #0d9488; }
.why-card-icon.orange { background: rgba(249,115,22,0.1);  color: #ea730c; }
.why-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; }
.why-card p  { font-size: 0.86rem; color: var(--gray-600); line-height: 1.7; }

/* ============================================================
   CLASSES SECTION
   ============================================================ */
.classes-section { background: var(--white); }
.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.class-card {
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: var(--transition);
  border: 2px solid transparent;
}
.class-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.class-card.nursery  { background: linear-gradient(145deg, #fef3c7, #fde68a); border-color: #fbbf24; }
.class-card.primary  { background: linear-gradient(145deg, #dbeafe, #bfdbfe); border-color: #3b82f6; }
.class-card.middle   { background: linear-gradient(145deg, #d1fae5, #a7f3d0); border-color: #10b981; }
.class-card.secondary{ background: linear-gradient(145deg, #ede9fe, #ddd6fe); border-color: #8b5cf6; }
.class-card.arts     { background: linear-gradient(145deg, #fee2e2, #fecaca); border-color: #ef4444; }
.class-card.commerce { background: linear-gradient(145deg, #e0f2fe, #bae6fd); border-color: #0284c7; }
.class-card-icon { font-size: 2.4rem; margin-bottom: 16px; }
.class-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.class-card p  { font-size: 0.84rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 16px; }
.class-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  color: var(--gray-700);
  background: rgba(255,255,255,0.7);
  padding: 3px 14px;
  border-radius: 50px;
  letter-spacing: 0.4px;
}

/* ============================================================
   FACILITIES SECTION
   ============================================================ */
.facilities-section { background: var(--gray-50); }
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.facility-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.facility-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.facility-img-wrapper { position: relative; height: 200px; overflow: hidden; }
.facility-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}
.facility-card:hover .facility-img { transform: scale(1.07); }
.facility-overlay {
  position: absolute; inset: 0;
  background: rgba(30,58,138,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
  font-size: 2.2rem; color: var(--white);
}
.facility-card:hover .facility-overlay { opacity: 1; }
.facility-img-placeholder { display: flex; align-items: center; justify-content: center; }
.playground-bg { background: linear-gradient(135deg, #16a34a 0%, #4ade80 100%); }
.transport-bg  { background: linear-gradient(135deg, #1e3a8a 0%, #60a5fa 100%); }
.cctv-bg       { background: linear-gradient(135deg, #1e293b 0%, #475569 100%); }
.facility-overlay-static {
  font-size: 3.2rem; color: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  transition: transform 0.4s;
}
.facility-card:hover .facility-overlay-static { transform: scale(1.15); }
.facility-info { padding: 20px 22px; }
.facility-info h3 { font-size: 0.97rem; font-weight: 700; color: var(--gray-800); margin-bottom: 6px; }
.facility-info p  { font-size: 0.83rem; color: var(--gray-600); line-height: 1.6; }

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-section { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px;
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-wide { grid-column: span 2; }
.gallery-tall { grid-row: span 2; }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(30,58,138,0.85) 0%, transparent 100%);
  color: var(--white);
  font-size: 0.82rem; font-weight: 600;
  padding: 24px 14px 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section { background: var(--gray-50); }
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.testi-quote { font-size: 1.8rem; color: var(--primary); opacity: 0.2; margin-bottom: 14px; }
.testi-text  {
  font-size: 0.9rem; color: var(--gray-600);
  line-height: 1.8; margin-bottom: 22px; font-style: italic;
}
.testi-author {
  display: flex; align-items: center;
  gap: 12px; margin-bottom: 14px;
}
.testi-avatar {
  width: 48px; height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 0.88rem; flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.93rem; color: var(--gray-800); }
.testi-author span   { font-size: 0.78rem; color: var(--gray-400); }
.testi-stars { color: #f59e0b; font-size: 0.85rem; letter-spacing: 2px; }

/* ============================================================
   ADMISSION SECTION
   ============================================================ */
.admission-section {
  background: var(--gradient-primary);
  position: relative; overflow: hidden;
}
.admission-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.admission-section::after {
  content: '';
  position: absolute;
  bottom: -160px; left: -80px;
  width: 380px; height: 380px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  pointer-events: none;
}
.admission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 2;
}
.admission-desc { color: rgba(255,255,255,0.8); margin-bottom: 32px; font-size: 0.95rem; line-height: 1.8; }
.admission-highlights { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.adm-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
}
.adm-highlight i {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--cta);
  flex-shrink: 0;
}
.adm-highlight strong { display: block; font-size: 0.88rem; }
.adm-highlight span   { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.adm-urgency {
  display: inline-flex;
  align-items: center; gap: 8px;
  background: rgba(251,191,36,0.18);
  border: 1px solid rgba(251,191,36,0.4);
  color: var(--cta);
  font-size: 0.85rem; font-weight: 600;
  padding: 11px 20px;
  border-radius: 50px;
  animation: pulse-urgency 2s ease-in-out infinite;
}
@keyframes pulse-urgency {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251,191,36,0.35); }
  50%       { box-shadow: 0 0 0 10px rgba(251,191,36,0); }
}
.adm-urgency i { color: #f97316; }

/* Form Card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 34px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}
.form-title    { font-size: 1.4rem; font-weight: 800; color: var(--gray-800); margin-bottom: 6px; }
.form-subtitle { font-size: 0.84rem; color: var(--gray-400); margin-bottom: 24px; }
.admission-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--gray-700); }
.input-wrapper {
  position: relative;
  display: flex; align-items: center;
}
.input-wrapper i {
  position: absolute; left: 14px;
  color: var(--gray-400); font-size: 0.88rem;
  pointer-events: none; z-index: 1;
}
.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
}
.input-wrapper textarea { resize: vertical; min-height: 76px; }
.input-wrapper select { cursor: pointer; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 44px;
  align-items: start;
}
.contact-info-col { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; gap: 16px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--primary); transform: translateX(4px); box-shadow: var(--shadow-md); }
.contact-icon {
  width: 48px; height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); flex-shrink: 0;
}
/* SVG icon inside contact-icon */
.contact-icon svg { width: 22px; height: 22px; }
.contact-icon i { font-size: 1.15rem; }
.contact-details h4 { font-size: 0.88rem; font-weight: 700; color: var(--gray-800); margin-bottom: 4px; }
.contact-details p  { font-size: 0.83rem; color: var(--gray-600); line-height: 1.6; }
.contact-phone-link {
  display: block; font-size: 0.9rem; font-weight: 600;
  color: var(--primary); transition: color 0.3s;
}
.contact-phone-link:hover { color: var(--accent); }
.contact-wa-buttons { display: flex; flex-direction: column; gap: 10px; }
.map-wrapper {
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--gray-200);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0f172a; color: rgba(255,255,255,0.75); }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 44px;
  padding: 64px 0 48px;
}
.footer-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.footer-logo > span { font-size: 2.2rem; }
.footer-logo strong { display: block; font-size: 0.95rem; color: var(--white); font-weight: 700; }
.footer-logo div span { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.footer-desc { font-size: 0.855rem; line-height: 1.8; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--transition);
}
.social-link.wa    { background: #25d366; color: var(--white); }
.social-link.phone { background: var(--primary); color: var(--white); }
.social-link:hover { transform: translateY(-4px) scale(1.1); }
.footer-links-col h4, .footer-contact-col h4 { color: var(--white); font-size: 0.97rem; font-weight: 700; margin-bottom: 18px; }
.footer-links-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-links-col ul li a { font-size: 0.855rem; color: rgba(255,255,255,0.6); transition: color 0.3s; }
.footer-links-col ul li a:hover { color: var(--cta); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact-item i { color: var(--cta); margin-top: 3px; font-size: 0.88rem; flex-shrink: 0; }
.footer-contact-item span { font-size: 0.855rem; }
.footer-contact-item a {
  display: block; font-size: 0.855rem;
  color: rgba(255,255,255,0.6); transition: color 0.3s;
}
.footer-contact-item a:hover { color: var(--cta); }
.adm-badge-footer {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(251,191,36,0.15);
  border: 1px solid rgba(251,191,36,0.3);
  color: var(--cta); font-size: 0.78rem; font-weight: 700;
  padding: 7px 16px; border-radius: 50px; margin-top: 8px;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ============================================================
   FLOATING ELEMENTS
   ============================================================ */
.float-wa {
  position: fixed;
  bottom: 32px; right: 28px;
  width: 58px; height: 58px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--white);
  z-index: 990;
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: wa-pulse 2.5s ease-in-out infinite;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 28px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 6px 28px rgba(37,211,102,0.5), 0 0 0 14px rgba(37,211,102,0); }
}
.float-wa:hover { transform: scale(1.1) rotate(10deg); }
.float-wa-tooltip {
  position: absolute;
  right: 70px;
  background: var(--gray-800);
  color: var(--white); font-size: 0.75rem; font-weight: 600;
  padding: 6px 12px; border-radius: 8px;
  white-space: nowrap;
  opacity: 0; transform: translateX(10px);
  transition: var(--transition); pointer-events: none;
}
.float-wa-tooltip::after {
  content: '';
  position: absolute; right: -6px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0; border-style: solid;
  border-width: 5px 0 5px 6px;
  border-color: transparent transparent transparent var(--gray-800);
}
.float-wa:hover .float-wa-tooltip { opacity: 1; transform: translateX(0); }

.back-to-top {
  position: fixed;
  bottom: 108px; right: 30px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: var(--white); border: none;
  border-radius: 12px; font-size: 0.95rem; cursor: pointer;
  z-index: 999; box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0; transform: translateY(20px);
  -webkit-tap-highlight-color: transparent;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-light); transform: translateY(-3px); }

/* ============================================================
   MOBILE STICKY CTA BAR
   ============================================================ */
.mobile-sticky-cta {
  display: none; /* Hidden on desktop, shown via media query */
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  border-top: 1px solid var(--gray-200);
  padding: 10px 16px;
  gap: 8px;
  align-items: center;
  justify-content: stretch;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  /* Added: Initial hidden state for scroll-reveal logic */
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  pointer-events: none;
}
.mobile-sticky-cta.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-cta-call,
.mobile-cta-apply,
.mobile-cta-wa {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: var(--radius-md);
  font-size: 0.72rem; font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  text-align: center;
}
.mobile-cta-call svg { flex-shrink: 0; }
.mobile-cta-call {
  background: rgba(30,58,138,0.08);
  color: var(--primary);
}
.mobile-cta-call:hover, .mobile-cta-call:active { background: rgba(30,58,138,0.15); transform: scale(0.97); }
.mobile-cta-apply {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(30,58,138,0.3);
}
.mobile-cta-apply i { font-size: 1.2rem; }
.mobile-cta-apply:hover, .mobile-cta-apply:active { opacity: 0.9; transform: scale(0.97); }
.mobile-cta-wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,0.25);
}
.mobile-cta-wa i { font-size: 1.2rem; }
.mobile-cta-wa:hover, .mobile-cta-wa:active { opacity: 0.9; transform: scale(0.97); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.animate-fade-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.8s forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE – TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .why-grid          { grid-template-columns: repeat(2, 1fr); }
  .classes-grid      { grid-template-columns: repeat(2, 1fr); }
  .facilities-grid   { grid-template-columns: repeat(2, 1fr); }
  .testimonials-track{ grid-template-columns: 1fr 1fr; }
  .footer-top        { grid-template-columns: 1fr 1fr; gap: 36px; }
  .gallery-grid      { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-wide      { grid-column: span 2; }
  .gallery-tall      { grid-row: span 1; }
}

/* ============================================================
   RESPONSIVE – MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Reserve space for sticky bar */
  body { padding-bottom: 74px; }

  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }

  /* Nav – show hamburger, hide desktop links */
  /* Nav – Mobile Menu Overlay Improvements */
  .nav-hamburger { 
    display: flex;
    transition: var(--transition);
  }
  .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    width: 100%; height: 100svh;
    background: linear-gradient(165deg, rgba(15,23,42,1) 0%, rgba(30,58,138,1) 100%);
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Packed to center */
    gap: 4px; /* Tighter gap */
    z-index: 1000;
    padding: 60px 30px 40px; /* Reduced padding */
    
    /* Animation: Slide from Right */
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    overflow-y: auto;
    pointer-events: none;
  }
  .nav-links.open { 
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .mobile-nav-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px; /* Reduced */
    text-align: center;
    width: 100%;
    opacity: 0; transform: translateY(-20px);
    transition: all 0.5s ease 0.1s;
  }
  .nav-links.open .mobile-nav-header { opacity: 1; transform: translateY(0); }
  
  .nav-links li { width: 100%; text-align: center; }
  
  .nav-link {
    font-size: 1.25rem !important; /* Slightly smaller */
    font-weight: 600 !important;
    color: rgba(255,255,255,0.8) !important;
    padding: 10px 0 !important; /* Tighter */
    display: block;
    border-radius: 0 !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    opacity: 0; transform: translateX(30px);
  }
  .nav-links.open .nav-link { 
    opacity: 1; transform: translateX(0);
  }
  
  .nav-link:active, .nav-link.active {
    color: var(--cta) !important;
    background: transparent !important;
  }
  
  .nav-cta-btn {
    display: inline-block !important;
    width: auto !important;
    min-width: 180px;
    margin-top: 14px; /* Tighter */
    font-size: 1rem !important;
    opacity: 0; transform: translateY(20px);
    transition: all 0.5s ease;
  }
  .nav-links.open .nav-cta-btn { opacity: 1; transform: translateY(0); }

  .mobile-nav-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; /* Tighter */
    margin-top: 30px; /* Instead of auto, use fixed margin to keep it close */
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 80%;
    opacity: 0; transform: translateY(20px);
    transition: all 0.5s ease 0.6s;
  }
  .nav-links.open .mobile-nav-footer { opacity: 1; transform: translateY(0); }
  
  .mobile-nav-footer p { font-size: 0.72rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1px; }
  .mobile-nav-contact {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    display: flex; align-items: center; gap: 6px;
  }
  .mobile-nav-contact i { color: var(--cta); font-size: 0.8rem; }
  .mobile-nav-social {
    display: flex; gap: 14px; margin-top: 4px;
  }
  .mobile-nav-social a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.1rem;
    transition: var(--transition);
  }
  .mobile-nav-social a:active { background: var(--cta); color: var(--primary); }
  
  /* Staggered entry for links */
  .nav-links li:nth-child(1) .nav-link { transition-delay: 0.15s; }
  .nav-links li:nth-child(2) .nav-link { transition-delay: 0.20s; }
  .nav-links li:nth-child(3) .nav-link { transition-delay: 0.25s; }
  .nav-links li:nth-child(4) .nav-link { transition-delay: 0.30s; }
  .nav-links li:nth-child(5) .nav-link { transition-delay: 0.35s; }
  .nav-links li:nth-child(6) .nav-link { transition-delay: 0.40s; }
  .nav-links li:nth-child(7) .nav-link { transition-delay: 0.45s; }
  .nav-links li:nth-child(8) .nav-link { transition-delay: 0.50s; }
  /* Hamburger always shows white */
  .nav-hamburger span { background: var(--white) !important; }

  /* Hero */
  .hero { padding: 90px 0 50px; }
  .hero-title { font-size: 2.1rem; line-height: 1.15; margin-bottom: 20px; }
  .hero-subtitle { font-size: 1.05rem; margin-bottom: 12px; }
  .hero-desc { font-size: 0.82rem; line-height: 1.6; margin-bottom: 32px; opacity: 0.85; }
  .hero-badge { font-size: 0.78rem; padding: 7px 16px; margin-bottom: 20px; }
  
  .hero-btns { 
    flex-direction: column; 
    align-items: stretch; 
    gap: 12px; 
    max-width: 340px; 
    margin: 0 auto 48px;
  }
  .hero-btns .btn { width: 100%; font-size: 0.95rem; padding: 14px 22px; }
  
  .hero-stats { 
    padding: 16px 12px; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 16px;
    background: rgba(255,255,255,0.08); 
  }
  .stat-item { padding: 0; border: none; }
  .stat-num  { font-size: 1.55rem; }
  .stat-label { font-size: 0.68rem; }
  .stat-divider { display: none; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-img  { height: 280px; }

  /* Why / Classes / Facilities */
  .why-grid, .classes-grid, .facilities-grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-wide, .gallery-tall { grid-column: auto; grid-row: auto; }
  .gallery-grid .gallery-wide { grid-column: span 2; height: 200px; }
  .gallery-item { height: 160px; }

  /* Testimonials */
  .testimonials-track { grid-template-columns: 1fr; }

  /* Admission */
  .admission-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-card      { padding: 28px 20px; }
  .form-title     { font-size: 1.2rem; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .map-wrapper  { height: 300px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 36px; }

  /* Hide desktop floaters on mobile (replaced by sticky bar) */
  .float-wa    { display: none; }
  .back-to-top { right: 16px; bottom: 88px; }

  /* Show mobile sticky CTA */
  .mobile-sticky-cta { display: flex; }

  /* Trust bar – 2 column grid on mobile */
  .trust-grid { 
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 14px;
    justify-content: center;
  }
  .trust-item { font-size: 0.82rem; }
}

/* ============================================================
   RESPONSIVE – SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.75rem; letter-spacing: -0.3px; }
  .hero-desc  { font-size: 0.82rem; }
  .hero-stats {
    flex-direction: column; gap: 12px;
    padding: 16px 20px;
  }
  .stat-divider { width: 60%; height: 1px; }
  .stat-item { flex-direction: row; gap: 10px; align-items: baseline; }
  .stat-num  { font-size: 1.5rem; }
  .stat-label { font-size: 0.78rem; }

  .section-title { font-size: 1.55rem; }

  .why-card, .testimonial-card { padding: 24px 20px; }
  .facility-img-wrapper { height: 170px; }
  .form-card { padding: 22px 16px; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .gallery-wide { grid-column: auto; height: 200px; }
  .gallery-item { height: 190px; }

  /* Tighter mobile CTA */
  .mobile-cta-call, .mobile-cta-apply, .mobile-cta-wa { font-size: 0.68rem; padding: 10px 4px; }
  .mobile-sticky-cta { padding: 9px 12px; }
  
  .back-to-top { bottom: 92px; width: 42px; height: 42px; right: 12px; }

  /* Contact */
  .contact-card { flex-direction: column; gap: 10px; }
  .contact-icon { width: 40px; height: 40px; font-size: 1.1rem; }
}

/* ============================================================
   VERY SMALL (max 360px)
   ============================================================ */
@media (max-width: 360px) {
  .hero-title { font-size: 1.55rem; }
  .brand-name { font-size: 0.82rem; }
  .brand-tagline { display: none; }
  .nav-logo { width: 38px; height: 38px; font-size: 1.1rem; }
}