/* ===================== HERO ===================== */
.hero-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: slowZoom 22s ease-in-out infinite alternate;
}
@keyframes slowZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(circle at 85% 90%, rgba(245,180,0,.20) 0%, transparent 45%),
    linear-gradient(135deg,
      rgba(3,27,78,.92) 0%,
      rgba(13,71,161,.72) 55%,
      rgba(30,136,229,.45) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 140px 0 80px; }
.hero-badge {
  display: inline-block;
  background: rgba(245,180,0,.18);
  color: var(--accent-soft);
  border: 1px solid rgba(245,180,0,.45);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: 1px;
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero-title .text-yellow {
  color: var(--accent-gold);
  display: inline-block;
}
.hero-subtitle {
  font-size: clamp(.98rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,.88);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 992px) { .hero-buttons { justify-content: flex-start; } }
.hero-buttons .btn-outline-light {
  border: 2px solid rgba(255,255,255,.7);
  font-weight: 600;
  border-radius: 40px;
  padding: 13px 28px;
  transition: all .2s ease;
}
.hero-buttons .btn-outline-light:hover {
  background: #fff;
  color: var(--blue-royal);
  border-color: #fff;
  transform: translateY(-2px);
}
.scroll-down {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  color: var(--accent-soft);
  font-size: 1.7rem;
  z-index: 3;
  text-decoration: none;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 12px); }
}

/* ===================== HIGHLIGHTS ===================== */
.highlights-section {
  background: linear-gradient(180deg,
    var(--blue-deep) 0%,
    var(--blue-royal) 55%,
    var(--blue-mid) 100%);
  padding: 90px 0;
}

/* ===================== PROGRAM CARDS ===================== */
.program-card-img {
  background: #fff;
  border-radius: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(3,27,78,.10);
  border-bottom: 4px solid transparent;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.program-card-img:hover {
  transform: translateY(-8px);
  border-bottom-color: var(--accent-line);
  box-shadow: 0 18px 40px rgba(3,27,78,.22);
}

.program-card-img .card-img-wrap {
  position: relative;
  width: 100%;
  height: 170px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
.program-card-img .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  display: block;
}
.program-card-img:hover .card-img-wrap img { transform: scale(1.08); }

.program-card-img .card-icon {
  position: absolute;
  top: 145px;
  right: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-royal), var(--blue-bright));
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(13,71,161,.35);
  border: 3px solid #fff;
  transition: background .3s ease, transform .3s ease;
  z-index: 2;
}
.program-card-img .card-icon i {
  font-size: 1.4rem;
  color: var(--accent-soft);
  transition: color .3s ease;
}
.program-card-img:hover .card-icon {
  background: linear-gradient(135deg, var(--accent-gold), #e0a300);
  transform: rotate(-8deg) scale(1.05);
}
.program-card-img:hover .card-icon i { color: var(--blue-deep); }

.program-card-img .card-body {
  padding: 40px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.program-card-img h5 {
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.program-card-img p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
  margin: 0 0 18px;
  flex-grow: 1;
}

.program-card-img .btn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--blue-mid);
  border: 2px solid var(--blue-mid);
  font-weight: 600;
  font-size: .85rem;
  padding: 8px 18px;
  border-radius: 40px;
  text-decoration: none;
  align-self: flex-start;
  transition: all .2s ease;
}
.program-card-img .btn-more:hover {
  background: var(--blue-mid);
  color: #fff;
  transform: translateY(-2px);
}
.program-card-img .btn-more i { transition: transform .2s ease; }
.program-card-img .btn-more:hover i { transform: translateX(4px); }

/* ===================== PARTNERS (FIXED) ===================== */
.partners-section {
  background: #fff;
  padding: 80px 0;
  overflow-x: hidden;
}
.partners-intro {
  color: var(--muted);
  font-size: .98rem;
  max-width: 560px;
  margin: 14px auto 0;
}

/* Grid: minmax(0, 1fr) forces equal column widths — nothing can push them wider */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

/* Card: fixed column width, grows vertically */
.partner-card {
  background: var(--surface);
  border: 1px solid #e4ebf5;
  border-radius: 14px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: pointer;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(3,27,78,.12);
  border-color: var(--accent-line);
}

/* Logo: fixed height, never grows */
.partner-logo {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
}
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(.75);
  transition: filter .25s ease, transform .25s ease;
}
.partner-card:hover .partner-logo img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/* Name: wraps to multiple lines, grows DOWNWARD */
.partner-name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue-deep);
  text-align: center;
  line-height: 1.35;
  width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  /* NO white-space: nowrap — this is what was breaking the layout */
}

/* ===================== CTA STRIP ===================== */
.cta-strip {
  background: linear-gradient(135deg, var(--accent-gold), #e0a300);
  padding: 70px 0;
  color: #1a1200;
}
.cta-strip h3 { font-weight: 800; font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.cta-strip p { font-size: 1.05rem; opacity: .85; max-width: 520px; margin: 0 auto 1.5rem; }
.cta-strip .btn-listen {
  background: var(--blue-deep);
  color: var(--accent-soft);
  box-shadow: 0 6px 20px rgba(3,27,78,.35);
}
.cta-strip .btn-listen:hover { background: var(--blue-royal); transform: translateY(-3px); }

/* ===================== MOBILE ===================== */
@media (max-width: 991px) {
  .hero-content { padding: 120px 0 60px; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .partners-section { padding: 60px 0; }
  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 575px) {
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .program-card-img .card-img-wrap { height: 150px; }
  .program-card-img .card-icon { top: 125px; }
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .partner-logo { height: 60px; }
  .partner-name { font-size: .75rem; }
}