/* ============================================================
   ANHI — Academy Noorul Hidaaya International
   Main Stylesheet
   Colors: Teal #1a9a8a, Gold #C9A84C, White #fff, Dark #1a2535
   ============================================================ */

:root {
  --teal: #1a9a8a;
  --teal-dark: #127a6c;
  --teal-light: #e8f7f5;
  --teal-mid: #2bbdaa;
  --gold: #C9A84C;
  --gold-light: #f5e6b8;
  --gold-dark: #a8882e;
  --dark: #1a2535;
  --dark-mid: #2d3e55;
  --text: #2c3e50;
  --text-muted: #6b7c93;
  --white: #ffffff;
  --off-white: #f8fffe;
  --border: #e0ede9;
  --shadow: 0 4px 24px rgba(26,154,138,0.10);
  --shadow-lg: 0 8px 40px rgba(26,154,138,0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --transition: 0.25s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: var(--font-body); }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--dark);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-light);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title { margin-bottom: 0.5rem; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 640px; }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Layout ── */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-teal { background: var(--teal); color: var(--white); }
.section-teal h1,.section-teal h2,.section-teal h3 { color: var(--white); }
.section-teal .section-label { background: rgba(255,255,255,0.2); color: var(--white); }
.section-teal .section-sub { color: rgba(255,255,255,0.85); }
.section-light { background: var(--off-white); }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark h1,.section-dark h2,.section-dark h3 { color: var(--white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border: 2px solid var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,154,138,0.3);
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--teal);
}
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border: none;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  color: var(--white);
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ── Header / Navigation ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(26,154,138,0.08);
  transition: box-shadow var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.header-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
}
.logo-text .logo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.logo-text .logo-tag {
  font-size: 0.7rem;
  color: var(--teal);
  letter-spacing: 0.04em;
}
.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--teal);
  background: var(--teal-light);
}
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-toggle::after {
  content: '▾';
  font-size: 0.75rem;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all var(--transition);
}
.dropdown-menu a:hover {
  background: var(--teal-light);
  color: var(--teal);
}
.header-cta { display: flex; align-items: center; gap: 10px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  border-radius: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-nav-link {
  color: var(--text);
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: block;
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover { color: var(--teal); }
.mobile-sub { padding-left: 16px; }
.mobile-sub a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 8px 0;
}
.mobile-sub a:hover { color: var(--teal); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 40%, #1a4a42 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a9a8a' fill-opacity='0.05'%3E%3Cpath d='M40 0L80 40 40 80 0 40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-label {
  display: inline-block;
  background: rgba(201,168,76,0.2);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero h1 { color: var(--white); margin-bottom: 0.6rem; }
.hero-tagline {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.2rem;
}
.hero p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 2rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.hero-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.hero-badge {
  position: absolute;
  bottom: -12px;
  left: -12px;
  background: var(--gold);
  color: var(--dark);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
}

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  background: var(--teal-light);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.2rem; }
.tag {
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
}
.tag-gold {
  background: var(--gold-light);
  color: var(--gold-dark);
}
.card-buttons { display: flex; flex-wrap: wrap; gap: 10px; }

/* Program cards */
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.program-card-header {
  background: linear-gradient(135deg, var(--teal), var(--teal-mid));
  padding: 24px;
  position: relative;
}
.program-card-header.gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
}
.program-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}
.program-card-header h3 { color: var(--white); font-size: 1.2rem; }
.program-age {
  background: rgba(255,255,255,0.2);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 6px;
}
.program-card-body { padding: 24px; }
.program-card-body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.program-features { margin-bottom: 1.2rem; }
.program-features li {
  font-size: 0.88rem;
  color: var(--text);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}
.program-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ── Why Choose Us ── */
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.why-card {
  text-align: center;
  padding: 24px 16px;
}
.why-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  display: block;
}
.why-card h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.4rem; }
.why-card p { color: rgba(255,255,255,0.75); font-size: 0.82rem; margin: 0; }

