/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: 'Quicksand', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ─── Nav ─── */
.nav-fixed {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 253, 247, 0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(5, 150, 105, 0.1);
  transition: box-shadow 0.3s ease;
}
.nav-fixed.scrolled { box-shadow: 0 4px 30px rgba(5, 150, 105, 0.1); }
.h-18 { height: 72px; }

.nav-link { position: relative; }
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: #059669; border-radius: 2px; transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ─── Buttons ─── */
.btn-primary {
  background: #059669; color: #fff; border-radius: 9999px; padding: 0.75rem 2rem;
  font-weight: 700; display: inline-flex; align-items: center; gap: 0.5rem;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-primary:hover { background: #047857; box-shadow: 0 10px 40px rgba(5,150,105,0.3); transform: translateY(-2px); }

.btn-secondary {
  background: transparent; color: #047857; border-radius: 9999px; padding: 0.75rem 2rem;
  font-weight: 700; display: inline-flex; align-items: center; gap: 0.5rem;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-secondary:hover { transform: translateY(-2px); }

/* ─── Hero ─── */
.hero-section {
  background: linear-gradient(135deg, #FFFDF7 0%, #FFF9ED 50%, #ecfdf5 100%);
  position: relative; min-height: 100vh;
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; pointer-events: none;
}
.blob-1 { width: 500px; height: 500px; background: #a7f3d0; top: -100px; right: -100px; }
.blob-2 { width: 350px; height: 350px; background: #ffe9c0; bottom: 50px; left: -80px; }
.blob-3 { width: 200px; height: 200px; background: #d1fae5; top: 40%; left: 30%; }

.hero-img-wrapper { position: relative; z-index: 1; }
.hero-img { aspect-ratio: 640/720; }
.hero-float-card { z-index: 2; }
.card-float-1 { animation: float1 4s ease-in-out infinite; }
.card-float-2 { animation: float2 5s ease-in-out infinite; }

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

/* ─── About ─── */
.about-images { position: relative; }
.about-img-main { position: relative; z-index: 1; }
.about-img-secondary { width: 200px; height: 150px; z-index: 2; }
.about-exp-badge { z-index: 3; }
.about-img { aspect-ratio: 560/420; }
.about-img-secondary .about-img { aspect-ratio: 260/200; }

/* ─── Programs ─── */
.program-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.program-img { transition: transform 0.5s ease; }

/* ─── Why Us ─── */
.why-card { transition: transform 0.3s ease, background 0.3s ease; }
.why-card:hover { transform: translateY(-4px); }

/* ─── Gallery ─── */
.gallery-item { cursor: default; overflow: hidden; }
.gallery-img { transition: transform 0.5s ease; }
.gallery-item:hover .gallery-img { transform: scale(1.05); }

/* ─── FAQ ─── */
.faq-item { transition: box-shadow 0.3s ease; }
.faq-item:hover { box-shadow: 0 4px 20px rgba(5,150,105,0.08); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-content.open { max-height: 300px; }

/* ─── Inputs ─── */
.input-field {
  border: 2px solid #d1fae5; border-radius: 12px; padding: 0.75rem 1rem;
  font-family: 'Quicksand', sans-serif; font-size: 0.95rem; color: #064e3b;
  background: #fff; width: 100%; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.input-field::placeholder { color: #9ca3af; }
.input-field:focus { border-color: #059669; box-shadow: 0 0 0 4px rgba(5,150,105,0.1); }

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Mobile Menu ─── */
.mobile-menu { border-bottom: 1px solid rgba(5,150,105,0.1); }
.mobile-link { display: block; padding: 0.5rem 0; border-bottom: 1px solid rgba(5,150,105,0.08); }
.mobile-link:last-of-type { border-bottom: none; }

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
</style>
