/* =========================================================
   VILLA TEAG — PROGRAMMES & SERVICES PAGE ONLY
   Depends on css/mutuku.css and Bootstrap.
========================================================= */

/* Page hero: scoped to the page-header class used by this page. */
.page-header { margin: 0; padding: 44px 20px; border-radius: 0; background: linear-gradient(120deg, #0A1B36, #102A56); border-bottom: 4px solid #F4C542; box-shadow: none; text-align: center; }
.page-header h1 { margin: 0 0 10px; color: #FFFFFF; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 850; }
.page-header p { max-width: 800px; margin: 0 auto; color: #E8EEF8; }

/* Core programme cards */
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; margin: 28px auto 44px; text-align: left; }
.program-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #E2E8F0; border-top: 5px solid #F4C542; border-radius: 14px; background: #FFFFFF; box-shadow: 0 8px 24px rgba(16,42,86,.06); transition: transform .25s ease, box-shadow .25s ease; }
.program-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(16,42,86,.12); }
.program-header { padding: 20px 22px; border-bottom: 1px solid #E2E8F0; background: #F6F8FC; }
.program-header h3 { margin: 0; color: #102A56; font-size: 1.2rem; font-weight: 800; text-align: left; }
.program-photo { width: 100%; height: 190px; object-fit: cover; object-position: center; background: #EEF3FA; }
.program-content { flex: 1; padding: 22px; color: #526176; }
.program-content p { margin: 0 0 12px; }
.program-features { margin: 16px 0 0; padding: 0; list-style: none; }
.program-features li { position: relative; margin: 0 0 10px; padding-left: 25px; color: #334155; }
.program-features li::before { position: absolute; top: 0; left: 0; color: #9A7412; font-weight: 900; content: "✓"; }

/* Placement plan */
.placement-section { margin: 28px 0 50px; padding: 38px 0; background: #EEF3FA; }
.placement-section .section-title { margin: 0 0 28px; color: #102A56; }
.placement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; background: transparent; box-shadow: none; }
.placement-card { padding: 25px 22px; border: 1px solid #E2E8F0; border-radius: 14px; background: #FFFFFF; text-align: center; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.placement-card:hover { transform: translateY(-4px); border-color: #F4C542; box-shadow: 0 12px 25px rgba(16,42,86,.1); }
.placement-card.highlight-card { border: 2px solid #D9A91D; background: #FFF9E7; }
.placement-card .card-icon { margin-bottom: 13px; color: #102A56; font-size: 2.4rem; }
.placement-card h3 { margin: 0 0 9px; color: #102A56; font-size: 1.15rem; }
.placement-card p { margin: 0; color: #526176; font-size: .94rem; line-height: 1.7; }

/* Other classes used by older/optional programme page sections */
.age-groups, .age-group-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin: 28px 0 42px; }
.age-card { overflow: hidden; border: 1px solid #E2E8F0; border-top: 4px solid #F4C542; border-radius: 14px; background: #FFFFFF; box-shadow: 0 8px 24px rgba(16,42,86,.06); }
.age-card p { padding: 18px; color: #526176; }
.highlight-box { margin: 32px 0; padding: 30px; border-left: 5px solid #F4C542; border-radius: 12px; color: #FFFFFF; background: #102A56; box-shadow: 0 8px 24px rgba(16,42,86,.1); text-align: center; }
.program-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 25px; margin: 38px 0; }
.program-info { display: flex; flex-direction: column; justify-content: center; padding: 28px; border: 1px solid #E2E8F0; border-radius: 14px; background: #FFFFFF; box-shadow: 0 8px 24px rgba(16,42,86,.06); }
.program-info h3 { color: #102A56; }
.program-image { width: 100%; min-height: 300px; overflow: hidden; border-radius: 14px; background: #EEF3FA; box-shadow: 0 8px 24px rgba(16,42,86,.08); }
.detail-img { display: block; width: 100%; height: 100%; min-height: 300px; object-fit: cover; object-position: center; }

@media (max-width: 1000px) {
  .program-grid, .placement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .page-header { padding: 34px 16px; }
  .program-grid, .placement-grid, .age-groups, .age-group-grid, .program-details { grid-template-columns: 1fr; }
  .program-details { gap: 18px; }
  .program-image, .detail-img { min-height: 220px; height: 250px; }
  .program-photo { height: 210px; }
  .placement-section { padding: 28px 0; }
}
@media (max-width: 480px) {
  .program-content, .program-header { padding: 18px; }
  .placement-card { padding: 22px 17px; }
  .program-info { padding: 22px 18px; }
  .program-image, .detail-img { min-height: 180px; height: 200px; }
  .program-photo { height: 190px; }
}
