/* ==========================================================================
   VedhamRoots — Booking & Enrollment Stylesheet (booking.css)
   Exclusively for: pages/booking.html
   Design Philosophy: Modern Editorial Heritage (Sand, Saffron, Gold & Maroon)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Master Theme Utilities for booking.html
   -------------------------------------------------------------------------- */
.theme-warm-cream {
  background-color: #FDF9F1 !important;
  background-image: radial-gradient(circle at 50% 0%, rgba(255, 248, 238, 0.95) 0%, #FDF9F1 100%) !important;
  color: var(--text-dark-body, #56423A) !important;
  position: relative;
  overflow: hidden;
}

.theme-warm-cream.sand-tone {
  background-color: #FAF5EB !important;
}

.theme-sunset-terracotta {
  background-color: #A73400 !important;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(255, 215, 120, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 85% 65%, rgba(255, 170, 50, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(255, 230, 160, 0.22) 0%, transparent 60%) !important;
  color: #FFFDF7 !important;
  position: relative;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   1. Booking Hero Section
   -------------------------------------------------------------------------- */
.booking-hero {
  position: relative;
  background-color: #3D0A14;
  background-image: 
    linear-gradient(180deg, rgba(61, 10, 20, 0.65) 0%, rgba(42, 5, 13, 0.78) 100%),
    radial-gradient(circle at 15% 20%, rgba(246, 200, 120, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(185, 87, 37, 0.18) 0%, transparent 50%),
    url('../assets/images/hero-slide-3.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  padding: 5rem 0 4.25rem 0;
  text-align: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  overflow: hidden;
  color: #FFF8EB;
}

.booking-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-sacred), transparent);
  z-index: 2;
}

.booking-hero .badge-gold {
  background: rgba(246, 200, 120, 0.2);
  color: #F6C878;
  border: 1px solid rgba(246, 200, 120, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.booking-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  color: #FFFDF7;
  margin-top: 0.5rem;
  margin-bottom: 0.85rem;
  line-height: 1.22;
  text-shadow: 0 2px 14px rgba(36, 8, 18, 0.45);
}

.booking-hero-subtitle {
  font-size: 1.08rem;
  line-height: 1.68;
  color: #F5EFEB;
  max-width: 720px;
  margin: 0 auto;
  text-shadow: 0 1px 6px rgba(36, 8, 18, 0.35);
}

.hero-highlights-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(42, 5, 13, 0.65);
  border: 1px solid rgba(246, 200, 120, 0.35);
  color: #F6C878;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-highlight-pill .material-symbols-outlined {
  font-size: 18px;
  color: var(--gold-sacred);
}

/* --------------------------------------------------------------------------
   2. Main Single-Scroll Layout Grid
   -------------------------------------------------------------------------- */
.booking-section {
  padding: 3rem 0 5rem 0;
  background-color: var(--bg-canvas);
}

.enrollment-container-centered {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

.enrollment-flow-column {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

/* --------------------------------------------------------------------------
   3. Form Section Cards (Step 1, Step 2, Step 3, Step 4)
   -------------------------------------------------------------------------- */
#enrollment-portal .form-section-card {
  border: 3px solid #111111;
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

#enrollment-portal .form-section-card:hover {
  border-color: #000000;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.85rem;
  padding-bottom: 1.35rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.step-num-badge {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 800;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.form-card-title {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  line-height: 1.25;
}

.form-card-desc {
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   4. Step 1: Program Selection (Saffron & Terracotta Vibrant Palette)
   -------------------------------------------------------------------------- */
#step-program-selection {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF5 60%, #FFF9EC 100%);
}

#step-program-selection .step-num-badge {
  background: linear-gradient(135deg, #FF6B35 0%, #C2410C 100%);
  box-shadow: 0 4px 14px rgba(194, 65, 12, 0.4);
}

#step-program-selection .form-card-title {
  color: #9A3412;
}

#step-program-selection .form-card-desc {
  color: #6C4E44;
}

.class-picker-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .class-picker-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 992px) {
  .class-picker-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.class-select-card {
  background: #FFFFFF;
  border: 2px solid #EADBCC;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(36, 21, 18, 0.05);
}

.class-select-card:hover {
  border-color: #C2410C;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(194, 65, 12, 0.15);
}

.class-select-card.is-selected {
  border: 2.5px solid #C2410C;
  background: linear-gradient(180deg, #FFFDF8 0%, #FFF4E5 100%);
  box-shadow: 0 10px 30px rgba(194, 65, 12, 0.22);
  transform: translateY(-3px);
}

.class-card-img-wrap {
  position: relative;
  height: 145px;
  width: 100%;
  overflow: hidden;
  background-color: #3D0A14;
}

.class-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  opacity: 1;
}

.class-select-card:hover .class-card-img {
  transform: scale(1.06);
}

.class-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 8, 18, 0.08) 0%, rgba(36, 8, 18, 0.7) 100%);
  pointer-events: none;
}

