/* ==================================================
   EDNEX ACADEMY — COURSE LANDING PAGE & CURRICULUM SYSTEM
   Matching Design Reference (media_1791630333564_71b0b072.jpg)
   ================================================== */

:root {
  --ednex-red: #F21F2B;
  --ednex-red-dark: #d51924;
  --ednex-red-soft: #FFF1F1;
  --ednex-ink: #17191D;
  --ednex-muted: #52565E;
  --ednex-border: #E5E7EB;
  --ednex-card-bg: #FFFFFF;
  --ednex-page-bg: #FAFAFA;
}

body.course-landing-page {
  background-color: var(--ednex-page-bg);
  color: var(--ednex-ink);
  font-family: 'Plus Jakarta Sans', Arial, -apple-system, sans-serif;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ── Breadcrumbs Bar ── */
.course-breadcrumbs-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--ednex-border);
  padding: 12px 24px;
}
.course-breadcrumbs-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6B7280;
}
.course-breadcrumbs-inner a {
  color: #4B5563;
  text-decoration: none;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.course-breadcrumbs-inner a:hover {
  color: var(--ednex-red);
}
.course-breadcrumbs-inner .sep {
  color: #9CA3AF;
  font-size: 12px;
}
.course-breadcrumbs-inner .current {
  color: var(--ednex-ink);
  font-weight: 600;
}

/* ── Two-Column Hero Section ── */
.course-hero-section {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
  padding: 44px 24px 48px;
  border-bottom: 1px solid var(--ednex-border);
}
.course-hero-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 44px;
  align-items: center;
}

/* Hero Left Column */
.course-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.course-badges-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.course-badge-red {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--ednex-red);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.course-badge-light {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--ednex-red-soft);
  color: var(--ednex-red);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(242, 31, 43, 0.2);
}
.course-hero-title {
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: var(--ednex-ink);
  margin: 0 0 16px;
}
.course-hero-title .text-ednex-red {
  color: var(--ednex-red);
}
.course-hero-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ednex-muted);
  margin: 0 0 24px;
  max-width: 580px;
}

/* 4 Compact Benefit Pills */
.course-hero-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  margin-bottom: 28px;
}
.hero-benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid var(--ednex-border);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.hero-benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ednex-red-soft);
  color: var(--ednex-red);
  flex-shrink: 0;
}
.hero-benefit-icon svg {
  width: 16px;
  height: 16px;
}
.hero-benefit-text {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ednex-ink);
  line-height: 1.25;
}

/* Action CTA Buttons */
.course-hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.btn-primary-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ednex-red);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(242, 31, 43, 0.35);
  transition: all 0.2s ease;
}
.btn-primary-red:hover {
  background: var(--ednex-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(242, 31, 43, 0.45);
}
.btn-primary-red svg,
.btn-secondary-pill svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn-secondary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: var(--ednex-ink) !important;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--ednex-border);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}
.btn-secondary-pill:hover {
  border-color: #9CA3AF;
  background: #F9FAFB;
  transform: translateY(-1px);
}

/* Learner Trust Row */
.course-trust-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-avatars {
  display: flex;
  align-items: center;
}
.trust-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -8px;
  background: #E5E7EB;
  object-fit: cover;
  display: block;
}
.trust-avatar:first-child {
  margin-left: 0;
}
.trust-text {
  font-size: 12.5px;
  color: var(--ednex-muted);
}
.trust-text strong {
  color: var(--ednex-ink);
  font-weight: 700;
}

/* ── Hero Right Column: Photograph & Floating Lead Form Card ── */
.course-hero-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.course-hero-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.course-hero-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3.4;
  border-radius: 24px;
}

/* Overlaid Floating Lead Form Card */
.course-brochure-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

/* Desktop absolute overlap when photo is beside it */
@media (min-width: 961px) {
  .course-hero-visual-col {
    display: flex;
    justify-content: flex-end;
  }
  .course-brochure-card {
    margin-left: auto;
  }
}

.brochure-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.brochure-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ednex-red-soft);
  color: var(--ednex-red);
  flex-shrink: 0;
}
.brochure-card-icon svg {
  width: 20px;
  height: 20px;
}
.brochure-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ednex-ink);
  margin: 0 0 4px;
  line-height: 1.2;
}
.brochure-card-sub {
  font-size: 11.5px;
  color: #6B7280;
  line-height: 1.4;
  margin: 0;
}

