/* ════════════════════════════════════════════════
   BOOK CONSULTATION PAGE - MindBridge Kenya
   Same design system as homepage
   ════════════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ─── VARIABLES ─── */
:root {
  --purple-light: #ede9fe;
  --purple-mid: #a78bfa;
  --purple-deep: #7c3aed;
  --green: #a3e635;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --text-dark: #12101f;
  --text-mid: #4b4b6b;
  --text-muted: #9090b0;
  --white: #ffffff;
  --border: rgba(167,139,250,0.16);
  --radius-pill: 999px;
  --shadow: 0 4px 32px rgba(120,60,240,0.09);
  --shadow-lg: 0 16px 64px rgba(120,60,240,0.14);
  --transition: 0.22s ease;
}

/* ─── BASE ─── */
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: #ddd6fe;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── PAGE BACKGROUND ─── */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 60% at 50% -10%, #c4b5f4 0%, #a78bfa55 40%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 90% 80%, #ddd6fe 0%, transparent 60%),
    #ddd6fe;
  pointer-events: none;
}

/* ─── SCROLL CONTAINER ─── */
.scroll-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* ─── CARD BASE ─── */
.card {
  background: var(--white);
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: 0;
  padding: 64px 5%;
}

/* ════════════════════════════════════════════════
   NAVBAR (exact same as homepage)
   ════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  padding: 12px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
  width: 100%;
}

.nav-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.4px;
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition);
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--purple-light);
  color: var(--purple-deep);
}

.chev { font-size: 10px; opacity: 0.45; }

.btn-book {
  background: var(--purple-mid) !important;
  color: var(--white) !important;
  font-weight: 500 !important;
  padding: 9px 22px !important;
  box-shadow: 0 3px 16px rgba(139,92,246,0.30);
}

.btn-book:hover {
  background: var(--purple-deep) !important;
  transform: translateY(-1px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════
   SECTION TAG
   ════════════════════════════════════════════════ */
.section-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}

.tag-num {
  font-size: 11px;
  font-style: italic;
  color: var(--purple-mid);
  font-weight: 300;
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-mid));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ════════════════════════════════════════════════
   BOOKING HERO
   ════════════════════════════════════════════════ */
.booking-hero-card {
  background: linear-gradient(135deg, var(--purple-light), #f5f0ff);
  text-align: center;
  padding: 64px 5%;
}

.booking-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.booking-hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.2;
  margin-bottom: 20px;
}

.booking-hero-sub {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════
   BOOKING OPTIONS
   ════════════════════════════════════════════════ */
.booking-options-card {
  text-align: center;
}

.options-header {
  margin-bottom: 48px;
}

.options-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 16px;
}

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

.booking-option {
  background: var(--purple-light);
  border-radius: 32px;
  padding: 40px 28px;
  transition: all 0.3s ease;
}

.booking-option:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.booking-option.featured {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-mid));
  color: white;
}

.booking-option.featured .option-icon i {
  color: white;
}

.option-icon {
  width: 80px;
  height: 80px;
  background: rgba(124,58,237,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.option-icon i {
  font-size: 40px;
  color: var(--purple-deep);
}

.booking-option.featured .option-icon {
  background: rgba(255,255,255,0.2);
}

.booking-option h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.booking-option p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--text-mid);
}

.booking-option.featured p {
  color: rgba(255,255,255,0.9);
}

.option-contact {
  margin-bottom: 16px;
}

.contact-label {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.booking-option.featured .contact-label {
  color: rgba(255,255,255,0.7);
}

.contact-email,
.contact-whatsapp,
.contact-phone {
  font-size: 15px;
  font-weight: 600;
  color: var(--purple-deep);
}

.booking-option.featured .contact-email,
.booking-option.featured .contact-whatsapp,
.booking-option.featured .contact-phone {
  color: white;
}

.option-support {
  margin: 12px 0;
}

.option-support small {
  font-size: 12px;
}

.option-support a {
  color: var(--purple-deep);
  font-weight: 500;
}

.btn-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: var(--white);
  color: var(--purple-deep);
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 16px;
}

.btn-option.whatsapp {
  background: var(--whatsapp);
  color: white;
}

.btn-option.call {
  background: var(--purple-deep);
  color: white;
}

.btn-option:hover {
  transform: translateY(-2px);
  filter: brightness(0.95);
}

