/* Component Styles */

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 16px 32px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: none;
  min-width: 200px;
  height: 56px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, #188bf6 0%, #0052a3 100%);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
}

.btn-primary:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3), 0 0 20px rgba(0, 102, 204, 0.5);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--gray-50);
  border-color: rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.btn-register,
.btn-red,
.cta-red {
  background: #e41e26;
  color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-register:hover:not(:disabled),
.btn-red:hover:not(:disabled),
.cta-red:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25), 0 0 20px rgba(228, 30, 38, 0.5);
  color: var(--white);
}

/* Button Size Variants */
.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
  min-width: 220px;
  height: 60px;
}

.btn-sm {
  padding: 12px 24px;
  font-size: var(--text-sm);
  min-width: 160px;
  height: 44px;
}

/* ===== UNIFIED NAV BAR ===== */
/* Dark blue navigation container with pill-shaped buttons */
/* Used on: featured-programs, faculty, program-schedule pages */

.unified-nav {
  background: #1e3a5f;
  padding: 32px;
  margin-bottom: 60px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.unified-nav-container {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.unified-nav-item {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.unified-nav-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.unified-nav-item.active {
  background-color: white;
  color: #1e3a5f;
  font-weight: 700;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Glass morphism select dropdowns */
.unified-nav-select {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 36px 12px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.unified-nav-select:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.unified-nav-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.unified-nav-select option {
  background: #1e3a5f;
  color: white;
}

/* Unified Nav Responsive */
@media (max-width: 768px) {
  .unified-nav {
    padding: 20px;
    margin-bottom: 40px;
  }

  .unified-nav-container {
    gap: 12px;
  }

  .unified-nav-item,
  .unified-nav-select {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .unified-nav {
    padding: 15px;
  }

  .unified-nav-container {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .unified-nav-item,
  .unified-nav-select {
    width: 100%;
    text-align: center;
  }
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.benefit-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px 35px;
  transition: all var(--transition-slow);
  text-align: left;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background: #fef3c7;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
  line-height: 1.3;
  text-align: left !important;
}

.benefit-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--gray-600);
  line-height: 1.7;
  text-align: left !important;
}

/* Testimonial Cards */
.testimonial-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-lg);
  transition: all var(--transition-slow);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
  user-select: none;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Faculty Cards */
.faculty-card {
  background: transparent;
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: none;
  transition: all var(--transition-slow);
  overflow: visible;
}

.faculty-card:hover {
  transform: translateY(-4px);
}

.faculty-image {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  background: var(--gray-100);
  overflow: hidden;
  margin: 20px 20px 0 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04), 0 8px 16px rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition-slow),
    transform var(--transition-slow);
}

.faculty-card:hover .faculty-image {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08), 0 12px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== MODALS ===== */
.modal {
  display: none;
  position: fixed;
  z-index: var(--z-modal-backdrop);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--white);
  margin: 2% auto;
  border-radius: var(--radius-2xl);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-2xl);
}

.modal-header {
  background: linear-gradient(
    135deg,
    var(--blue-dark) 0%,
    var(--blue-darker) 100%
  );
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--white);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-base);
  z-index: 10;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-body {
  padding: 40px;
}

/* ===== FIRST VISIT POPUP ===== */
.firstVisit-overlay {
  position: fixed;
  inset: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  pointer-events: none;
}

.firstVisit-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.firstVisit-modal {
  border-radius: 16px;
  max-width: 100%;
  width: 100%;
  padding: 40px 20px;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  color: white;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}

.firstVisit-overlay.active .firstVisit-modal {
  transform: scale(1) translateY(0);
}

/* Content container - holds both acts */
.firstVisit-content {
  position: relative;
  width: 100%;
  min-height: 200px;
}

/* Act 1 & Act 2 - positioned at same location */
.firstVisit-act1,
.firstVisit-act2 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.firstVisit-act1 {
  opacity: 1;
  transition: opacity 0.6s ease;
}

.firstVisit-act1.fade-out {
  opacity: 0;
  pointer-events: none;
}

.firstVisit-act2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.firstVisit-act2.show {
  opacity: 1;
  pointer-events: auto;
}

/* Quote container */
.firstVisit-quote-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto var(--space-lg);
}

