/**
 * ExpandCareer Elementor Addon - Core Styles
 * Version: 1.0.26
 */

/* Container & Typography Variables */
:root {
  --ec-blue-primary: #2B6CF5;
  --ec-blue-hover: #1E54C8;
  --ec-blue-light: #EAF1FE;
  --ec-dark-navy: #0E1B3D;
  --ec-dark-bg: #0A1430;
  --ec-pink: #E5397B;
  --ec-green: #3ECF6E;
  --ec-text-dark: #111A33;
  --ec-text-muted: #5A6785;
  --ec-border-color: #E6E9F2;
  --ec-font-heading: 'Sora', sans-serif;
  --ec-font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Global Reset & Container */
.expandcareer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidebar::-webkit-scrollbar {
  display: none;
}
.hidebar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Buttons */
.expandcareer-btn-primary {
  background: var(--ec-blue-primary);
  color: #ffffff;
  font-family: var(--ec-font-heading);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 32px;
  border-radius: 12px;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(43, 108, 245, 0.35);
  transition: all 0.25s ease;
}

.expandcareer-btn-primary:hover {
  background: var(--ec-blue-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.expandcareer-btn-secondary {
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.expandcareer-btn-secondary:hover {
  color: #9DB9F7;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon svg {
  width: 1em;
  height: 1em;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Skeleton loading placeholders (course cards) */
@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.skeleton-card {
  background: #ffffff;
  border: 1px solid var(--ec-border-color);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.skeleton-media {
  height: 168px;
  background: #E9EDF6;
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}

.skeleton-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-line {
  height: 14px;
  border-radius: 6px;
  background: #E9EDF6;
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}

.skeleton-line.skeleton-title {
  height: 18px;
  width: 85%;
}

.skeleton-line.skeleton-meta {
  width: 60%;
}

.skeleton-line.skeleton-price {
  height: 22px;
  width: 40%;
  margin-top: auto;
}

.skeleton-btn {
  height: 40px;
  border-radius: 12px;
  background: #E9EDF6;
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}

/* Section Common Headers */
.expandcareer-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.expandcareer-subtitle {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ec-blue-primary);
  margin: 0 0 10px;
}

.expandcareer-title {
  font-family: var(--ec-font-heading);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--ec-dark-navy);
  margin: 0 0 12px;
}

.expandcareer-title.text-white {
  color: #ffffff;
}

.expandcareer-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ec-text-muted);
  margin: 0;
}

/* Nav Scroll Buttons */
.expandcareer-nav-buttons {
  display: flex;
  gap: 10px;
}

.expandcareer-nav-buttons .expandcareer-scroll-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #D9DFEE;
  background: #ffffff;
  color: var(--ec-dark-navy);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.expandcareer-nav-buttons .expandcareer-scroll-btn:hover {
  border-color: var(--ec-blue-primary);
  color: var(--ec-blue-primary);
}

.expandcareer-nav-buttons .expandcareer-scroll-btn.next {
  border: none;
  background: var(--ec-blue-primary);
  color: #ffffff;
}

.expandcareer-nav-buttons .expandcareer-scroll-btn.next:hover {
  background: var(--ec-blue-hover);
}

.expandcareer-nav-buttons .expandcareer-scroll-btn.light {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #ffffff;
}

.expandcareer-nav-buttons .expandcareer-scroll-btn.light:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ==================== 1. HERO SLIDER ==================== */
.expandcareer-hero-slider {
  position: relative;
  height: 640px;
  overflow: hidden;
  background: var(--ec-dark-navy);
  outline: none;
}

.expandcareer-hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.expandcareer-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 1.1s ease;
  z-index: 1;
}

.expandcareer-hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.expandcareer-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.expandcareer-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 16, 38, 0.92) 0%, rgba(8, 16, 38, 0.78) 42%, rgba(8, 16, 38, 0.25) 100%);
}

.expandcareer-hero-container {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.expandcareer-hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 760px;
}

.expandcareer-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9DB9F7;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.expandcareer-hero-badge .badge-line {
  width: 34px;
  height: 2px;
  background: var(--ec-pink);
  display: inline-block;
}

.expandcareer-hero-title {
  font-family: var(--ec-font-heading);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.08;
  color: #ffffff;
  margin: 0;
}