/* ════════════════════════════════════════════════
   EMAIL FORM SECTION
   ════════════════════════════════════════════════ */
.email-form-card {
  background: var(--white);
  display: none;
}

.email-form-card.show {
  display: block;
}

.email-form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--purple-light);
  border-radius: 32px;
  padding: 40px;
  position: relative;
}

.form-header {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
}

.close-form {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
  box-shadow: var(--shadow);
}

.form-header i {
  font-size: 48px;
  color: var(--purple-deep);
  margin-bottom: 16px;
}

.form-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  margin-bottom: 8px;
}

.booking-email-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1.5px solid rgba(124,58,237,0.2);
  border-radius: 20px;
  font-size: 15px;
  background: var(--white);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple-deep);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
}

.form-checkbox label {
  font-size: 13px;
  color: var(--text-mid);
}

.form-checkbox a {
  color: var(--purple-deep);
}

.form-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text-dark);
  color: white;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn-cancel {
  background: transparent;
  border: 1.5px solid var(--border);
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.arrow-dot {
  width: 30px;
  height: 30px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ════════════════════════════════════════════════
   WHATSAPP INFO CARD
   ════════════════════════════════════════════════ */
.whatsapp-info-card {
  background: linear-gradient(135deg, #e8f5e9, #d4e6d4);
}

.whatsapp-info-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.whatsapp-info-content i {
  font-size: 56px;
  color: var(--whatsapp);
}

.whatsapp-info-content h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

/* ════════════════════════════════════════════════
   EXPECTATIONS SECTION
   ════════════════════════════════════════════════ */
.expectations-header {
  text-align: center;
  margin-bottom: 48px;
}

.expectations-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3.5vw, 42px);
}

.expectations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.expect-step {
  text-align: center;
  padding: 28px 20px;
  background: var(--purple-light);
  border-radius: 24px;
  position: relative;
}

.step-number {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--purple-deep);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.expect-step i {
  font-size: 40px;
  color: var(--purple-deep);
  margin-bottom: 16px;
  margin-top: 8px;
}

.expect-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.expect-step p {
  font-size: 13px;
  color: var(--text-mid);
}

/* ════════════════════════════════════════════════
   SUPPORT CARD
   ════════════════════════════════════════════════ */
.support-card {
  background: var(--text-dark);
  color: white;
}

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

.support-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
}

.support-item i {
  font-size: 32px;
  color: var(--purple-mid);
}

.support-item h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.support-item p {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.support-item a {
  font-size: 14px;
  color: var(--purple-mid);
  font-weight: 500;
}

/* ════════════════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════════════════ */
.cta-card {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://placehold.co/1920x600/7c3aed/white?text=MindBridge+Community') center/cover no-repeat;
  filter: brightness(0.75);
  z-index: 0;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30,10,60,0.5), rgba(30,10,60,0.7));
  z-index: 1;
}

.cta-body {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 5%;
}

.cta-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 4.5vw, 56px);
  color: white;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--text-dark);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
}

/* ════════════════════════════════════════════════
   FOOTER - CLEAN VERSION (4 COLUMNS)
   ════════════════════════════════════════════════ */
.footer-card {
  background: var(--text-dark);
  padding: 56px 5% 36px;
  width: 100%;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.5px;
  display: block;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  max-width: 300px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-links-grid h5 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.footer-links-grid ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-grid li {
  margin: 0;
  padding: 0;
}

.footer-links-grid a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.22s ease;
}

.footer-links-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.30);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.30);
  text-decoration: none;
  transition: color 0.22s ease;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ════════════════════════════════════════════════
   MODAL
   ════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 500;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: white;
  border-radius: 24px;
  padding: 40px;
  max-width: 440px;
}

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .options-grid,
  .expectations-grid,
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .burger {
    display: flex;
  }
  
  .options-grid,
  .expectations-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-info-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .email-form-container {
    padding: 24px;
  }
  
  .close-form {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 480px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-brand p {
    max-width: 100%;
  }
  
  .form-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .booking-option {
    padding: 28px 20px;
  }
}
.footer-dev {
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-dev p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-dev a {
  color: var(--purple-deep);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-dev a:hover {
  color: var(--purple-mid);
}

.footer-dev i {
  margin: 0 2px;
}