/* schedule-training.css : Confermax Training Scheduler Styles. Shared rules live in assets/site.css. */
:root {
  --white: #ffffff;
  --dark-primary: #041637;
  --dark-secondary: #071f4c;
  --dark-deep: #020d22;
  --color-primary: #ff8a43;
  --color-primary-light: #ffedd5;
  --color-blue: #0284c7;
  --color-blue-light: #38bdf8;
  --color-blue-subtle: #7dd3fc;
  --color-heading: #0f172a;
  --color-body: #475569;
  --color-muted: #64748b;
  --bg-slate: #f8fafc;
  --border-subtle: #e2e8f0;
  --border-focus: #0284c7;
  --font-default: 'Outfit', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--dark-primary);
  scroll-behavior: smooth;
}

body {
  background: var(--bg-slate);
  color: var(--color-body);
  font-family: var(--font-default);
  margin: 0;
  padding: 0;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================================
   Section 1: Hero Banner (Midnight Blue with Cyan Glow)
   ======================================================== */
.page-hero-training {
  position: relative;
  background: var(--dark-primary);
  padding: 155px 0 85px;
  overflow: hidden;
  color: var(--white);
}

.page-hero-training::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 20%, rgba(56, 189, 248, 0.18) 0%, transparent 60%),
              radial-gradient(circle at 15% 85%, rgba(2, 132, 199, 0.2) 0%, transparent 55%),
              linear-gradient(180deg, rgba(4, 22, 55, 0.96) 0%, rgba(2, 13, 34, 0.98) 100%);
  z-index: 1;
}

.page-hero-training .container {
  position: relative;
  z-index: 2;
}

.hero-training-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

.hero-badge-training {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-blue-subtle);
  background: rgba(2, 132, 199, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-training-content h1 {
  font-size: 50px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 20px;
  font-family: var(--font-heading);
}

.hero-training-content h1 span {
  background: linear-gradient(90deg, #38bdf8 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-training-content p.lead {
  font-size: 17.5px;
  line-height: 1.7;
  color: #cbd5e1;
  margin: 0 0 32px;
  max-width: 620px;
}

.hero-image-panel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 35px rgba(2, 132, 199, 0.18);
  aspect-ratio: 16 / 10;
  max-height: 380px;
  background: rgba(2, 132, 199, 0.1);
}

.hero-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hero-image-panel:hover img {
  transform: scale(1.03);
}

.hero-visual-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero-card-tag {
  color: #38bdf8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-visual-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 12px;
}

.hero-visual-card p {
  font-size: 14.5px;
  color: #cbd5e1;
  margin: 0 0 24px;
  line-height: 1.6;
}

.hero-perk-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
}

.hero-perk-item svg {
  width: 18px;
  height: 18px;
  color: #38bdf8;
  flex-shrink: 0;
}

/* ========================================================
   Section 2: Interactive Scheduler (Split Form & Summary)
   ======================================================== */
.training-scheduler-section {
  padding: 85px 0 100px;
  background: #ffffff;
  position: relative;
}

.scheduler-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: start;
}

.scheduler-form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 42px 38px;
  box-shadow: 0 6px 30px rgba(15, 23, 42, 0.04);
}

.form-step-block {
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid #f1f5f9;
}

.form-step-block:last-of-type {
  border-bottom: none;
  margin-bottom: 24px;
  padding-bottom: 0;
}

/* Step Progress Indicator Header */
.step-progress-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
  padding: 14px 20px;
  background: var(--bg-slate);
  border: 1.5px solid var(--border-subtle);
  border-radius: 16px;
}

.step-progress-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: default;
  transition: all 0.25s ease;
  user-select: none;
}

.step-progress-item.clickable {
  cursor: pointer;
}

.step-progress-item.clickable:hover .step-name {
  color: var(--color-blue);
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: #e2e8f0;
  color: #64748b;
  transition: all 0.25s ease;
}

.step-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
  transition: all 0.25s ease;
}

