/* ==========================================================================
   Training Heights - Nigeria Training Calendar 2027
   Corporate Enterprise Design System (Premium Visual Cards & Mobile Perfection)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand Palette (Official Training Heights: Primary #aa538c, Secondary #aed254) */
  --th-primary: #aa538c;
  --th-secondary: #aed254;

  --th-purple-950: #1a0815;
  --th-purple-900: #2c0e24;
  --th-purple-800: #421536;
  --th-purple: #aa538c;
  --th-purple-600: #934377;
  --th-purple-500: #aa538c;
  --th-purple-100: #f5eaf1;
  --th-purple-50: #fbf6f9;

  --th-magenta: #aa538c;
  --th-magenta-500: #bd629d;

  --th-green-dark: #6e8b23;
  --th-green: #8cae32;
  --th-green-brand: #aed254;
  --th-green-light: #afd449;
  --th-green-50: #f8fbee;
  --th-green-100: #edf5d3;
  --th-green-border: #d4e79b;

  /* Neutrals */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);

  /* Elevation */
  --shadow-xs: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(16, 24, 40, 0.08), 0 1px 2px 0 rgba(16, 24, 40, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(16, 24, 40, 0.08), 0 2px 6px -2px rgba(16, 24, 40, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(16, 24, 40, 0.1), 0 4px 8px -2px rgba(16, 24, 40, 0.04);
  --shadow-xl: 0 20px 32px -4px rgba(16, 24, 40, 0.12);
  --shadow-pill: 0 12px 32px -4px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.04);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1280px;
}

/* Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: #f8fafc;
  color: var(--slate-800);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg {
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. DUAL-STATE NAVBAR
   Transparent when at the hero section; frosted white pill when scrolled past.
   ========================================================================== */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
  transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease;
  padding: 22px 24px;
}

.main-navbar {
  pointer-events: auto;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* STATE 1: At Hero Section - Completely Transparent Background and Border */
.header-wrapper:not(.navbar-scrolled) .main-navbar {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
}

/* STATE 2: Scrolled past Hero Section - Premium Floating Frosted White Pill */
.header-wrapper.navbar-scrolled {
  padding: 10px 24px;
}

.header-wrapper.navbar-scrolled .main-navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  max-width: 1180px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.02);
}

.header-wrapper:not(.navbar-scrolled) .brand-logo-img {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6)) brightness(1.08);
}