/* Decorative quote marks */
.firstVisit-quotemark {
  font-family: var(--font-heading);
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.2);
  position: absolute;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.firstVisit-quotemark--open {
  top: -2rem;
  left: -1rem;
}

.firstVisit-quotemark--close {
  bottom: -3rem;
  right: -1rem;
}

/* Quote text */
.firstVisit-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.2;
  position: relative;
  z-index: 10;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.firstVisit-overlay.active .firstVisit-quote {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* Attribution - Signature Style */
.firstVisit-attribution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: var(--space-lg);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.firstVisit-overlay.active .firstVisit-attribution {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}

.firstVisit-author-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.5px;
}

.firstVisit-author-line {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  margin: 8px 0 10px;
}

.firstVisit-author-title {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.3px;
}

.firstVisit-author-company {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

/* Act 2: Tagline - Now the star of the show */
.firstVisit-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 300;
  color: var(--white);
  margin: 0 auto var(--space-lg);
  line-height: 1.3;
  max-width: 600px;
  text-align: center;
  text-shadow: 0 0 40px rgba(24, 139, 246, 0.3);
}

.firstVisit-divider {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-primary), transparent);
  margin: 0 auto var(--space-md);
  animation: breathingLine 2s ease-in-out infinite;
}

/* Breathing animation for the blue line */
@keyframes breathingLine {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

/* Progress bar container */
.firstVisit-progress {
  width: 100%;
  max-width: 300px;
  margin: var(--space-xl) auto 0;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.firstVisit-progress.show {
  opacity: 1;
  transform: translateY(0);
}

.firstVisit-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.firstVisit-progress-fill {
  height: 100%;
  background: #FFC107;
  width: 0%;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
  will-change: width;
}

.firstVisit-progress-fill.animate {
  width: 100%;
  transition: width 3s linear;
}

.firstVisit-progress-text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Responsive adjustments */
@media (min-width: 640px) {
  .firstVisit-quotemark {
    font-size: 6rem;
  }
  .firstVisit-quotemark--open {
    top: -3rem;
    left: -2rem;
  }
  .firstVisit-quotemark--close {
    bottom: -4rem;
    right: -2rem;
  }
}

@media (min-width: 1024px) {
  .firstVisit-quotemark {
    font-size: 8rem;
  }
  .firstVisit-quotemark--open {
    top: -4rem;
    left: -3rem;
  }
  .firstVisit-quotemark--close {
    bottom: -5rem;
    right: -3rem;
  }
}

@media (max-width: 480px) {
  .firstVisit-modal {
    padding: 30px 15px;
  }
  .firstVisit-quotemark {
    font-size: 4rem;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .firstVisit-overlay,
  .firstVisit-modal,
  .firstVisit-quote,
  .firstVisit-subtitle,
  .firstVisit-progress,
  .firstVisit-progress-fill {
    transition: none;
  }
}

/* ===== FORMS ===== */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--gray-300);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  font-size: var(--text-base);
  color: var(--gray-900);
  transition: all var(--transition-base);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(37, 99, 235, 0.22);
  border-color: var(--blue-primary);
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--gray-900);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-slow);
}

.faq-question:hover {
  color: var(--blue-primary);
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: var(--space-md);
  transition: transform var(--transition-slow), color var(--transition-slow);
}

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