.expandcareer-hero-title .highlight-blue {
  color: #7EA5F8;
}

.expandcareer-hero-title .highlight-green {
  color: var(--ec-green);
}

.expandcareer-hero-title .highlight-pink {
  color: var(--ec-pink);
}

.expandcareer-hero-desc {
  font-size: 18px;
  line-height: 1.6;
  color: #C9D6F5;
  margin: 0;
  max-width: 560px;
}

.expandcareer-hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-pill {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.expandcareer-hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 6px;
}

/* Dots & Arrows */
.expandcareer-hero-dots {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}

.expandcareer-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4) !important;
  border: none !important;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.expandcareer-hero-dot.active {
  width: 26px;
  background: #ffffff !important;
}

.expandcareer-hero-arrow {
  position: absolute;
  bottom: 64px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.expandcareer-hero-slider .expandcareer-hero-arrow.prev {
  right: 84px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.expandcareer-hero-slider .expandcareer-hero-arrow.prev:hover {
  background: rgba(255, 255, 255, 0.25);
}

.expandcareer-hero-slider .expandcareer-hero-arrow.next {
  right: 28px;
  border: none;
  background: var(--ec-blue-primary);
  color: #ffffff;
}

.expandcareer-hero-slider .expandcareer-hero-arrow.next:hover {
  background: var(--ec-blue-hover);
}

/* ==================== 2. FEATURED COURSES ==================== */
.expandcareer-courses-section,
.expandcareer-featured-courses-section {
  padding: 80px 0 64px;
}

.featured-courses-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.header-text-col {
  max-width: 640px;
}

.header-action-col {
  flex-shrink: 0;
}

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

@media (max-width: 991px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}

.expandcareer-empty-notice {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: var(--ec-text-muted);
  font-size: 15px;
}

.expandcareer-courses-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 22px;
}

.expandcareer-courses-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.expandcareer-courses-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.expandcareer-courses-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.expandcareer-courses-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 991px) {
  .expandcareer-courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .expandcareer-courses-grid {
    grid-template-columns: 1fr;
  }
}

.expandcareer-course-card {
  background: #ffffff;
  border: 1px solid var(--ec-border-color);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.expandcareer-course-card:hover {
  box-shadow: 0 16px 36px rgba(14, 27, 61, 0.12);
  transform: translateY(-4px);
}

.card-media {
  position: relative;
  height: 168px;
  overflow: hidden;
}

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

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 27, 61, 0.9);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.course-title {
  font-family: var(--ec-font-heading);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ec-dark-navy);
  margin: 0;
}

.course-title a {
  color: inherit;
  text-decoration: none;
}

.course-title a:hover {
  color: var(--ec-blue-primary);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ec-text-muted);
}

.meta-cert {
  color: #16A34A;
}

.meta-dot {
  color: #C7CEDD;
}

.card-meta svg,
.meta-cert svg {
  width: 13px;
  height: 13px;
  vertical-align: -2px;
  margin-right: 2px;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: auto;
  padding-top: 4px;
}

.course-price {
  font-family: var(--ec-font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--ec-dark-navy);
}

.course-old-price {
  font-size: 13.5px;
  color: #98A2B8;
  text-decoration: line-through;
}

.expandcareer-btn-enroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 8px;
  background: var(--ec-blue-primary);
  color: #ffffff;
  font-family: var(--ec-font-heading);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(43, 108, 245, 0.22);
  transition: all 0.25s ease;
  width: auto;
  margin-top: 4px;
}

.expandcareer-btn-enroll:hover {
  background: var(--ec-blue-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==================== 3. COURSE CATEGORIES ==================== */
.expandcareer-categories-section {
  padding: 80px 0;
  background: #ffffff;
}

.categories-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 32px;
}

.category-pills-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 34px;
}

@media (max-width: 767px) {
  .category-pills-nav.mobile-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .category-pills-nav.mobile-scroll .category-pill {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
  }
  .category-pills-nav.mobile-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .category-pills-nav.mobile-grid-1 {
    display: flex;
    flex-direction: column;
  }
}