.class-card-age-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  color: #38BDF8;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.class-card-devanagari-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: #FDE047;
  background: rgba(42, 5, 13, 0.9);
  border: 1px solid rgba(253, 224, 71, 0.5);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.class-selected-check-indicator {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #059669;
  background-image: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.45);
  z-index: 2;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.25s ease;
}

.class-select-card.is-selected .class-selected-check-indicator {
  opacity: 1;
  transform: scale(1);
}

.class-card-body {
  padding: 1.15rem 1.05rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.class-card-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #C2410C;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 0.45rem;
}

.class-card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #241512;
  margin-bottom: 0.35rem;
  line-height: 1.32;
}

.class-card-tagline {
  font-size: 0.83rem;
  color: #56423A;
  line-height: 1.48;
  margin-bottom: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.class-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.8rem;
  border-top: 1.5px dashed #EADBCC;
  margin-top: auto;
}

.class-card-mode {
  font-size: 0.78rem;
  font-weight: 600;
  color: #0284C7;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.class-select-action-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid #FDBA74;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  color: #C2410C;
  transition: var(--transition-smooth);
}

.class-select-card.is-selected .class-select-action-pill {
  background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
  color: #FFFFFF;
  border-color: #C2410C;
  box-shadow: 0 2px 8px rgba(194, 65, 12, 0.3);
}

/* --------------------------------------------------------------------------
   5. Step 2: Learning Format & Schedule (Sapphire & Amber Vibrant Palette)
   -------------------------------------------------------------------------- */
#step-format-schedule {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 60%, #F0F7FF 100%);
}

#step-format-schedule .step-num-badge {
  background: linear-gradient(135deg, #0284C7 0%, #2563EB 100%);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

#step-format-schedule .form-card-title {
  color: #1E3A8A;
}

#step-format-schedule .form-card-desc {
  color: #475569;
}

.preference-groups-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.pref-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pref-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1E293B;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.pref-icon {
  font-size: 20px;
  color: #0284C7;
}

.pref-group:nth-child(2) .pref-icon {
  color: #7C3AED;
}

.choice-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.choice-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 2px solid #E2E8F0;
  background: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.choice-pill .material-symbols-outlined {
  font-size: 19px;
  color: #64748B;
  transition: color 0.2s ease;
}

.choice-pill:hover {
  border-color: #38BDF8;
  color: #0284C7;
  background: #F0F9FF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.12);
}

.choice-pill:hover .material-symbols-outlined {
  color: #0284C7;
}

/* Specific Active Colors per Pill */
#learning-mode-choices .choice-pill.active {
  border-color: #0284C7;
  background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
  color: #0369A1;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

#learning-mode-choices .choice-pill.active .material-symbols-outlined {
  color: #0284C7;
}

#learning-mode-choices .choice-pill[data-mode*="Campus"].active {
  border-color: #059669;
  background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
  color: #047857;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

#learning-mode-choices .choice-pill[data-mode*="Campus"].active .material-symbols-outlined {
  color: #059669;
}

