/**
 * SAPNEY PRESCHOOL & DAYCARE - STYLESHEET
 * Premium, clean, mobile-first design
 */

/* ========== FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Nunito:wght@400;600;700;800;900&display=swap');

/* ========== DESIGN TOKENS ========== */
:root {
  --orange: #FF6B35;
  --yellow: #FFD166;
  --green: #4CAF50;
  --red: #EF476F;
  --sky: #4FC3F7;
  --purple: #AB47BC;
  --text: #2D3436;
  --text-light: #636E72;
  --text-muted: #B2BEC3;
  --bg: #FFFFFF;
  --ivory: #FFF9F0;
  --border: #F0EDE8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 12px 40px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --max-width: 1200px;
  --nav-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1200px) { .container { padding: 0 40px; } }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 { font-family: 'Nunito', sans-serif; font-weight: 800; line-height: 1.2; color: var(--text); }
.highlight {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  padding: 12px 24px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  justify-content: center;
  white-space: nowrap;
}
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-primary:hover { background: #e85a28; border-color: #e85a28; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,53,0.3); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-full { width: 100%; }
.btn-whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.btn-whatsapp:hover { background: #20bd5a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.3); }

/* ========== SECTION STYLING ========== */
section { padding: 80px 0; }
@media (min-width: 768px) { section { padding: 100px 0; } }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title { font-size: 2rem; margin-bottom: 16px; }
@media (min-width: 768px) { .section-title { font-size: 2.5rem; } }
.section-subtitle { font-size: 1.05rem; color: var(--text-light); line-height: 1.7; }

/* ================================================================
   NAVIGATION
   ================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition);
  height: var(--nav-height);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}
.logo-text { display: flex; flex-direction: column; }
.logo-sapney {
  font-family: 'Nunito', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--text);
  line-height: 1;
}
.logo-tagline {
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 8px;
}
.hamburger-line {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.nav-toggle.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: #fff;
  padding: calc(var(--nav-height) + 32px) 32px 32px;
  transition: right var(--transition);
  box-shadow: -4px 0 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 32px;
  z-index: 1000;
  overflow-y: auto;
}
.nav-menu.open { right: 0; }
.nav-links { display: flex; flex-direction: column; gap: 4px; }
.nav-link {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--orange); background: rgba(255,107,53,0.06); }
.nav-cta { align-self: flex-start; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    overflow: visible;
  }
  .nav-links { flex-direction: row; gap: 0; }
  .nav-link {
    padding: 8px 14px;
    font-size: 0.9rem;
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 2px;
    background: var(--orange);
    transition: all var(--transition);
    border-radius: 2px;
  }
  .nav-link:hover::after, .nav-link.active::after { left: 14px; right: 14px; }
  .nav-link:hover, .nav-link.active { background: transparent; }
}

/* Mobile overlay backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.nav-backdrop.visible { opacity: 1; pointer-events: auto; }

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--bg) 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.hero-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.floating-element {
  position: absolute;
  font-size: 2rem;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}
.cloud-1 { top: 15%; left: 5%; animation-delay: 0s; }
.star-1 { top: 20%; right: 10%; animation-delay: 1s; font-size: 1.5rem; }
.cloud-2 { bottom: 20%; right: 5%; animation-delay: 2s; }
.star-2 { top: 40%; left: 15%; animation-delay: 3s; font-size: 1rem; }
.flower-1 { bottom: 15%; left: 10%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-12px) rotate(3deg); }
  75% { transform: translateY(8px) rotate(-2deg); }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text { max-width: 560px; text-align: center; }
.admission-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,53,0.1);
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-headline {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
@media (min-width: 768px) { .hero-headline { font-size: 3.2rem; } }
@media (min-width: 1024px) { .hero-headline { font-size: 3.8rem; } }
.hero-description {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}
.hero-programs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.program-tag {
  background: #fff;
  border: 1.5px solid var(--border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hero-image {
  max-width: 520px;
  width: 100%;
}
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-image-decoration {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 3px solid rgba(255,107,53,0.1);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    gap: 60px;
  }
  .hero-text { text-align: left; }
  .hero-programs { justify-content: flex-start; }
  .hero-cta { justify-content: flex-start; }
  .hero-image { max-width: 480px; flex-shrink: 0; }
}

/* ================================================================
   ABOUT SECTION
   ================================================================ */
.about { background: var(--bg); }
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }

.pillar-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent, var(--orange));
}
.pillar-icon { margin-bottom: 20px; }
.pillar-icon-bg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  background: rgba(0,0,0,0.04);
}
.pillar-card:nth-child(1) .pillar-icon-bg { background: rgba(171,71,188,0.1); color: var(--purple); }
.pillar-card:nth-child(2) .pillar-icon-bg { background: rgba(79,195,247,0.1); color: var(--sky); }
.pillar-card:nth-child(3) .pillar-icon-bg { background: rgba(76,175,80,0.1); color: var(--green); }
.pillar-lucide { width: 28px; height: 28px; }
.pillar-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--accent, var(--text));
}
.pillar-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ================================================================
   PROGRAMS SECTION
   ================================================================ */