.category-pill {
  background: #ffffff;
  color: #3A4664;
  border: 1px solid #D9DFEE;
  font-family: var(--ec-font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-pill.active, .category-pill:hover {
  background: var(--ec-blue-primary);
  color: #ffffff;
  border-color: var(--ec-blue-primary);
}

.category-pill .count {
  opacity: 0.65;
  font-weight: 600;
}

.cat-pill-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  vertical-align: -2px;
}

.cat-pill-icon svg {
  width: 14px;
  height: 14px;
}

.category-showcase-box {
  background: #F4F6FB;
  border: 1px solid #E9EDF6;
  border-radius: 22px;
  padding: 28px;
}

.category-description {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ec-text-muted);
  margin: 0 0 22px;
  max-width: 760px;
}

.cat-courses-grid-wrapper {
  margin-bottom: 8px;
}

.cat-view-all-row {
  text-align: center;
  margin-top: 24px;
}

.cat-view-all-btn {
  display: inline-block;
  border: 1.5px solid var(--ec-blue-primary);
  color: var(--ec-blue-primary);
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cat-view-all-btn:hover {
  background: var(--ec-blue-primary);
  color: #ffffff;
}

.preview-notice {
  font-size: 14px;
  color: var(--ec-text-muted);
  font-style: italic;
  margin: 0;
}

/* ==================== 4. TRUST SECTION ==================== */
.expandcareer-trust-section {
  background: #F4F6FB;
  border-bottom: 1px solid #E9EDF6;
  padding: 56px 0;
}

.trust-header {
  text-align: center;
  margin-bottom: 36px;
}

.trust-subtitle {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ec-pink);
  margin: 0 0 8px;
}

.trust-title {
  font-family: var(--ec-font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--ec-dark-navy);
  margin: 0;
}

.trust-cards-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.trust-card,
.trust-credential-card {
  background: #ffffff;
  border: 1px solid #E6E9F2;
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.trust-card.highlight-dark,
.trust-credential-card.highlight-dark {
  background: var(--ec-dark-navy);
  border: none;
}

.trust-logo,
.trust-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.trust-card-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-logo-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px dashed #C7CEDD;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  color: #98A2B8;
}

.trust-elementor-icon {
  display: flex;
  font-size: 34px;
  color: var(--ec-blue-primary);
}

.trust-stat-number,
.trust-stat-badge {
  font-family: var(--ec-font-heading);
  font-size: 34px;
  font-weight: 800;
  color: var(--ec-green);
  line-height: 1;
}

.trust-default-badge {
  font-size: 30px;
  color: var(--ec-pink);
  line-height: 1;
}

.trust-card-title {
  font-size: 15.5px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--ec-dark-navy);
}

.trust-card.highlight-dark .trust-card-title,
.trust-credential-card.highlight-dark .trust-card-title {
  color: #ffffff;
}

.trust-card-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ec-text-muted);
  margin: 0;
}

.trust-card.highlight-dark .trust-card-desc,
.trust-credential-card.highlight-dark .trust-card-desc {
  color: #C9D6F5;
}

.expandcareer-trust-section .expandcareer-subtitle {
  color: var(--ec-pink);
}

/* ==================== 5. STEPS SECTION ==================== */
.expandcareer-steps-section {
  background: var(--ec-dark-navy);
  padding: 80px 0;
}

/* Dark section: shared title/subtitle classes default to dark-navy text,
   which is invisible against this section's dark-navy background. */
.expandcareer-steps-section .expandcareer-subtitle {
  color: var(--ec-green);
}

.expandcareer-steps-section .expandcareer-title {
  color: #ffffff;
}

.expandcareer-steps-section .expandcareer-desc {
  color: #9DB9F7;
}

.steps-layout-grid {
  display: grid;
  grid-template-columns: minmax(320px, 440px) 1fr;
  gap: 56px;
  align-items: start;
}

.steps-intro-col {
  display: flex;
  flex-direction: column;
}

.steps-header {
  text-align: left;
  margin: 0 0 28px;
}

.steps-nav-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-nav-card {
  width: 100%;
}

.expandcareer-steps-section .step-nav-card .step-badge {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ec-font-heading);
  font-weight: 800;
  font-size: 14px;
}

.expandcareer-steps-section .step-nav-card.active .step-badge {
  background: #ffffff;
  color: var(--ec-blue-primary);
}

