/* ============================================================
   Harmony and Health Microschool — stylesheet
   Colors derived from the brand logo:
     Navy/Purple : #2B2D8E
     Red         : #CC2020
     Green       : #3DAA35
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #2B2D8E;
  --navy-dark:   #1e2070;
  --navy-light:  #e8e9f8;
  --red:         #CC2020;
  --red-light:   #fde8e8;
  --green:       #3DAA35;
  --green-light: #e8f7e7;
  --white:       #ffffff;
  --off-white:   #fafbff;
  --bg-light:    #f4f5fc;
  --text-dark:   #1a1c3a;
  --text-mid:    #444668;
  --text-light:  #7779a0;
  --border:      #e0e2f0;
  --radius:      14px;
  --radius-lg:   22px;
  --shadow-sm:   0 2px 8px rgba(43, 45, 142, 0.08);
  --shadow-md:   0 6px 24px rgba(43, 45, 142, 0.12);
  --shadow-lg:   0 16px 48px rgba(43, 45, 142, 0.16);
  --transition:  all 0.3s ease;
}

html, body { overflow-x: hidden; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Utilities ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

.bg-light {
  background: var(--bg-light);
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--navy-light);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-tag.light {
  color: #fff;
  background: rgba(255,255,255,0.18);
}

h2 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 20px;
}

h2 em {
  font-style: normal;
  color: var(--navy);
}

h2.light, p.light, .section-intro.light { color: #fff; }

.section-intro {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

/* ---------- Scroll animations ---------- */
/* ---------- Scroll animations ---------- */

/* Section header: tag slides from left, h2 from right, p from left */
.section-header > *:nth-child(1) {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0s;
}
.section-header > *:nth-child(2) {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.5s;
}
.section-header > *:nth-child(3) {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 1.0s;
}
.section-header.visible > * {
  opacity: 1;
  transform: translate(0);
}

/* Cards stagger: slide up from bottom, 0.5s between each */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-stagger.visible > *:nth-child(1)  { opacity: 1; transform: translateY(0); transition-delay: 1.5s; }
.reveal-stagger.visible > *:nth-child(2)  { opacity: 1; transform: translateY(0); transition-delay: 2.0s; }
.reveal-stagger.visible > *:nth-child(3)  { opacity: 1; transform: translateY(0); transition-delay: 2.5s; }
.reveal-stagger.visible > *:nth-child(4)  { opacity: 1; transform: translateY(0); transition-delay: 3.0s; }
.reveal-stagger.visible > *:nth-child(5)  { opacity: 1; transform: translateY(0); transition-delay: 3.5s; }
.reveal-stagger.visible > *:nth-child(6)  { opacity: 1; transform: translateY(0); transition-delay: 4.0s; }
.reveal-stagger.visible > *:nth-child(7)  { opacity: 1; transform: translateY(0); transition-delay: 4.5s; }
.reveal-stagger.visible > *:nth-child(8)  { opacity: 1; transform: translateY(0); transition-delay: 5.0s; }
.reveal-stagger.visible > *:nth-child(9)  { opacity: 1; transform: translateY(0); transition-delay: 5.5s; }
.reveal-stagger.visible > *:nth-child(10) { opacity: 1; transform: translateY(0); transition-delay: 6.0s; }

/* Kept for any remaining .reveal/.fade-in usage */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 34px;
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(204, 32, 32, 0.35);
}
.btn-primary:hover {
  background: #a81a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(204, 32, 32, 0.4);
}

.btn-secondary {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 34px;
  border-radius: 100px;
  border: 2px solid rgba(255,255,255,0.55);
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.28);
  border-color: #fff;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 38px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(204, 32, 32, 0.35);
  margin-top: 8px;
}
.btn-submit:hover {
  background: #a81a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(204, 32, 32, 0.42);
}
.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: padding 0.3s ease;
  padding: 10px 0;
}