.faq-item.active .faq-question {
  color: var(--blue-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer-content {
  padding: 0 24px 20px 24px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--gray-700);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

/* ===== UTILITIES ===== */
.hover-lift {
  transition: transform var(--transition-base);
}

.hover-lift:hover {
  transform: scale(1.05);
}

.scrollbar-hidden::-webkit-scrollbar {
  display: none;
}

.scrollbar-hidden {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ============================================
   LOGO CAROUSEL - Horizontal Scrolling
   ============================================ */

:root {
  --carousel-speed: 70s;
  --carousel-gap: 100px;
  --carousel-height: 150px;
}

.logo-carousel-section {
  padding: 60px 0;
  background: var(--white);
}

.logo-carousel-container {
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;

  /* Fade mask - logos fade in from right, fade out to left */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 8%,
    rgba(0, 0, 0, 1) 92%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 8%,
    rgba(0, 0, 0, 1) 92%,
    rgba(0, 0, 0, 0) 100%
  );
}

.logo-scroll {
  display: flex;
  align-items: center;
  gap: var(--carousel-gap);
  height: var(--carousel-height);
  white-space: nowrap;
  animation: scroll var(--carousel-speed) linear infinite;
  will-change: transform;
}

@keyframes scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.logo-item {
  flex-shrink: 0;
  height: var(--carousel-height);
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  height: 140px;
  width: 220px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.25s ease;
  display: block;
}

.logo-item img:hover {
  opacity: 1;
}

.logo-carousel-container .loading {
  font: 600 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  color: #4d5a67;
  opacity: 0.7;
  width: 100%;
  text-align: center;
  padding: 8px 0;
}

@media (prefers-reduced-motion: reduce) {
  .logo-scroll {
    animation-duration: calc(var(--carousel-speed) * 2);
  }
}

@media (max-width: 768px) {
  :root {
    --carousel-height: 100px;
    --carousel-gap: 70px;
  }

  .logo-item {
    width: 140px;
  }

  .logo-item img {
    height: 90px;
    width: 180px;
  }

  .logo-carousel-section {
    padding: 40px 0;
  }
}

/* Countdown Timer - Circular Progress Ring */
.connectPopup-thinking {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 16px;
}

.phone-pulse-with-timer {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.countdown-circle {
  position: absolute;
  width: 100%;
  height: 100%;
}

.countdown-bg {
  opacity: 0.2;
}

.countdown-progress {
  stroke-dasharray: 138.23;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}

.countdown-number {
  position: absolute;
  font-size: 28px;
  font-weight: 700;
  color: #28528c;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.phone-icon-small {
  position: absolute;
  width: 18px;
  height: 18px;
  fill: #fff;
  background: #28528c;
  border-radius: 6px;
  padding: 4px;
  z-index: 1;
  bottom: 4px;
  right: 4px;
}

.connectPopup-thinking .muted {
  flex: 1;
}

.connectPopup-thinking .muted strong {
  display: block;
  color: #374151;
  font-size: 15px;
  margin-bottom: 8px;
}

.connectPopup-thinking .muted .small-gap {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

/* ===== CONNECT POPUP MODAL STYLES ===== */
/* Modal Header - Lato font for title */
.connectPopup-header h3 {
  font-family: "Lato", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  color: #fff !important;
}

/* Email Fallback Specific Styling */
#connectPopup_waitText1 {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 12px;
}

#connectPopup_waitText2 {
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 24px;
  transition: opacity 1.3s ease;
}

/* Form inputs styling */
.connectPopup-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.connectPopup-group label {
  font-family: "Lato", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.connectPopup-group input,
.connectPopup-group textarea {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  transition: all 0.2s ease;
}

.connectPopup-group textarea {
  min-height: 100px;
  resize: vertical;
}

.connectPopup-group input::placeholder,
.connectPopup-group textarea::placeholder {
  color: #9ca3af;
}

.connectPopup-group input:focus,
.connectPopup-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Modal body padding adjustment */
.connectPopup-body {
  padding: 32px 40px 40px 40px;
}

/* Form spacing */
.connectPopup-form {
  display: flex;
  flex-direction: column;
  gap: 0; /* Remove gap, use margin on groups instead */
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Slide-up fade variant for CTA */
.reveal-slide-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-slide-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SOCIAL PROOF BANNER ===== */
.social-proof-banner {
  background: var(--blue-darker);
  border-top: 3px solid var(--gold-accent);
  border-bottom: 3px solid var(--gold-accent);
  padding: 40px 0;

  /* Full-width technique */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.proof-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 40px;
  padding: 0 60px;
}

.proof-item {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.proof-number {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 24px;
  color: var(--gold-accent);
  letter-spacing: 1px;
  margin-bottom: 4px;
  line-height: 1;
  text-transform: uppercase;
}

.proof-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.3;
  max-width: 180px;
}

.proof-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 32px;
  font-weight: 100;
  line-height: 1;
  flex-shrink: 0;
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  .proof-container {
    gap: 30px;
    padding: 0 40px;
  }

  .proof-number {
    font-size: 20px;
  }

  .proof-label {
    font-size: 13px;
  }

  .proof-divider {
    font-size: 28px;
  }
}

/* Mobile (< 768px) - Stack Vertically */
@media (max-width: 767px) {
  .social-proof-banner {
    padding: 50px 0;
  }

  .proof-container {
    flex-direction: column;
    gap: 24px;
    padding: 0 30px;
  }

  .proof-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(175, 146, 50, 0.3);
    width: 100%;
    max-width: 300px;
  }

  .proof-item:last-of-type {
    border-bottom: none;
  }

  .proof-number {
    font-size: 22px;
    margin-bottom: 6px;
  }

  .proof-label {
    font-size: 14px;
    max-width: 100%;
  }

  .proof-divider {
    display: none;
  }
}

/* ===== TESTIMONIALS SCROLL SECTION ===== */
.testimonials-scroll-section {
  padding: 12.25rem 0 15rem 0;
}

.scroll-grid {
  display: grid;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 900px) {
  .scroll-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Testimonial Scroller Container */
.testimonial-scroller {
  position: relative;
}

.testimonial-track {
  min-height: 600px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.5rem;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.testimonial-track::-webkit-scrollbar {
  width: 6px;
}

.testimonial-track::-webkit-scrollbar-track {
  background: transparent;
}

.testimonial-track::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
}

.testimonial-track::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}

/* Glass Card for Light Background */
.testimonials-scroll-section .testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 0 20px rgba(24, 139, 246, 0.15);
  transition: all 0.3s ease;
  position: relative;
}

.testimonials-scroll-section .testimonial-card:hover {
  background: rgba(255, 255, 255, 0.98);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

/* Star Rating */
.star-image {
  height: 1.25rem;
  width: auto;
  opacity: 0.9;
}

.testimonials-scroll-section .star-wrapper {
  margin-bottom: 0.125rem;
}

/* Quote Text */
.testimonials-scroll-section .testimonial-card blockquote {
  margin: 0.125rem 0 0.5rem 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--gray-600);
  font-style: italic;
}

/* Author Name */
.author-name {
  font-weight: 600;
  color: var(--blue-primary);
  font-size: 0.9375rem;
  position: relative;
  display: inline-block;
}

/* Author Details */
.author-details {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.3;
}

/* Quote Mark Decoration */
.quote-mark {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-size: 56px;
  color: rgba(15, 23, 42, 0.04);
  font-family: var(--font-heading);
  pointer-events: none;
  user-select: none;
}

/* Fade Overlays */
.top-fade {
  position: absolute;
  left: 0;
  right: 0.5rem;
  top: 0;
  height: 140px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(235, 235, 235, 0.95) 0%,
    rgba(235, 235, 235, 0.7) 40%,
    transparent 100%
  );
  z-index: 10;
}