.expandcareer-steps-section .step-badge img.step-badge-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.expandcareer-steps-section .step-badge i,
.expandcareer-steps-section .step-badge svg {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.expandcareer-steps-section .step-nav-card .step-btn-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.step-pane {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
}

.step-pane-number {
  display: inline-flex;
  align-self: flex-start;
  background: #EAF1FE;
  color: var(--ec-blue-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.step-pane-title {
  font-family: var(--ec-font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--ec-dark-navy);
  margin: 0;
}

.step-pane-body {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ec-text-muted);
  margin: 0;
}

.step-checklist {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.5;
  color: #3A4664;
}

.check-icon {
  flex: 0 0 20px;
  height: 20px;
  border-radius: 50%;
  background: #E7F8ED;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 1px;
}

.steps-subtitle {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ec-green);
  margin: 0 0 10px;
}

.steps-title {
  font-family: var(--ec-font-heading);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 12px;
}

.steps-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: #9DB9F7;
  margin: 0 0 28px;
}

.steps-buttons-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.expandcareer-steps-section .step-nav-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 15px 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
}

.expandcareer-steps-section .step-nav-btn.active {
  background: var(--ec-blue-primary);
  border-color: var(--ec-blue-primary);
}

.step-nav-btn .step-num {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ec-font-heading);
  font-weight: 800;
  font-size: 16px;
}

.step-nav-btn.active .step-num {
  background: #ffffff;
  color: var(--ec-blue-primary);
}

.step-nav-btn .step-label {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.step-nav-btn .step-arrow {
  margin-left: auto;
  color: #ffffff;
  font-size: 17px;
}

/* Detail Box */
.steps-detail-box {
  background: #ffffff;
  border-radius: 22px;
  padding: 40px 40px 36px;
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.watermark-num {
  position: absolute;
  top: -28px;
  right: 8px;
  font-family: var(--ec-font-heading);
  font-size: 170px;
  font-weight: 800;
  color: #F0F3FB;
  line-height: 1;
  user-select: none;
}

.step-pane-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
}

.step-pill-tag {
  display: inline-flex;
  align-self: flex-start;
  background: #EAF1FE;
  color: var(--ec-blue-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.pane-title {
  font-family: var(--ec-font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--ec-dark-navy);
  margin: 0;
}

.pane-body {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ec-text-muted);
  margin: 0;
}

.pane-bullets-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.bullet-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.bullet-check {
  flex: 0 0 20px;
  height: 20px;
  border-radius: 50%;
  background: #E7F8ED;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.bullet-text {
  font-size: 14.5px;
  line-height: 1.5;
  color: #3A4664;
}

.expandcareer-btn-step {
  align-self: flex-start;
  margin-top: 8px;
  background: var(--ec-blue-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 26px;
  border-radius: 10px;
  text-decoration: none;
}

/* ==================== 6. TESTIMONIALS ==================== */
.expandcareer-testimonials-section {
  background: var(--ec-dark-navy);
  padding: 80px 0;
}

/* Dark section: shared title/subtitle classes default to dark-navy text,
   which is invisible against this section's dark-navy background. */
.expandcareer-testimonials-section .expandcareer-subtitle {
  color: var(--ec-green);
}

.expandcareer-testimonials-section .expandcareer-title {
  color: #ffffff;
}

.testimonials-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.testimonials-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 12px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonials-grid .testimonial-card {
  flex: none;
  aspect-ratio: auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testi-rating-stars {
  color: #F5C043;
  font-size: 14px;
  letter-spacing: 2px;
}

.testi-quote {
  font-size: 14.5px;
  line-height: 1.6;
  color: #E4EBFB;
  margin: 0;
  flex: 1;
}

.testi-course-tag {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(43, 108, 245, 0.16);
  color: #9DB9F7;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.testi-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testi-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testi-author-name {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.testi-author-role {
  font-size: 12.5px;
  font-weight: 600;
  color: #9DB9F7;
  margin: 0;
}

.testimonial-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: #16264D;
}

.card-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,16,38,0.28) 0%, rgba(8,16,38,0) 32%, rgba(8,16,38,0) 45%, rgba(8,16,38,0.88) 100%);
}

.video-review-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(14,27,61,0.85);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.play-video-trigger {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.play-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease;
}

.play-video-trigger:hover .play-circle {
  transform: scale(1.08);
}

.play-arrow {
  width: 0;
  height: 0;
  border-left: 18px solid var(--ec-blue-primary);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 5px;
  display: block;
}

