:root {
  --coral: #FF6B6B;
  --coral-dark: #E85D5D;
  --sunny: #FFD93D;
  --sunny-dark: #F0C929;
  --mint: #6BCB77;
  --mint-dark: #5AB866;
  --sky: #4D96FF;
  --sky-dark: #3B7DD9;
  --lavender: #A29BFE;
  --lavender-dark: #8B82EE;
  --pink: #FD79A8;
  --peach: #FFB347;
  --bg-warm: #FFF8E7;
  --bg-light: #F0F9FF;
  --bg-mint: #F0FFF0;
  --bg-lavender: #F5F0FF;
  --text-dark: #2D3436;
  --text-gray: #636E72;
  --white: #FFFFFF;
  --shadow: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  background: var(--bg-warm);
}

::selection { background: var(--coral); color: white; }

h1, h2, h3, h4 {
  font-family: 'Fredoka One', cursive;
  letter-spacing: 0.5px;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; z-index: 1; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.6rem;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}
.section-title h2 .c1 { color: var(--coral); }
.section-title h2 .c2 { color: var(--sunny); }
.section-title h2 .c3 { color: var(--mint); }
.section-title h2 .c4 { color: var(--sky); }
.section-title h2 .c5 { color: var(--lavender); }
.section-title h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--coral), var(--sunny), var(--mint), var(--sky), var(--lavender));
  border-radius: 10px;
  margin: 12px auto 0;
}
.section-title p {
  color: var(--text-gray);
  font-size: 1.1rem;
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== PRELOADER ========== */
.preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg-warm), var(--bg-light));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-spinner {
  text-align: center;
}
.preloader-spinner .spinner {
  width: 60px; height: 60px;
  border: 5px solid rgba(255,107,107,0.2);
  border-top-color: var(--coral);
  border-right-color: var(--sunny);
  border-bottom-color: var(--mint);
  border-left-color: var(--sky);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.preloader-spinner p {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  background: linear-gradient(90deg, var(--coral), var(--sunny), var(--mint), var(--sky), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== SCROLL PROGRESS ========== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--sunny), var(--mint), var(--sky), var(--lavender));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ========== LOGO ========== */
.logo-svg {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  padding: 18px 0;
  z-index: 1000;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-text {
  font-family: 'Fredoka One', cursive;
  font-size: 1.4rem;
  color: var(--text-dark);
}
.logo-text span { color: var(--coral); }
.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-gray);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--sunny));
  border-radius: 10px;
  transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--text-dark); }
.nav-links .btn-nav {
  background: linear-gradient(135deg, var(--coral), var(--pink));
  color: white !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
}
.nav-links .btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,107,107,0.4);
}
.nav-links .btn-nav::after { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 10px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF5EE 0%, #FFF8E7 50%, #F0F9FF 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,107,107,0.1), transparent);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(77,150,255,0.1), transparent);
  border-radius: 50%;
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-content h1 .c1 { color: var(--coral); }
.hero-content h1 .c2 { color: var(--sky); }
.hero-content h1 .c3 { color: var(--mint); }
.hero-content p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 30px;
  line-height: 1.8;
  max-width: 500px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 50px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--pink));
  color: white;
  box-shadow: 0 8px 25px rgba(255,107,107,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255,107,107,0.4);
}
.btn-secondary {
  background: var(--white);
  color: var(--coral);
  border: 2px solid var(--coral);
}
.btn-secondary:hover {
  background: var(--coral);
  color: white;
  transform: translateY(-3px);
}
.btn-tertiary {
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  color: white;
  box-shadow: 0 8px 25px rgba(107,203,119,0.3);
}
.btn-tertiary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(107,203,119,0.4);
}
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}
.hero-main-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  position: relative;
  z-index: 2;
  aspect-ratio: 5/4;
  object-fit: cover;
  border: 4px solid white;
}
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-hover);
  z-index: 3;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-card-1 {
  top: -20px;
  right: -20px;
  animation-delay: 0s;
}
.float-card-2 {
  bottom: 30px;
  left: -30px;
  animation-delay: 1s;
}
.float-card-3 {
  bottom: -20px;
  right: 30px;
  animation-delay: 2s;
}
.fc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}
.hero-float-card .label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
}
.hero-float-card .sub {
  font-size: 0.72rem;
  color: var(--text-gray);
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
}
.hero-stats .stat h3 {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--coral), var(--sunny));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stats .stat p {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin: 0;
}