.bottom-fade {
  position: absolute;
  left: 0;
  right: 0.5rem;
  bottom: 0;
  height: 140px;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(235, 235, 235, 0.95) 0%,
    rgba(235, 235, 235, 0.7) 40%,
    transparent 100%
  );
  z-index: 10;
}

.left-fade {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 20px;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(235, 235, 235, 0.4) 0%,
    rgba(235, 235, 235, 0.2) 50%,
    transparent 100%
  );
  z-index: 1;
}

/* Scroll Hint */
.scroll-hint {
  position: relative;
  z-index: 15;
  font-size: 0.875rem;
  color: var(--gray-800);
  margin-top: calc(0.5rem + 15px);
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 500;
}

/* Content Section (Right Column) */
.content-section {
  opacity: 0.9;
  transition: opacity 0.3s ease;
  padding-top: 70px;
}

.content-section:hover {
  opacity: 1;
}

.content-section h2 {
  margin-bottom: var(--space-lg);
  max-width: 600px;
}

.content-section p {
  margin-bottom: var(--space-xl);
}

/* Benefits Section */
.benefits-section {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-2xl) var(--space-lg) var(--space-2xl);
  margin-top: var(--space-xl);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: box-shadow var(--transition-slow);
}

.benefits-section:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Option 1: Gradient background */
.benefits-section--gradient {
  background: linear-gradient(135deg, #ffffff 0%, #e8f0fe 50%, #dbeafe 100%);
}

/* Option 2: Left accent border */
.benefits-section--accent {
  border-left: 4px solid #1e3a8a;
  border-radius: 2px var(--radius-lg) var(--radius-lg) 6px;
}

/* Option 3: Decorative icon */
.benefits-section--icon {
  position: relative;
  overflow: hidden;
}

.benefits-section--icon::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231e3a8a' opacity='0.06'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  opacity: 0.5;
  pointer-events: none;
}