.card-bottom-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  pointer-events: none;
}

.stars-row {
  color: #F5C043;
  font-size: 14px;
  letter-spacing: 2px;
}

.quote-icon {
  display: inline-flex;
  color: #E4EBFB;
  font-size: 18px;
  opacity: 0.6;
  margin-bottom: 4px;
}

.quote-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: #E4EBFB;
  margin: 0;
}

.author-name {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.author-role {
  font-size: 12.5px;
  font-weight: 600;
  color: #9DB9F7;
}

/* ==================== 7. FAQ ACCORDION ==================== */
.expandcareer-faq-section {
  padding: 80px 0;
  background: #ffffff;
}

.faq-header {
  text-align: center;
  margin-bottom: 36px;
}

.faq-accordion-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--ec-border-color);
  border-radius: 14px;
  overflow: hidden;
  background: #F8FAFC;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--ec-blue-primary);
  background: #ffffff;
}

.expandcareer-faq-section .faq-question-btn {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-family: var(--ec-font-body);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ec-dark-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question-btn .toggle-icon {
  font-size: 20px;
  color: var(--ec-blue-primary);
  transition: transform 0.25s ease;
}

.faq-item.open .toggle-icon {
  transform: rotate(45deg);
}

.faq-answer-panel {
  padding: 0 24px 20px;
}

.faq-answer-panel .answer-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ec-text-muted);
  margin: 0;
}

/* ==================== 8. CTA SECTION ==================== */
.expandcareer-cta-section {
  padding: 0 0 88px;
}

.cta-banner-card {
  max-width: 1240px;
  margin: 0 auto;
  background: linear-gradient(120deg, #2B6CF5 0%, #1E54C8 100%);
  border-radius: 26px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-title {
  font-family: var(--ec-font-heading);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 14px;
}

.cta-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: #D6E2FB;
  margin: 0 0 22px;
}

.cta-stats-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-group {
  width: 100%;
}

.stat-num {
  font-family: var(--ec-font-heading);
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  display: block;
}

.stat-lbl {
  font-size: 13px;
  font-weight: 600;
  color: #B9CCF7;
}

.cta-lead-form {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 24px 60px rgba(8, 16, 38, 0.3);
}

.form-title {
  font-family: var(--ec-font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--ec-dark-navy);
  margin: 0;
}

.form-control {
  border: 1px solid #D9DFEE;
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 14.5px;
  font-family: var(--ec-font-body);
  outline-color: var(--ec-blue-primary);
  width: 100%;
}

.expandcareer-cta-section .expandcareer-btn-submit {
  background: var(--ec-blue-primary);
  color: #ffffff;
  border: none;
  font-family: var(--ec-font-heading);
  font-weight: 700;
  font-size: 15.5px;
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.expandcareer-cta-section .expandcareer-btn-submit:hover {
  background: var(--ec-blue-hover);
}

.form-privacy-note {
  font-size: 12px;
  color: #98A2B8;
  text-align: center;
  margin: 0;
}

/* Contact Form 7 form, styled to match .cta-lead-form's look */
.cta-cf7-form {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 24px 60px rgba(8, 16, 38, 0.3);
}

.cta-cf7-form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-cf7-form .wpcf7-form-control-wrap {
  display: block;
}

.cta-cf7-form input[type="text"],
.cta-cf7-form input[type="email"],
.cta-cf7-form input[type="tel"],
.cta-cf7-form input[type="number"],
.cta-cf7-form input[type="url"],
.cta-cf7-form textarea,
.cta-cf7-form select {
  width: 100%;
  border: 1px solid #D9DFEE;
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 14.5px;
  font-family: var(--ec-font-body);
  outline-color: var(--ec-blue-primary);
}

.cta-cf7-form input[type="submit"] {
  background: var(--ec-blue-primary);
  color: #ffffff;
  border: none;
  font-family: var(--ec-font-heading);
  font-weight: 700;
  font-size: 15.5px;
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cta-cf7-form input[type="submit"]:hover {
  background: var(--ec-blue-hover);
}

.cta-cf7-form .wpcf7-not-valid-tip {
  font-size: 12px;
  color: var(--ec-pink);
  margin-top: 4px;
}

.cta-cf7-form .wpcf7-response-output {
  font-size: 13px;
  border-radius: 8px;
  margin: 12px 0 0;
}

/* ==================== 8b. VIDEO CTA & LEAD FORM ====================
   Separate widget from CTA_Section above (banner swapped for a video/image
   showcase). Every class here is its own, unshared with the CTA section, so
   nothing above this block is affected by anything below it. */
.expandcareer-video-cta-section {
  padding: 0 0 88px;
}

.video-cta-card {
  max-width: 1240px;
  margin: 0 auto;
  background: #0A1430;
  border-radius: 26px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.video-cta-title {
  font-family: var(--ec-font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 12px;
}

.video-cta-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: #D6E2FB;
  margin: 0 0 20px;
}

.video-cta-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #060B1C;
}

.video-cta-media-img,
.video-cta-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-cta-media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 11, 28, 0.35);
}

.video-cta-media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #9DB9F7;
  font-size: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
}