.header-wrapper.navbar-scrolled .brand-logo-img {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.brand-tagline {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  display: inline-block;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.header-wrapper:not(.navbar-scrolled) .brand-tagline {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.header-wrapper.navbar-scrolled .brand-tagline {
  color: var(--slate-600);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.15s;
  padding: 4px 0;
  position: relative;
}

.nav-link:hover {
  color: var(--th-green-brand);
}

.nav-link.active {
  color: #ffffff;
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--th-green-brand);
  border-radius: var(--radius-full);
}

.header-wrapper.navbar-scrolled .nav-link {
  color: var(--slate-700);
}

.header-wrapper.navbar-scrolled .nav-link:hover {
  color: var(--th-purple);
}

.header-wrapper.navbar-scrolled .nav-link.active {
  color: var(--th-purple);
}

.header-wrapper.navbar-scrolled .nav-link.active::after {
  background-color: var(--th-green-brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.support-hotline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  transition: color 0.2s ease;
}

.support-hotline .support-label {
  color: var(--th-green-brand);
  font-weight: 700;
}

.header-wrapper.navbar-scrolled .support-hotline {
  color: var(--slate-800);
}

.header-wrapper.navbar-scrolled .support-hotline .support-label {
  color: var(--th-green-dark);
}

.btn-nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.header-wrapper:not(.navbar-scrolled) .btn-nav-contact {
  background: #ffffff;
  color: var(--th-purple-900);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.header-wrapper.navbar-scrolled .btn-nav-contact {
  background: #ffffff;
  color: var(--th-purple);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
}

.header-wrapper.navbar-scrolled .btn-nav-contact:hover {
  background: var(--slate-50);
  border-color: var(--th-purple);
}

.btn-nav-contact .arrow-badge {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--th-magenta);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.btn-nav-contact:hover .arrow-badge {
  transform: translateX(2px);
}

.mobile-menu-trigger {
  display: none;
  color: #ffffff;
  padding: 6px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
}

.header-wrapper.navbar-scrolled .mobile-menu-trigger {
  color: var(--slate-800);
}

/* ==========================================================================
   2. HERO CALENDAR SECTION (Executive Cinematic Luxury)
   ========================================================================== */
.hero-calendar-header {
  position: relative;
  background-color: #0d040b;
  background-image: 
    radial-gradient(ellipse 90% 70% at 50% 20%, rgba(168, 82, 138, 0.45) 0%, rgba(38, 12, 33, 0.88) 55%, rgba(13, 4, 11, 0.98) 100%),
    linear-gradient(180deg, rgba(16, 5, 14, 0.65) 0%, rgba(28, 9, 24, 0.78) 50%, rgba(13, 4, 11, 0.98) 100%),
    url('assets/images/hero-bg.jpg');
  background-position: center center, center center, center top;
  background-size: cover, cover, cover;
  background-repeat: no-repeat;
  color: #ffffff;
  padding-top: calc(var(--header-height, 84px) + 50px);
  padding-bottom: 64px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-ambient-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 720px;
  height: 380px;
  background: radial-gradient(ellipse, rgba(168, 82, 138, 0.32) 0%, rgba(157, 190, 64, 0.12) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(157, 190, 64, 0.14);
  border: 1px solid rgba(157, 190, 64, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(157, 190, 64, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  color: var(--th-green-brand);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--th-green-brand);
  box-shadow: 0 0 8px var(--th-green-brand);
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-tag-separator {
  opacity: 0.5;
}

.hero-title-grand,
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 4.1vw, 3.15rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}

.hero-lead-small {
  font-size: clamp(0.98rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
  max-width: 780px;
  margin: 0 auto 32px auto;
  font-weight: 500;
  letter-spacing: 0.015em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-lead-small .accent-word,
.hero-title .accent-word,
.hero-title-grand .accent-word {
  background: linear-gradient(135deg, #d47cb4 0%, #A8528A 50%, #c46ca3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 700;
  filter: drop-shadow(0 2px 12px rgba(168, 82, 138, 0.45));
}

.hero-description,
.hero-eyebrow-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 16px auto;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary-purple {
  background: linear-gradient(135deg, #8b3d70 0%, #A8528A 50%, #702657 100%);
  color: #ffffff;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px -2px rgba(162, 28, 175, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -2px rgba(162, 28, 175, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.btn-primary-purple .btn-arrow-icon {
  transition: transform 0.25s ease;
}

.btn-primary-purple:hover .btn-arrow-icon {
  transform: translateY(3px);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.play-icon-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -2px;
  color: #ffffff;
}

/* ==========================================================================
   ACCREDITATION STRIP (Moving Logo Marquee to the Left)
   ========================================================================== */
.accreditation-strip {
  background: linear-gradient(90deg, #240c1e 0%, #3a1330 25%, #46173a 50%, #3a1330 75%, #240c1e 100%);
  color: #ffffff;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 24px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.accreditation-marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  transform: translateZ(0);
}

.marquee-edge-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 5;
  pointer-events: none;
}

.marquee-edge-fade.edge-left {
  left: 0;
  background: linear-gradient(to right, #240c1e 0%, transparent 100%);
}

.marquee-edge-fade.edge-right {
  right: 0;
  background: linear-gradient(to left, #240c1e 0%, transparent 100%);
}

.accreditation-marquee-track {
  display: flex;
  width: max-content;
  animation: scrollAccreditationsLeft 38s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.accreditation-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollAccreditationsLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.accreditation-group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  flex-shrink: 0;
}

.accred-logo-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  padding: 6px 20px;
  height: 76px;
  min-width: 130px;
  max-width: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity 0.25s ease, filter 0.25s ease;
  opacity: 1;
}

.accred-logo-card:hover {
  opacity: 1;
  filter: brightness(1.08);
}

.accred-logo-card[title="Microsoft Learning Partner"] .accred-logo-img {
  mix-blend-mode: normal;
  filter: none;
}

.accred-logo-card[title="PECB Accredited Partner"] .accred-logo-img,
.accred-logo-card[title="Project Management Institute (PMI)"] .accred-logo-img,
.accred-logo-card[title="Global Association for Quality Management (GAQM)"] .accred-logo-img {
  height: 68px;
  max-height: 75px;
}

.accred-logo-img {
  height: 56px;
  max-height: 60px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  display: block;
  image-rendering: auto;
  filter: contrast(1.05) brightness(1.02);
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.accred-logo-card:hover .accred-logo-img {
  filter: none;
}

/* ==========================================================================
   VALUE PROPOSITIONS (Executive Elevated Cards)
   ========================================================================== */
.value-props-section {
  background: #ffffff;
  border-bottom: 1px solid var(--slate-200);
  padding: 16px 0;
  box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.04);
}

.value-props-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.value-prop-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(248, 250, 252, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-md);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-prop-card:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: var(--th-green-border);
  box-shadow: 0 8px 20px -4px rgba(0, 135, 81, 0.1);
}

.value-prop-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #a7f3d0;
  color: var(--th-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.value-prop-card:hover .value-prop-icon {
  transform: scale(1.08);
}

.value-prop-text {
  min-width: 0;
}

.value-prop-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.value-prop-sub {
  font-size: 0.72rem;
  color: var(--slate-500);
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   3. CALENDAR SECTION & CONTROLS
   ========================================================================== */
/* ==========================================================================
   3. CALENDAR SECTION & CONTROLS (Image 3 & 4)
   ========================================================================== */
.calendar-main-section {
  padding: 40px 0 80px 0;
  flex: 1;
}

.calendar-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.calendar-title-group h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.calendar-title-group p {
  color: var(--slate-500);
  font-size: 0.95rem;
}

/* Month Navigation Pill & Controls */
.month-controls-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.month-dropdown-pill {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 0 12px;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.15s;
}

.month-dropdown-pill:focus-within {
  border-color: var(--th-purple);
  box-shadow: 0 0 0 3px var(--th-purple-100);
}

.dropdown-calendar-icon {
  color: var(--slate-500);
  margin-right: 8px;
  flex-shrink: 0;
}

.month-select-dropdown {
  appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") no-repeat right 0 center;
  border: none;
  padding: 9px 28px 9px 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  cursor: pointer;
  outline: none;
}

.month-nav-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-arrow-nav {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  background: #ffffff;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 0.15s ease;
}

.btn-arrow-nav:hover:not(:disabled) {
  background: var(--slate-100);
  color: var(--slate-900);
  border-color: var(--slate-300);
}

.btn-arrow-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}



/* ==========================================================================
   4. DESKTOP CALENDAR BOARD (Image 3: media_1788526496948.png)
   ========================================================================== */
.calendar-board-wrapper {
  margin-bottom: 32px;
}

.calendar-board-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.3s ease;
}

.calendar-board-container:hover {
  box-shadow: 0 16px 40px -4px rgba(15, 23, 42, 0.11), 0 6px 16px -2px rgba(15, 23, 42, 0.06);
}

.cal-board-header {
  display: grid;
  grid-template-columns: 200px repeat(4, 1fr);
  text-align: center;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.cal-th-month {
  background: linear-gradient(135deg, #4a154b 0%, #6e1a70 100%);
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.cal-th-month .cal-th-main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cal-th-month .cal-th-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.03em;
}

.cal-th-week {
  background: linear-gradient(135deg, #65a31f 0%, #74b72e 100%);
  color: #ffffff;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.cal-th-week .cal-th-main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cal-th-week .cal-th-dates {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.14);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
}

.cal-board-body {
  display: grid;
  grid-template-columns: 200px repeat(4, 1fr);
  min-height: 380px;
  background: #fafbfc;
}

.cal-td-month {
  background: linear-gradient(180deg, #ffffff 0%, #fdf4ff 100%);
  border-right: 1px solid #e2e8f0;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  position: relative;
}

.cal-td-month-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(122, 40, 123, 0.08);
  color: #7a287b;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(122, 40, 123, 0.15);
}

.cal-td-month-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: #4a154b;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.cal-td-month-sub {
  font-size: 0.92rem;
  font-weight: 700;
  color: #7a287b;
}

.cal-td-month-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-500);
  margin-top: 4px;
}

.cal-td-week {
  border-right: 1px solid #e2e8f0;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8fafc;
}

.cal-td-week:last-child {
  border-right: none;
}

/* ==========================================================================
   ENHANCED DETAILED COURSE CARD
   ========================================================================== */
.cal-course-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  cursor: pointer;
  text-align: left;
  width: 100%;
  box-shadow: 0 2px 5px -1px rgba(15, 23, 42, 0.05), 0 1px 2px -1px rgba(15, 23, 42, 0.03);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.cal-course-item:hover {
  background: #ffffff;
  border-color: #c026d3;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(192, 38, 211, 0.16), 0 3px 6px -2px rgba(192, 38, 211, 0.08);
}

.cal-course-item.selected {
  background: #fdf4ff !important;
  border-color: #7a287b !important;
  box-shadow: 0 8px 24px -4px rgba(122, 40, 123, 0.25), 0 0 0 1px #7a287b !important;
}

.cal-course-item.selected::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #7a287b 0%, #c026d3 100%);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.cal-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.cal-badge {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: normal;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.cal-badge-li {
  background: #fae8ff;
  color: #7e2480;
  border: 1px solid #f0abfc;
}

.cal-badge-la {
  background: #ede9fe;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}

.cal-badge-lm {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fbcfe8;
}

.cal-badge-prac, .cal-badge-pro {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.cal-badge-cisa {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.cal-badge-cism, .cal-badge-crisc {
  background: #f0fdfa;
  color: #0f766e;
  border: 1px solid #99f6e4;
}

.cal-badge-cissp {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
}

.cal-badge-pmp {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.cal-badge-cbap {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

.cal-badge-agile {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.cal-badge-itil {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.cal-badge-ai {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}

.cal-badge-ceh, .cal-badge-case, .cal-badge-cct {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
}

.cal-badge-fnd, .cal-badge-lpli, .cal-badge-mor, .cal-badge-axelos, .cal-badge-exec, .cal-badge-tech, .cal-badge-cert {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.cal-duration-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cal-duration-tag svg {
  color: #94a3b8;
}

.cal-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: #0f172a;
  line-height: 1.35;
  transition: color 0.15s ease;
}

.cal-course-item:hover .cal-card-title {
  color: #7a287b;
}

.cal-course-item.selected .cal-card-title {
  color: #4a154b;
  font-weight: 800;
}

.cal-card-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  margin-top: 2px;
}

.cal-card-status {
  font-size: 0.7rem;
  font-weight: 600;
  color: #008751;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 135, 81, 0.08);
  padding: 2px 7px;
  border-radius: 9999px;
  letter-spacing: -0.01em;
}

.cal-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #008751;
  display: inline-block;
}

.cal-card-action {
  font-size: 0.72rem;
  font-weight: 700;
  color: #7a287b;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.cal-card-action svg {
  transition: transform 0.15s ease;
}

.cal-course-item:hover .cal-card-action svg,
.cal-course-item.selected .cal-card-action svg {
  transform: translateX(3px);
}

/* ==========================================================================
   5. MOBILE CALENDAR CARDS (Image 4: media_1788527005237.png)
   ========================================================================== */
.mobile-calendar-wrapper {
  display: none;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .calendar-board-wrapper {
    display: none;
  }
  .mobile-calendar-wrapper {
    display: flex;
  }
}

.mob-month-card {
  background: linear-gradient(135deg, #4a154b 0%, #7a287b 100%);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #ffffff;
  box-shadow: 0 8px 24px -4px rgba(74, 21, 75, 0.3);
}

.mob-month-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.mob-month-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #ffffff;
}

.mob-month-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 3px;
}

.mob-week-block {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  margin-bottom: 12px;
  transition: all 0.25s ease;
}

.mob-week-block.expanded {
  border-color: rgba(168, 82, 138, 0.35);
  box-shadow: 0 8px 24px rgba(168, 82, 138, 0.1);
}

.mob-week-header {
  background: linear-gradient(135deg, #8ba832 0%, #9DBE40 100%);
  color: #ffffff;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.mob-week-header:hover {
  filter: brightness(1.04);
}

.mob-week-header:active {
  filter: brightness(0.96);
}

.mob-week-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.mob-week-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.mob-week-dates {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.mob-week-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mob-week-count-badge {
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.16);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.mob-week-chevron-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.16);
  transition: background 0.2s ease;
}

.mob-week-chevron {
  color: #ffffff;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mob-week-block.expanded .mob-week-chevron {
  transform: rotate(180deg);
}

.mob-week-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8fafc;
}

/* Collapsible accordion states */
.mob-week-block.collapsed .mob-week-body {
  display: none !important;
}

.mob-week-block.expanded .mob-week-body {
  display: flex !important;
  animation: mobWeekExpand 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes mobWeekExpand {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   6. MASTER-DETAIL & REGISTRATION VIEW (Image 3 & 4)
   ========================================================================== */
.master-detail-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  display: block;
  margin-bottom: 48px;
  position: relative;
}

@media (max-width: 900px) {
  .master-detail-card {
    padding: 22px 18px;
  }
}

.detail-pane {
  border-right: none;
  padding-right: 0;
  width: 100%;
}

@media (max-width: 900px) {
  .detail-pane {
    border-right: none;
    padding-right: 0;
  }
}

.back-calendar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #7a287b;
  margin-bottom: 14px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  transition: transform 0.15s;
}

.back-calendar-link:hover {
  transform: translateX(-3px);
}

/* ==========================================================================
   REDESIGNED EXECUTIVE COURSE DETAILS PANE
   ========================================================================== */
.detail-top-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-top-register-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #7a287b 0%, #4a154b 100%);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(122, 40, 123, 0.22);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-top-register-cta:hover {
  background: linear-gradient(135deg, #8e3290 0%, #5a1a5b 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(122, 40, 123, 0.32);
}

.btn-top-register-cta:active {
  transform: translateY(0);
}

.detail-accred-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.accred-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.detail-header-block {
  margin-bottom: 20px;
}

.detail-category-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7a287b;
  background: #fdf4ff;
  border: 1px solid #f5d0fe;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.detail-main-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.detail-main-title .badge-code {
  color: #7a287b;
  font-weight: 700;
}

/* Quick Facts Stats Strip */
.detail-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.detail-stat-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.detail-stat-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.stat-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f3e8ff;
  color: #7a287b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-text-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 2px;
}

.stat-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Section Badge Header */
.section-badge-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.section-num-pill {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #4a154b;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-badge-header h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

/* Executive About Section */
.executive-about-section {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}

.detail-about-paragraph {
  font-size: 0.94rem;
  line-height: 1.68;
  color: #334155;
  margin-bottom: 16px;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.about-pillar-card {
  background: #fdfbfd;
  border: 1px solid #f3e8f5;
  border-radius: 12px;
  padding: 14px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: all 0.2s ease;
}

.about-pillar-card:hover {
  background: #ffffff;
  border-color: #e9d5ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(122, 40, 123, 0.06);
}

.pillar-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-content h5 {
  font-size: 0.84rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 3px;
}

.pillar-content p {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

/* Learning Outcomes Section */
.detail-learning-section {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}

.learn-points-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.learn-point-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.86rem;
  color: #1e293b;
  line-height: 1.45;
  transition: all 0.15s ease;
}

.learn-point-row:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.learn-check-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f3e8ff;
  color: #7a287b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.learn-point-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: #334155;
}

/* Delivery & Accreditation Specifications Grid */
.detail-specs-section {
  margin-bottom: 20px;
}

.executive-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.spec-card {
  background: #fbf7fc;
  border: 1px solid #f0e6f2;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: all 0.15s ease;
}

.spec-card:hover {
  background: #ffffff;
  border-color: #e2cfe6;
}

.spec-card.full-span {
  grid-column: span 2;
}

.spec-card-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.spec-card-text {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #7a287b;
  margin-bottom: 2px;
}

.spec-val {
  font-size: 0.86rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}

/* Executive Course Enrollment Banner */
.course-enroll-card {
  background: linear-gradient(135deg, #faf5fc 0%, #ffffff 50%, #f7f0fa 100%);
  border: 1.5px solid #ecd8ef;
  border-radius: 16px;
  padding: 28px 32px;
  margin-top: 24px;
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: center;
  gap: 28px;
  box-shadow: 0 8px 24px -6px rgba(122, 40, 123, 0.08);
  position: relative;
  overflow: hidden;
}

.course-enroll-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--th-purple), var(--th-magenta));
}

.enroll-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--th-purple);
  background: rgba(122, 40, 123, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.enroll-card-title {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.35;
  margin-bottom: 8px;
}

.enroll-card-title span {
  color: var(--th-purple);
}

.enroll-card-desc {
  font-size: 0.84rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 14px;
}

.enroll-perks {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.enroll-perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-700);
}

.enroll-perk-item svg {
  color: var(--th-green-dark);
  flex-shrink: 0;
}

.enroll-card-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.btn-large-enroll {
  width: 100%;
  padding: 15px 24px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 24px -4px rgba(122, 40, 123, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-large-enroll:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(122, 40, 123, 0.45);
}

.enroll-guarantee-note {
  font-size: 0.74rem;
  color: var(--slate-500);
  font-weight: 500;
}

@media (max-width: 900px) {
  .course-enroll-card {
    grid-template-columns: 1fr;
    padding: 22px 20px;
    gap: 20px;
  }
}


.meta-cell-value {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--slate-900);
}

/* Shared Corporate Registration Form (Used inside modal) */
.corporate-reg-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-field-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--slate-800);
}

.input-field-group label .req {
  color: #e11d48;
}

.clean-input, .clean-select, .clean-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  background: #ffffff;
  font-size: 0.92rem;
  color: var(--slate-900);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.clean-input:focus, .clean-select:focus, .clean-textarea:focus {
  outline: none;
  border-color: var(--th-purple);
  box-shadow: 0 0 0 3px var(--th-purple-100);
}

.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--slate-600);
}

.terms-row input {
  margin-top: 3px;
  accent-color: var(--th-purple);
}

.btn-register-submit {
  background: var(--th-purple);
  color: #ffffff;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  margin-top: 4px;
  cursor: pointer;
  border: none;
}

.btn-register-submit:hover {
  background: var(--th-purple-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.trust-guarantee-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--slate-500);
  margin-top: 8px;
  text-align: center;
}



/* ==========================================================================
   7. MODALS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 540px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header-bar {
  padding: 18px 24px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-btn-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--slate-100);
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-btn-close:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

.modal-body-content {
  padding: 24px;
  overflow-y: auto;
}

/* AI Social Feeds */
.social-feed-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-network-card {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.social-network-card:hover {
  border-color: var(--th-purple-500);
  background: var(--th-purple-50);
  transform: translateX(3px);
}

.social-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-icon-wrapper.youtube { background: #fee2e2; color: #dc2626; }
.social-icon-wrapper.linkedin { background: #e0f2fe; color: #0284c7; }
.social-icon-wrapper.facebook { background: #dbeafe; color: #1d4ed8; }
.social-icon-wrapper.instagram { background: #fce7f3; color: #be185d; }
.social-icon-wrapper.x-twitter { background: #f1f5f9; color: #0f172a; }

.social-name-text {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--slate-900);
}

.social-desc-text {
  font-size: 0.76rem;
  color: var(--slate-500);
}

/* Download Calendar Box */
.calendar-download-box {
  background: var(--slate-50);
  border: 2px dashed var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  margin-bottom: 20px;
}

.pdf-vector-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px auto;
  color: var(--th-purple);
}

.calendar-download-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.calendar-download-subtitle {
  font-size: 0.84rem;
  color: var(--slate-500);
}

.btn-trigger-pdf-download {
  width: 100%;
  background: var(--th-purple);
  color: #ffffff;
  padding: 13px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-trigger-pdf-download:hover {
  background: var(--th-purple-600);
}

/* Automated Email Receipt Dialog */
.receipt-success-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--th-green-100);
  color: var(--th-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.receipt-dialog-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 6px;
  text-align: center;
}

.receipt-dialog-sub {
  font-size: 0.86rem;
  color: var(--slate-600);
  text-align: center;
  margin-bottom: 20px;
}

.receipt-summary-table {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.receipt-table-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  padding: 6px 0;
  border-bottom: 1px dashed var(--slate-200);
}

.receipt-table-row:last-child {
  border-bottom: none;
}

.receipt-table-label {
  color: var(--slate-500);
}

.receipt-table-val {
  font-weight: 700;
  color: var(--slate-900);
}

/* ==========================================================================
   EXECUTIVE REGISTRATION POPUP MODAL (Image Left + Form Right)
   ========================================================================== */
.reg-modal-container {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 980px;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.45);
  overflow: hidden;
  max-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .reg-modal-container {
  transform: scale(1);
}

.reg-modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--slate-600);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.reg-modal-close-btn:hover {
  background: #f8fafc;
  color: var(--slate-900);
  transform: rotate(90deg);
}

/* Modal Left Pane: Calendar Boardroom Visual */
.reg-modal-visual {
  position: relative;
  background: #1e0b24;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  color: #ffffff;
}

.reg-visual-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.reg-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reg-modal-container:hover .reg-visual-img {
  transform: scale(1.07);
}

.reg-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 11, 36, 0.65) 0%,
    rgba(25, 7, 32, 0.86) 45%,
    rgba(15, 3, 20, 0.98) 100%
  );
}

.reg-visual-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reg-visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fce7f3;
  width: fit-content;
}

.reg-pulse-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #74B72E;
  box-shadow: 0 0 0 2px rgba(116, 183, 46, 0.35);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(116, 183, 46, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(116, 183, 46, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(116, 183, 46, 0); }
}

.reg-visual-course-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f472b6;
}

.reg-visual-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.reg-visual-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.reg-visual-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #e2e8f0;
  font-weight: 500;
}

.reg-visual-spec-item svg {
  color: #f472b6;
  flex-shrink: 0;
}

.reg-visual-perks-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.reg-visual-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: #cbd5e1;
}