/* ========== SECTION SHAPES ========== */
.section-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* ========== ABOUT ========== */
.about {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}
.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image .main-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 5/4;
  object-fit: cover;
  border: 4px solid var(--sunny);
}
.about-image .exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--sunny), var(--peach));
  color: var(--text-dark);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-hover);
}
.exp-badge h3 { font-size: 1.8rem; }
.exp-badge p { font-size: 0.75rem; font-weight: 500; }
.about-text h2 { font-size: 2.4rem; margin-bottom: 16px; }
.about-text h2 span { color: var(--mint); }
.about-text > p { color: var(--text-gray); line-height: 1.8; margin-bottom: 30px; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
}
.about-feature i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}
.about-feature:nth-child(1) i { background: linear-gradient(135deg, var(--coral), var(--sunny)); }
.about-feature:nth-child(2) i { background: linear-gradient(135deg, var(--sky), var(--lavender)); }
.about-feature:nth-child(3) i { background: linear-gradient(135deg, var(--mint), var(--sky)); }
.about-feature:nth-child(4) i { background: linear-gradient(135deg, var(--pink), var(--lavender)); }
.about-feature span { font-weight: 600; font-size: 0.9rem; }

/* ========== PROGRAMS ========== */
.programs {
  padding: 100px 0;
  background: var(--bg-light);
  position: relative;
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.program-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
}
.program-card:nth-child(1)::before { background: linear-gradient(90deg, var(--coral), var(--sunny)); }
.program-card:nth-child(2)::before { background: linear-gradient(90deg, var(--sky), var(--lavender)); }
.program-card:nth-child(3)::before { background: linear-gradient(90deg, var(--mint), var(--sky)); }
.program-card:nth-child(4)::before { background: linear-gradient(90deg, var(--pink), var(--lavender)); }
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.program-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.6rem;
}
.program-card:nth-child(1) .program-icon { background: linear-gradient(135deg, var(--coral), var(--sunny)); }
.program-card:nth-child(2) .program-icon { background: linear-gradient(135deg, var(--sky), var(--lavender)); }
.program-card:nth-child(3) .program-icon { background: linear-gradient(135deg, var(--mint), var(--sky)); }
.program-card:nth-child(4) .program-icon { background: linear-gradient(135deg, var(--pink), var(--lavender)); }
.program-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.program-card p { font-size: 0.85rem; color: var(--text-gray); line-height: 1.7; }
.program-age {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
}
.program-card:nth-child(1) .program-age { background: #FFE8E8; color: var(--coral); }
.program-card:nth-child(2) .program-age { background: #E8F0FF; color: var(--sky); }
.program-card:nth-child(3) .program-age { background: #E8FFE8; color: var(--mint); }
.program-card:nth-child(4) .program-age { background: #F0E8FF; color: var(--lavender); }

/* ========== ACTIVITIES ========== */
.activities {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.activity-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: var(--white);
}
.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.activity-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}
.activity-card:hover img { transform: scale(1.05); }
.activity-info {
  padding: 20px 24px;
}
.activity-info h4 { font-size: 1.1rem; margin-bottom: 6px; }
.activity-info p { font-size: 0.85rem; color: var(--text-gray); line-height: 1.7; }
.activity-icon-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: white;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

/* ========== FACILITIES ========== */
.facilities {
  padding: 100px 0;
  background: var(--bg-mint);
  position: relative;
}
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.facility-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.facility-img {
  height: 200px;
  overflow: hidden;
}
.facility-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.facility-card:hover .facility-img img { transform: scale(1.1); }
.facility-info { padding: 24px; }
.facility-info h4 { font-size: 1.2rem; margin-bottom: 8px; }
.facility-info p { font-size: 0.88rem; color: var(--text-gray); line-height: 1.7; }

/* ========== GALLERY ========== */
.gallery {
  padding: 100px 0;
  background: var(--bg-lavender);
  position: relative;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  height: 220px;
  transition: var(--transition);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.gallery-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .overlay-text {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  padding: 16px;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 2;
}
.gallery-item:hover .overlay-text {
  opacity: 1;
  transform: translateY(0);
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}
.testimonials-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 0 30px;
  scrollbar-width: none;
}
.testimonials-slider::-webkit-scrollbar { display: none; }
.testimonial-card {
  min-width: 340px;
  flex-shrink: 0;
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 32px;
  scroll-snap-align: start;
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 4rem;
  line-height: 1;
  font-family: 'Georgia', serif;
}
.testimonial-card:nth-child(1)::before { color: var(--coral); opacity: 0.2; }
.testimonial-card:nth-child(2)::before { color: var(--sky); opacity: 0.2; }
.testimonial-card:nth-child(3)::before { color: var(--mint); opacity: 0.2; }
.testimonial-card:nth-child(4)::before { color: var(--lavender); opacity: 0.2; }
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.testimonial-card:nth-child(1) .testimonial-avatar { background: linear-gradient(135deg, var(--coral), var(--sunny)); }
.testimonial-card:nth-child(2) .testimonial-avatar { background: linear-gradient(135deg, var(--sky), var(--lavender)); }
.testimonial-card:nth-child(3) .testimonial-avatar { background: linear-gradient(135deg, var(--mint), var(--sky)); }
.testimonial-card:nth-child(4) .testimonial-avatar { background: linear-gradient(135deg, var(--pink), var(--lavender)); }
.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-gray); }
.testimonial-text { font-size: 0.92rem; color: var(--text-gray); line-height: 1.7; font-style: italic; }

/* ========== ADMISSIONS / CTA ========== */
.admissions {
  padding: 100px 0;
  background: var(--bg-light);
  position: relative;
}
.admissions .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.admissions-content h2 { font-size: 2.2rem; margin-bottom: 16px; }
.admissions-content h2 span { color: var(--coral); }
.admissions-content > p { color: var(--text-gray); line-height: 1.8; margin-bottom: 30px; }
.steps { margin-bottom: 30px; }
.step {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}
.step:nth-child(1) .step-num { background: linear-gradient(135deg, var(--coral), var(--sunny)); }
.step:nth-child(2) .step-num { background: linear-gradient(135deg, var(--sky), var(--lavender)); }
.step:nth-child(3) .step-num { background: linear-gradient(135deg, var(--mint), var(--sky)); }
.step:nth-child(4) .step-num { background: linear-gradient(135deg, var(--pink), var(--lavender)); }
.step-text h4 { font-size: 1rem; margin-bottom: 4px; }
.step-text p { font-size: 0.85rem; color: var(--text-gray); }
.admissions-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.admissions-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  aspect-ratio: 5/4;
  object-fit: cover;
  border: 4px solid var(--sky);
}