.video-cta-play-trigger {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.video-cta-play-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.video-cta-play-trigger:hover .video-cta-play-circle {
  transform: scale(1.08);
}

.video-cta-play-arrow {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #2B6CF5;
  margin-left: 4px;
}

/* Custom minimal Play/Pause button — used instead of the browser's native
   video control bar when "Show Native Video Controls" is off, so there's no
   scrubber/volume/download/fullscreen menu, just play and resume. */
.video-cta-video-custom-controls {
  cursor: pointer;
}

.video-cta-custom-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 11, 28, 0.15);
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 3;
}

.video-cta-custom-play-btn:hover {
  background: rgba(6, 11, 28, 0.3);
}

.video-cta-custom-play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-cta-custom-play-icon::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #2B6CF5;
  margin-left: 4px;
}

.video-cta-custom-play-icon::after {
  content: '';
  display: none;
}

/* While playing, swap the triangle for a pause icon (two bars) */
.video-cta-media-frame.is-playing .video-cta-custom-play-icon::before {
  display: none;
}

.video-cta-media-frame.is-playing .video-cta-custom-play-icon::after {
  display: block;
  width: 18px;
  height: 20px;
  background-color: #2B6CF5;
  -webkit-mask: linear-gradient(#000 0 0) 0 0/5px 100% no-repeat,
                linear-gradient(#000 0 0) 13px 0/5px 100% no-repeat;
  mask: linear-gradient(#000 0 0) 0 0/5px 100% no-repeat,
        linear-gradient(#000 0 0) 13px 0/5px 100% no-repeat;
}

/* Stats row in the left content column — same visual pattern as the CTA
   widget's banner stats (bold white number + colored label). Independent
   CSS, not shared with .stat-num/.stat-lbl, per the isolation approach used
   for the rest of this widget. */
.video-cta-stats-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.video-cta-stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.video-cta-stat-num {
  font-family: var(--ec-font-heading);
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
}

.video-cta-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ec-pink);
}


/* ==================== 9. WHY CHOOSE US (BENEFITS STRIP) ==================== */
.expandcareer-why-strip-section {
  background: #F4F6FB;
  border-top: 1px solid #E9EDF6;
  border-bottom: 1px solid #E9EDF6;
  padding: 64px 0;
}

.why-strip-header {
  margin-bottom: 32px;
}

.why-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 991px) {
  .why-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-strip-grid {
    grid-template-columns: 1fr;
  }
}

.why-strip-card {
  background: #ffffff;
  border: 1px solid #E6E9F2;
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  font-family: var(--ec-font-heading);
}

.why-icon-box svg {
  width: 20px;
  height: 20px;
}

.why-item-title {
  font-family: var(--ec-font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--ec-dark-navy);
  margin: 0;
}

.why-item-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ec-text-muted);
  margin: 0;
}

/* ==================== 10. ABOUT + VIDEO ==================== */
.expandcareer-about-section {
  padding: 88px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about-media-col {
  position: relative;
}

.about-media-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(14, 27, 61, 0.22);
}

.about-media-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  .about-media-img {
    height: 260px;
  }
}

.about-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 38, 0) 40%, rgba(8, 16, 38, 0.65) 100%);
  pointer-events: none;
}

.about-play-trigger {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.about-play-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}

.about-play-trigger:hover .about-play-circle {
  transform: scale(1.08);
}