.step-progress-item.active .step-num {
  background: var(--color-blue);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.2);
}

.step-progress-item.active .step-name {
  color: var(--color-heading);
  font-weight: 700;
}

.step-progress-item.completed .step-num {
  background: #10b981;
  color: #ffffff;
}

.step-progress-item.completed .step-name {
  color: #0f172a;
}

.step-progress-divider {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin: 0 14px;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.step-progress-divider.completed {
  background: #10b981;
}

/* Progressive Reveal Step States */
.form-step-block.step-hidden {
  display: none !important;
}

.form-step-block.step-visible {
  display: block;
  animation: stepFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Step Action Buttons (Continue buttons between steps) */
.step-actions-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-subtle);
}

.btn-step-continue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, #0284c7 0%, #0369a1 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.2);
}

.btn-step-continue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.35);
  background: linear-gradient(90deg, #0369a1 0%, #0284c7 100%);
}

.btn-step-continue svg {
  transition: transform 0.2s ease;
}

.btn-step-continue:hover svg {
  transform: translateX(3px);
}

.summary-placeholder {
  color: #94a3b8;
  font-style: italic;
  font-weight: 400;
}

.step-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-blue);
  background: rgba(2, 132, 199, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.step-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 18px;
}

/* Track Cards Grid */
.track-selection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.track-card {
  border: 2px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px 16px;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.track-card:hover {
  border-color: #94a3b8;
  background: var(--bg-slate);
}

.track-card.active {
  border-color: var(--color-blue);
  background: #f0f9ff;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.12);
}

.track-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

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

.track-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-heading);
}

.track-card.active .track-name {
  color: var(--color-blue);
}

.track-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pill-ae { background: #e0f2fe; color: #0369a1; }
.pill-confirms { background: #ffedd5; color: #c2410c; }
.pill-auth { background: #ede9fe; color: #6d28d9; }
.pill-all { background: #dcfce7; color: #15803d; }

.track-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--color-muted);
  margin: 0;
}

/* Format Option Buttons (Retained for backwards compatibility) */
.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.format-btn {
  border: 2px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.format-btn:hover {
  border-color: #94a3b8;
  background: var(--bg-slate);
}

.format-btn.active {
  border-color: var(--color-blue);
  background: #f0f9ff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12);
}

.format-btn input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.format-icon {
  width: 24px;
  height: 24px;
  color: var(--color-blue);
}

.format-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-heading);
}

.format-btn.active .format-label {
  color: var(--color-blue);
}

.format-sub {
  font-size: 11px;
  color: var(--color-muted);
}

/* Delivery Format Callout Banner (MS Teams Online Training) */
.training-delivery-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f0f9ff;
  border: 1.5px solid #bae6fd;
  border-radius: 14px;
  padding: 16px 18px;
  margin-top: 18px;
}

.delivery-banner-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #e0f2fe;
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.delivery-banner-body strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 2px;
}

.delivery-banner-body p {
  font-size: 13px;
  color: #0284c7;
  margin: 0;
  line-height: 1.5;
}

/* Date and Time Multi-Option Pickers */
.step-subtitle {
  font-size: 14px;
  color: var(--color-muted);
  margin: -8px 0 20px;
  line-height: 1.5;
}

.timezone-bar {
  margin-bottom: 22px;
}

.timezone-info-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: #0369a1;
}

.timezone-info-note svg {
  width: 17px;
  height: 17px;
  color: var(--color-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.timezone-info-note strong {
  color: #0c4a6e;
}

.slot-option-card {
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  background: #ffffff;
  padding: 18px 20px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

.slot-option-card:hover {
  border-color: #cbd5e1;
}

.slot-option-card:focus-within {
  border-color: var(--color-blue);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.08);
}

.slot-option-card.slot-option-optional {
  background: #fafaf9;
  border-style: dashed;
}

.slot-option-card.slot-option-optional:focus-within {
  background: #ffffff;
  border-style: solid;
}

.slot-option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.slot-option-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slot-option-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 6px;
  background: #e2e8f0;
  color: #475569;
}

.slot-option-badge.primary {
  background: #e0f2fe;
  color: #0369a1;
}

.slot-option-badge.optional {
  background: #f1f5f9;
  color: #64748b;
}

.slot-option-title strong {
  font-size: 14px;
  color: #1e293b;
}

.slot-required-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: #e11d48;
}

