:root {
  --navy: #062b70;
  --ink: #132143;
  --yellow: #fbc52a;
  --cream: #fffdf7;
  --blue-pale: #dceaf8;
  --green-pale: #d9efd2;
  --line: #d9dfeb;
}

body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.programs-page-hero {
  position: relative;
  padding: 56px 0 30px;
  background: linear-gradient(180deg, #fffdf7 0%, #fffaf0 100%);
}

.programs-hero-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  align-items: center;
  gap: 44px;
}

.programs-hero-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(3.1rem, 5vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.programs-hero-copy p:not(.eyebrow) {
  max-width: 530px;
  margin-bottom: 28px;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  line-height: 1.6;
}

.programs-hero-visual {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: 42% 0 0 42%;
  background: linear-gradient(135deg, #cbe3f8, #f5d264, #d9e2ea);
  box-shadow: 0 22px 42px rgba(6, 43, 112, 0.12);
}

.programs-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sunburst {
  position: absolute;
  top: 52px;
  left: 28px;
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: rgba(251, 197, 42, 0.9);
  color: var(--navy);
  font-size: 2.5rem;
  box-shadow: 0 18px 30px rgba(251, 197, 42, 0.35);
}

.sunburst-two {
  top: auto;
  right: 34px;
  bottom: 28px;
  left: auto;
  width: 72px;
  height: 72px;
  font-size: 1.8rem;
}

.programs-overview,
.programs-gallery-section,
.vocational-feature-section,
.enrichment-section,
.values-programs,
.programs-cta-wrap {
  padding-top: 36px;
  padding-bottom: 36px;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--ink);
  font-size: 1.05rem;
  text-align: center;
}

.modern-program-grid {
  margin-top: 42px;
}

.program-card {
  overflow: hidden;
  border: 1px solid rgba(6, 43, 112, 0.08);
  border-radius: 22px;
  box-shadow: 0 16px 30px rgba(6, 43, 112, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 35px rgba(6, 43, 112, 0.12);
}

.program-card-image {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.program-card-body {
  padding: 24px 22px 18px;
}

.card-icon {
  width: 62px;
  height: 62px;
  margin: -32px 0 14px 0;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}

.card-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.program-card-body h3,
.program-card-body p,
.program-card-body ul,
.program-card-body a {
  margin-left: 0;
  margin-right: 0;
}

.program-card-body h3 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.12;
}

.program-card-body p {
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.program-card-body ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.7;
}

.program-card-body li + li {
  margin-top: 4px;
}

.program-card-body a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-yellow { background: #fff0c9; }
.card-blue { background: #dceaf8; }
.card-green { background: #d9efd2; }
.card-blue .card-icon { background: #a8d0f0; }
.card-green .card-icon { background: #bfe0a8; }

.detail-section {
  padding-top: 28px;
  padding-bottom: 28px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 42px;
  padding: 28px 0;
}

.reverse-layout {
  grid-template-columns: 0.9fr 1.1fr;
}

.detail-image-wrap {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 18px 30px rgba(6, 43, 112, 0.12);
}

.detail-image-wrap img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.detail-copy {
  max-width: 560px;
}

.detail-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.detail-copy p {
  margin-bottom: 18px;
  font-size: 1rem;
}

.check-list {
  margin: 22px 0 28px;
  padding-left: 22px;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--yellow);
  content: "✓";
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
}

.detail-yellow { background: #fffaf0; }
.detail-blue { background: #edf5ff; }
.detail-green { background: #f2f9ef; }

.learning-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.learning-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  box-shadow: 0 14px 22px rgba(6, 43, 112, 0.08);
}

.learning-item img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.learning-item figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.gallery-note {
  max-width: 700px;
  margin: 22px auto 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.vocational-feature-box {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px 30px;
  align-items: center;
  padding: 28px 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, #dfeaf9 0%, #eff8f4 100%);
}

.vocational-feature-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(2.2rem, 3vw, 3rem);
}

.vocational-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.mini-card {
  overflow: hidden;
  border-radius: 16px;
  background: white;
  box-shadow: 0 12px 18px rgba(6, 43, 112, 0.08);
}

.mini-card img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.mini-label {
  padding: 10px 8px 12px;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.enrichment-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.enrichment-item {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px 16px 20px;
  border: 1px solid rgba(6, 43, 112, 0.08);
  border-radius: 18px;
  background: #fffaf0;
  text-align: center;
}

.enrichment-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  color: var(--ink);
  background: #f5d97b;
}

.enrichment-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.enrichment-item:nth-child(2) .enrichment-icon { background: #f7c7d8; }
.enrichment-item:nth-child(3) .enrichment-icon { background: #d6ecb4; }
.enrichment-item:nth-child(4) .enrichment-icon { background: #f0c99c; }
.enrichment-item:nth-child(5) .enrichment-icon { background: #d8c5e8; }

.enrichment-item h3 {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.2;
}

.programs-values-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.programs-values-grid .value-item {
  padding: 0 16px;
  border: 0;
}

.programs-cta {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, #f7d262 0%, #efe8dc 100%);
  box-shadow: 0 18px 26px rgba(6, 43, 112, 0.08);
}

.cta-media img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 26px;
}

.cta-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(2.1rem, 4vw, 3rem);
}

.cta-copy p {
  margin-bottom: 18px;
}

.button-outline-light {
  border-color: var(--navy);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.35);
}

@media (max-width: 980px) {
  .programs-hero-grid,
  .detail-layout,
  .reverse-layout,
  .programs-cta,
  .vocational-feature-box {
    grid-template-columns: 1fr;
  }

  .learning-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enrichment-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .programs-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vocational-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .programs-page-hero {
    padding-top: 42px;
  }

  .programs-hero-visual {
    min-height: 340px;
  }

  .sunburst {
    width: 68px;
    height: 68px;
    font-size: 1.8rem;
  }

  .modern-program-grid,
  .programs-values-grid,
  .enrichment-row,
  .learning-gallery,
  .vocational-card-grid {
    grid-template-columns: 1fr;
  }

  .detail-image-wrap img,
  .cta-media img {
    height: 300px;
  }

  .program-card-body h3 {
    font-size: 1.25rem;
  }

  .programs-cta {
    padding: 22px 16px;
  }
}