.navbar.scrolled {
  padding: 6px 0;
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo-text {
  font-family: 'Fredoka One', cursive;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.2;
}

.nav-logo-amp {
  color: var(--navy);
}

.nav-logo-micro {
  display: block;
  font-size: 0.72rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 100px;
  transition: var(--transition);
}

.nav-links a:hover {
  background: var(--navy-light);
  color: var(--navy);
}

.nav-links a.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 9px 22px;
  box-shadow: 0 2px 12px rgba(204, 32, 32, 0.3);
}

.nav-links a.nav-cta:hover {
  background: #a81a1a;
  transform: translateY(-1px);
}

.nav-menu-hero { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 38px;
  height: 38px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
/* ---------- Hero image (clean, no overlay) ---------- */
.hero {
  width: 100%;
  margin-top: 62px; /* clears the fixed navbar */
  line-height: 0;   /* removes gap under img */
}

.hero img {
  width: 100%;
  display: block;
}

.hero-img-desktop { height: auto; }
.hero .hero-img-mobile { display: none; }

/* ---------- Hero text section (below the image) ---------- */
.hero-text {
  background: var(--navy);
  text-align: center;
  padding: 60px 24px 68px;
}

.hero-text .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.35);
  margin-bottom: 24px;
}

.badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #5dde56;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(93, 222, 86, 0.35);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(93, 222, 86, 0.35); }
  50%       { box-shadow: 0 0 0 7px rgba(93, 222, 86, 0.1); }
}

.hero-text h1 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-secondary-dark {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 34px;
  border-radius: 100px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: var(--transition);
}

.btn-secondary-dark:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 14px 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.hero-stat strong {
  font-family: 'Fredoka One', cursive;
  font-size: 1.8rem;
  color: #fff;
  line-height: 1;
}

.hero-stat span {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1.5px;
  height: 40px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* ============================================================
   ABOUT
   ============================================================ */
.about { text-align: center; }

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}

.about-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-light);
}

.about-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-card-body {
  padding: 28px 28px 32px;
}

.about-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.about-card p {
  color: var(--text-mid);
  font-size: 0.96rem;
}

/* ============================================================
   WHY MICROSCHOOL
   ============================================================ */
.why-micro { text-align: center; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: var(--transition);
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-number {
  font-family: 'Fredoka One', cursive;
  font-size: 2.4rem;
  line-height: 1;
  min-width: 80px;
  text-align: center;
}

.why-text h4 {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.why-text p {
  color: var(--text-mid);
  font-size: 0.93rem;
}

/* ============================================================
   APPROACH
   ============================================================ */
.approach { text-align: center; }

.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.approach-step {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  overflow: visible;
  text-align: center;
}

.approach-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-light);
}

.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  z-index: 2;
}

.approach-img-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
}

.approach-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.approach-step-body {
  padding: 20px 20px 24px;
}

.approach-step h4 {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.approach-step p {
  color: var(--text-mid);
  font-size: 0.92rem;
}

/* ============================================================
   PROGRAMS
   ============================================================ */
.programs { text-align: center; }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.program-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.featured-card {
  border: 2px solid var(--red);
  box-shadow: 0 8px 32px rgba(204, 32, 32, 0.12);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.program-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
}

.program-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}


.program-card-body {
  padding: 28px 28px 32px;
}

.program-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.program-card p {
  color: var(--text-mid);
  font-size: 0.93rem;
  margin-bottom: 20px;
}

.program-list {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.program-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 600;
}

.program-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   EDUCATORS
   ============================================================ */
.educators { text-align: center; }

.educators-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}

.educator-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.educator-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.educator-avatar {
  width: 200px;
  height: 240px;
  border-radius: 16px;
  margin: 0 auto 22px;
  overflow: hidden;
  border: 4px solid var(--navy-light);
  box-shadow: var(--shadow-md);
}

