/* ============================
   BASIC PAGE STYLES
============================ */
body {
  margin: 0;
  font-family: 'MuseoModerno', sans-serif;
  color: #003366;
  background-color: #fdfdfd;
  line-height: 1.7;
}

/* ============================
   HERO SECTION
============================ */
.outreach-hero {
  text-align: center;
  padding: 70px 20px 60px;
  background-color: #f8f9fc;
}

.outreach-hero h1 {
  font-size: 2.8rem;
  color: #003366;
  margin-bottom: 20px;
}

.outreach-hero p {
  font-size: 1.1rem;
  max-width: 850px;
  margin: 0 auto;
  color: #003366;
}

@media (max-width: 992px) {
    .outreach-hero h1 {
    font-size: 2.2rem;
  }

  .outreach-hero p {
    font-size: 1rem;
  }
}


@media (max-width: 600px) {
    .outreach-hero {
    padding: 80px 15px 50px;
  }

  .outreach-hero h1 {
    font-size: 2rem;
  }

}


/* =============== PROGRAMS SECTION =============== */
.programs {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Each program row */
.program-row {
  display: flex;
  width: 100%;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
  position: relative;
}


/* Alternate reverse layout */
.program-row.reverse {
  flex-direction: row-reverse;
}

/* Equal width for image and text */
.program-image,
.program-text {
  flex: 0 0 50%; /* fixed 50% width */
  width: 50%;
  margin: 0;
  padding: 0;
  border: 0.5px solid #003366;
  box-sizing: border-box;
}


/* Image styling */
.program-image {
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.program-image {
  overflow: hidden;
  position: relative;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease-out;
  will-change: transform;
}


/* Text section styling */
.program-text {
  background-color: #f9fafc;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px; /* Keep padding inside its 50% */
  text-align: left;
  box-sizing: border-box; /* ensures padding doesn’t affect width */
}
.program-text h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 10px;
}

.program-text h4 {
  font-size: 1.2rem;
  color: #003366;
  margin-bottom: 20px;
  font-style: italic;
}

.program-text p {
  font-size: 1rem;
  color: #003366;
  line-height: 1.7;
}

.program-row {
  gap: 0;
}

.program-text {
  margin: 0;
}

.program-image {
  flex: 1 1 50%;
}

.program-text {
  flex: 1 1 50%;
}


/* Remove spacing between rows */
.program-row + .program-row {
  margin-top: 0;
  border-top: none;
}

/* =============== RESPONSIVE DESIGN =============== */
@media (max-width: 992px) {
  .program-row,
  .program-row.reverse {
    flex-direction: column;
    min-height: auto;
  }
  .program-image,
  .program-text {
    border: 1px solid #003366;
  }



  .program-image,
  .program-text {
    flex: 1 1 100%;
    width: 100%;
  }

  .program-image img {
    height: 320px;
  }

  .program-text {
    padding: 40px 25px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .program-text h2 {
    font-size: 1.6rem;
  }
  .program-image,
  .program-text {
    border: 1.2px solid #003366;
  }

  .program-text h4 {
    font-size: 1rem;
  }

  .program-text p {
    font-size: 0.95rem;
  }
}