.slot-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slot-optional-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
}

.btn-clear-slot {
  background: none;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  padding: 2px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-clear-slot:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.slot-selection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-size: 14.5px;
  font-family: var(--font-default);
  color: #0f172a;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: 10px;
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.time-slots-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.time-slot-btn {
  padding: 10px 8px;
  border: 1.5px solid var(--border-subtle);
  border-radius: 10px;
  background: #ffffff;
  text-align: center;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
}

.time-slot-btn:hover {
  border-color: #94a3b8;
  background: var(--bg-slate);
}

.time-slot-btn.active {
  border-color: var(--color-blue);
  background: #f0f9ff;
  color: var(--color-blue);
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.12);
}

/* Participant Fields */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-schedule-submit {
  width: 100%;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, #ff8a43 0%, #ff7236 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(255, 138, 67, 0.35);
}

.btn-schedule-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 138, 67, 0.45);
  background: linear-gradient(90deg, #ea6c24 0%, #ff8a43 100%);
}

/* Right Column: Live Booking Summary */
.scheduler-summary-card {
  position: sticky;
  top: 100px;
  background: linear-gradient(180deg, #041637 0%, #071f4c 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 24px;
  padding: 34px 28px;
  color: var(--white);
  box-shadow: 0 16px 45px rgba(4, 22, 55, 0.16);
}

.summary-header {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.summary-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
}

.summary-header p {
  font-size: 13.5px;
  color: #cbd5e1;
  margin: 0;
}

.summary-details-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}

.summary-detail-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-lbl {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #38bdf8;
}

.summary-val {
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
}

.summary-badge-free {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(110, 231, 183, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
}

.summary-guarantee {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.summary-guarantee svg {
  width: 18px;
  height: 18px;
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 3px;
}

.summary-guarantee p {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

/* ========================================================
   Section 3: What's Included (4 Features Grid)
   ======================================================== */
.curriculum-section {
  padding: 95px 0;
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.section-header-center .sub-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-blue);
  display: block;
  margin-bottom: 12px;
}

.section-header-center h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-heading);
  line-height: 1.25;
  margin: 0 0 16px;
  font-family: var(--font-heading);
}

.section-header-center p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 0;
}

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

.curriculum-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.35s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.curriculum-card:hover {
  transform: translateY(-6px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.curriculum-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(56, 189, 248, 0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  margin-bottom: 20px;
}

.curriculum-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 12px;
  line-height: 1.35;
}

.curriculum-card p {
  font-size: 14px;
  color: var(--color-body);
  line-height: 1.6;
  margin: 0;
}

/* ========================================================
   Section 4: Training FAQs (Accordion)
   ======================================================== */
.training-faq-section {
  padding: 95px 0;
  background: #ffffff;
}

.faq-accordion-box {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
  background: #ffffff;
}

.faq-item.is-open {
  border-color: var(--color-blue);
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.08);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: #ffffff;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-default);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-heading);
}

.faq-question:hover {
  background: var(--bg-slate);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--color-muted);
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-blue);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  background: #ffffff;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-body);
  margin: 0;
}

/* ========================================================
   Section 5: CTA Banner
   ======================================================== */
.cta-section {
  padding: 90px 0;
  background: var(--dark-primary);
}

.cta-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.cta-banner h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin: 0 0 16px;
  font-family: var(--font-heading);
}