.programs { background: var(--ivory); }
.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) { .programs-grid { grid-template-columns: repeat(3, 1fr); } }

.program-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.program-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ivory);
}
.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.program-card:hover .program-image img { transform: scale(1.05); }
.program-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.program-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.program-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.program-description {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.program-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.program-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}
.feature-icon { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.program-cta { align-self: flex-start; }

/* Placeholder illustration for programs without images */
.program-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-emoji {
  font-size: 4rem;
  animation: float 4s ease-in-out infinite;
}
.placeholder-emoji.small {
  font-size: 2.5rem;
  position: absolute;
}
.placeholder-emoji.offset { right: -40px; top: -20px; animation-delay: 1.5s; }
.placeholder-emoji.small:not(.offset) { left: -40px; bottom: -10px; animation-delay: 0.8s; }

/* ================================================================
   WHY CHOOSE US
   ================================================================ */
.why-choose { background: var(--bg); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-card-large { grid-column: span 2; }
}
.why-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent, var(--orange));
}
.why-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0,0,0,0.04);
  margin-bottom: 16px;
  color: var(--accent, var(--orange));
}
.why-card:hover .why-icon-wrap { background: var(--accent, var(--orange)); color: #fff; }
.why-icon { width: 24px; height: 24px; }
.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}
.why-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ================================================================
   A DAY AT SAPNEY - TIMELINE
   ================================================================ */
.day-at-sapney { background: var(--ivory); }
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline-line {
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--yellow), var(--orange), var(--red), var(--purple), var(--sky), var(--green));
  border-radius: 3px;
}
.timeline-item {
  position: relative;
  padding-bottom: 32px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--dot-color, var(--orange));
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}
.timeline-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.timeline-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.timeline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--icon-bg, #f5f5f5);
  margin-bottom: 10px;
}
.tl-icon { width: 20px; height: 20px; }
.timeline-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.timeline-card h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.timeline-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-left: 0;
  }
  .timeline-line { display: none; }
  .timeline-dot { display: none; }
  .timeline-item { padding-bottom: 0; }
  .timeline-card {
    height: 100%;
    border-top: 4px solid var(--dot-color, var(--orange));
  }
}
@media (min-width: 1024px) {
  .timeline {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ================================================================
   GALLERY
   ================================================================ */
.gallery { background: var(--bg); }
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}
.gallery-tab {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text-light);
  transition: all var(--transition);
  background: #fff;
}
.gallery-tab:hover, .gallery-tab.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: transform var(--transition);
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item.hidden { display: none; }
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
}
.gallery-placeholder-icon { width: 36px; height: 36px; opacity: 0.5; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.inline-icon { width: 16px; height: 16px; }

/* ================================================================
   EVENTS
   ================================================================ */
.events { background: var(--ivory); }
.event-card {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid var(--border);
  position: relative;
}
.event-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--red), var(--purple), var(--green));
}
.event-decoration {
  display: flex;
  gap: 16px;
  padding: 24px 28px 0;
  font-size: 2rem;
}
.event-content { padding: 20px 28px 28px; }
.event-badge {
  display: inline-block;
  background: rgba(255,107,53,0.1);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.event-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.event-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
@media (min-width: 480px) { .event-details { grid-template-columns: repeat(2, 1fr); } }
.event-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-light);
}
.event-icon { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }
.event-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.event-highlight-tag {
  background: var(--ivory);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
}

/* ================================================================
   ADMISSIONS
   ================================================================ */
.admissions { background: var(--ivory); }
.admissions-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 768px) { .admissions-wrapper { grid-template-columns: 1fr 1fr; gap: 60px; } }

