/* ══════════════════════════════════════════
   Active Academy — style.css
   ══════════════════════════════════════════ */

/* ── CSS VARIABLES ── */
:root {
  --ink: #0d1117;
  --cream: #faf7f2;
  --gold: #c9a84c;
  --gold-light: #f0d98a;
  --rust: #c0392b;
  --teal: #1a6b6b;
  --teal-light: #e8f4f4;
  --muted: #6b7280;
  --border: #e2ddd4;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  background: var(--ink);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 3px solid var(--gold);
}
nav .brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}
nav .brand span { color: #fff; }
nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; }
nav ul a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color .2s;
}
nav ul a:hover { color: var(--gold); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #f0f7f4 0%, #faf7f2 50%, #eef4fb 100%);
  color: var(--ink);
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,107,107,.08), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201,168,76,.1), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--teal-light);
  color: var(--teal);
  border: 1.5px solid rgba(26,107,107,.25);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  animation: fadeDown .6s ease both;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  max-width: 700px;
  color: var(--ink);
  animation: fadeDown .7s .1s ease both;
}
.hero h1 em { color: var(--teal); font-style: normal; }
.hero p {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.75;
  animation: fadeDown .8s .2s ease both;
}
.hero .cta-row {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeDown .9s .3s ease both;
}
.btn-gold {
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  padding: .8rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: .95rem;
  letter-spacing: .04em;
  transition: background .2s, transform .2s, box-shadow .2s;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(26,107,107,.25);
}
.btn-gold:hover { background: #145555; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,107,107,.35); }
.btn-outline-gold {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
  font-weight: 600;
  padding: .75rem 1.8rem;
  border-radius: 6px;
  font-size: .95rem;
  letter-spacing: .04em;
  transition: background .2s, color .2s, transform .2s;
  cursor: pointer;
}
.btn-outline-gold:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }

/* Admission image placeholder */
.hero-aside {
  background: #fff;
  border: 2px dashed #c8ddd8;
  border-radius: 12px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #9ab5af;
  gap: .6rem;
  font-size: .9rem;
  box-shadow: 0 4px 24px rgba(26,107,107,.08);
}
.hero-aside i { font-size: 2.8rem; color: #c0d8d3; }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SECTION LABELS ── */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .75rem;
}
.sec-label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--teal);
}
.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--ink);
  line-height: 1.2;
}

