/* ==========================================================================
   INTERACTIVE PROGRAMS MEGA MENU (CSA 2-COLUMN MEGA DROPDOWN)
   ========================================================================== */
.csa-nav-has-dropdown {
  position: relative;
}

@media (min-width: 1200px) {
  .csa-nav-has-dropdown:hover .csa-mega-dropdown,
  .csa-mega-dropdown.show {
    display: block !important;
    animation: csaMegaSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
}

@keyframes csaMegaSlideDown {
  0% { opacity: 0; transform: translate3d(-35%, 10px, 0); }
  100% { opacity: 1; transform: translate3d(-35%, 0, 0); }
}

.csa-mega-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-35%);
  width: 820px;
  max-width: 95vw;
  background: #090e1b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 94, 0, 0.06);
  z-index: 1050;
  display: none;
  padding: 20px;
}

.csa-mega-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.csa-mega-left {
  max-height: 460px;
  overflow-y: auto;
  padding-right: 8px;
}

.csa-mega-left::-webkit-scrollbar {
  width: 5px;
}
.csa-mega-left::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}
.csa-mega-left::-webkit-scrollbar-thumb {
  background: rgba(255, 94, 0, 0.3);
  border-radius: 10px;
}

.csa-mega-subhead {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 10px;
}

.csa-mega-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 14px 0;
}

.csa-mega-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 6px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
}

.csa-mega-row:hover,
.csa-mega-row.active {
  background: rgba(255, 94, 0, 0.1);
  border-color: rgba(255, 94, 0, 0.35);
  transform: translateX(4px);
}

.csa-mega-thumb {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 94, 0, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  color: #ff8c3a;
  flex-shrink: 0;
}

.csa-mega-info {
  flex: 1;
  min-width: 0;
}

.csa-mega-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.2;
}

.csa-mega-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.csa-mega-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.badge-enroll {
  background: linear-gradient(135deg, #ff5e00 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 94, 0, 0.3);
}

.badge-duration {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.csa-mega-arrow {
  color: #64748b;
  font-size: 0.85rem;
  transition: transform 0.2s;
}

.csa-mega-row:hover .csa-mega-arrow,
.csa-mega-row.active .csa-mega-arrow {
  color: #ff8c3a;
  transform: translateX(3px);
}

/* Right preview panel */
.csa-preview-box {
  background: linear-gradient(145deg, #0d1527 0%, #080c16 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.csa-preview-top-badge {
  font-size: 0.75rem;
  color: #10b981;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.csa-preview-top-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.csa-preview-code-banner {
  height: 120px;
  border-radius: 12px;
  background: radial-gradient(circle at 70% 30%, rgba(255, 94, 0, 0.35) 0%, rgba(15, 23, 42, 0.98) 70%);
  border: 1px solid rgba(255, 94, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 14px;
}

#csaPreviewBannerCode {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(255, 94, 0, 0.6);
  font-family: 'Outfit', sans-serif;
}

.csa-banner-pill {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 6px;
  color: #ffffff;
}

.csa-preview-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#csaPreviewTitle {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.csa-preview-star {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f59e0b;
}

#csaPreviewSub {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 4px;
  margin-bottom: 4px;
}

#csaPreviewDesc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 12px;
}

.csa-fee-main {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.csa-fee-cut {
  font-size: 0.9rem;
  text-decoration: line-through;
  color: #64748b;
  margin-left: 6px;
}

.csa-fee-off {
  font-size: 0.75rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 6px;
}

.csa-btn-preview-explore {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #ff5e00 0%, #ea580c 100%);
  color: #ffffff !important;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 94, 0, 0.35);
  transition: all 0.2s;
  margin-top: 12px;
}

.csa-btn-preview-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 94, 0, 0.55);
}

@media (max-width: 1199px) {
  .csa-mega-dropdown {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border-radius: 12px;
    margin-top: 10px;
    padding: 12px;
  }
  .csa-mega-inner {
    grid-template-columns: 1fr;
  }
  .csa-mega-right {
    display: none;
  }
}

/* ==========================================================================
   PROGRAM HERO SHIELD & DETAIL STYLES (CEHP, CFE, CDFI)
   ========================================================================== */
.csa-prog-hero-wrap {
  padding: 60px 20px 40px;
  background: radial-gradient(ellipse at 50% 20%, rgba(255, 94, 0, 0.18) 0%, #080c16 75%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.csa-prog-shield-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 36px;
  background: linear-gradient(145deg, #0e172e 0%, #090e1b 100%);
  border: 1px solid rgba(255, 94, 0, 0.3);
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  margin-bottom: 20px;
}

.csa-shield-icon-wrap {
  font-size: 2.4rem;
  color: #ff8c3a;
  margin-bottom: 6px;
}

.csa-shield-sub {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
}

.csa-shield-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  margin: 6px 0 12px;
  letter-spacing: 0.5px;
}

.csa-shield-code {
  padding: 4px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5e00 0%, #7c3aed 100%);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #ffffff;
}

.csa-prog-hero-lead {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.csa-course-card {
  background: #0d1527;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px;
}

.csa-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.csa-para {
  color: #94a3b8;
  line-height: 1.7;
  font-size: 0.98rem;
}

.csa-learn-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 0.92rem;
  font-weight: 600;
}

.csa-acc-item {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.csa-acc-btn {
  background: #0e172e !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 18px 20px;
  box-shadow: none !important;
}

.csa-acc-btn:not(.collapsed) {
  color: #ff8c3a !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.csa-acc-body {
  background: #090e1b;
  color: #94a3b8;
  padding: 20px;
  line-height: 1.8;
}

.csa-acc-body ul {
  padding-left: 20px;
  margin: 0;
}

/* Sidebar */
.csa-sidebar-card {
  background: linear-gradient(145deg, #0e172e 0%, #090e1b 100%);
  border: 1px solid rgba(255, 94, 0, 0.35);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.csa-badge-discount {
  font-size: 0.75rem;
  font-weight: 800;
  color: #ff8c3a;
  background: rgba(255, 94, 0, 0.15);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}

.csa-sidebar-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
}

.csa-sidebar-cut {
  font-size: 1.1rem;
  text-decoration: line-through;
  color: #64748b;
}

.csa-fee-note {
  font-size: 0.78rem;
  color: #94a3b8;
}

.csa-meta-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  color: #cbd5e1;
}

.csa-btn-sidebar-enroll {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: linear-gradient(135deg, #ff5e00 0%, #ea580c 100%);
  color: #ffffff !important;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 94, 0, 0.4);
  transition: all 0.2s;
}

.csa-btn-sidebar-enroll:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 94, 0, 0.6);
}

.csa-btn-sidebar-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25D366 !important;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}

.csa-btn-sidebar-whatsapp:hover {
  background: rgba(37, 211, 102, 0.25);
  color: #25D366 !important;
}