/* ── Steps ── */
.steps { display: flex; gap: 0; flex-wrap: wrap; }
.step {
  flex: 1;
  min-width: 200px;
  padding: 28px 24px;
  position: relative;
  text-align: center;
}
.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--teal);
  font-weight: 700;
}
.step-num {
  width: 48px;
  height: 48px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 1rem;
}
.step h4 { margin-bottom: 0.4rem; font-size: 0.95rem; }
.step p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── Forms ── */
.form-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 700px;
  margin: 0 auto;
}
.form-group { margin-bottom: 1.2rem; }
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-label span { color: var(--teal); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,154,138,0.1); }
.form-control::placeholder { color: #aab5c0; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.form-check input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--teal); cursor: pointer;
}
.form-check label { font-size: 0.9rem; color: var(--text); cursor: pointer; }
.honeypot { display: none !important; }
.form-submit { text-align: center; margin-top: 1.5rem; }
.alert {
  padding: 14px 20px;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  display: none;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ── FAQ ── */
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--teal); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  background: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition);
  gap: 12px;
}
.faq-question:hover { background: var(--teal-light); }
.faq-item.open .faq-question { background: var(--teal-light); color: var(--teal-dark); }
.faq-arrow {
  font-size: 1.1rem;
  color: var(--teal);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 16px 24px; }

/* ── Blog Cards ── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  height: 180px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-card-body { padding: 20px; }
.blog-cat {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 6px;
}
.blog-card-body h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.blog-card-body p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ── Floating WhatsApp ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.whatsapp-float a {
  background: #25D366;
  color: var(--white);
  padding: 13px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.whatsapp-float a:hover {
  background: #1ebe5d;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.5);
}
.whatsapp-icon { font-size: 1.2rem; }

/* ── Footer ── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}
.footer-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
}
.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.2rem;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.footer-contact-item a { color: rgba(255,255,255,0.8); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold); }

/* ── Page Hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid));
  color: var(--white);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23fff' fill-opacity='0.04'%3E%3Cpath d='M30 0L60 30 30 60 0 30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-inner { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 0.6rem; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ── Stats ── */
.stats-row {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  background: var(--teal);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { color: rgba(255,255,255,0.85); font-size: 0.85rem; }

/* ── Fees Table ── */
.fees-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.fees-table th {
  background: var(--teal);
  color: var(--white);
  padding: 16px 20px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
}
.fees-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.fees-table tr:last-child td { border-bottom: none; }
.fees-table tr:hover td { background: var(--teal-light); }
.pay-btn-cell { text-align: right; }

/* ── Payment Cards ── */
.payment-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}
.payment-card:hover { border-color: var(--teal); transform: translateY(-4px); }
.payment-card h4 { margin-bottom: 0.5rem; }
.payment-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0.5rem 0 1rem;
}
.payment-price small { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }

/* ── Media query ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero { padding: 56px 0; }
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .steps { flex-direction: column; }
  .step::after { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .fees-table { font-size: 0.82rem; }
  .fees-table th, .fees-table td { padding: 10px 12px; }
  .whatsapp-float { bottom: 16px; right: 16px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .btn-lg { padding: 13px 24px; }
  .form-section { padding: 24px; }
  h1 { font-size: 1.8rem; }
}

/* ── Utility ── */
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.flex { display: flex; } .flex-center { justify-content: center; align-items: center; }
.gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.hidden { display: none !important; }
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.text-teal { color: var(--teal); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.fw-bold { font-weight: 700; }
.italic { font-style: italic; }

/* ── Design Consistency Fixes (v5) ──────────────────────── */

/* Ensure inline-hero sections on subpages match .page-hero style */
.inline-hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid));
  color: var(--white);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.inline-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23fff' fill-opacity='0.04'%3E%3Cpath d='M30 0L60 30 30 60 0 30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.inline-hero .container { position: relative; }
.inline-hero h1, .inline-hero h2 { color: var(--white); }
.inline-hero p { color: rgba(255,255,255,0.85); }

/* CTA sections — ensure strong btn-primary appearance */
.section-teal .btn-primary,
.section-cta .btn-primary {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
}
.section-teal .btn-primary:hover,
.section-cta .btn-primary:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

/* Neutralise Chrome yellow autofill on public pages */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #0f172a !important;
  transition: background-color 9999s ease-in-out 0s;
}

/* Alert styles (ensure they exist globally) */
.alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  display: none;
}
.alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}
.alert-info {
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 1px solid var(--teal);
}
