/* ==========================================================================
   DSM PRIME ACADEMY — Public website stylesheet
   Brand colours are injected as CSS variables from the admin dashboard.
   ========================================================================== */

* { box-sizing: border-box; }

:root {
  --shadow-sm: 0 2px 10px rgba(16, 43, 80, .06);
  --shadow-md: 0 10px 30px rgba(16, 43, 80, .10);
  --shadow-lg: 0 20px 60px rgba(16, 43, 80, .16);
  --radius: 14px;
  --radius-lg: 22px;
  --gold-soft: rgba(214, 173, 87, .14);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-font { font-family: var(--font-head); color: var(--navy); }

img { max-width: 100%; }

a { color: var(--royal); }

.container-narrow { max-width: 860px; }

::selection { background: var(--gold); color: var(--navy); }

/* --------------------------------------------------------------------------
 | Buttons
 | ------------------------------------------------------------------------ */
.btn { border-radius: var(--btn-radius); font-weight: 600; letter-spacing: .02em; transition: all .25s ease; }

.btn-gold {
  background: var(--gold); border: 2px solid var(--gold); color: var(--navy);
}
.btn-gold:hover, .btn-gold:focus {
  background: transparent; border-color: var(--gold); color: var(--gold);
}
.cta-band .btn-gold:hover, .hero-section .btn-gold:hover { color: var(--navy); background: #fff; border-color: #fff; }

.btn-navy { background: var(--navy); border: 2px solid var(--navy); color: #fff; }
.btn-navy:hover, .btn-navy:focus { background: var(--royal); border-color: var(--royal); color: #fff; }

.btn-outline-navy { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

.btn-outline-light { border: 2px solid rgba(255,255,255,.85); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-whatsapp { background: #25D366; border: 2px solid #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1eb856; border-color: #1eb856; color: #fff; }

/* --------------------------------------------------------------------------
 | Top bar
 | ------------------------------------------------------------------------ */
.topbar { background: var(--navy); color: #c9d6ea; font-size: .82rem; padding: 7px 0; }
.topbar a { color: #c9d6ea; text-decoration: none; margin-right: 18px; }
.topbar a:hover { color: var(--gold); }
.topbar i { color: var(--gold); margin-right: 6px; }
.topbar-tag { letter-spacing: .18em; text-transform: uppercase; font-size: .72rem; color: var(--gold); }

/* --------------------------------------------------------------------------
 | Header / navigation
 | ------------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease;
}
.site-header .navbar { padding: 14px 0; }

.brand-logo { height: 52px; width: auto; }

.brand-text { display: flex; flex-direction: column; margin-left: 12px; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.02rem; letter-spacing: .04em; }
.brand-tag { font-size: .58rem; letter-spacing: .3em; color: var(--gold); font-weight: 600; }
.brand-text.light .brand-name { color: #fff; }

.site-header .nav-link {
  color: var(--ink); font-weight: 500; font-size: .92rem;
  padding: 10px 13px !important; position: relative;
}
.site-header .nav-link::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .nav-link.active { color: var(--navy); font-weight: 600; }

.site-header .dropdown-menu { border: none; border-radius: 12px; box-shadow: var(--shadow-md); padding: 10px; min-width: 270px; }
.site-header .dropdown-item { border-radius: 8px; padding: 9px 14px; font-size: .9rem; color: var(--ink); }
.site-header .dropdown-item:hover { background: var(--light-bg); color: var(--royal); }

.nav-cta { padding: 10px 22px; font-size: .9rem; white-space: nowrap; }

.navbar-toggler { border: none; font-size: 1.3rem; color: var(--navy); }
.navbar-toggler:focus { box-shadow: none; }

/* Mobile nav */
.mobile-nav { width: 320px; }
.mobile-menu { list-style: none; padding: 0; margin: 0; }
.mobile-menu > li > a, .mobile-menu summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 6px; color: var(--ink); text-decoration: none;
  font-weight: 500; border-bottom: 1px solid #edf1f7; cursor: pointer;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary i { font-size: .75rem; color: var(--gold); transition: transform .2s; }
.mobile-menu details[open] summary i { transform: rotate(180deg); }
.mobile-menu details ul { list-style: none; padding: 4px 0 4px 16px; margin: 0; }
.mobile-menu details ul a { display: block; padding: 8px 6px; color: #5a6a82; text-decoration: none; font-size: .92rem; }
.mobile-menu details ul a:hover { color: var(--royal); }
.mobile-contact a { display: block; padding: 6px 0; color: #5a6a82; text-decoration: none; }
.mobile-contact i { color: var(--gold); margin-right: 8px; }

/* --------------------------------------------------------------------------
 | Hero
 | ------------------------------------------------------------------------ */
.hero-section { background: var(--navy); }
.hero-slide {
  min-height: 88vh; display: flex; align-items: center;
  background-size: cover; background-position: center right;
  padding: 110px 0 130px;
}
.hero-content { max-width: 660px; color: #fff; }
.hero-eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .32em; font-weight: 700;
  color: var(--gold); text-transform: uppercase; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 2px solid var(--gold);
}
.hero-title { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; color: #fff; line-height: 1.08; margin-bottom: 22px; }
.hero-text p { color: #d8e2f0; font-size: 1.04rem; margin-bottom: 12px; }
.hero-highlight { color: var(--gold) !important; font-weight: 600; font-size: 1.1rem !important; margin-top: 18px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-section .carousel-indicators { bottom: 26px; }
.hero-section .carousel-indicators button { width: 34px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.4); border: none; }
.hero-section .carousel-indicators button.active { background: var(--gold); }

/* --------------------------------------------------------------------------
 | Sections — shared
 | ------------------------------------------------------------------------ */
.section { padding: 96px 0; }
.section:nth-of-type(even) { background: var(--light-bg); }

.section-heading { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-heading h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; margin-bottom: 14px; position: relative; display: inline-block; }
.section-heading h2::after { content: ''; display: block; width: 64px; height: 3px; background: var(--gold); margin: 14px auto 0; border-radius: 3px; }
.section-heading p { color: #5a6a82; font-size: 1.02rem; }
.section-eyebrow { display: inline-block; color: var(--gold); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .75rem; margin-bottom: 14px; }

.rich-content { color: #42536b; font-size: 1.02rem; }
.rich-content h2, .rich-content h3, .rich-content h4 { margin: 1.4em 0 .6em; }
.rich-content ul, .rich-content ol { padding-left: 1.3em; }
.rich-content li { margin-bottom: .45em; }
.rich-content .lead { font-size: 1.15rem; color: var(--ink); }

.empty-note { text-align: center; color: #7a8aa0; padding: 40px 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
 | Feature cards
 | ------------------------------------------------------------------------ */
.feature-card {
  background: #fff; border-radius: var(--radius-lg); padding: 36px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid #eef2f8; height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
.feature-icon {
  width: 62px; height: 62px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--royal)); color: var(--gold);
  font-size: 1.45rem; margin-bottom: 22px;
}
.feature-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: #5a6a82; font-size: .95rem; margin: 0; }

/* --------------------------------------------------------------------------
 | Commitment
 | ------------------------------------------------------------------------ */
.commitment-section { background: var(--navy); color: #fff; }
.commitment-title { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 16px; }
.commitment-intro { color: #c9d6ea; font-size: 1.05rem; margin-bottom: 26px; }
.commitment-list { list-style: none; padding: 0; margin: 0; }
.commitment-list li { display: flex; align-items: flex-start; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.09); color: #e6edf7; font-size: 1.02rem; }
.commitment-list li:last-child { border-bottom: none; }
.commitment-list .check {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center;
  font-size: .8rem; margin-top: 2px;
}
.commitment-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.commitment-image { position: relative; }
.commitment-image::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid var(--gold); border-radius: var(--radius-lg); z-index: -1;
}

/* --------------------------------------------------------------------------
 | Director
 | ------------------------------------------------------------------------ */
.director-section { background: var(--light-bg); }
.director-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.director-photo { min-height: 480px; height: 100%; background-size: cover; background-position: center top; background-color: var(--navy); }
.director-body { padding: 52px 54px; }
.director-message { color: #42536b; font-size: 1.03rem; margin-top: 8px; }
.director-message p { margin-bottom: 14px; }
.director-signoff { margin-top: 28px; padding-top: 22px; border-top: 1px solid #eef2f8; display: flex; align-items: center; gap: 18px; }
.director-signature { max-height: 56px; }
.director-name { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.15rem; }
.director-role { color: var(--gold); font-size: .88rem; font-weight: 600; letter-spacing: .03em; }

/* --------------------------------------------------------------------------
 | Programme cards
 | ------------------------------------------------------------------------ */
.programme-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid #eef2f8; transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; }
.programme-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.programme-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--navy); }
.programme-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.programme-card:hover .programme-media img { transform: scale(1.06); }
.programme-cat {
  position: absolute; top: 14px; left: 14px; background: rgba(16,43,80,.88); color: var(--gold);
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 50px;
}
.programme-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.programme-body h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.programme-body h3 a { color: var(--navy); text-decoration: none; }
.programme-body h3 a:hover { color: var(--royal); }
.programme-body p { color: #5a6a82; font-size: .93rem; flex: 1; }
.programme-link { color: var(--royal); font-weight: 600; font-size: .9rem; text-decoration: none; margin-top: 10px; }
.programme-link i { transition: transform .25s ease; }
.programme-link:hover i { transform: translateX(5px); }

/* --------------------------------------------------------------------------
 | CTA band
 | ------------------------------------------------------------------------ */
.cta-band { background: var(--navy); background-size: cover; background-position: center; padding: 96px 0; color: #fff; }
.cta-title { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; margin-bottom: 14px; }
.cta-text { color: #d8e2f0; font-size: 1.12rem; margin-bottom: 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
 | Experience cards
 | ------------------------------------------------------------------------ */
.experience-section { background: linear-gradient(150deg, var(--navy) 0%, #16386a 60%, var(--royal) 100%); }
.experience-section .section-heading h2 { color: #fff; }
.experience-section .section-heading p { color: #c9d6ea; }
.experience-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 38px 32px; height: 100%;
  transition: transform .3s ease, background .3s ease;
}
.experience-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.experience-icon { font-size: 2rem; color: var(--gold); margin-bottom: 20px; }
.experience-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 12px; }
.experience-card p { color: #c9d6ea; font-size: .95rem; }
.experience-link { color: var(--gold); font-weight: 600; text-decoration: none; font-size: .92rem; }
.experience-link i { transition: transform .25s ease; }
.experience-link:hover { color: #fff; }
.experience-link:hover i { transform: translateX(5px); }

/* --------------------------------------------------------------------------
 | News cards
 | ------------------------------------------------------------------------ */
.news-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid #eef2f8; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-media { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--navy); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-media img { transform: scale(1.06); }
.news-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; font-size: .8rem; color: #7a8aa0; }
.news-cat { background: var(--gold-soft); color: var(--navy); font-weight: 700; padding: 4px 12px; border-radius: 50px; letter-spacing: .05em; text-transform: uppercase; font-size: .68rem; }
.news-cat.on-banner { background: var(--gold); color: var(--navy); display: inline-block; margin-bottom: 16px; }
.news-body h3 { font-size: 1.14rem; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.news-body h3 a { color: var(--navy); text-decoration: none; }
.news-body h3 a:hover { color: var(--royal); }
.news-body p { color: #5a6a82; font-size: .92rem; flex: 1; }
.news-link { color: var(--royal); font-weight: 600; font-size: .88rem; text-decoration: none; margin-top: 8px; }
.news-link i { transition: transform .25s ease; }
.news-link:hover i { transform: translateX(5px); }

/* --------------------------------------------------------------------------
 | Page banner
 | ------------------------------------------------------------------------ */
.page-banner {
  background: linear-gradient(120deg, var(--navy), #16386a);
  background-size: cover; background-position: center;
  padding: 84px 0 76px; color: #fff;
}
.banner-breadcrumb .breadcrumb { margin-bottom: 18px; --bs-breadcrumb-divider-color: rgba(255,255,255,.5); }
.banner-breadcrumb .breadcrumb-item a { color: #c9d6ea; text-decoration: none; font-size: .85rem; }
.banner-breadcrumb .breadcrumb-item a:hover { color: var(--gold); }
.banner-breadcrumb .breadcrumb-item.active { color: var(--gold); font-size: .85rem; }
.banner-title { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; margin-bottom: 14px; }
.banner-subtitle { color: #c9d6ea; font-size: 1.1rem; max-width: 720px; margin: 0; }
.programme-cat-banner { display: inline-block; background: var(--gold); color: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; border-radius: 50px; margin-bottom: 16px; }
.article-title { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.article-meta { display: flex; gap: 22px; color: #c9d6ea; font-size: .9rem; margin-top: 14px; }
.article-meta i { color: var(--gold); margin-right: 6px; }

/* --------------------------------------------------------------------------
 | Steps
 | ------------------------------------------------------------------------ */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; counter-reset: step; }
.step-card { display: flex; gap: 20px; background: #fff; border: 1px solid #eef2f8; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-number {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--royal)); color: var(--gold);
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.step-body h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
.step-body p { color: #5a6a82; font-size: .92rem; margin: 0; }

/* --------------------------------------------------------------------------
 | Values
 | ------------------------------------------------------------------------ */
.value-card { background: #fff; border: 1px solid #eef2f8; border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 18px; }
.value-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { color: #5a6a82; font-size: .93rem; margin: 0; }

/* --------------------------------------------------------------------------
 | Stages
 | ------------------------------------------------------------------------ */
.stages-list { display: flex; flex-direction: column; gap: 30px; }
.stage-card { background: #fff; border: 1px solid #eef2f8; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.stage-media { min-height: 320px; height: 100%; background-size: cover; background-position: center; }
.stage-body { padding: 40px 44px; }
.stage-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.stage-badge { background: var(--navy); color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 50px; }
.stage-age { color: #7a8aa0; font-size: .88rem; }
.stage-age i { color: var(--gold); margin-right: 6px; }
.stage-body h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.stage-body > p { color: #5a6a82; }
.stage-areas h4, .stage-grades h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin: 22px 0 12px; letter-spacing: .06em; text-transform: uppercase; }
.stage-areas ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 30px; }
.stage-areas li { break-inside: avoid; padding: 5px 0; color: #42536b; font-size: .94rem; }
.stage-areas li i { color: var(--gold); margin-right: 8px; }
.grade-chip { background: var(--light-bg); border-left: 3px solid var(--gold); border-radius: 8px; padding: 12px 16px; height: 100%; }
.grade-chip strong { display: block; color: var(--navy); font-size: .95rem; }
.grade-chip span { color: #5a6a82; font-size: .85rem; }

/* --------------------------------------------------------------------------
 | Subjects
 | ------------------------------------------------------------------------ */
.subjects-empty { text-align: center; background: #fff; border: 1px dashed #d4deee; border-radius: var(--radius-lg); padding: 50px 30px; color: #7a8aa0; }
.subjects-empty i { font-size: 2.4rem; color: var(--gold); display: block; margin-bottom: 16px; }
.subject-group { background: #fff; border: 1px solid #eef2f8; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.subject-group h3 { font-size: 1.05rem; margin-bottom: 14px; }
.subject-group h3 i { color: var(--gold); margin-right: 8px; }
.subject-group ul { list-style: none; padding: 0; margin: 0; }
.subject-group li { padding: 8px 0; border-bottom: 1px solid #f2f5fa; }
.subject-group li:last-child { border-bottom: none; }
.subject-scope { display: block; color: #8a97ab; font-size: .8rem; }

/* --------------------------------------------------------------------------
 | Portals
 | ------------------------------------------------------------------------ */
.portal-card { background: #fff; border: 1px solid #eef2f8; border-radius: var(--radius-lg); padding: 40px 32px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.portal-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.portal-icon { width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--royal)); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; }
.portal-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.portal-card p { color: #5a6a82; font-size: .92rem; min-height: 88px; }
.portal-soon { display: inline-block; color: #8a97ab; font-size: .88rem; background: var(--light-bg); padding: 10px 18px; border-radius: 50px; }

/* --------------------------------------------------------------------------
 | Teachers
 | ------------------------------------------------------------------------ */
.teacher-card { background: #fff; border: 1px solid #eef2f8; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.teacher-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.teacher-photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; background-size: cover; background-position: center top; background-color: var(--navy); }
.teacher-placeholder { font-size: 4rem; color: rgba(255,255,255,.35); }
.teacher-body { padding: 22px 24px 26px; }
.teacher-body h3 { font-size: 1.12rem; margin-bottom: 4px; }
.teacher-body h3 a { color: var(--navy); text-decoration: none; }
.teacher-role { color: var(--gold); font-weight: 600; font-size: .86rem; margin-bottom: 8px; }
.teacher-spec { color: #5a6a82; font-size: .86rem; margin-bottom: 10px; }
.teacher-spec i { color: var(--royal); margin-right: 6px; }
.teacher-link { color: var(--royal); font-weight: 600; font-size: .86rem; text-decoration: none; }
.teachers-empty { text-align: center; background: #fff; border: 1px dashed #d4deee; border-radius: var(--radius-lg); padding: 60px 30px; }
.teachers-empty i { font-size: 2.6rem; color: var(--gold); display: block; margin-bottom: 18px; }
.teachers-empty h3 { margin-bottom: 10px; }
.teachers-empty p { color: #7a8aa0; max-width: 480px; margin: 0 auto; }
.teacher-profile-photo { aspect-ratio: 3.4/4; border-radius: var(--radius-lg); background-size: cover; background-position: center top; background-color: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); }
.teacher-social { display: flex; gap: 12px; margin-top: 18px; }
.teacher-social a { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background .25s; }
.teacher-social a:hover { background: var(--royal); }
.teacher-profile-name { font-size: 2rem; margin-bottom: 6px; }
.teacher-profile-role { color: var(--gold); font-weight: 600; margin-bottom: 22px; }
.teacher-facts { display: flex; gap: 30px; flex-wrap: wrap; margin-bottom: 26px; }
.teacher-facts .fact { display: flex; gap: 12px; align-items: flex-start; }
.teacher-facts .fact i { color: var(--gold); font-size: 1.2rem; margin-top: 4px; }
.teacher-facts .fact strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #8a97ab; }
.teacher-facts .fact span { color: var(--navy); font-weight: 600; }

/* --------------------------------------------------------------------------
 | Detail blocks (programme pages)
 | ------------------------------------------------------------------------ */
.detail-block { margin-bottom: 38px; }
.detail-block h2 { font-size: 1.45rem; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.detail-block h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px; background: var(--gold); border-radius: 3px; }
.detail-list { list-style: none; padding: 0; margin: 0; }
.detail-list li { padding: 8px 0; color: #42536b; }
.detail-list li i { color: var(--gold); margin-right: 10px; }
.detail-list.two-col { columns: 2; column-gap: 36px; }
.detail-list.two-col li { break-inside: avoid; }
.programme-intro .lead { font-size: 1.14rem; color: var(--ink); font-weight: 500; }
.programme-disclaimer { display: flex; gap: 16px; background: #fff8ea; border: 1px solid #f0dfb5; border-radius: var(--radius); padding: 22px 24px; }
.programme-disclaimer i { color: var(--gold); font-size: 1.3rem; margin-top: 2px; }
.programme-disclaimer p { margin: 0; color: #6b5a2e; font-size: .94rem; }
.programme-aside .aside-cta { background: var(--navy); border-radius: var(--radius-lg); padding: 30px; color: #fff; margin-bottom: 24px; }
.programme-aside .aside-cta h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.programme-aside .aside-cta p { color: #c9d6ea; font-size: .9rem; }
.programme-aside .aside-related { background: #fff; border: 1px solid #eef2f8; border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow-sm); }
.programme-aside .aside-related h3 { font-size: 1.05rem; margin-bottom: 12px; }
.programme-aside .aside-related ul { list-style: none; padding: 0; margin: 0; }
.programme-aside .aside-related li { border-bottom: 1px solid #f2f5fa; }
.programme-aside .aside-related li:last-child { border-bottom: none; }
.programme-aside .aside-related a { display: block; padding: 10px 0; color: #42536b; text-decoration: none; font-size: .93rem; }
.programme-aside .aside-related a:hover { color: var(--royal); }
.programme-aside .aside-related a i { color: var(--gold); font-size: .75rem; margin-right: 8px; }

/* --------------------------------------------------------------------------
 | Article
 | ------------------------------------------------------------------------ */
.article-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin-bottom: 34px; }
.article-content { font-size: 1.06rem; }
.article-share { display: flex; align-items: center; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #eef2f8; }
.article-share span { color: #7a8aa0; font-size: .9rem; }
.article-share a { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background .25s, transform .25s; }
.article-share a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }

/* --------------------------------------------------------------------------
 | Posts toolbar
 | ------------------------------------------------------------------------ */
.posts-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 40px; }
.posts-search { display: flex; gap: 8px; flex: 1; min-width: 260px; max-width: 420px; }
.posts-search input { flex: 1; border: 1px solid #dde5f0; border-radius: var(--btn-radius); padding: 11px 16px; font-size: .94rem; }
.posts-search input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.posts-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-chip { background: #fff; border: 1px solid #dde5f0; color: #5a6a82; border-radius: 50px; padding: 8px 18px; font-size: .86rem; text-decoration: none; transition: all .2s; }
.cat-chip:hover { border-color: var(--gold); color: var(--navy); }
.cat-chip.active { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.posts-empty { text-align: center; padding: 60px 20px; color: #7a8aa0; }
.posts-empty i { font-size: 2.6rem; color: var(--gold); display: block; margin-bottom: 16px; }

/* --------------------------------------------------------------------------
 | Forms (public)
 | ------------------------------------------------------------------------ */
.dsm-form .form-label { font-weight: 600; color: var(--navy); font-size: .9rem; }
.dsm-form .req { color: #c0392b; }
.dsm-form .form-control, .dsm-form .form-select { border: 1px solid #dde5f0; border-radius: 10px; padding: 12px 16px; font-size: .95rem; }
.dsm-form .form-control:focus, .dsm-form .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(214,173,87,.18); }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

.apply-progress { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 34px; }
.apply-progress li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #eef2f8; border-radius: 50px; padding: 8px 18px 8px 8px; font-size: .85rem; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm); }
.apply-progress li span { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: .82rem; }
.apply-group { background: #fff; border: 1px solid #eef2f8; border-radius: var(--radius-lg); padding: 32px; margin-bottom: 26px; box-shadow: var(--shadow-sm); }
.apply-group legend { float: none; width: auto; display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.2rem; margin-bottom: 20px; padding: 0; }
.apply-group-icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), var(--royal)); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.apply-consent { background: var(--light-bg); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 22px; }
.apply-consent p { margin: 0; color: #5a6a82; font-size: .9rem; }
.apply-consent i { color: var(--gold); }
.apply-success { text-align: center; background: #fff; border-radius: var(--radius-lg); padding: 60px 40px; box-shadow: var(--shadow-md); }
.apply-success-icon { font-size: 3.6rem; color: #1a7f4b; margin-bottom: 20px; }
.apply-success h2 { margin-bottom: 14px; }
.apply-success p { color: #5a6a82; max-width: 560px; margin: 0 auto 10px; }
.apply-ref { display: inline-block; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 18px 42px; margin: 18px 0; }
.apply-ref span { display: block; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.apply-ref strong { font-family: var(--font-head); font-size: 1.6rem; letter-spacing: .06em; }

/* --------------------------------------------------------------------------
 | Contact
 | ------------------------------------------------------------------------ */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.contact-card { background: #fff; border: 1px solid #eef2f8; border-radius: var(--radius-lg); padding: 30px 26px; text-align: center; box-shadow: var(--shadow-sm); }
.contact-card-icon { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--royal)); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.contact-card p { color: #5a6a82; font-size: .95rem; margin: 0; }
.contact-card a { color: var(--royal); text-decoration: none; }
.contact-extra { margin-top: 30px; text-align: center; }
.contact-whatsapp { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.contact-social { display: flex; align-items: center; justify-content: center; gap: 12px; color: #7a8aa0; }
.contact-social a { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background .25s; }
.contact-social a:hover { background: var(--royal); }

/* --------------------------------------------------------------------------
 | Error page
 | ------------------------------------------------------------------------ */
.error-page { padding: 120px 0; background: var(--light-bg); }
.error-code { font-family: var(--font-head); font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; color: var(--navy); line-height: 1; opacity: .14; }
.error-page h1 { font-size: 2rem; margin: -30px 0 16px; }
.error-page p { color: #5a6a82; }

/* --------------------------------------------------------------------------
 | Footer
 | ------------------------------------------------------------------------ */
.site-footer { background: var(--navy); color: #c9d6ea; padding-top: 72px; }
.footer-grid { padding-bottom: 46px; }
.footer-about { margin-top: 18px; font-size: .92rem; color: #a9bcd6; max-width: 320px; }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #a9bcd6; text-decoration: none; font-size: .9rem; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact { list-style: none; padding: 0; margin: 18px 0 0; font-size: .9rem; }
.footer-contact li { margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--gold); margin-top: 4px; }
.footer-contact a { color: #c9d6ea; text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--gold); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background .25s; }
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 20px 0; font-size: .85rem; color: #8ba1c0; }
.footer-tagline { color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }

/* --------------------------------------------------------------------------
 | WhatsApp float
 | ------------------------------------------------------------------------ */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 1040;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(37,211,102,.4); text-decoration: none;
  transition: transform .25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(37,211,102,.5); animation: wa-pulse 2.2s ease-out infinite; }
@keyframes wa-pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* --------------------------------------------------------------------------
 | Responsive
 | ------------------------------------------------------------------------ */
@media (max-width: 991.98px) {
  .hero-slide { min-height: auto; padding: 90px 0 100px; background-position: center; }
  .section { padding: 70px 0; }
  .director-body { padding: 36px 28px; }
  .director-photo { min-height: 420px; }
  .stage-body { padding: 30px 26px; }
  .stage-areas ul, .detail-list.two-col { columns: 1; }
  .portal-card p { min-height: 0; }
  .posts-toolbar { flex-direction: column; align-items: stretch; }
  .posts-search { max-width: none; }
}
@media (max-width: 575.98px) {
  .brand-name { font-size: .82rem; }
  .brand-tag { font-size: .5rem; }
  .brand-logo { height: 44px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .cta-actions .btn { width: 100%; }
  .apply-group { padding: 24px 18px; }
  .step-card { flex-direction: column; }
}
