.programs-section {
  background-color: var(--bg-light);
  position: relative;
}

.text-center {
  text-align: center;
}

.section-badge {
  display: inline-block;
  color: var(--lpu-orange);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--lpu-black);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: #666;
  font-size: 1.05rem;
  line-height: 1.7;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  max-width: 700px;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Top header row */
.programs-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.programs-top-left {
  flex: 1;
  min-width: 260px;
}

.programs-top-right {
  flex-shrink: 0;
}

/* Grid */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Card */
.program-card {
  background-color: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.program-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-card-img img {
  transform: scale(1.06);
}

.program-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.35) 100%);
}

.program-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.program-title {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
  color: var(--lpu-black);
  line-height: 1.3;
}

.program-desc {
  color: #666;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
  flex-grow: 1;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
}

.program-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.program-read-more {
  color: var(--lpu-orange);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.program-read-more:hover { gap: 10px; }

.programs-cta-container {
  text-align: center;
  margin-top: 3rem;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .programs-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
  }

  .programs-section {
    padding: 50px 0;
  }

  .programs-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .program-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .program-card-img {
    height: 160px;
  }

  .program-card-body {
    padding: 18px;
  }

  .program-title {
    font-size: 1rem;
  }
}