/* ── ADMISSION FORM ── */
.admission-section { padding: 5rem 2rem; background: #fff; }
.form-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 32px rgba(0,0,0,.06);
}
.form-card .form-label {
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--ink);
}
.form-card .form-control,
.form-card .form-select {
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font-size: .9rem;
  padding: .65rem 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-card .form-control:focus,
.form-card .form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,107,107,.12);
}
.form-card .form-floating label { font-size: .85rem; color: var(--muted); }
.submit-btn {
  background: var(--teal);
  color: #fff;
  border: none;
  padding: .85rem 2.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .04em;
  transition: background .2s, transform .2s;
  width: 100%;
  cursor: pointer;
}
.submit-btn:hover { background: #145555; transform: translateY(-2px); }

/* ── PAYMENT ── */
.payment-section { padding: 5rem 2rem; background: var(--cream); }
.payment-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.05);
}
.payment-option {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
  background: #fff;
}
.payment-option:hover,
.payment-option.active {
  border-color: var(--teal);
  background: var(--teal-light);
  transform: translateY(-2px);
}
.payment-option i { font-size: 1.8rem; color: var(--teal); }
.payment-option .opt-title { font-weight: 700; font-size: .95rem; color: var(--ink); }
.payment-option .opt-sub  { font-size: .8rem; color: var(--muted); }
.upi-icons { display: flex; gap: .5rem; margin-top: .4rem; }
.upi-badge {
  background: var(--ink);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 3px;
  letter-spacing: .04em;
}
.info-strip {
  background: linear-gradient(135deg, var(--teal), #0f4a4a);
  color: #fff;
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: .9rem;
  line-height: 1.6;
}
.info-strip i { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.pay-form-btn {
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: .85rem 2.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .04em;
  transition: background .2s, transform .2s;
  width: 100%;
  cursor: pointer;
}
.pay-form-btn:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ── SPECIALITIES ── */
.spec-section { padding: 5rem 2rem; background: var(--ink); color: #fff; }
.spec-card {
  background: #1a2130;
  border: 1px solid #2a3444;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  height: 100%;
  transition: border-color .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.spec-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gold);
}
.spec-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.spec-icon { font-size: 2rem; color: var(--gold); margin-bottom: 1rem; }
.spec-card h5 { font-weight: 700; font-size: 1rem; margin-bottom: .5rem; }
.spec-card p  { font-size: .85rem; color: #8a96a4; line-height: 1.6; }
.spec-img-box {
  background: #1a2130;
  border: 2px dashed #2a3444;
  border-radius: 12px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #3a4455;
  gap: .5rem;
  font-size: .85rem;
}
.spec-img-box i { font-size: 3rem; }

/* ── TESTIMONIALS ── */
.testimonial-section { padding: 5rem 2rem; background: #fff; }
.testi-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: box-shadow .2s, transform .2s;
}
.testi-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-4px); }
.testi-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; font-weight: 700;
  flex-shrink: 0;
}
.testi-stars { color: var(--gold); font-size: .9rem; }
.testi-text { font-size: .9rem; color: #555; line-height: 1.7; margin: .8rem 0; }
.testi-name { font-weight: 700; font-size: .9rem; color: var(--ink); }
.testi-role { font-size: .78rem; color: var(--muted); }

/* ── GALLERY ── */
.gallery-section { padding: 5rem 2rem; background: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item {
  background: #e2ddd4;
  border-radius: 8px;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  color: #a09880; font-size: .8rem;
  overflow: hidden;
  transition: transform .2s;
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item i { font-size: 2rem; color: #c0b89a; }

/* ── CONTACT ── */
.contact-section { padding: 5rem 2rem; background: var(--ink); color: #fff; }
.contact-card {
  background: #1a2130;
  border: 1px solid #2a3444;
  border-radius: 12px;
  padding: 2.5rem;
}
.contact-card .form-control,
.contact-card .form-select,
.contact-card textarea {
  background: #0d1117;
  border: 1.5px solid #2a3444;
  color: #fff;
  border-radius: 6px;
  font-size: .9rem;
}
.contact-card .form-control:focus,
.contact-card .form-select:focus,
.contact-card textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
  background: #0d1117;
  color: #fff;
}
.contact-card .form-control::placeholder,
.contact-card textarea::placeholder { color: #4a5568; }
.contact-card label { color: #8a96a4; font-size: .85rem; font-weight: 600; letter-spacing: .04em; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-item i { font-size: 1.3rem; color: var(--gold); flex-shrink: 0; margin-top: .15rem; }
.contact-info-item .ci-title { font-weight: 700; font-size: .9rem; margin-bottom: .15rem; }
.contact-info-item .ci-val  { font-size: .85rem; color: #8a96a4; }
.contact-submit {
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: .85rem 2.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .04em;
  transition: background .2s, transform .2s;
  width: 100%;
  cursor: pointer;
}
.contact-submit:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  background: #080c12;
  color: #6b7280;
  text-align: center;
  padding: 2rem;
  font-size: .85rem;
  border-top: 3px solid var(--gold);
}
footer .brand-f {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--gold);
  display: block;
  margin-bottom: .5rem;
}

/* ── DIVIDER ── */
.section-divider {
  border: none;
  border-top: 2px solid var(--border);
  margin: 0;
}

/* ── TOAST ── */
#toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--teal); color: #fff;
  padding: 1rem 1.5rem; border-radius: 8px;
  font-weight: 600; font-size: .9rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
  opacity: 0; transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  z-index: 9999;
  display: flex; align-items: center; gap: .7rem;
}
#toast.show { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  nav ul { display: none; }
}
