/* === PROGRAMS PAGE STYLES === */

.programs-hero {
  min-height: 72vh;
  background: url('about-hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: #fff;
  padding: 4rem 1.5rem;
}

.programs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.programs-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.programs-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.programs-hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Section */
.programs-section {
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.programs-section .floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.programs-section .floating-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.07);
  animation: float 10s ease-in-out infinite;
}

.programs-section .floating-circle:nth-child(1) {
  width: 100px; height: 100px;
  top: 15%; left: 10%;
}
.programs-section .floating-circle:nth-child(2) {
  width: 140px; height: 140px;
  bottom: 20%; right: 15%;
  animation-delay: 3s;
}
.programs-section .floating-circle:nth-child(3) {
  width: 80px; height: 80px;
  top: 65%; left: 25%;
  animation-delay: 5s;
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

/* Program Card */
.program-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* remove animation block */
  transform: none;
  opacity: 1;
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.program-img {
  height: 100%;
  overflow: hidden;
}

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

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


.programs-section .container {
  max-width: 100%;      /* stretch full width */
  padding: 0 3.5rem;      /* smaller side padding */
}

.program-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.program-content h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

.program-content p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.program-content .btn-link {
  font-weight: 600;
  color: #667eea;
  text-decoration: none;
  position: relative;
}

.program-content .btn-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #667eea;
  transition: width 0.3s ease;
}

.program-content .btn-link:hover::after {
  width: 100%;
}

/* CTA Section */
.cta-section {
  position: relative;
  background: url('about-hero.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 5rem 1.5rem;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55); /* semi-transparent black overlay */
  z-index: 0;
}

.cta-section .container {
  position: relative;
  z-index: 1; /* keep content above overlay */
}


.cta-section h2,
.cta-section p {
  text-shadow: 0 3px 8px rgba(0,0,0,0.6); /* soft dark shadow */
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .program-card {
    grid-template-columns: 1fr;
  }
  .program-img {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .programs-hero {
    min-height: 73vh;
    padding: 3.5rem 1rem;
  }
  .program-content {
    padding: 1.5rem;
  }
  .program-content h3 {
    font-size: 1.4rem;
  }
  .program-content p {
    font-size: 0.9rem;
  }
  .cta-section h2 {
    font-size: 1.7rem;
  }
  .programs-section .container {
    max-width: 100%;      /* stretch full width */
    padding: 0 2rem;      /* smaller side padding */
  }
}

@media (max-width: 480px) {
  .programs-hero h1 {
    font-size: 1.8rem;
  }
  .cta-section h2 {
    font-size: 1.5rem;
  }
  .cta-section p {
    font-size: 1rem;
  }
}