/* ========== CTA BANNER ========== */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--coral), var(--pink), var(--lavender));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.cta-banner h2 {
  font-size: 2.4rem;
  color: white;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}
.cta-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}
.cta-banner .btn {
  background: white;
  color: var(--coral);
  position: relative;
  z-index: 2;
}
.cta-banner .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

/* ========== CONTACT ========== */
.contact {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}
.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h2 { font-size: 2.2rem; margin-bottom: 16px; }
.contact-info h2 span { color: var(--sky); }
.contact-info > p { color: var(--text-gray); line-height: 1.8; margin-bottom: 30px; }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-item i {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item:nth-child(1) i { background: linear-gradient(135deg, var(--coral), var(--sunny)); }
.contact-item:nth-child(2) i { background: linear-gradient(135deg, var(--sky), var(--lavender)); }
.contact-item:nth-child(3) i { background: linear-gradient(135deg, var(--mint), var(--sky)); }
.contact-item:nth-child(4) i { background: linear-gradient(135deg, var(--pink), var(--lavender)); }
.contact-item .label { font-weight: 600; font-size: 0.85rem; color: var(--text-dark); }
.contact-item .value { font-size: 0.9rem; color: var(--text-gray); }
.contact-form {
  background: var(--bg-warm);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.4rem; margin-bottom: 20px; }
.contact-form h3 span { color: var(--mint); }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E8E8E8;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(77,150,255,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; }

/* ========== FOOTER ========== */
.footer {
  background: #2D3436;
  color: rgba(255,255,255,0.8);
  padding: 60px 0 30px;
}
.footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-about .logo-text {
  color: white;
  display: block;
  margin-bottom: 12px;
}
.footer-about .logo-text span { color: var(--coral); }
.footer-about p { font-size: 0.85rem; line-height: 1.8; color: rgba(255,255,255,0.6); }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--coral);
  color: white;
  transform: translateY(-3px);
}
.footer h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--coral); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--pink));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(255,107,107,0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  border: none;
  text-decoration: none;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255,107,107,0.5);
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { margin-top: 40px; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .about .container { grid-template-columns: 1fr; text-align: center; }
  .about-features { justify-items: center; }
  .admissions .container { grid-template-columns: 1fr; text-align: center; }
  .admissions-cta { justify-content: center; }
  .step { justify-content: center; }
  .contact .container { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px 32px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: var(--transition);
    gap: 20px;
    align-items: flex-start;
  }
  .nav-links.active { right: 0; }
  .hamburger { display: flex; }
  .hero-content h1 { font-size: 2.4rem; }
  .hero-stats { gap: 24px; }
  .hero-stats .stat h3 { font-size: 1.6rem; }
  .section-title h2 { font-size: 2rem; }
  .programs-grid { grid-template-columns: 1fr; }
  .activities-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item { height: 160px; }
  .about-features { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr; }
  .testimonial-card { min-width: 280px; }
  .float-card-1, .float-card-2, .float-card-3 { display: none; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .contact-form { padding: 24px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item { height: 140px; }
  .testimonial-card { min-width: 260px; }
}