/* Option 4: Match testimonial cards */
.benefits-section--card {
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.benefits-section--card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
}

/* Option 5: Enhanced combo (recommended) */
.benefits-section--enhanced {
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #1e3a8a 0%, #3b82f6 100%) 1;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.8) 0%, #ffffff 15%);
}

.benefits-section--enhanced:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
}

.benefits-section h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  color: var(--gray-700);
  letter-spacing: -0.01em;
  text-align: center;
}

.benefits-list {
  list-style: none;
  padding-left: 4rem;
  padding-right: 2rem;
  margin: var(--space-xl) 0;
}

.benefits-list li {
  margin: 1.75rem 0;
  position: relative;
  padding-left: 0;
  color: var(--gray-600);
  font-size: 1.0625rem;
  line-height: 1.7;
  transition: transform 0.3s ease;
}

.benefits-list li:hover {
  transform: translateX(4px);
}

.benefits-list li:before {
  content: "✓";
  position: absolute;
  left: -2rem;
  color: #10b981;
  font-weight: 700;
  font-size: 1.25rem;
  background: rgba(16, 185, 129, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.benefits-section .btn {
  display: block;
  width: fit-content;
  margin: var(--space-xl) auto 0;
}

/* Separator Line */
hr.separator {
  border: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 0, 0, 0.12) 20%,
    rgba(0, 0, 0, 0.12) 80%,
    transparent
  );
  margin: var(--space-xl) 0;
}

/* Responsive */
@media (max-width: 899px) {
  .testimonials-scroll-section {
    padding: 4rem 0;
  }

  .scroll-grid {
    gap: 2rem;
  }

  .testimonial-track {
    min-height: 500px;
  }

  .content-section {
    padding-top: 0;
  }

  .benefits-section {
    padding: var(--space-2xl);
  }

  .benefits-section h3 {
    font-size: 1.5rem;
  }

  .benefits-list {
    padding-left: 3rem;
    padding-right: 1.5rem;
  }

  .benefits-list li {
    font-size: 1rem;
  }
}

/* Curriculum Section */
.curriculum-section {
  background: var(--white);
  padding: var(--space-5xl) 0;
}

.curriculum-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.curriculum-header h2 {
  color: var(--gray-900);
  margin-bottom: var(--space-lg);
  font-size: 48px;
  font-weight: 600;
}

.curriculum-header p {
  color: var(--gray-600);
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Block Navigation */
.curriculum-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-3xl) 0;
}

.curriculum-nav-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  cursor: pointer;
  transition: all var(--transition-base);
}

.curriculum-nav-card:hover {
  border-color: var(--blue-primary);
  box-shadow: 0 4px 12px rgba(24, 139, 246, 0.1);
  transform: translateY(-2px);
}

.curriculum-nav-card.active {
  border: 3px solid var(--blue-primary);
  background: #f0f7ff;
  box-shadow: 0 0 0 4px rgba(24, 139, 246, 0.1);
}

.curriculum-nav-card .block-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--blue-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
}

.curriculum-nav-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.curriculum-nav-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.curriculum-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: var(--space-sm);
}

.curriculum-availability {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Curriculum Content Blocks */
.curriculum-content {
  margin: var(--space-3xl) 0;
}

.curriculum-block {
  display: none;
}

.curriculum-block.active {
  display: block;
  animation: fadeIn var(--transition-base);
}

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

/* Competency Groups (Accordion) */
.competency-group {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  overflow: hidden;
  background: var(--white);
}

.competency-header {
  background: var(--blue-dark);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--space-xl);
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-base);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
}

.competency-header:hover {
  background: var(--blue-dark);
}

.competency-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f3f4f6;
  margin: 0;
  flex: 1;
}

