/* =========================
   PRINCIPI PAGE IMPROVEMENT
========================= */

/* HERO (reuse existing page-hero if you already added it) */
.page-hero {
  position: relative;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.page-hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-content h1 {
  font-size: 42px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.page-hero-content p {
  font-size: 18px;
  opacity: 0.9;
}

/* =========================
   SECTION BASE
========================= */
.program-section {
  max-width: 1000px;
  margin: 70px auto;
  padding: 0 20px;
}

.program-section h2 {
  text-align: center;
  font-size: 28px;
  color: #062a5e;
  margin-bottom: 20px;
  position: relative;
}

/* underline effect */
.program-section h2::after {
  content: "";
  width: 70px;
  height: 3px;
  background: #b8860b;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.program-section p {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  text-align: center;
}

/* =========================
   GRID CARDS (PRINCIPI)
========================= */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 35px;
}

.program-card {
  background: white;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: 0.3s ease;
  border-top: 3px solid transparent;
}

/* hover effect */
.program-card:hover {
  transform: translateY(-6px);
  border-top: 3px solid #062a5e;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.program-card h3 {
  color: #062a5e;
  margin-bottom: 10px;
  font-size: 18px;
}

.program-card p {
  font-size: 14px;
  color: #555;
}

/* =========================
   EMPHASIS TEXT BLOCK
========================= */
.program-section p strong {
  color: #062a5e;
}

/* =========================
   FINAL MESSAGE BLOCK
========================= */
.program-section p:last-child {
  font-weight: 500;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .page-hero-content h1 {
    font-size: 30px;
  }

  .program-section {
    margin: 50px auto;
  }
}
