/* ══════════════════════════════════════════════════════════
   PREMIUM PROGRAMS TOGGLE SECTION
══════════════════════════════════════════════════════════ */
.program-section {
  position: relative;
  padding: 80px 24px;
  background: var(--hero-bg);
  z-index: 10;
}

.program-container {
  max-width: 800px;
  margin: 0 auto;
}

.program-header-box {
  text-align: center;
  margin-bottom: 48px;
}

.program-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.program-subtitle {
  font-size: 1.05rem;
  color: var(--white-70);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Toggle Cards ── */
.program-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.program-card {
  background: rgba(10, 10, 20, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.program-card.active {
  background: rgba(20, 15, 35, 0.6);
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15);
}

.program-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

/* ── Toggle Header ── */
.program-toggle {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
}

.program-course-name {
  font-family: var(--f);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}

.program-card.active .program-course-name {
  background: linear-gradient(135deg, #a78bfa, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.program-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 20px;
}

.program-icon::before,
.program-icon::after {
  content: '';
  position: absolute;
  background: var(--white-70);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.3s;
}

/* Horizontal line of the plus */
.program-icon::before {
  top: 11px;
  left: 0;
  width: 24px;
  height: 2px;
}

/* Vertical line of the plus */
.program-icon::after {
  top: 0;
  left: 11px;
  width: 2px;
  height: 24px;
}

.program-card.active .program-icon::before {
  transform: rotate(180deg);
  background: #a78bfa;
}

.program-card.active .program-icon::after {
  transform: rotate(90deg);
  background: #a78bfa;
}

/* ── Toggle Body (Hidden initially) ── */
.program-body {
  height: 0;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.program-body-inner {
  padding: 0 32px 32px;
  border-top: 1px solid rgba(255,255,255,0.03);
  margin-top: 8px;
  padding-top: 24px;
}

.specialization-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white-70);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.specialization-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px 24px;
}

.spec-item {
  position: relative;
  font-size: 1rem;
  color: var(--white);
  padding-left: 20px;
  font-weight: 400;
}

/* Custom glowing bullet point */
.spec-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #7c3aed;
  border-radius: 50%;
  box-shadow: 0 0 8px #7c3aed;
}

/* ── Micro CTA ── */
.program-cta-wrap {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.program-cta-msg {
  font-size: 0.95rem;
  color: var(--white-70);
}

.program-btn-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.5);
  color: #fff;
  border-radius: 8px;
  font-family: var(--f);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.program-btn-inline:hover {
  background: rgba(124, 58, 237, 0.4);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
  transform: translateY(-2px);
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .program-toggle {
    padding: 20px;
  }
  .program-body-inner {
    padding: 0 20px 24px;
  }
  .program-cta-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