.cta-banner p {
  font-size: 17px;
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 32px;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-audit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 50px;
  padding: 14px 32px;
  color: var(--white);
  background: linear-gradient(90deg, var(--color-primary) 0%, #ff7236 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(255, 138, 67, 0.35);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-audit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 138, 67, 0.5);
  color: var(--white);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 50px;
  padding: 13px 30px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark-primary);
  transform: translateY(-2px);
}

/* ========================================================
   Booking Confirmation Modal
   ======================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 22, 55, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-card {
  background: #ffffff;
  border-radius: 24px;
  max-width: 600px;
  width: 100%;
  padding: 42px 38px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
  position: relative;
  text-align: center;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  font-size: 18px;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.modal-success-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #059669;
}

.modal-card h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-heading);
  margin: 0 0 10px;
}

.modal-card p.modal-sub {
  font-size: 15px;
  color: var(--color-body);
  margin: 0 0 24px;
  line-height: 1.6;
}

.modal-details-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px 22px;
  text-align: left;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 10px;
}

.modal-detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.modal-detail-item .lbl {
  color: #64748b;
  font-weight: 500;
}

.modal-detail-item .val {
  color: #0f172a;
  font-weight: 700;
}

.modal-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-ics-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 50px;
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  background: var(--color-blue);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.btn-ics-download:hover {
  background: #0369a1;
  transform: translateY(-2px);
}

.btn-done-close {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: 50px;
  font-size: 14.5px;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-done-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ========================================================
   Section 6: Footer (Midnight Blue Theme)
   ======================================================== */
footer#footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #051a42 0%, #020d22 100%) !important;
  border-top: 1px solid rgba(56, 189, 248, 0.2) !important;
  color: #ffffff !important;
  padding: 0;
}

footer#footer .f-items {
  padding: 80px 0 25px;
}

footer#footer .f-items .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
  align-items: flex-start;
}

footer#footer .footer-about {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
  padding-right: 45px;
}

footer#footer .footer-links {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

footer#footer .footer-contact {
  flex: 0 0 25%;
  max-width: 25%;
}

footer#footer .logo {
  height: 54px;
  width: auto;
  margin-bottom: 22px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

footer#footer .f-item.about p {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 15px;
  font-family: var(--font-default);
}

footer#footer .f-item.newsletter {
  margin-top: 20px;
}

footer#footer .f-item.newsletter p {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
  font-family: var(--font-default);
}

footer#footer .newsletter form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  max-width: 380px;
}

footer#footer .newsletter form input {
  flex: 1;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  padding: 0 18px;
  border-radius: 6px;
  min-height: 48px;
  font-family: var(--font-default);
  font-size: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
  transition: all 0.25s ease;
}

footer#footer .newsletter form input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

footer#footer .newsletter form input:focus {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25) !important;
}

footer#footer .newsletter button {
  background: var(--bg-gradient, linear-gradient(90deg, #ff8a43 20%, #fa7070 100%)) !important;
  border: none !important;
  color: #ffffff !important;
  border-radius: 6px;
  height: 48px;
  padding: 0 24px;
  font-weight: 600;
  font-size: 14px;
  min-width: 120px;
  cursor: pointer;
  font-family: var(--font-default);
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(255, 138, 67, 0.25) !important;
}

footer#footer .newsletter button:hover {
  filter: brightness(1.1) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 138, 67, 0.4) !important;
}

footer#footer .footer-social {
  margin-top: 24px;
  display: flex;
  gap: 10px;
}

footer#footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 50%;
  color: #ffffff !important;
  transition: all 0.25s ease;
}

footer#footer .footer-social a svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
  transition: transform 0.2s ease;
}

footer#footer .footer-social a:hover {
  background: #0284c7 !important;
  border-color: #38bdf8 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.45) !important;
}

footer#footer .footer-social a:hover svg {
  transform: scale(1.1);
}

footer#footer .widget-title {
  font-weight: 600;
  margin-bottom: 22px;
  font-size: 18px;
  color: #ffffff !important;
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 10px;
  font-family: var(--font-heading);
}

footer#footer .widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: #0284c7 !important;
  border-radius: 2px;
}