#schedule-days-choices .choice-pill.active {
  border-color: #EA580C;
  background: linear-gradient(135deg, #FFEDD5 0%, #FED7AA 100%);
  color: #C2410C;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.25);
}

#schedule-days-choices .choice-pill.active .material-symbols-outlined {
  color: #EA580C;
}

#schedule-days-choices .choice-pill[data-days*="Weekday"].active {
  border-color: #7C3AED;
  background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%);
  color: #6D28D9;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25);
}

#schedule-days-choices .choice-pill[data-days*="Weekday"].active .material-symbols-outlined {
  color: #7C3AED;
}

#schedule-days-choices .choice-pill[data-days*="Open"].active {
  border-color: #D97706;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  color: #B45309;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
}

#schedule-days-choices .choice-pill[data-days*="Open"].active .material-symbols-outlined {
  color: #D97706;
}

/* --------------------------------------------------------------------------
   6. Step 3: Student & Parent Details (Amethyst & Rose Vibrant Palette)
   -------------------------------------------------------------------------- */
#step-student-details {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF5FF 60%, #F5EEFD 100%);
}

#step-student-details .step-num-badge {
  background: linear-gradient(135deg, #A855F7 0%, #7C3AED 100%);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

#step-student-details .form-card-title {
  color: #581C87;
}

#step-student-details .form-card-desc {
  color: #6B5E68;
}

.enrollment-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