.admissions-info { max-width: 500px; }
.admissions-text {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 28px;
}
.admission-badge-large {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,107,53,0.08);
  border: 2px solid rgba(255,107,53,0.15);
  padding: 16px 22px;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
}
.badge-icon { width: 28px; height: 28px; color: var(--orange); }
.admission-badge-large strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
}
.admission-badge-large span {
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 600;
}
.admissions-programs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.admit-program {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}
.admit-icon { width: 20px; height: 20px; }
.admissions-contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.quick-call {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--orange);
  transition: color var(--transition);
}
.quick-call:hover { color: #e85a28; }
.quick-icon { width: 16px; height: 16px; }

/* Form */
.admissions-form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
}
.form-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.required { color: var(--red); }
.optional { color: var(--text-muted); font-weight: 400; }
.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: all var(--transition);
  background: #fff;
  color: var(--text);
}
.form-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}
.form-input.error { border-color: var(--red); }
.form-input.error:focus { box-shadow: 0 0 0 3px rgba(239,71,111,0.1); }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23636E72' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-textarea { resize: vertical; min-height: 80px; }
.phone-input-wrapper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  overflow: hidden;
}
.phone-input-wrapper:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}
.phone-prefix {
  padding: 12px 10px 12px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  background: #fafafa;
  border-right: 1px solid var(--border);
  user-select: none;
}
.phone-input {
  border: none;
  border-radius: 0;
  padding-left: 10px;
}
.phone-input:focus { box-shadow: none; }
.form-error {
  display: block;
  font-size: 0.8rem;
  color: var(--red);
  margin-top: 4px;
  min-height: 0;
  opacity: 0;
  transition: all var(--transition);
}
.form-error.visible { opacity: 1; min-height: 18px; }
.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 480px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }

.contact-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.contact-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  background: rgba(0,0,0,0.04);
  margin-bottom: 16px;
  color: var(--accent, var(--orange));
}
.contact-icon { width: 24px; height: 24px; }
.contact-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}
.contact-link {
  color: var(--orange);
  font-weight: 600;
  transition: color var(--transition);
}
.contact-link:hover { color: #e85a28; }
.contact-card-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-card-cta .btn { margin-top: 14px; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-brand {}
.footer-logo {
  display: block;
  margin-bottom: 8px;
}
.footer-logo .logo-sapney { font-size: 1.5rem; }
.footer-tagline {
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 4px;
}
.footer-descriptor {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-links h4,
.footer-programs h4,
.footer-contact h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links ul,
.footer-programs ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a,
.footer-programs a {
  font-size: 0.9rem;
  color: var(--text-light);
  transition: color var(--transition);
}
.footer-links a:hover,
.footer-programs a:hover { color: var(--orange); }

.footer-address {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.6;
}
.footer-phones {
  margin-bottom: 12px;
}
.footer-phones a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: color var(--transition);
}
.footer-phones a:hover { color: var(--orange); }
.footer-hours {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-light);
}
.footer-icon { width: 14px; height: 14px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-admission-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ================================================================
   WHATSAPP FLOATING BUTTON
   ================================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all var(--transition);
  animation: pulse-wa 2s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 24px rgba(37,211,102,0.6); }
}

/* ================================================================
   BACK TO TOP
   ================================================================ */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  color: var(--text-light);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ================================================================
   LIGHTBOX
   ================================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.lightbox[hidden] { display: none; }
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: all var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }
.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
}
.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

/* ================================================================
   SCROLL REVEAL ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.reveal-right {
  transform: translateX(30px);
}
.revealed {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .floating-element { animation: none; opacity: 0.2; }
  .whatsapp-float { animation: none; }
}

/* ================================================================
   FOCUS STATES
   ================================================================ */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { box-shadow: 0 0 0 4px rgba(255,107,53,0.25); }

/* ================================================================
   PRINT
   ================================================================ */
@media print {
  .navbar, .whatsapp-float, .back-to-top, .hero-decorations, .lightbox { display: none !important; }
  section { padding: 24px 0; }
  body { font-size: 12pt; }
  .hero { min-height: auto; padding-top: 24px; }
  .btn { border: 1px solid #333; }
}

/* ================================================================
   BODY SCROLL LOCK (for mobile nav)
   ================================================================ */
body.nav-open { overflow: hidden; }