footer#footer .f-item.link ul,
footer#footer .footer-item.contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer#footer .f-item.link li {
  margin-top: 12px;
  font-size: 14.5px;
}

footer#footer .f-item.link li a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.72) !important;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: var(--font-default);
}

footer#footer .f-item.link li a:hover {
  color: #38bdf8 !important;
  transform: translateX(3px);
}

footer#footer .footer-item.contact li {
  display: flex;
  align-items: flex-start;
  margin-top: 22px;
}

footer#footer .footer-item.contact li:first-of-type {
  margin-top: 0;
}

footer#footer .footer-item.contact li strong {
  display: block;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 12px;
  letter-spacing: 0.8px;
  margin-bottom: 3px;
  font-family: var(--font-heading);
}

footer#footer .footer-item.contact li .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  width: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  margin-right: 16px;
  background: rgba(2, 132, 199, 0.14) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
  transition: all 0.25s ease;
}

footer#footer .footer-item.contact li:hover .ic {
  background: rgba(2, 132, 199, 0.24) !important;
  border-color: rgba(56, 189, 248, 0.6) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

footer#footer .footer-item.contact li .ic svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

footer#footer .footer-item.contact li p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 14.5px;
  line-height: 1.5;
  font-family: var(--font-default);
}

footer#footer .footer-item.contact li a {
  color: rgba(255, 255, 255, 0.72) !important;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer#footer .footer-item.contact li a:hover {
  color: #38bdf8 !important;
}

footer#footer .footer-bottom {
  margin-top: 45px;
  border-top: 1px solid rgba(56, 189, 248, 0.18) !important;
  padding: 24px 0;
}

footer#footer .footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

footer#footer .footer-bottom p.copyright-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 13.5px;
  font-family: var(--font-default);
}

footer#footer .footer-bottom-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

footer#footer .footer-bottom-nav li a {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
  font-family: var(--font-default);
}

footer#footer .footer-bottom-nav li a:hover {
  color: #38bdf8 !important;
}

footer#footer .foter-shape-right-bottom {
  position: absolute;
  right: 2%;
  bottom: 40px;
  z-index: 0;
  max-width: 220px;
  opacity: 0.12;
  pointer-events: none;
}

footer#footer .foter-shape-right-bottom img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================================
   Responsive Media Queries
   ======================================================== */
@media (max-width: 991px) {
  .hero-training-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-training-content p.lead {
    margin: 0 auto 24px;
  }
  .hero-image-panel {
    max-width: 540px;
    margin: 0 auto;
  }
  .scheduler-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .scheduler-summary-card {
    position: static;
  }
  .curriculum-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  footer#footer .footer-about {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 35px;
    padding-left: 15px;
    padding-right: 15px;
  }
  footer#footer .footer-links {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 30px;
  }
  footer#footer .footer-contact {
    flex: 0 0 100%;
    max-width: 100%;
  }
  footer#footer .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  footer#footer .footer-bottom-nav {
    justify-content: center;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .page-hero-training {
    padding: 130px 0 65px;
  }
  .hero-training-content h1 {
    font-size: 34px;
  }
  .track-selection-grid,
  .slot-selection-grid,
  .form-row-2,
  .format-grid {
    grid-template-columns: 1fr;
  }
  .curriculum-grid {
    grid-template-columns: 1fr;
  }
  .scheduler-form-card {
    padding: 28px 20px;
  }
  .step-progress-nav {
    padding: 10px 14px;
    margin-bottom: 24px;
  }
  .step-name {
    display: none;
  }
  .step-progress-divider {
    margin: 0 8px;
  }
  footer#footer .footer-links {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Korean & Japanese font fallbacks */
html[lang="ko"] body { --font-default: 'Outfit', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; --font-heading: 'Outfit', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; }
html[lang="ja"] body { --font-default: 'Outfit', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', 'Meiryo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; --font-heading: 'Outfit', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', sans-serif; }