.competency-header p {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: #e5e7eb;
  margin: 0;
  flex: 1;
  line-height: 1.5;
}

.competency-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--blue-primary);
}

.competency-toggle::before {
  content: "›";
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  transition: transform var(--transition-base), color var(--transition-base);
}

.competency-header:hover .competency-toggle::before {
  color: rgba(255, 255, 255, 1);
}

.competency-group.active .competency-toggle {
  transform: rotate(90deg);
}

.competency-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
  background: var(--white);
}

.competency-group.active .competency-content {
  max-height: 5000px;
}

.competency-list {
  padding: var(--space-xl);
}

.competency-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  align-items: flex-start;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--gray-100);
}

.competency-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.competency-item-badge {
  flex-shrink: 0;
  margin-top: 4px;
}

.competency-text h4 {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 var(--space-sm) 0;
  line-height: 1.4;
}

.competency-text p {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}

/* Skill Badges */
.skill-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  min-width: 85px;
  text-align: center;
  color: var(--white);
}

.badge-foundation {
  background: var(--gold-accent);
}

.badge-advanced {
  background: var(--blue-primary);
}

.badge-expert {
  background: var(--purple-accent);
}

/* ========================================
   Delivery Options Component
   ======================================== */

.delivery-options {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.delivery-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  white-space: nowrap;
}

.format-pills {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.format-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
}

/* CTA Buttons Container */
.curriculum-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--gray-200);
  flex-wrap: wrap;
}

.curriculum-cta .btn {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .curriculum-section {
    padding: var(--space-3xl) 0;
  }

  .curriculum-header h2 {
    font-size: 1.875rem;
  }

  .curriculum-header p {
    font-size: 1rem;
  }

  .curriculum-nav {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .curriculum-nav-card {
    padding: var(--space-lg);
  }

  .curriculum-nav-card h3 {
    font-size: 1.125rem;
  }

  .curriculum-header {
    margin-bottom: var(--space-2xl);
  }

  .curriculum-content {
    margin: var(--space-2xl) 0;
  }

  .competency-header {
    padding: var(--space-lg);
    flex-direction: column;
    align-items: flex-start;
  }

  .competency-header h3 {
    font-size: 1rem;
    flex: none;
    width: 100%;
  }

  .competency-header p {
    font-size: 0.875rem;
    flex: none;
    width: 100%;
    margin-top: var(--space-sm);
  }

  .competency-toggle {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
  }

  .competency-header {
    position: relative;
    padding-right: var(--space-3xl);
  }

  .competency-list {
    padding: var(--space-lg);
  }

  .competency-item {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .competency-item-badge {
    margin-top: 0;
  }

  .curriculum-cta {
    flex-direction: column;
    gap: var(--space-md);
  }

  .curriculum-cta .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .curriculum-section {
    padding: var(--space-2xl) 0;
  }

  .curriculum-header h2 {
    font-size: 1.5rem;
  }

  .curriculum-header p {
    font-size: 0.95rem;
  }

  .curriculum-nav-card h3 {
    font-size: 1rem;
  }

  .curriculum-nav-card p {
    font-size: 0.875rem;
  }

  .competency-header {
    padding: var(--space-md);
    padding-right: var(--space-3xl);
  }

  .competency-toggle {
    top: var(--space-md);
    right: var(--space-md);
  }

  .competency-list {
    padding: var(--space-md);
  }

  .competency-item {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
  }

  .skill-badge {
    min-width: 75px;
    padding: 5px 12px;
    font-size: 0.7rem;
  }

  .curriculum-cta .btn {
    padding: var(--space-md) var(--space-lg);
    font-size: 0.95rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .curriculum-section .curriculum-nav-card,
  .curriculum-section .competency-header,
  .curriculum-section .competency-content,
  .curriculum-block {
    transition: none;
  }
}

/* Sticky Navigation (Desktop Only) */
@media (min-width: 1024px) {
  .curriculum-nav {
    position: sticky;
    top: 120px;
    z-index: var(--z-sticky);
    background: var(--gray-50);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-2xl);
  }
}

/* ============================================
   CURRICULUM STEP TABS FOOTER NAVIGATION
   ============================================ */

/* Container */
.curriculum-step-tabs {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-3xl);
  padding: var(--space-sm) 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

/* Scrollbar styling */
.curriculum-step-tabs::-webkit-scrollbar {
  height: 6px;
}

.curriculum-step-tabs::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: var(--radius-full);
}

.curriculum-step-tabs::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: var(--radius-full);
}