/* Lead Form Fields */
.brochure-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.brochure-input-group {
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-input-row {
  display: flex;
  align-items: center;
  border: 1px solid var(--ednex-border);
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.phone-input-row:focus-within {
  border-color: var(--ednex-red);
  box-shadow: 0 0 0 3px rgba(242, 31, 43, 0.12);
}
.country-code-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  background: #F9FAFB;
  border-right: 1px solid var(--ednex-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--ednex-ink);
  user-select: none;
}
.flag-icon {
  font-size: 14px;
}
.brochure-phone-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 12px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--ednex-ink);
}
.brochure-phone-input::placeholder {
  color: #9CA3AF;
  font-size: 12.5px;
}

.brochure-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--ednex-border);
  border-radius: 10px;
  background: #ffffff;
  font-size: 13px;
  font-family: inherit;
  color: var(--ednex-ink);
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.brochure-select:focus {
  border-color: var(--ednex-red);
  box-shadow: 0 0 0 3px rgba(242, 31, 43, 0.12);
}

.btn-whatsapp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ednex-red);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(242, 31, 43, 0.3);
  transition: all 0.18s ease;
  margin-top: 4px;
}
.btn-whatsapp-cta:hover {
  background: var(--ednex-red-dark);
  transform: translateY(-1px);
}
.btn-whatsapp-cta svg {
  width: 18px;
  height: 18px;
}

.brochure-form-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0;
  position: relative;
  text-align: center;
}
.brochure-form-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #E5E7EB;
}
.brochure-form-divider span {
  position: relative;
  background: #ffffff;
  padding: 0 10px;
  font-size: 11px;
  color: #9CA3AF;
  text-transform: lowercase;
}

.btn-email-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--ednex-ink);
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--ednex-border);
  cursor: pointer;
  transition: all 0.18s ease;
}
.btn-email-cta:hover {
  border-color: #9CA3AF;
  background: #F9FAFB;
}
.btn-email-cta svg {
  width: 16px;
  height: 16px;
  color: var(--ednex-red);
}

.brochure-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: #6B7280;
  margin-top: 10px;
}
.brochure-security-note svg {
  width: 12px;
  height: 12px;
  color: #10B981;
}

/* Form status feedback */
.form-feedback-message {
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  display: none;
  margin-top: 4px;
}
.form-feedback-message.is-error {
  display: block;
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
}
.form-feedback-message.is-success {
  display: block;
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

/* ── Course Benefits (Key Course Info Strip) ── */
.course-info-strip-section {
  padding: 24px 24px 16px;
  background: #ffffff;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.course-info-strip-wrap {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.course-info-strip {
  background: #FFF8F8;
  border: 1px solid #FFE4E4;
  border-radius: 20px;
  padding: 18px 28px;
  width: 100%;
  box-sizing: border-box;
  display: block;
}

.info-strip-group {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 100%;
  align-items: center;
  box-sizing: border-box;
}

.info-strip-group--duplicate {
  display: none !important;
}

.info-strip-col {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  min-width: 0;
}

.info-strip-col:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #F3D2D2;
}

.info-strip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--ednex-red, #F21F2B);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.info-strip-icon svg {
  width: 20px;
  height: 20px;
}

.info-strip-meta {
  min-width: 0;
}

.info-strip-meta strong {
  display: block;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ednex-ink, #17191D);
  line-height: 1.25;
  white-space: nowrap;
}

.info-strip-meta span {
  display: block;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 11.5px;
  color: #6B7280;
  line-height: 1.35;
  margin-top: 2px;
  white-space: nowrap;
}

/* ── Benefits Desktop Refinement (1024px–1160px) ── */
@media (min-width: 1024px) and (max-width: 1160px) {
  .course-info-strip {
    padding: 16px 20px;
  }
  .info-strip-group {
    gap: 10px;
  }
  .info-strip-col {
    gap: 8px;
  }
  .info-strip-icon {
    width: 34px;
    height: 34px;
  }
  .info-strip-icon svg {
    width: 18px;
    height: 18px;
  }
  .info-strip-meta strong {
    font-size: 13.5px;
  }
  .info-strip-meta span {
    font-size: 10.5px;
  }
}