@media (min-width: 600px) {
  .enrollment-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-group.full-width {
    grid-column: 1 / -1;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.label-text-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #3B1B36;
}

.label-icon {
  font-size: 19px !important;
}

.label-icon.icon-parent { color: #2563EB; }
.label-icon.icon-student { color: #7C3AED; }
.label-icon.icon-age { color: #EA580C; }
.label-icon.icon-phone { color: #16A34A; }
.label-icon.icon-email { color: #0284C7; }
.label-icon.icon-location { color: #E11D48; }
.label-icon.icon-goals { color: #D97706; }

.required-star {
  color: #E11D48;
  font-weight: 800;
  font-size: 1rem;
}

.form-optional-tag {
  font-size: 0.72rem;
  font-weight: 600;
  background: #F1F5F9;
  color: #64748B;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: #1E293B;
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 0.78rem 1rem;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #7C3AED;
  background: #FFFFFF;
  box-shadow: 0 0 0 3.5px rgba(124, 58, 237, 0.18);
}

.form-input.has-error,
.form-select.has-error {
  border-color: #E11D48;
  background: #FFF1F2;
  box-shadow: 0 0 0 3.5px rgba(225, 29, 72, 0.15);
}

.form-hint {
  font-size: 0.76rem;
  color: #64748B;
  line-height: 1.35;
}

.field-error-msg {
  font-size: 0.76rem;
  color: #E11D48;
  font-weight: 700;
  display: none;
  margin-top: 0.15rem;
}

.field-error-msg.visible {
  display: block;
}

/* --------------------------------------------------------------------------
   7. Step 4: Combined Live Summary & WhatsApp Submission (Gold, Emerald & Saffron)
   -------------------------------------------------------------------------- */
#step-review-submit,
.form-review-submission-card {
  background: linear-gradient(135deg, #FFFDF8 0%, #FFF7EC 40%, #FEF1DC 100%);
  border: 3px solid #111111;
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.form-review-submission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #D4AF37 0%, #EA580C 30%, #7C3AED 60%, #059669 100%);
}

#step-review-submit .step-num-badge {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4);
}

#step-review-submit .form-card-title {
  color: #4A0E1A;
}

#step-review-submit .form-card-desc {
  color: #633E32;
}

.review-header-title-group {
  flex: 1;
}

.review-title-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.summary-live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  border: 1.5px solid #10B981;
  padding: 0.28rem 0.8rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.pulse-ring {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #059669;
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(5, 150, 105, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.review-summary-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* Composite Review Grid: Selected Class Spotlight + Key Details */
.review-details-composite {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .review-details-composite {
    grid-template-columns: 320px 1fr;
    align-items: stretch;
  }
}

.summary-class-spotlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem;
  background: #FFFFFF;
  border: 2px solid #F59E0B;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
}

.summary-class-img-wrap {
  width: 74px;
  height: 74px;
  min-width: 74px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid #D97706;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.summary-class-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.summary-class-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  gap: 0.15rem;
}

.summary-class-devanagari {
  font-family: var(--font-serif);
  font-size: 0.84rem;
  font-weight: 700;
  color: #B45309;
}

.summary-class-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: #3D0A14;
  line-height: 1.25;
  margin: 0.1rem 0;
}

.summary-class-category {
  font-size: 0.74rem;
  color: #C2410C;
  font-weight: 700;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.summary-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 0.85rem;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

@media (min-width: 600px) and (max-width: 767px) {
  .summary-details-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* Multi-colored Details Tiles */
.summary-item:nth-child(1) {
  background: #F5F3FF;
  border: 1.5px solid #DDD6FE;
}
.summary-item:nth-child(1) .summary-label .material-symbols-outlined { color: #7C3AED; }
.summary-item:nth-child(1) .summary-val { color: #4C1D95; }

.summary-item:nth-child(2) {
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
}
.summary-item:nth-child(2) .summary-label .material-symbols-outlined { color: #D97706; }
.summary-item:nth-child(2) .summary-val { color: #78350F; }

.summary-item:nth-child(3) {
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
}
.summary-item:nth-child(3) .summary-label .material-symbols-outlined { color: #2563EB; }
.summary-item:nth-child(3) .summary-val { color: #1E3A8A; }

.summary-item:nth-child(4) {
  background: #ECFDF5;
  border: 1.5px solid #A7F3D0;
}
.summary-item:nth-child(4) .summary-label .material-symbols-outlined { color: #059669; }
.summary-item:nth-child(4) .summary-val { color: #064E3B; }

.summary-item:nth-child(5) {
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
}
.summary-item:nth-child(5) .summary-label .material-symbols-outlined { color: #16A34A; }
.summary-item:nth-child(5) .summary-val { color: #14532D; }

.summary-item:nth-child(6) {
  background: #FFF7ED;
  border: 1.5px solid #FED7AA;
}
.summary-item:nth-child(6) .summary-label .material-symbols-outlined { color: #EA580C; }
.summary-item:nth-child(6) .summary-val { color: #7C2D12; }

.summary-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.summary-label .material-symbols-outlined {
  font-size: 16px;
}

.summary-val {
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* WhatsApp Live Formatted Preview */
.summary-message-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: #FFFFFF;
  border: 2px solid #FED7AA;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.08);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-header-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1E293B;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-copy-preview {
  background: linear-gradient(135deg, #FFEDD5 0%, #FED7AA 100%);
  border: 1.5px solid #FDBA74;
  font-size: 0.78rem;
  font-weight: 700;
  color: #C2410C;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(194, 65, 12, 0.15);
}

.btn-copy-preview:hover {
  background: #C2410C;
  color: #FFFFFF;
  border-color: #C2410C;
  transform: translateY(-1px);
}

.btn-copy-preview .material-symbols-outlined {
  font-size: 15px;
}

.preview-text-box {
  background: #181210;
  color: #FEF08A;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  max-height: 145px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Compact Process Timeline Strip */
.compact-next-steps {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.compact-steps-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1E293B;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
}

.compact-steps-title .material-symbols-outlined {
  font-size: 20px;
  color: #2563EB;
}

.compact-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .compact-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.compact-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.compact-step-num {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.compact-step-item:nth-child(1) .compact-step-num {
  background: #EFF6FF;
  border: 1.5px solid #3B82F6;
  color: #2563EB;
}

.compact-step-item:nth-child(2) .compact-step-num {
  background: #F5F3FF;
  border: 1.5px solid #8B5CF6;
  color: #7C3AED;
}

.compact-step-item:nth-child(3) .compact-step-num {
  background: #ECFDF5;
  border: 1.5px solid #10B981;
  color: #059669;
}

.compact-step-text {
  display: flex;
  flex-direction: column;
}

.compact-step-text strong {
  font-size: 0.86rem;
  color: #1E293B;
  font-weight: 700;
}

.compact-step-text span {
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.38;
  margin-top: 0.15rem;
}

/* Master Submission CTA */
.submit-action-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 0.5rem;
}

.submit-headline {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 700;
  color: #2D150B;
  margin-bottom: 0.25rem;
}

.submit-subtext {
  font-size: 0.92rem;
  color: #56423A;
  margin: 0;
  line-height: 1.55;
}

.btn-whatsapp-primary {
  width: 100%;
  background: #22C55E;
  background-image: linear-gradient(135deg, #22C55E 0%, #16A34A 50%, #15803D 100%);
  color: #FFFFFF;
  border: 2px solid #15803D;
  border-radius: var(--radius-pill);
  padding: 1.15rem 1.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.45);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
}

.btn-whatsapp-primary:hover {
  background-image: linear-gradient(135deg, #4ADE80 0%, #22C55E 50%, #16A34A 100%);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(34, 197, 94, 0.55);
}

.btn-wa-inner {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.wa-svg-icon {
  flex-shrink: 0;
}

.btn-wa-text-group {
  display: flex;
  flex-direction: column;
}

.btn-wa-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.btn-wa-subtitle {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.btn-wa-arrow {
  font-size: 26px;
  color: #FFFFFF;
  transition: transform 0.25s ease;
}

.btn-whatsapp-primary:hover .btn-wa-arrow {
  transform: translateX(4px);
}

.submit-guarantee-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(212, 175, 55, 0.4);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark-body);
}

.submit-guarantee-bar span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.submit-guarantee-bar .material-symbols-outlined {
  font-size: 16px;
  color: #059669;
}

/* --------------------------------------------------------------------------
   10. Why VedhamRoots Features Grid
   -------------------------------------------------------------------------- */
.booking-features-section {
  padding: 4.5rem 0;
  background-color: var(--bg-cream);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.features-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .features-bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-bento-card {
  background: #FFFFFF;
  border: 1.5px solid #EDE0CF;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(36, 21, 18, 0.04);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-sacred);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #FFF2E5;
  color: var(--primary-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.15rem auto;
  border: 1px solid rgba(185, 87, 37, 0.25);
}

.feature-icon-box .material-symbols-outlined {
  font-size: 26px;
}

.feature-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark-primary);
  margin-bottom: 0.6rem;
}

.feature-card-desc {
  font-size: 0.88rem;
  color: var(--text-dark-body);
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   11. FAQ Accordion Section
   -------------------------------------------------------------------------- */
.booking-faq-section {
  padding: 4.5rem 0 5.5rem 0;
  background-color: var(--bg-canvas);
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: #FFFFFF;
  border: 1.5px solid #EDE0CF;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item[open] {
  border-color: var(--gold-sacred);
  box-shadow: 0 4px 16px rgba(36, 21, 18, 0.05);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark-primary);
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  font-size: 22px;
  color: var(--primary-terracotta);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.35rem 1.25rem 1.35rem;
  font-size: 0.92rem;
  color: var(--text-dark-body);
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   12. WhatsApp Dispatch Modal Dialog
   -------------------------------------------------------------------------- */
.wa-dispatch-modal {
  border: none;
  border-radius: var(--radius-xl);
  padding: 0;
  max-width: 460px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(36, 8, 18, 0.4);
  background: transparent;
  margin: auto;
}

.wa-dispatch-modal::backdrop {
  background: rgba(36, 8, 18, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-dialog-box {
  background: #FFFFFF;
  border: 2px solid var(--gold-sacred);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem 1.75rem 1.75rem;
  text-align: center;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFF2E5;
  border: none;
  color: var(--text-dark-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-close-btn:hover {
  background: #FFE0C2;
}

.modal-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #E8F8EE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.15rem auto;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark-primary);
  margin-bottom: 0.5rem;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-dark-body);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.modal-actions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-modal-wa {
  background: #25D366;
  border-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
}

.btn-modal-wa:hover {
  background: #1EBE5D;
  border-color: #1EBE5D;
}

.modal-phone-reminder {
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #EDE0CF;
  font-size: 0.8rem;
  color: var(--text-dark-subtle);
}

.modal-phone-reminder strong {
  color: var(--primary-terracotta);
}

/* ==========================================================================
   13. Dedicated Comprehensive Mobile Responsive Engine (booking.css)
   Breakpoints: 1024px, 768px, 640px, 480px, 360px
   ========================================================================== */

/* --------------------------------------------------------------------------
   A. Tablet Landscape & Small Laptops (<= 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .booking-hero {
    padding: 4.25rem 1.5rem 3.5rem 1.5rem;
  }

  .booking-section {
    padding: 2.5rem 1rem 4rem 1rem;
  }

  .enrollment-container-centered {
    max-width: 100%;
  }

  .class-picker-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }

  .review-details-composite {
    grid-template-columns: 280px 1fr;
    gap: 1rem;
  }
}

/* --------------------------------------------------------------------------
   B. Tablet Portrait & Large Handhelds (<= 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .booking-hero {
    padding: 3.5rem 1.25rem 2.75rem 1.25rem;
  }

  .booking-hero .badge-gold {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    max-width: 100%;
    font-size: 0.78rem;
    padding: 0.4rem 0.85rem;
  }

  .booking-hero-title {
    font-size: clamp(1.75rem, 5.5vw, 2.5rem);
    margin-top: 0.4rem;
    margin-bottom: 0.75rem;
  }

  .booking-hero-subtitle {
    font-size: 0.96rem;
    line-height: 1.6;
    padding: 0 0.5rem;
  }

  .hero-highlights-strip {
    flex-direction: column;
    align-items: stretch;
    max-width: 360px;
    margin: 1.5rem auto 0 auto;
    gap: 0.55rem;
  }

  .hero-highlight-pill {
    justify-content: center;
    width: 100%;
    font-size: 0.82rem;
    padding: 0.45rem 0.85rem;
  }

  /* Form Cards */
  #enrollment-portal .form-section-card {
    padding: 1.65rem 1.35rem;
    border-radius: var(--radius-lg);
    border-width: 2.5px;
  }

  .enrollment-flow-column {
    gap: 1.75rem;
  }

  .form-card-header {
    gap: 1rem;
    margin-bottom: 1.45rem;
    padding-bottom: 1.15rem;
  }

  .step-num-badge {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 1.1rem;
  }

  .form-card-title {
    font-size: 1.28rem;
  }

  .form-card-desc {
    font-size: 0.86rem;
  }

  /* Inputs iOS Zoom Prevention & Sizing */
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px !important;
    padding: 0.8rem 0.95rem;
  }

  /* Step 4: Summary Composite */
  .review-details-composite {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .summary-class-spotlight {
    padding: 1rem;
  }

  /* Features Bento Grid */
  .features-bento-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  /* Final CTA Banner */
  .cta-banner-section {
    padding: 4rem 1.25rem 3.5rem 1.25rem;
  }

  .cta-kicker-pill {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    font-size: 0.78rem;
    padding: 0.4rem 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta-hero-title {
    font-size: clamp(1.75rem, 5.5vw, 2.4rem);
    line-height: 1.25;
  }

  .cta-hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .cta-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.75rem;
    margin-bottom: 2rem;
  }

  .cta-actions-hub {
    flex-direction: column;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    gap: 0.85rem;
  }

  .cta-btn-whatsapp,
  .cta-btn-main {
    width: 100%;
    text-align: center;
    padding: 0.95rem 1.25rem;
    min-height: 52px;
  }

  .cta-trust-bar {
    flex-wrap: wrap;
    gap: 0.6rem 0.85rem;
    justify-content: center;
    font-size: 0.8rem;
  }
}

/* --------------------------------------------------------------------------
   C. Standard Mobile Devices (<= 640px)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .class-picker-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .class-card-img-wrap {
    height: 135px;
  }

  .class-card-age-pill {
    top: 8px;
    left: 8px;
    font-size: 0.7rem;
    padding: 0.2rem 0.55rem;
    max-width: 50%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .class-card-devanagari-pill {
    top: 8px;
    right: 8px;
    font-size: 0.8rem;
    padding: 0.18rem 0.55rem;
  }

  .class-card-body {
    padding: 1rem 0.9rem;
  }

  .class-card-title {
    font-size: 1.05rem;
  }

  .class-card-tagline {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }

  .class-card-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.7rem;
  }

  .class-select-action-pill {
    padding: 0.38rem 0.8rem;
    font-size: 0.76rem;
  }

  /* Step 2 Choice Pills as full-width tap targets */
  .choice-pills-row {
    flex-direction: column;
    gap: 0.55rem;
    width: 100%;
  }

  .choice-pill {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    min-height: 48px;
  }

  .choice-pill .material-symbols-outlined {
    font-size: 20px;
  }

  /* Step 3 Form */
  .enrollment-form-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .form-group.full-width {
    grid-column: 1;
  }

  .form-label {
    font-size: 0.84rem;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  /* Step 4 Review Composite */
  .summary-details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .summary-item {
    padding: 0.55rem 0.7rem;
    min-width: 0;
  }

  .summary-label {
    font-size: 0.72rem;
  }

  .summary-val {
    font-size: 0.86rem;
  }

  /* Formatted WhatsApp Preview */
  .summary-message-preview-wrap {
    padding: 1rem 0.9rem;
    gap: 0.55rem;
  }

  .preview-header {
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
  }

  .preview-header-title {
    font-size: 0.78rem;
  }

  .btn-copy-preview {
    font-size: 0.74rem;
    padding: 0.35rem 0.75rem;
  }

  .preview-text-box {
    font-size: 0.76rem;
    padding: 0.75rem 0.85rem;
    max-height: 125px;
    line-height: 1.5;
  }

  /* Compact Next Steps */
  .compact-next-steps {
    padding: 1rem 0.9rem;
  }

  .compact-steps-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .compact-step-item {
    gap: 0.65rem;
  }

  .compact-step-num {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 0.75rem;
  }

  /* Master WhatsApp CTA Button */
  .btn-whatsapp-primary {
    padding: 0.95rem 1.25rem;
    min-height: 58px;
  }

  .btn-wa-inner {
    gap: 0.85rem;
    min-width: 0;
  }

  .wa-svg-icon {
    width: 25px;
    height: 25px;
    min-width: 25px;
  }

  .btn-wa-title {
    font-size: 0.96rem;
    line-height: 1.25;
  }

  .btn-wa-subtitle {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .btn-wa-arrow {
    font-size: 22px;
  }

  /* Guarantee Bar */
  .submit-guarantee-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem 0.5rem;
    justify-items: flex-start;
    padding-top: 1rem;
    font-size: 0.74rem;
  }

  .submit-guarantee-bar span {
    gap: 0.3rem;
  }

  /* FAQs */
  .booking-faq-section {
    padding: 3.5rem 0 4rem 0;
  }

  .faq-question {
    padding: 0.95rem 1.1rem;
    font-size: 1rem;
    gap: 0.5rem;
  }

  .faq-chevron {
    font-size: 20px;
  }

  .faq-answer {
    padding: 0 1.1rem 1rem 1.1rem;
    font-size: 0.88rem;
  }
}

/* --------------------------------------------------------------------------
   D. Compact Mobile Phones (<= 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .booking-hero {
    padding: 2.75rem 0.85rem 2.25rem 0.85rem;
  }

  .booking-hero .badge-gold {
    font-size: 0.74rem;
    padding: 0.35rem 0.7rem;
    gap: 0.35rem;
  }

  .booking-hero-title {
    font-size: clamp(1.55rem, 6.5vw, 2.15rem);
    line-height: 1.22;
  }

  .booking-hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.55;
    padding: 0;
  }

  .hero-highlights-strip {
    max-width: 100%;
    margin-top: 1.25rem;
  }

  .hero-highlight-pill {
    font-size: 0.78rem;
    padding: 0.4rem 0.75rem;
  }

  /* Section Card Paddings on Compact Mobile */
  .booking-section {
    padding: 1.75rem 0.5rem 3.5rem 0.5rem;
  }

  #enrollment-portal .form-section-card {
    padding: 1.25rem 0.85rem;
    border-radius: 14px;
    border-width: 2px;
  }

  .form-card-header {
    gap: 0.75rem;
    margin-bottom: 1.15rem;
    padding-bottom: 0.9rem;
  }

  .step-num-badge {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 0.95rem;
  }

  .form-card-title {
    font-size: 1.14rem;
    line-height: 1.25;
  }

  .form-card-desc {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  /* Step 1 Cards */
  .class-card-img-wrap {
    height: 125px;
  }

  .class-card-title {
    font-size: 0.98rem;
  }

  .class-card-tagline {
    font-size: 0.78rem;
  }

  /* Step 3 Form Controls */
  .form-group {
    gap: 0.35rem;
  }

  .form-label {
    font-size: 0.8rem;
  }

  .label-text-wrap {
    font-size: 0.8rem;
    gap: 0.35rem;
  }

  .label-icon {
    font-size: 17px !important;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 0.72rem 0.85rem;
    border-radius: 8px;
  }

  .form-hint {
    font-size: 0.72rem;
  }

  /* Step 4 Review */
  .review-title-badge-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .summary-live-status-pill {
    font-size: 0.68rem;
    padding: 0.2rem 0.6rem;
  }

  .summary-class-spotlight {
    padding: 0.8rem;
    gap: 0.75rem;
  }

  .summary-class-img-wrap {
    width: 58px;
    height: 58px;
    min-width: 58px;
  }

  .summary-class-title {
    font-size: 0.94rem;
  }

  .summary-class-devanagari {
    font-size: 0.76rem;
  }

  .summary-item {
    padding: 0.5rem 0.6rem;
  }

  .summary-label {
    font-size: 0.7rem;
    gap: 0.25rem;
  }

  .summary-label .material-symbols-outlined {
    font-size: 14px;
  }

  .summary-val {
    font-size: 0.82rem;
  }

  /* WhatsApp Master CTA */
  .submit-headline {
    font-size: 1.18rem;
  }

  .submit-subtext {
    font-size: 0.84rem;
    line-height: 1.48;
  }

  .btn-whatsapp-primary {
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }

  .btn-wa-inner {
    gap: 0.65rem;
  }

  .wa-svg-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
  }

  .btn-wa-title {
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .btn-wa-subtitle {
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .btn-wa-arrow {
    display: none; /* Hide arrow on small mobile to give maximum room to text */
  }

  /* Modal */
  .modal-dialog-box {
    padding: 1.65rem 1rem 1.25rem 1rem;
    width: 95%;
    border-radius: var(--radius-lg);
  }

  .modal-hero-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 0.85rem;
  }

  .modal-hero-icon svg {
    width: 34px;
    height: 34px;
  }

  .modal-title {
    font-size: 1.22rem;
  }

  .modal-desc {
    font-size: 0.82rem;
    margin-bottom: 1.15rem;
  }

  .modal-actions-list .btn {
    padding: 0.7rem 0.95rem;
    font-size: 0.84rem;
  }
}

/* --------------------------------------------------------------------------
   E. Ultra-Compact Mobile Phones (<= 360px — e.g. iPhone SE, smaller Androids)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .booking-hero-title {
    font-size: 1.45rem;
  }

  #enrollment-portal .form-section-card {
    padding: 1rem 0.65rem;
  }

  .summary-details-grid {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .submit-guarantee-bar {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .cta-actions-hub {
    gap: 0.65rem;
  }

  .cta-btn-whatsapp,
  .cta-btn-main {
    padding: 0.8rem 0.75rem;
  }
}