.curriculum-step-tabs::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* Individual Tab Button */
.curriculum-step-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-lg) var(--space-xl);
  min-width: 140px;
  background: transparent;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  scroll-snap-align: center;
  flex-shrink: 0;
  font-family: var(--font-body);
}

/* Step Number (Roman Numeral) */
.curriculum-step-tab .step-number {
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gray-600);
  transition: color var(--transition-base);
  display: inline;
}

/* Step Label */
.step-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-600);
  text-align: center;
  line-height: 1.3;
  transition: color var(--transition-base);
}

/* Hover State */
.curriculum-step-tab:hover {
  border-color: var(--blue-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 139, 246, 0.15);
}

.curriculum-step-tab:hover .step-number,
.curriculum-step-tab:hover .step-label {
  color: var(--blue-primary);
}

/* Active State */
.curriculum-step-tab.active {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  box-shadow: 0 4px 16px rgba(24, 139, 246, 0.3);
}

.curriculum-step-tab.active .step-number,
.curriculum-step-tab.active .step-label {
  color: var(--white);
}

/* Focus State (Accessibility) */
.curriculum-step-tab:focus {
  outline: 3px solid var(--blue-primary);
  outline-offset: 2px;
}

.curriculum-step-tab:focus:not(:focus-visible) {
  outline: none;
}

/* Desktop Layout (≥768px) */
@media (min-width: 768px) {
  .curriculum-step-tabs {
    justify-content: center;
    overflow-x: visible;
    scroll-snap-type: none;
    gap: var(--space-md);
  }

  .curriculum-step-tab {
    min-width: 180px;
    padding: var(--space-xl) var(--space-2xl);
  }

  .step-number {
    font-size: var(--text-3xl);
  }

  .step-label {
    font-size: var(--text-base);
  }
}

/* Large Desktop (≥1024px) */
@media (min-width: 1024px) {
  .curriculum-step-tabs {
    gap: var(--space-lg);
  }

  .curriculum-step-tab {
    min-width: 220px;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .curriculum-step-tabs {
    scroll-behavior: auto;
  }

  .curriculum-step-tab {
    transition: none;
  }
}

/* Print Styles */
@media print {
  .curriculum-step-tabs {
    display: none;
  }
}

/* ===== SUPPORT CONTINUUM COMPONENTS ===== */

/* Eyebrow Badge */
.support-eyebrow {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(
    135deg,
    var(--blue-primary) 0%,
    var(--blue-dark) 100%
  );
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

/* Section Header */
.section-header {
  margin-bottom: var(--space-4xl);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 600px;
}

/* Timeline Navigation */
.support-timeline-nav {
  padding-left: 40px;
}

/* Timeline list positioning for underline */
.timeline-items {
  position: relative;
}

/* Active underline indicator */
.timeline-active-underline {
  position: absolute;
  height: 2px;
  background: var(--blue-primary);
  border-radius: 999px;
  transform: translate(0, 0);
  width: 0;
  opacity: 0;
  transition: width 240ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 240ms cubic-bezier(0.4, 0, 0.2, 1), opacity 120ms ease;
  will-change: width, transform;
  pointer-events: none;
}

.timeline-active-underline.visible {
  opacity: 1;
}

/* Timeline Track (background line) */
.timeline-track {
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
  opacity: 0.25; /* subtle background track */
}

/* Timeline Progress (animated line) */
.timeline-progress {
  position: absolute;
  left: 19px;
  top: 0;
  width: 2px;
  height: 0%;
  background: linear-gradient(
    180deg,
    var(--blue-primary) 0%,
    var(--blue-dark) 100%
  );
  transition: height 0.1s linear; /* fast, frequent updates via JS (like reference) */
  will-change: height;
}

/* Timeline Item (button) */
.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: all var(--transition-base);
}

.timeline-item:first-child {
  padding-top: 0;
}

.timeline-item:focus {
  outline: 2px solid var(--blue-primary);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}

/* Timeline Bullet */
.timeline-bullet {
  position: absolute;
  left: -29px;
  top: 28px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 3px solid var(--gray-300);
  border-radius: 50%;
  transition: all var(--transition-base);
  z-index: 2;
  flex-shrink: 0;
}

/* Active state bullet */
.timeline-item.active .timeline-bullet {
  width: 20px;
  height: 20px;
  top: 26px;
  left: -31px;
  background: linear-gradient(
    135deg,
    var(--blue-primary) 0%,
    var(--blue-dark) 100%
  );
  border: 3px solid var(--blue-primary);
  box-shadow: 0 0 0 4px rgba(24, 139, 246, 0.1);
}

/* Fix alignment for items 2-5 (which have padding-top) */
.timeline-item:not(:first-child) .timeline-bullet {
  top: 60px; /* 32px (padding) + 28px (alignment) */
}

.timeline-item:not(:first-child).active .timeline-bullet {
  top: 58px; /* 32px (padding) + 26px (alignment) */
}

/* Timeline Content */
.timeline-content {
  flex: 1;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--gray-700);
  margin: 0 0 var(--space-sm) 0;
  line-height: 1.3;
  transition: color var(--transition-base), font-size var(--transition-base);
}