/* ── Benefits Tablet (768px–1023px): Stationary Responsive Grid ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .course-info-strip {
    padding: 22px 24px;
    border-radius: 18px;
  }
  .info-strip-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 24px;
  }
  .info-strip-col {
    flex: 0 1 calc(33.333% - 16px);
    min-width: 195px;
  }
  .info-strip-col:not(:last-child)::after {
    display: none !important;
  }
  .info-strip-meta strong {
    font-size: 14px;
  }
  .info-strip-meta span {
    font-size: 11.5px;
  }
}

/* ── Benefits Mobile (320px–767px): Slow, Continuous Loop Slider (30–40s) ── */
@media (max-width: 767px) {
  .course-info-strip-section {
    padding: 12px 0 14px;
  }
  .course-info-strip-wrap {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
    mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
  }
  .course-info-strip {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 4px 16px;
    width: max-content;
    display: flex;
    align-items: center;
    animation: benefitsMarqueeScroll 35s linear infinite;
    will-change: transform;
  }
  .course-info-strip:hover,
  .course-info-strip:focus-within,
  .course-info-strip.is-paused {
    animation-play-state: paused;
  }
  .info-strip-group {
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    flex-shrink: 0;
    padding-right: 12px;
  }
  .info-strip-group--duplicate {
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: auto;
    flex-shrink: 0;
    padding-right: 12px;
  }
  .info-strip-col {
    background: #FFF8F8;
    border: 1px solid #FFE4E4;
    border-radius: 16px;
    padding: 11px 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(242, 31, 43, 0.04);
    min-width: 205px;
    box-sizing: border-box;
  }
  .info-strip-col:not(:last-child)::after {
    display: none !important;
  }
  .info-strip-icon {
    width: 34px;
    height: 34px;
  }
  .info-strip-icon svg {
    width: 18px;
    height: 18px;
  }
  .info-strip-meta strong {
    font-size: 13.5px;
  }
  .info-strip-meta span {
    font-size: 11px;
  }
}

@keyframes benefitsMarqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .course-info-strip {
    animation: none !important;
  }
  .course-info-strip-wrap {
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
  .info-strip-group--duplicate {
    display: none !important;
  }
}

/* ── Sticky Curriculum Navigation Tabs ── */
.course-subnav-section {
  position: sticky;
  top: 64px;
  background: #ffffff;
  border-bottom: 1px solid var(--ednex-border);
  z-index: 40;
  padding: 0 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.course-subnav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.course-subnav-inner::-webkit-scrollbar {
  display: none;
}
.course-subnav-tab {
  padding: 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: #4B5563;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color 0.15s ease;
}
.course-subnav-tab:hover {
  color: var(--ednex-red);
}
.course-subnav-tab.is-active {
  color: var(--ednex-red);
  font-weight: 700;
}
.course-subnav-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--ednex-red);
  border-radius: 2px;
}

/* ── Course Overview Section ── */
.course-overview-section {
  padding: 64px 24px;
  background: #ffffff;
}
.course-overview-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: flex-start;
}
.eyebrow-red {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ednex-red);
  margin-bottom: 8px;
}
.overview-heading {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--ednex-ink);
  line-height: 1.2;
  margin: 0 0 16px;
}
.overview-heading span {
  color: var(--ednex-red);
}
.overview-body-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ednex-muted);
  margin: 0 0 24px;
}

/* Key Highlights Card */
.key-highlights-card {
  background: #FFF8F8;
  border: 1px solid #FFE4E4;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.key-highlights-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ednex-ink);
  margin-bottom: 18px;
}
.key-highlights-header svg {
  color: var(--ednex-red);
  width: 20px;
  height: 20px;
}
.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ednex-ink);
  line-height: 1.4;
}
.highlights-list li svg {
  color: var(--ednex-red);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Curriculum Modules Section ── */
.course-curriculum-section {
  padding: 64px 24px;
  background: var(--ednex-page-bg);
  border-top: 1px solid var(--ednex-border);
}
.course-curriculum-container {
  max-width: 1000px;
  margin: 0 auto;
}
.curriculum-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.curriculum-header-row h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--ednex-ink);
  margin: 0 0 6px;
}
.curriculum-header-row p {
  font-size: 14px;
  color: #6B7280;
  margin: 0;
}
.curriculum-toggle-controls {
  display: flex;
  gap: 8px;
}
.btn-toggle-all {
  background: #ffffff;
  border: 1px solid var(--ednex-border);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ednex-ink);
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-toggle-all:hover {
  border-color: var(--ednex-red);
  color: var(--ednex-red);
}

