/* ==========================================================================
   EdCatalyst — Cybersecurity Program Page Styles
   (Layers on top of styles/main.css — shared variables/navbar/footer live there)
   ========================================================================== */

/* ---------------- Hero ---------------- */
.cyber-hero {
  position: relative;
  overflow: hidden;
  background: var(--ec-gradient-1);
  color: #fff;
}

.cyber-hero .blob-1 {
  width: 340px;
  height: 340px;
  background: rgba(255, 255, 255, 0.18);
  top: -110px;
  right: -90px;
  filter: blur(60px);
}

.cyber-hero .blob-2 {
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.12);
  bottom: -100px;
  left: -70px;
  filter: blur(60px);
}

.cyber-hero .badge-pill-glow {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.cyber-hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  margin: 1rem 0 0.8rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.cyber-hero-sub {
  font-size: 1.05rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

.btn-cyber-light {
  display: inline-block;
  background: #fff;
  color: var(--ec-terracotta);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.7rem 1.8rem;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-cyber-light:hover {
  color: var(--ec-terracotta);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.btn-cyber-outline {
  display: inline-block;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.68rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-cyber-outline:hover {
  background: #fff;
  color: var(--ec-terracotta);
  text-decoration: none;
}

/* ---------------- Section titles ---------------- */
.cyber-section-title {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--ec-terracotta);
  margin-bottom: 1.5rem;
}

.cyber-section-title i {
  margin-right: 8px;
}

.cyber-overview-text {
  color: var(--ec-ink-soft);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 820px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* ---------------- Objective / benefit cards ---------------- */
.objective-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.6rem 1.2rem;
  box-shadow: var(--ec-shadow-soft);
  border: 1px solid rgba(168, 60, 12, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.objective-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ec-shadow-strong);
}

.objective-card i {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  background: var(--ec-gradient-1);
  margin-bottom: 0.9rem;
}

.objective-accent-2 i { background: var(--ec-gradient-2); }
.objective-accent-3 i { background: var(--ec-gradient-3); }
.objective-accent-4 i { background: var(--ec-gradient-4); }

.objective-card p {
  color: var(--ec-ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

/* ---------------- Course modules accordion ---------------- */
.modules-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.module-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--ec-shadow-soft);
  border: 1px solid rgba(168, 60, 12, 0.06);
}

.module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem;
  cursor: pointer;
  color: #fff;
  background: var(--ec-gradient-1);
}

.module-header.accent-2 { background: var(--ec-gradient-2); }
.module-header.accent-3 { background: var(--ec-gradient-3); }
.module-header.accent-4 { background: var(--ec-gradient-4); }

.module-title {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
}

.module-date {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ec-ink);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
  border-radius: 14px;
  white-space: nowrap;
}

.module-chevron {
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.module-header[aria-expanded="true"] .module-chevron,
.module-header.expanded .module-chevron {
  transform: rotate(180deg);
}

.module-body {
  padding: 1.2rem 1.4rem;
}

.module-bullets {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.module-bullets li {
  color: var(--ec-ink-soft);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.module-mentor {
  color: var(--ec-ink);
  font-size: 0.92rem;
  margin: 0;
  background: rgba(168, 60, 12, 0.05);
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  display: inline-block;
}

/* ---------------- Important Dates ---------------- */
.important-dates-section {
  background: var(--ec-gradient-1);
  color: #fff;
  border-radius: 18px;
  padding: 2rem;
}

.important-dates-title {
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: #fff;
}

.important-dates-section p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.96rem;
}

/* ---------------- Call to Action ---------------- */
.cyber-cta-section {
  background: var(--ec-gradient-3);
  border-radius: 18px;
  margin-top: 2rem;
}

.cyber-cta-title {
  color: #fff;
  font-weight: 800;
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}

.cyber-cta-sub {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.02rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.cyber-cta-section .btn-cyber-light {
  color: var(--ec-peacock-blue);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 768px) {
  .cyber-hero-title {
    font-size: 1.5rem;
  }
  .module-title {
    font-size: 0.92rem;
  }
  .cyber-cta-title {
    font-size: 1.4rem;
  }
  .btn-cyber-outline {
    margin-left: 0 !important;
    margin-top: 0.6rem;
    display: inline-block;
  }
}