.reg-visual-perk svg {
  color: #4ade80;
  flex-shrink: 0;
}

.reg-visual-footer-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: #94a3b8;
  padding-top: 6px;
}

.reg-visual-footer-note svg {
  color: #74B72E;
  flex-shrink: 0;
}

/* Modal Right Pane: Registration Form */
.reg-modal-form-wrap {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 92vh;
}

.reg-modal-form-header {
  margin-bottom: 18px;
}

.reg-modal-tagline {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--th-purple);
  margin-bottom: 4px;
}

.reg-modal-heading {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 6px;
}

.reg-modal-subtext {
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.45;
}

.modal-form-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Registration Modal Responsive Media Query */
@media (max-width: 850px) {
  .reg-modal-container {
    grid-template-columns: 1fr;
    max-height: 94vh;
    max-width: 520px;
    border-radius: 16px;
  }

  .reg-modal-visual {
    padding: 24px 20px;
    min-height: 210px;
  }

  .reg-visual-title {
    font-size: 1.2rem;
  }

  .reg-visual-perks-list {
    display: none;
  }

  .reg-modal-form-wrap {
    padding: 24px 20px;
    max-height: calc(94vh - 210px);
  }
}

/* ==========================================================================
   INTERACTIVE JS ANIMATION SYSTEM
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Calendar Month Switch Transition */
.cal-grid-transition {
  animation: calGlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes calGlideIn {
  0% {
    opacity: 0.2;
    transform: translateY(12px) scale(0.992);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Interactive Button Ripple */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  transform: scale(0);
  animation: rippleAnimation 0.6s linear;
  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ==========================================================================
   8. MOBILE DRAWER NAVIGATION (Clean Slide-in Menu)
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 320px;
  height: 100%;
  background: #ffffff;
  z-index: 2600;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.mobile-drawer-overlay.active .mobile-nav-drawer {
  transform: translateX(0);
}

.drawer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-200);
}

.drawer-links-stack {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-link-item {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-800);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  transition: color 0.15s;
}

.drawer-link-item:hover, .drawer-link-item.active {
  color: var(--th-purple);
}

.drawer-actions-block {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   9. MOBILE BOTTOM NAVIGATION (Matches Voice Note Request)
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
}

/* Footer */
.corporate-footer {
  background: var(--slate-900);
  color: #ffffff;
  padding: 48px 0 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-brand-p {
  color: var(--slate-400);
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-column-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: #a3e635;
  margin-bottom: 14px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-list a {
  font-size: 0.84rem;
  color: var(--slate-300);
  transition: color 0.15s;
}

.footer-nav-list a:hover {
  color: #ffffff;
}

.footer-bottom-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--slate-400);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS (Mobile & Tablet)
   STRICT USER REQUIREMENT:
   "make sure that the Contact Us too is hidden in the mobile responsive,
    there's only the logo and the three dash lines [hamburger menu] in the upper part,
    and make sure the down part is well designed too, the down navbar too is well designed."
   ========================================================================== */
@media (max-width: 1080px) {
  .master-detail-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .detail-pane {
    border-right: none;
    border-bottom: none;
    padding-right: 0;
    padding-bottom: 0;
  }

  .value-props-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-columns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 68px;
  }

  .container {
    padding: 0 16px;
  }

  /* Upper Nav: STRICTLY ONLY Logo & 3-Dash Hamburger Icon */
  .nav-links {
    display: none !important;
  }

  .support-hotline {
    display: none !important;
  }

  .btn-nav-contact {
    display: none !important; /* STRICTLY HIDDEN ON MOBILE AS REQUESTED */
  }

  .mobile-menu-trigger {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .header-wrapper {
    padding: 10px 14px;
  }

  .header-wrapper.navbar-scrolled {
    padding: 8px 14px;
  }

  .main-navbar {
    padding: 8px 16px;
    border-radius: var(--radius-full);
  }

  .header-wrapper:not(.navbar-scrolled) .main-navbar {
    background: transparent !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
  }

  .brand-logo-img {
    height: 36px;
    max-width: 130px;
  }

  .brand-tagline {
    display: none; /* Keep mobile upper navbar clean and uncluttered */
  }

  .hero-calendar-header {
    padding-top: 86px;
    padding-bottom: 40px;
  }

  .hero-tag {
    font-size: 0.72rem;
    padding: 6px 14px;
    margin-bottom: 16px;
    max-width: 94%;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 10px;
    border-radius: var(--radius-full);
    line-height: 1.35;
    text-align: center;
  }

  .hero-tag-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--th-green-brand);
    font-weight: 700;
    white-space: nowrap;
  }

  .hero-tag-badge {
    display: inline-block;
    color: #ffffff;
    font-weight: 700;
    white-space: nowrap;
    background: rgba(168, 82, 138, 0.35);
    border: 1px solid rgba(168, 82, 138, 0.6);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .hero-tag-separator {
    display: none;
  }

  .hero-eyebrow-description {
    font-size: 0.92rem;
    margin-bottom: 12px;
    line-height: 1.5;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.22;
    margin-bottom: 24px;
  }

  .hero-description {
    font-size: 0.92rem;
    margin-bottom: 12px;
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn-primary-purple, .btn-ghost-white {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  .accred-logo-card {
    height: 48px;
    min-width: 110px;
    padding: 4px 10px;
  }

  .accred-logo-img {
    max-height: 36px;
    max-width: 95px;
  }

  .value-props-section {
    padding: 12px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .value-props-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .value-props-grid::-webkit-scrollbar {
    display: none;
  }

  .value-prop-card {
    flex: 0 0 240px;
    padding: 10px 12px;
  }

  .courses-showcase-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }



  /* Down Navbar: Well-Designed Mobile Bottom Bar */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 62px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--slate-200);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    align-items: center;
    justify-content: space-around;
    padding: 0 4px;
  }

  .mob-nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--slate-500);
    font-size: 0.72rem;
    font-weight: 600;
    flex: 1;
    height: 100%;
    transition: color 0.15s, transform 0.15s;
    position: relative;
  }

  .mob-nav-button svg {
    width: 20px;
    height: 20px;
  }

  .mob-nav-button.active {
    color: var(--th-purple);
  }

  .mob-nav-button.active::before {
    content: '';
    position: absolute;
    top: 4px;
    width: 24px;
    height: 3px;
    background: var(--th-purple);
    border-radius: var(--radius-full);
  }

  .mob-nav-button:active {
    transform: scale(0.94);
  }

  /* Enhanced Responsive Calendar Header */
  .calendar-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .month-controls-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }

  .month-dropdown-pill {
    flex: 1;
    min-width: 0;
  }

  .month-select-dropdown {
    width: 100%;
    font-size: 0.9rem;
  }

  /* Redesigned Course Details Mobile Adaptation */
  .detail-main-title {
    font-size: 1.45rem;
  }

  .detail-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 22px;
  }

  .about-pillars-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .executive-specs-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .spec-card.full-span {
    grid-column: span 1;
  }

  .learn-points-list {
    grid-template-columns: 1fr;
  }

  /* Form Input Styling on Mobile (prevents iOS auto-zoom) */
  .clean-input, .clean-select, .clean-textarea {
    font-size: 16px !important;
  }

  .footer-columns-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .main-navbar {
    padding: 6px 12px;
  }

  .brand-logo-img {
    height: 32px;
    max-width: 115px;
  }

  .hero-tag {
    font-size: 0.68rem;
    padding: 5px 12px;
    gap: 4px 8px;
  }

  .hero-tag-badge {
    font-size: 0.65rem;
  }

  .hero-title {
    font-size: 1.6rem;
    line-height: 1.25;
  }

  .hero-description {
    font-size: 0.88rem;
  }

  .master-detail-card {
    padding: 16px 12px;
    border-radius: 16px;
  }

  .detail-pane {
    padding-bottom: 16px;
  }

  .detail-stats-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .detail-main-title {
    font-size: 1.25rem;
  }

  .calendar-title-group h2 {
    font-size: 1.35rem;
  }

  .cal-td-month-title {
    font-size: 1.3rem;
  }

  .mob-week-header {
    padding: 11px 12px;
  }

  .mob-week-name {
    font-size: 0.86rem;
  }

  .mob-week-dates {
    font-size: 0.74rem;
  }

  .mob-week-count-badge {
    font-size: 0.68rem;
    padding: 2px 7px;
  }

  .cal-course-item {
    padding: 10px 12px;
  }

  .course-enroll-card {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .enroll-card-title {
    font-size: 1.12rem;
  }

  .btn-large-enroll {
    padding: 13px 18px;
    font-size: 0.94rem;
  }

  .reg-modal-container {
    max-height: 96vh;
    border-radius: 14px;
    width: 95%;
  }

  .reg-modal-visual {
    padding: 16px 14px;
    min-height: 130px;
  }

  .reg-visual-title {
    font-size: 1.05rem;
    line-height: 1.25;
  }

  .reg-visual-specs {
    gap: 4px;
  }

  .reg-visual-spec-item {
    font-size: 0.74rem;
  }

  .reg-modal-form-wrap {
    padding: 18px 14px;
    max-height: calc(96vh - 130px);
  }

  .reg-modal-heading {
    font-size: 1.22rem;
  }

  .btn-register-submit {
    font-size: 0.95rem;
    padding: 13px 18px;
  }
}