.educator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.educator-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.educator-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.educator-card p {
  color: var(--text-mid);
  font-size: 0.94rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.educator-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.educator-tags--stacked {
  flex-direction: column;
  align-items: center;
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
}

.navy-tag  { background: var(--navy-light);  color: var(--navy); }
.green-tag { background: var(--green-light); color: #1e6e19; }

/* ============================================================
   FAQ — Accordion
   ============================================================ */
.faq { text-align: center; }

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.faq-item {
  border-bottom: 1.5px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 22px 28px;
  cursor: pointer;
  text-align: left;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-q:hover {
  background: var(--navy-light);
  color: var(--navy);
}

.faq-q[aria-expanded="true"] {
  color: var(--navy);
  background: var(--navy-light);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-light);
  transition: transform 0.3s ease;
}

.faq-q[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--navy);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 28px;
}

.faq-a.open {
  max-height: 300px;
  padding: 4px 28px 22px;
}

.faq-a p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ============================================================
   WAITLIST
   ============================================================ */
.waitlist {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--white);
}

.waitlist-bg {
  display: none;
}

.waitlist-inner {
  position: relative;
  z-index: 1;
}

.waitlist-form {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204, 32, 32, 0.15);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.waitlist-form .btn-submit {
  width: 100%;
  justify-content: center;
}

.form-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin-top: 14px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #111228;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo {
  height: 138px;
  width: auto;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: block;
  filter: brightness(1.1);
}

.footer-brand {
  text-align: center;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}

.footer-opening {
  display: inline-block;
  margin-top: 10px !important;
  background: var(--red);
  color: #fff !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-legal {
  font-size: 0.8rem !important;
  color: rgba(255,255,255,0.38) !important;
  margin-top: 12px !important;
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 18px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: #fff; }

.footer-email {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  word-break: break-all;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-email:hover { color: #fff; }

.footer-location {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 10px;
  transition: var(--transition);
  width: fit-content;
}

.facebook-btn {
  background: rgba(24, 119, 242, 0.15);
  color: #74a7f7;
  border: 1px solid rgba(24, 119, 242, 0.25);
}
.facebook-btn:hover {
  background: rgba(24, 119, 242, 0.28);
  color: #fff;
}

.instagram-btn {
  background: rgba(225, 48, 108, 0.15);
  color: #f08ab0;
  border: 1px solid rgba(225, 48, 108, 0.25);
}
.instagram-btn:hover {
  background: rgba(225, 48, 108, 0.28);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .approach-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile wide */
@media (max-width: 768px) {
  .section { padding: 68px 0; }

  /* Nav */
  .nav-toggle { display: flex; }

  .hero .hero-img-desktop { display: none; }

  .hero .hero-img-mobile {
    display: block;
    width: 100%;
    height: calc(100vh - 62px);
    object-fit: cover;
    object-position: 50% top;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    z-index: 999;
    padding: 24px;
  }

  .nav-links.open { display: flex; }

  .nav-menu-hero {
    display: block;
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    margin-bottom: 16px;
  }

  .nav-menu-hero img {
    width: 100%;
    display: block;
  }

  .nav-links a {
    font-size: 1.1rem;
    color: #fff;
    padding: 12px 28px;
  }

  .nav-links a:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
  }
  .navbar.scrolled .nav-links a:hover { background: rgba(255,255,255,0.12); color: #fff; }

  /* Hero */
  .hero-logo { height: 100px; }
  .hero-stats {
    flex-direction: column;
    gap: 12px;
    border-radius: 20px;
    padding: 20px 28px;
  }
  .hero-stat-divider {
    width: 50px;
    height: 1.5px;
  }

  /* Cards */
  .about-cards,
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .approach-steps {
    grid-template-columns: 1fr;
  }

  .educators-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  /* Waitlist form */
  .waitlist-form {
    padding: 28px 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.mobile-only { display: none; }

@media (max-width: 480px) {
  .mobile-only { display: inline; }
}

/* Mobile narrow */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .educator-card {
    padding: 28px 22px;
  }

  .program-card-body {
    padding: 22px 22px 26px;
  }

  .about-card-body {
    padding: 22px 22px 26px;
  }

  .waitlist-form {
    padding: 22px 16px;
  }
}