.about-play-arrow {
  width: 0;
  height: 0;
  border-left: 24px solid var(--ec-blue-primary);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
  display: block;
}

.about-video-caption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
}

.about-decor-1,
.about-decor-2 {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 20px;
  z-index: -1;
  display: block;
}

.about-decor-1 {
  top: -18px;
  left: -18px;
  background: var(--ec-blue-primary);
}

.about-decor-2 {
  bottom: -18px;
  right: -18px;
  background: var(--ec-green);
}

.about-content-col .expandcareer-subtitle {
  margin: 0 0 10px;
}

.about-content-col .expandcareer-title {
  margin: 0 0 16px;
}

.about-paragraph {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ec-text-muted);
  margin: 0 0 14px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 12px 0 30px;
}

.about-stat-item {
  border-left: 3px solid var(--ec-blue-primary);
  padding-left: 14px;
  display: flex;
  flex-direction: column;
}

.about-stat-num {
  font-family: var(--ec-font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--ec-dark-navy);
  display: block;
}

.about-stat-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ec-text-muted);
}

/* Video Lightbox (shared, injected by JS for About widget play trigger) */
.expandcareer-video-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 38, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 24px;
}

.expandcareer-video-lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.expandcareer-video-lightbox-inner iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.expandcareer-video-lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expandcareer-video-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ==================== 11. FEATURED COURSES CAROUSEL (Swiper) ==================== */
.courses-swiper {
  overflow: hidden;
  width: 100%;
}

/* .courses-grid carries grid layout for grid mode; when it also carries
   .swiper-wrapper (carousel mode) this compound selector's higher specificity
   guarantees Swiper's flex layout wins regardless of stylesheet load order. */
.courses-grid.swiper-wrapper {
  display: flex;
  gap: 0;
  grid-template-columns: none;
  align-items: stretch;
}

.courses-swiper .swiper-slide {
  height: auto;
  display: flex;
  flex-shrink: 0;
}

.courses-swiper .swiper-slide .expandcareer-course-card {
  width: 100%;
}

.courses-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.courses-swiper-pagination.swiper-pagination {
  position: static;
  display: flex;
  gap: 8px;
  align-items: center;
  width: auto;
}

.courses-swiper-pagination .swiper-pagination-bullet {
  background: var(--ec-border-color);
  opacity: 1;
  width: 8px;
  height: 8px;
  margin: 0 !important;
}

.courses-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--ec-blue-primary);
  width: 22px;
  border-radius: 999px;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .expandcareer-hero-title { font-size: 40px; }
  .steps-layout-grid { grid-template-columns: 1fr; }
  .cta-banner-card { grid-template-columns: 1fr; padding: 36px; }
  .video-cta-card { grid-template-columns: 1fr; padding: 36px; }
}

@media (max-width: 600px) {
  .expandcareer-hero-title { font-size: 32px; }

  /* On mobile the hero has to grow to fit whatever content each slide holds
     (a long heading + description + wrapped pill tags + two stacked buttons
     can easily exceed any fixed height, and the slider clips overflow).
     Every slide is normally `position: absolute` so they can stack for the
     crossfade — but that also means none of them contribute any height, so
     the parent would collapse. Fix: put only the ACTIVE slide back into
     normal flow so it dictates the parent's height exactly; the inactive
     ones stay absolute and keep overlaying it at inset:0, so the crossfade
     still works unchanged. This is pure CSS and always self-consistent —
     no JS measurement, so nothing can desync it mid-render. */
  .expandcareer-hero-slider { height: auto; min-height: 0; }
  .expandcareer-hero-slides { height: auto; }
  .expandcareer-hero-slide.active { position: relative; height: auto; }
  .expandcareer-hero-slide:not(.active) { height: 100%; }
  .expandcareer-hero-container { height: auto; padding-top: 48px; padding-bottom: 48px; }
  .expandcareer-hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .expandcareer-hero-actions .expandcareer-btn-primary { text-align: center; }
  .expandcareer-hero-actions .expandcareer-btn-secondary { justify-content: center; }
  .expandcareer-title { font-size: 28px; }
  .cta-banner-card { padding: 24px; }
  .video-cta-card { padding: 24px; }
  .steps-detail-box { padding: 24px; }
  .about-stats-grid { grid-template-columns: 1fr; }
  .category-showcase-box { border: none; }
}