@media (max-width: 360px) {
  .detail-top-nav-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-arrow-nav {
    width: 32px;
    height: 32px;
  }

  .hero-title {
    font-size: 1.45rem;
  }

  .brand-logo-img {
    height: 28px;
    max-width: 105px;
  }

  .mob-week-name {
    font-size: 0.8rem;
  }

  .mob-week-dates {
    font-size: 0.7rem;
  }

  .mob-week-count-badge {
    display: none;
  }

  .cal-card-title {
    font-size: 0.78rem;
  }

  .month-select-dropdown {
    font-size: 0.82rem;
    padding: 6px 10px;
  }
}

/* ==========================================================================
   11. MOBILE NAVIGATION DRAWER (Slide-over on 3-Dash Menu Tap)
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85%;
  height: 100%;
  background: #ffffff;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer-overlay.active .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--slate-100);
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  background: var(--slate-100);
  transition: var(--transition);
  cursor: pointer;
}

.drawer-close-btn:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

.mobile-drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-700);
  transition: var(--transition);
}

.drawer-nav-item:hover,
.drawer-nav-item.active {
  background: var(--th-purple-50);
  color: var(--th-purple);
}

.drawer-nav-item svg {
  color: var(--th-purple);
  flex-shrink: 0;
}

.drawer-contact-card {
  margin-top: auto;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.drawer-contact-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.drawer-contact-sub {
  font-size: 0.78rem;
  color: var(--slate-500);
  line-height: 1.4;
  margin-bottom: 12px;
}

.drawer-phone-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 8px;
  transition: var(--transition);
}

.drawer-phone-btn:hover {
  border-color: var(--th-purple);
  color: var(--th-purple);
}

.drawer-email-link {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  color: var(--th-purple);
  font-weight: 600;
  margin-top: 6px;
}

/* ==========================================================================
   EMAIL CONFIRMATION & DISPATCH CENTER MODAL STYLES
   ========================================================================== */
.email-confirmation-modal-container {
  max-width: 680px !important;
  width: 94% !important;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.email-modal-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 16px;
  overflow-x: auto;
}

.email-tab-btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--slate-500);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.email-tab-btn:hover {
  color: var(--th-primary);
}

.email-tab-btn.active {
  color: var(--th-primary) !important;
  font-weight: 700 !important;
  border-bottom: 2px solid var(--th-primary) !important;
  margin-bottom: -2px;
}

.email-preview-frame-wrap {
  height: 280px;
  overflow-y: auto;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  margin-bottom: 16px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.email-preview-frame-wrap::-webkit-scrollbar {
  width: 6px;
}

.email-preview-frame-wrap::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.btn-copy-template {
  transition: all 0.2s ease;
}

.btn-copy-template:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}