/* Module Accordion */
.curriculum-modules-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.module-accordion-item {
  background: #ffffff;
  border: 1px solid var(--ednex-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.module-accordion-item.is-open {
  border-color: #D1D5DB;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.module-summary-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
}
.module-summary-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.module-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--ednex-red-soft);
  color: var(--ednex-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.module-title-wrap strong {
  display: block;
  font-size: 16px;
  font-weight: 750;
  color: var(--ednex-ink);
  line-height: 1.3;
}
.module-title-wrap span {
  display: block;
  font-size: 12px;
  color: #6B7280;
  margin-top: 2px;
}
.module-chevron-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F3F4F6;
  color: #4B5563;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.module-chevron-icon svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.module-accordion-item.is-open .module-chevron-icon {
  transform: rotate(180deg);
  background: var(--ednex-red-soft);
  color: var(--ednex-red);
}

.module-details-body {
  padding: 0 24px 22px;
  display: none;
  border-top: 1px solid #F3F4F6;
  margin-top: -4px;
  padding-top: 16px;
}
.module-accordion-item.is-open .module-details-body {
  display: block;
}
.module-topics-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
  margin-bottom: 8px;
}
.module-topics-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
}
.module-topics-list li {
  position: relative;
  padding-left: 14px;
  font-size: 13.5px;
  color: #374151;
  line-height: 1.4;
}
.module-topics-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--ednex-red);
  font-weight: bold;
}
.module-practical-box {
  background: #FFF8F8;
  border: 1px solid #FFE4E4;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #991B1B;
}
.module-practical-box strong {
  color: var(--ednex-red);
}

/* ── Real-World Projects Section ── */
.course-projects-section {
  padding: 64px 24px;
  background: #ffffff;
  border-top: 1px solid var(--ednex-border);
}
.course-projects-container {
  max-width: 1240px;
  margin: 0 auto;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.project-card {
  background: #ffffff;
  border: 1px solid var(--ednex-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.project-card:hover {
  transform: translateY(-2px);
  border-color: var(--ednex-red);
}
.project-card-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--ednex-red);
  margin-bottom: 6px;
}
.project-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ednex-ink);
  margin: 0 0 10px;
  line-height: 1.3;
}
.project-card p {
  font-size: 14px;
  color: var(--ednex-muted);
  line-height: 1.5;
  margin: 0 0 18px;
}
.project-tools-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}
.project-tool-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: #F3F4F6;
  color: #374151;
}

/* ── Placement Support Section ── */
.course-placement-section {
  padding: 64px 24px;
  background: #FFF8F8;
  border-top: 1px solid #FFE4E4;
}
.course-placement-container {
  max-width: 1240px;
  margin: 0 auto;
}
.placement-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.placement-feature-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 2px 8px rgba(23, 25, 29, 0.05), 0 1px 2px rgba(23, 25, 29, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  outline: none;
  cursor: default;
}
.placement-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(23, 25, 29, 0.12), 0 4px 12px rgba(23, 25, 29, 0.06);
  border-color: #d0d2d6;
}
.placement-feature-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(23, 25, 29, 0.12), 0 4px 12px rgba(23, 25, 29, 0.06);
  border-color: var(--ednex-red);
  outline: 2px solid var(--ednex-red);
  outline-offset: 2px;
}
.placement-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ednex-red-soft);
  color: var(--ednex-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}
.placement-feature-card:hover .placement-feature-icon,
.placement-feature-card:focus-visible .placement-feature-icon {
  transform: scale(1.06);
  background: var(--ednex-red);
  color: #ffffff;
}
.placement-feature-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.placement-feature-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ednex-ink);
}
.placement-feature-card p {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.45;
  margin: 0;
}

/* ── Certification Section Styles ── */
#certification.course-overview-section {
  background: #FAFAFA;
  border-top: 1px solid var(--ednex-border);
}
.cert-overview-grid {
  align-items: center;
}
.cert-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.cert-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.cert-feature-item:hover {
  transform: translateY(-2px);
  border-color: #FECACA;
  box-shadow: 0 6px 18px rgba(242, 31, 43, 0.08);
}
.cert-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  border-radius: 10px;
  background: var(--ednex-red-soft);
  color: var(--ednex-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cert-feature-icon svg {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  display: block;
  flex-shrink: 0;
}
.cert-feature-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  justify-content: center;
}
.cert-feature-title {
  font-size: 15px;
  font-weight: 750;
  color: var(--ednex-ink);
  line-height: 1.35;
}
.cert-feature-desc {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ednex-muted);
  line-height: 1.45;
}
.cert-preview-card {
  background: #ffffff;
  border: 2px solid #E5E7EB;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  max-width: 440px;
  margin: 0 auto;
}
.cert-preview-glow {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 120px;
  height: 120px;
  background: var(--ednex-red-soft);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}
