/* ════════════════════════════
   PROGRAMS PAGE
   ════════════════════════════ */

/* ── HERO ── */
.prog-hero {
  position: relative;
  margin-top: 64px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 0 24px;
}
.prog-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15,29,58,0.82) 0%, rgba(26,46,90,0.72) 100%),
    url('../bg_homepage.png') center/cover no-repeat;
  z-index: 0;
}
.prog-hero-content {
  position: relative;
  z-index: 1;
}
.prog-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.3);
}
.prog-hero-content h1 {
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.prog-hero-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto;
}
.prog-hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.prog-star { display: none; }

/* ── STATS BAR ── */
.prog-stats-bar {
  background: linear-gradient(90deg, #0f1d3a 0%, #1a2e5a 50%, #1e3670 100%);
  padding: 32px 0;
}
.prog-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.prog-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.1);
  padding: 10px 16px;
}
.prog-stat:last-child { border-right: none; }
.prog-stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: #6eaaff;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.prog-stat span:last-child {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  text-align: center;
  font-weight: 500;
}

/* ── PROGRAM LIST SECTION ── */
.prog-list-section {
  background: #f8faff;
  padding: 80px 0 88px;
}

/* ── FILTER TABS ── */
.prog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 28px 0 40px;
}
.prog-filter-btn {
  background: #fff;
  border: 1.5px solid #e0e8f0;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #4a5a7a;
  cursor: pointer;
  transition: all 0.18s;
  font-family: inherit;
}
.prog-filter-btn:hover { border-color: #1a2e5a; color: #1a2e5a; background: #f0f4ff; }
.prog-filter-active {
  background: #1a2e5a !important;
  color: #fff !important;
  border-color: #1a2e5a !important;
  box-shadow: 0 2px 8px rgba(26,46,90,0.18);
}

/* ── PROGRAM CARDS ── */
.prog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.prog-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.prog-card-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
}
.prog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.prog-card:hover .prog-card-image img {
  transform: scale(1.05);
}
.prog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(26,46,90,0.12);
  border-color: #c8d4f0;
}
.prog-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.prog-card-icon {
  width: 52px;
  height: 52px;
  background: var(--prog-bg, #eef4ff);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--prog-accent, #4a6fa5);
}
.prog-card-icon svg { width: 22px; height: 22px; }
.prog-card-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.prog-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f1d3a;
  margin-bottom: 10px;
  line-height: 1.3;
}
.prog-card-desc {
  font-size: 13.5px;
  color: #7a8aaa;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}
.prog-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.prog-card-features li {
  font-size: 13px;
  color: #4a5a7a;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.5;
}
.prog-check {
  color: #1a2e5a;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}
.prog-card-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 18px;
  padding-top: 14px;
  border-top: 1px solid #f0f2f8;
}
.prog-card-btn {
  display: block;
  width: 100%;
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 12px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  font-family: inherit;
  margin-top: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  text-align: center;
  text-decoration: none;
}
.prog-card-btn:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none; }

/* ── HOW IT WORKS ── */
.prog-how-section {
  background: #fff;
  padding: 80px 0;
}
.prog-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 52px;
  flex-wrap: wrap;
}
.prog-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 200px;
  padding: 0 10px;
}
.prog-step-num {
  width: 54px;
  height: 54px;
  background: #1a2e5a;
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(26,46,90,0.22);
}
.prog-step h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f1d3a;
  margin-bottom: 7px;
}
.prog-step p {
  font-size: 12.5px;
  color: #7a8aaa;
  line-height: 1.6;
}
.prog-step-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #c8d4f0, #e0e8f0);
  flex-shrink: 0;
  margin-bottom: 44px;
  border-radius: 2px;
}

/* ── FAQ ── */
.prog-faq-section {
  background: #f8faff;
  padding: 80px 0;
}
.prog-faq-list {
  max-width: 760px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prog-faq-item {
  background: #fff;
  border: 1.5px solid #eaecf5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(26,46,90,0.04);
  transition: border-color 0.2s;
}
.prog-faq-item:hover { border-color: #c8d4f0; }
.prog-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  color: #0f1d3a;
  text-align: left;
  font-family: inherit;
  gap: 14px;
}
.prog-faq-icon {
  width: 28px; height: 28px;
  background: #eef2ff;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: #1a2e5a;
  font-size: 16px;
  font-weight: 400;
  flex-shrink: 0;
}
.prog-faq-a {
  padding: 0 22px 18px;
  font-size: 14px;
  color: #7a8aaa;
  line-height: 1.75;
  border-top: 1px solid #f0f4f8;
  padding-top: 14px;
}

/* ── CTA ── */
.prog-cta-section {
  background: linear-gradient(135deg, #0f1d3a 0%, #1a2e5a 60%, #243f78 100%);
  color: #fff;
  padding: 80px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.prog-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(80,120,220,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.prog-cta-section h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 14px;
  position: relative;
  letter-spacing: -0.3px;
}
.prog-cta-section p {
  font-size: 15.5px;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.75;
  position: relative;
}
.prog-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.prog-cta-btn-outline {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 9px;
  padding: 13px 32px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}
.prog-cta-btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .prog-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .prog-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 12px; }
  .prog-stat:last-child { border-bottom: none; }
  .prog-hero-content h1 { font-size: 2rem; }
  .prog-steps { flex-direction: column; gap: 16px; align-items: flex-start; padding: 0 24px; }
  .prog-step { flex-direction: row; max-width: 100%; text-align: left; gap: 16px; align-items: flex-start; }
  .prog-step-num { margin-bottom: 0; flex-shrink: 0; }
  .prog-step-line { width: 2px; height: 30px; margin-bottom: 0; margin-left: 25px; }
}
@media (max-width: 600px) {
  .prog-cards-grid { grid-template-columns: 1fr; }
  .prog-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-hero-content h1 { font-size: 1.7rem; }
  .prog-filters { gap: 8px; }
}