.timeline-item.active .timeline-title {
  color: var(--blue-dark);
  font-size: var(--text-2xl);
}

/* Timeline Subtitle - Hidden by default, shown on active */
.timeline-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.active .timeline-subtitle {
  max-height: 200px;
  opacity: 1;
  margin-top: var(--space-sm);
}

/* Hover state (only for non-active items) */
.timeline-item:not(.active):hover .timeline-title {
  color: var(--blue-primary);
}

.timeline-item:not(.active):hover .timeline-bullet {
  border-color: var(--blue-primary);
  transform: scale(1.15);
}

/* Support Panels */
.support-panel {
  position: fixed; /* Anchored to viewport */
  right: 40px; /* Reduced from 60px to move panel closer */
  width: 850px; /* Increased from 700px to use more space */
  max-width: 90%; /* Responsive constraint for smaller screens */
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gray-100);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 5;
}

.support-panel.active {
  opacity: 1;
  box-shadow: var(--shadow-2xl);
  pointer-events: auto;
}

.support-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Mobile tabs - below 1024px */
@media (max-width: 1024px) {
  /* Convert timeline items to horizontal tabs */
  .timeline-item {
    flex: 0 0 auto;
    width: auto;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    white-space: nowrap;
    min-width: fit-content;
    flex-shrink: 0; /* Prevent tabs from shrinking */
  }

  .timeline-item:first-child {
    padding-top: var(--space-sm);
  }

  .timeline-item.active {
    background: var(--blue-primary);
    border: none; /* Remove border from active tab */
    color: var(--white);
  }

  .timeline-item.active .timeline-title {
    color: var(--white);
    font-size: var(--text-base);
  }

  /* Hide bullets and subtitles on mobile tabs */
  .timeline-bullet,
  .timeline-subtitle {
    display: none;
  }

  .timeline-title {
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.4;
  }

  /* Hide underline on mobile */
  .timeline-active-underline {
    display: none;
  }
}

/* Mobile responsive - change back to flow layout */
@media (max-width: 768px) {
  .support-panel {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    min-height: 250px;
    max-height: none;
    margin-bottom: var(--space-md);
    padding: 0;
  }

  .support-panel img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .timeline-item {
    padding: 10px 14px;
    font-size: var(--text-xs);
  }

  .timeline-title {
    font-size: var(--text-xs);
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .timeline-item {
    padding: 8px 12px;
  }

  .timeline-title {
    font-size: 12px;
  }

  .support-panel {
    min-height: 200px;
    margin-bottom: var(--space-sm);
    padding: 0;
  }

  .support-panel img {
    width: 100%;
    height: auto;
    max-height: none;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .timeline-progress,
  .timeline-bullet,
  .timeline-title,
  .timeline-subtitle,
  .support-panel {
    transition: none;
  }

  .timeline-item.active .timeline-subtitle {
    max-height: none;
  }
}