.cert-preview-logo {
  height: 38px;
  width: auto;
  margin: 0 auto 16px;
  display: block;
}
.cert-preview-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ednex-ink);
  margin: 0 0 8px;
}
.cert-preview-sub {
  font-size: 13px;
  color: #6B7280;
  margin: 0 0 18px;
}
.cert-preview-program {
  font-size: 19px;
  font-weight: 850;
  color: var(--ednex-red);
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}
.cert-preview-badge {
  display: inline-block;
  padding: 7px 16px;
  background: #F3F4F6;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 750;
  color: #4B5563;
  letter-spacing: 0.5px;
}

/* ── Course FAQs Section ── */
.course-faqs-section {
  padding: 64px 24px;
  background: #ffffff;
  border-top: 1px solid var(--ednex-border);
}
.course-faqs-container {
  max-width: 860px;
  margin: 0 auto;
}
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.faq-item-card {
  background: #ffffff;
  border: 1px solid var(--ednex-border);
  border-radius: 14px;
  overflow: hidden;
}
.faq-trigger-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ednex-ink);
}
.faq-content-body {
  padding: 0 22px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ednex-muted);
  display: none;
}
.faq-item-card.is-open .faq-content-body {
  display: block;
}
.faq-item-card.is-open .faq-trigger-btn {
  color: var(--ednex-red);
}

/* ── Responsive Queries ── */
@media (max-width: 960px) {
  .course-hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .course-hero-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
  .course-overview-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .placement-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .course-hero-section {
    padding: 28px 16px 36px;
  }
  .course-hero-title {
    font-size: 30px;
    letter-spacing: -0.8px;
  }
  .course-hero-benefits {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .course-hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary-red,
  .btn-secondary-pill {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .course-brochure-card {
    max-width: 100%;
    padding: 20px 16px;
  }
  .module-topics-list {
    grid-template-columns: 1fr;
  }
  .placement-features-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Dedicated Thank You Modal ── */
.ednex-thankyou-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  box-sizing: border-box;
}
.ednex-thankyou-modal.is-active {
  opacity: 1;
  visibility: visible;
}
.ednex-thankyou-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ednex-thankyou-dialog {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 38px 32px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(242, 31, 43, 0.15);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
.ednex-thankyou-modal.is-active .ednex-thankyou-dialog {
  transform: scale(1) translateY(0);
}
.ednex-thankyou-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  background: #F3F4F6;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: #4B5563;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  padding: 0;
}
.ednex-thankyou-close:hover {
  background: #E5E7EB;
  color: #111827;
  transform: rotate(90deg);
}
.ednex-thankyou-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #FFF1F1;
  color: #F21F2B;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 8px rgba(242, 31, 43, 0.08);
}
.ednex-thankyou-icon svg {
  width: 34px;
  height: 34px;
  display: block;
}
.ednex-thankyou-title {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 12px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}
.ednex-thankyou-desc {
  font-size: 15px;
  line-height: 1.55;
  color: #4B5563;
  margin: 0 0 28px;
}
.ednex-thankyou-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 36px;
  background: #F21F2B;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(242, 31, 43, 0.3);
  font-family: inherit;
}
.ednex-thankyou-btn:hover {
  background: #d51924;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(242, 31, 43, 0.4);
}
@media (max-width: 480px) {
  .ednex-thankyou-dialog {
    padding: 32px 20px 24px;
    border-radius: 16px;
  }
  .ednex-thankyou-title {
    font-size: 19px;
  }
  .ednex-thankyou-desc {
    font-size: 14px;
    margin-bottom: 22px;
  }
  .ednex-thankyou-btn {
    width: 100%;
  }
}

/* ── Placement Cards Mobile & Accessibility Overrides ── */
@media (max-width: 768px) {
  .placement-feature-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(23, 25, 29, 0.05), 0 1px 2px rgba(23, 25, 29, 0.04);
    border-color: #e8eaed;
  }
  .placement-feature-card:hover .placement-feature-icon {
    transform: none;
    background: var(--ednex-red-soft);
    color: var(--ednex-red);
  }
}

@media (prefers-reduced-motion: reduce) {
  .placement-feature-card,
  .placement-feature-card:hover,
  .placement-feature-icon,
  .placement-feature-card:hover .placement-feature-icon {
    transform: none !important;
    transition: none !important;
  }
}
