/* ================= GENERAL ================= */
.philosophy-section {
  margin: 0;
  font-family: 'Titillium Web', sans-serif;
  line-height: 1.7;
  color: #122348;
  background-color: #f5f7fa;
  margin-top: -20px;
  background: url('../../res/img/backgrounds/bg2.png') no-repeat center center fixed;
  background-size: cover;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}


.program_header {
    background-color: #122348;
    border-radius: 5px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
    flex-grow: 1;
    flex-direction: column;
    margin-bottom: 30px;
}

.program_header h1 {
    font-size: 2.4rem;
    font-family: 'Bree Serif', serif;
    letter-spacing: 5px;
    line-height: 1;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    color: white;
}

/* ================= CAROUSEL ================= */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel img {
  width: 100%;
  flex-shrink: 0;
  height: 600px;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 50%;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
  left: 15px;
}

.carousel-btn.next {
  right: 15px;
}

/* ================= CONTENT ================= */
.content {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.content h2 {
  margin-top: 30px;
  color: #0b3c5d;
  font-size: 1.6rem;
}

.content p {
  margin-bottom: 18px;
}

.intro {
  font-size: 1.05rem;
  font-weight: 500;
}

.closing {
  font-weight: 600;
  border-left: 4px solid #0b3c5d;
  padding-left: 16px;
  margin-top: 30px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .carousel img {
    height: 260px;
  }

  .content {
    padding: 25px;
  }

  .page-title {
    font-size: 1.9rem;
  }
}