/* =========================================================================
   PHOENIX CAREER ACADEMY - Stylesheet
   Mobile-first, responsive, accessible
   Theme: Navy Blue + Gold
   ========================================================================= */

/* ----- CSS RESET + VARS ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand colors (editable from admin/data/settings.json) */
  --navy: #0b1d4d;
  --navy-dark: #061336;
  --navy-light: #1a3275;
  --gold: #d4a017;
  --gold-light: #f4c842;
  --gold-dark: #a87d0e;
  --saffron: #ff7f00;
  --cream: #fff8e7;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --gray-100: #f1f3f7;
  --gray-200: #e4e8f0;
  --gray-300: #c9d0dc;
  --gray-500: #6b7488;
  --gray-700: #3d4456;
  --gray-900: #1a1d28;
  --shadow-sm: 0 2px 8px rgba(11,29,77,0.08);
  --shadow: 0 6px 24px rgba(11,29,77,0.12);
  --shadow-lg: 0 14px 40px rgba(11,29,77,0.18);
  --gradient-hero: linear-gradient(135deg, #061336 0%, #0b1d4d 45%, #1a3275 100%);
  --gradient-gold: linear-gradient(135deg, #d4a017 0%, #f4c842 100%);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --font-en: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-display: 'Poppins', 'Inter', sans-serif;
  --font-mr: 'Noto Sans Devanagari', 'Mukta', 'Inter', sans-serif;
  --font-hi: 'Noto Sans Devanagari', 'Mukta', 'Inter', sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body[data-lang="mr"], body[data-lang="mr"] * { font-family: var(--font-mr); }
body[data-lang="hi"], body[data-lang="hi"] * { font-family: var(--font-hi); }

img, picture, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.18;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.85rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.25rem); }
p { font-size: clamp(0.95rem, 1.4vw, 1.05rem); color: var(--gray-700); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 18px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

section { padding: 56px 0; position: relative; }
@media (min-width: 768px) { section { padding: 88px 0; } }

/* ----- UTILITY ---------------------------------------------------------- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-cream { background: var(--cream); }
.bg-light { background: var(--off-white); }

.section-title { text-align: center; margin-bottom: 16px; position: relative; }
.section-title::after {
  content: ''; display: block; width: 64px; height: 4px;
  background: var(--gradient-gold); border-radius: 4px; margin: 14px auto 0;
}
.section-subtitle {
  text-align: center; max-width: 720px; margin: 0 auto 48px;
  color: var(--gray-500); font-size: clamp(0.95rem, 1.5vw, 1.1rem);
}

/* ----- BUTTONS ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px;
  font-weight: 700; font-size: 0.97rem; letter-spacing: 0.02em;
  transition: all .25s cubic-bezier(.2,.8,.2,1);
  text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.btn-primary {
  background: var(--gradient-gold); color: var(--navy-dark);
  border: 2px solid var(--gold);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(212,160,23,.45); color: var(--navy-dark); }
.btn-outline {
  background: rgba(255,255,255,0.08); color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); transform: translateY(-3px); }
.btn-navy { background: var(--navy); color: var(--white); border: 2px solid var(--navy); }
.btn-navy:hover { background: var(--navy-light); color: var(--white); transform: translateY(-3px); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ----- HEADER + NAV ----------------------------------------------------- */
.topbar {
  background: var(--navy-dark); color: rgba(255,255,255,0.85);
  font-size: 0.82rem; padding: 6px 0;
}
.topbar-inner { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; align-items: center; }
.topbar a { color: rgba(255,255,255,0.85); transition: color .2s; }
.topbar a:hover { color: var(--gold-light); }
.topbar-left { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-left span { display: inline-flex; align-items: center; gap: 6px; }

header.site-header {
  background: var(--white);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
header.site-header.scrolled { box-shadow: var(--shadow); }
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo-img {
  width: 60px; height: 60px; border-radius: 50%;
  object-fit: contain; flex-shrink: 0;
  background: #fff; padding: 2px;
  border: 2px solid var(--gold);
}
@media (max-width: 600px) {
  .brand-logo-img { width: 48px; height: 48px; }
}
.brand-logo {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gradient-hero);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  border: 2px solid var(--gold);
  flex-shrink: 0; overflow: hidden;
}
.brand-logo svg { width: 30px; height: 30px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--navy-dark); }
.brand-tag { font-size: 0.72rem; color: var(--gold-dark); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

nav.main-nav {
  position: fixed; top: 0; right: -110%; bottom: 0; width: min(85vw, 340px);
  background: #061336; color: #fff;
  padding: 88px 16px 28px;
  transition: right .35s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  z-index: 1000;
  box-shadow: -25px 0 60px rgba(0,0,0,.6);
  visibility: hidden;
}
nav.main-nav.open { right: 0; visibility: visible; }
nav.main-nav a {
  display: block; padding: 18px 20px; color: #fff; font-weight: 600;
  touch-action: manipulation;
  font-size: 1.05rem; border-radius: 10px;
  transition: background .15s, color .15s;
  border-left: 4px solid transparent;
  text-decoration: none; letter-spacing: .01em; background: transparent;
  -webkit-tap-highlight-color: rgba(212,160,23,.45);
  user-select: none; cursor: pointer;
  position: relative; z-index: 1; pointer-events: auto;
}
nav.main-nav a:link, nav.main-nav a:visited { color: #fff; }
nav.main-nav a:hover, nav.main-nav a:focus, nav.main-nav a.active {
  background: rgba(212,160,23,.20); color: #f4c842;
  border-left-color: #d4a017; outline: none;
}
nav.main-nav a:active { background: rgba(212,160,23,.40); color: #fff; }
.nav-cta { margin-top: 14px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); }
.nav-cta .btn { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; border-left: 0; }
.nav-overlay {
  position: fixed; inset: 0; background: rgba(6,19,54,.65);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
  z-index: 900; cursor: pointer;
}
.nav-overlay.show { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

.hamburger {
  width: 46px; height: 46px; display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px;
  border-radius: 10px;
  transition: background .2s, border-color .2s;
  z-index: 1100; position: relative;
  background: #fff; border: 2px solid #d4a017; cursor: pointer;
  flex-shrink: 0; box-shadow: 0 2px 8px rgba(11,29,77,.15); padding: 0;
  -webkit-tap-highlight-color: transparent; outline: none;
}
.hamburger:hover, .hamburger:focus { background: #fff; outline: none; }
.hamburger span,
.hamburger .bar {
  display: block; width: 22px; height: 3px; border-radius: 3px;
  background: #061336; transition: transform .3s, opacity .3s; pointer-events: none;
}
.hamburger.active { background: #d4a017; border-color: #a87d0e; }
.hamburger.active span, .hamburger.active .bar { background: #061336; }
.hamburger.active span:nth-child(1),
.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2),
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3),
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.lang-switch {
  display: flex; align-items: center; background: var(--gray-100);
  border-radius: 50px; padding: 4px; gap: 2px;
}
.lang-switch button {
  padding: 6px 10px; border-radius: 50px; font-size: 0.78rem; font-weight: 700;
  color: var(--gray-500); transition: all .2s;
}
.lang-switch button.active { background: var(--navy); color: var(--gold-light); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

@media (min-width: 1024px) {
  nav.main-nav {
    position: static; flex-direction: row; align-items: center;
    background: transparent; color: var(--navy);
    width: auto; padding: 0; box-shadow: none; gap: 2px;
    overflow: visible; visibility: visible; right: auto;
    z-index: auto;
  }
  nav.main-nav a {
    color: var(--gray-700); padding: 8px 10px; font-size: 0.88rem;
    border-left: 0; border-bottom: 3px solid transparent;
    border-radius: 0; white-space: nowrap; background: transparent;
    z-index: auto;
  }
  nav.main-nav a:link, nav.main-nav a:visited { color: var(--gray-700); }
  nav.main-nav a:hover, nav.main-nav a:focus, nav.main-nav a.active {
    background: transparent; color: var(--navy); border-bottom-color: var(--gold);
  }
  nav.main-nav a:active { background: transparent; color: var(--navy); }
  .nav-cta { margin: 0 0 0 10px; padding: 0; border: 0; }
  .nav-cta .btn { width: auto; }
  .nav-cta .btn-sm { padding: 9px 14px; font-size: 0.78rem; }
  .hamburger { display: none; }
  .nav-overlay { display: none; }
  body.menu-open { overflow: auto; }
}

@media (min-width: 1400px) {
  nav.main-nav { gap: 4px; }
  nav.main-nav a { padding: 8px 14px; font-size: 0.93rem; }
}

.hide-sm { display: none; }
@media (min-width: 700px) { .hide-sm { display: inline; } }

/* Lang switch as anchor tags */
.lang-switch a {
  padding: 6px 10px; border-radius: 50px; font-size: 0.78rem; font-weight: 700;
  color: var(--gray-500); transition: all .2s; text-decoration: none;
}
.lang-switch a.active { background: var(--navy); color: var(--gold-light); }

/* ----- HERO ------------------------------------------------------------- */
.hero {
  position: relative; color: var(--white);
  background: var(--gradient-hero);
  padding: 70px 0 90px; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../assets/images/banners/hero-training.jpg') center/cover;
  opacity: 0.25; z-index: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,19,54,0.6) 0%, rgba(6,19,54,0.92) 100%);
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 920px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block; padding: 6px 18px; border-radius: 50px;
  background: rgba(212,160,23,.18); color: var(--gold-light);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 22px;
  border: 1px solid rgba(212,160,23,.35);
  max-width: 100%; word-spacing: 0.1em; line-height: 1.5;
}
@media (max-width: 480px) { .hero-eyebrow { font-size: 0.65rem; padding: 5px 14px; } }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 .accent { color: var(--gold-light); }
.hero p.lead { color: rgba(255,255,255,0.88); font-size: clamp(1rem, 1.6vw, 1.18rem); margin-bottom: 32px; max-width: 720px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 28px; }
.hero-callstrip {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 22px; border-radius: 28px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: var(--white); font-weight: 600; font-size: 0.88rem;
  max-width: 100%; justify-content: center; text-align: center;
}
.hero-callstrip a { color: var(--gold-light); font-weight: 800; word-break: break-word; }
.hero-callstrip svg { width: 18px; height: 18px; flex-shrink: 0; }

/* SVG default sizing rules — prevent oversized icons everywhere */
.topbar svg { width: 14px; height: 14px; vertical-align: -2px; }
.contact-line svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-sm svg { width: 14px; height: 14px; }
.social-row svg { width: 18px; height: 18px; }
.breadcrumb svg { width: 12px; height: 12px; }
.cta-band .btn-outline svg { width: 18px; height: 18px; }
.faq-q svg { width: 18px; height: 18px; }
.lightbox-close svg { width: 18px; height: 18px; }
.contact-card .ic svg { width: 28px; height: 28px; }
.card-icon svg { width: 28px; height: 28px; }
.facility-card .ic svg { width: 24px; height: 24px; }
.brand-logo svg { width: 30px; height: 30px; }
.fab-whatsapp svg { width: 30px; height: 30px; }
.faculty-photo svg { width: 56px; height: 56px; }
.course-card .course-icon svg { width: 56px; height: 56px; }
@media (max-width: 480px) {
  .hero-callstrip { font-size: 0.82rem; padding: 10px 16px; }
}

/* Tagline strip */
.tagline-strip {
  background: var(--gold); color: var(--navy-dark);
  padding: 14px 0; overflow: hidden;
  font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  font-size: clamp(0.78rem, 1.6vw, 1rem);
}
.tagline-strip .scroll {
  display: flex; gap: 48px; white-space: nowrap;
  animation: scroll-x 28s linear infinite;
}
.tagline-strip .scroll span::before { content: '★'; margin-right: 12px; color: var(--navy); }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ----- STATS ------------------------------------------------------------ */
.stats-band { background: var(--cream); padding: 40px 0; border-top: 4px solid var(--gold); border-bottom: 4px solid var(--gold); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4.4vw, 3rem);
  color: var(--navy); line-height: 1; background: var(--gradient-hero);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 0.92rem; color: var(--gray-700); margin-top: 6px; font-weight: 600; }

/* ----- CARDS / GRIDS --------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all .3s cubic-bezier(.2,.8,.2,1);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--gradient-hero); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { font-size: 0.93rem; color: var(--gray-700); }

/* ----- COURSES ---------------------------------------------------------- */
.course-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  transition: all .3s; position: relative;
  display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.course-card .course-img {
  height: 160px; background: var(--gradient-hero);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.course-card .course-img::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-hero); opacity: 0.85;
}
.course-card .course-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.course-card .course-icon {
  position: relative; z-index: 2;
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.5));
}
.course-card .course-icon svg { width: 56px; height: 56px; }
.course-card .course-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.course-card .course-tag {
  display: inline-block; padding: 4px 11px; border-radius: 50px;
  background: var(--cream); color: var(--gold-dark);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 12px; align-self: flex-start;
}
.course-card h3 { margin-bottom: 10px; font-size: 1.18rem; }
.course-card p { font-size: 0.92rem; color: var(--gray-700); margin-bottom: 16px; flex: 1; }
.course-card .pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.course-card .pills span {
  padding: 4px 10px; background: var(--gray-100); color: var(--navy);
  border-radius: 50px; font-size: 0.74rem; font-weight: 600;
}
.course-card a.learn { color: var(--navy); font-weight: 700; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; }
.course-card a.learn:hover { color: var(--gold-dark); gap: 10px; }

/* ----- VALUES ----------------------------------------------------------- */
.values-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(5, 1fr); } }
.value-card {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white); padding: 28px 20px; border-radius: var(--radius);
  text-align: center; position: relative; overflow: hidden;
  border: 1px solid rgba(212,160,23,.2);
  transition: transform .3s;
}
.value-card:hover { transform: translateY(-8px) scale(1.02); }
.value-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-gold);
}
.value-card .val-name {
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.5rem; color: var(--gold-light); margin-bottom: 4px;
}
.value-card .val-en {
  font-size: 0.78rem; color: rgba(255,255,255,0.6); text-transform: uppercase;
  letter-spacing: 0.12em; margin-bottom: 14px;
}
.value-card .val-desc { font-size: 0.86rem; color: rgba(255,255,255,0.85); line-height: 1.55; }

/* ----- FACULTY ---------------------------------------------------------- */
.faculty-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  transition: all .3s; text-align: center;
}
.faculty-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.faculty-photo {
  width: 120px; height: 120px; margin: 24px auto 16px;
  border-radius: 50%; overflow: hidden;
  border: 4px solid var(--gold);
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
}
.faculty-photo img { width: 100%; height: 100%; object-fit: cover; }
.faculty-photo svg { width: 56px; height: 56px; }
.faculty-photo img { width: 100%; height: 100%; object-fit: cover; }
.faculty-card h3 { font-size: 1.05rem; margin: 0 14px 4px; }
.faculty-card .role { color: var(--gold-dark); font-weight: 700; font-size: 0.85rem; margin: 0 14px 6px; }
.faculty-card .title { color: var(--gray-500); font-size: 0.8rem; margin: 0 14px 12px; font-style: italic; }
.faculty-card .bio { color: var(--gray-700); font-size: 0.86rem; margin: 0 14px; padding-bottom: 22px; line-height: 1.6; }

/* ----- FACILITIES ------------------------------------------------------- */
.facility-card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  transition: all .3s;
}
.facility-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.facility-card .ic {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--cream); color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
}
.facility-card h3 { font-size: 1.05rem; }
.facility-card p { font-size: 0.88rem; color: var(--gray-700); }

/* ----- SCHEDULE TABLE --------------------------------------------------- */
.schedule-wrap {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  border: 1px solid var(--gray-200); max-width: 760px; margin: 0 auto;
}
.schedule-row {
  display: grid; grid-template-columns: 130px 1fr;
  padding: 14px 18px; border-bottom: 1px solid var(--gray-200);
  align-items: center; transition: background .2s;
}
.schedule-row:hover { background: var(--cream); }
.schedule-row:last-child { border-bottom: 0; }
.schedule-row .time {
  color: var(--gold-dark); font-weight: 800; font-size: 0.88rem;
}
.schedule-row .activity { color: var(--gray-900); font-size: 0.93rem; }
@media (min-width: 600px) {
  .schedule-row { grid-template-columns: 200px 1fr; padding: 16px 26px; }
  .schedule-row .time { font-size: 0.95rem; }
  .schedule-row .activity { font-size: 1rem; }
}

/* ----- TESTIMONIALS ----------------------------------------------------- */
.testimonial-card {
  background: var(--white); border-radius: var(--radius); padding: 52px 26px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  position: relative; overflow: hidden;
}
.testimonial-card::before {
  content: '\201C'; font-family: Georgia, serif;
  font-size: 5rem; line-height: 1; color: var(--gold-light);
  position: absolute; top: 12px; left: 18px; opacity: 0.35;
  pointer-events: none; z-index: 0;
}
.testimonial-card .quote {
  font-size: 0.95rem; color: var(--gray-700); font-style: italic;
  line-height: 1.7; margin-bottom: 22px; position: relative; z-index: 1;
}
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--gradient-hero); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: var(--font-display); font-size: 0.95rem;
  border: 2px solid var(--gold); flex-shrink: 0;
}
.testimonial-card .author { position: relative; z-index: 1; }
.testimonial-card .author-info .name { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.testimonial-card .author-info .meta { font-size: 0.8rem; color: var(--gray-500); }

/* ----- CTA BAND --------------------------------------------------------- */
.cta-band {
  background: var(--gradient-hero); color: var(--white);
  padding: 60px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: url('../assets/images/banners/hero-students.jpg') center/cover;
  opacity: 0.18;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band .sub { color: var(--gold-light); font-weight: 700; font-size: 1.05rem; margin-bottom: 28px; letter-spacing: 0.04em; }
.cta-band .buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ----- ABOUT page sections --------------------------------------------- */
.split-section { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split-section { grid-template-columns: 1fr 1fr; gap: 56px; } }
.split-section .split-image {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.split-section .split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-section h2 { margin-bottom: 18px; }
.split-section h2::after { display: none; }

.box-highlight {
  background: var(--gradient-hero); color: var(--white);
  padding: 32px 28px; border-radius: var(--radius-lg);
  border: 2px solid var(--gold); position: relative; overflow: hidden;
  margin: 28px 0;
}
.box-highlight h3 { color: var(--gold-light); margin-bottom: 12px; }
.box-highlight p { color: rgba(255,255,255,0.92); font-size: 1.05rem; }

.feature-list { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 18px; }
@media (min-width: 700px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
.feature-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; background: var(--off-white);
  border-radius: var(--radius-sm); border-left: 4px solid var(--gold);
  font-size: 0.92rem; color: var(--gray-700); line-height: 1.55;
}
.feature-list li::before {
  content: '✓'; flex-shrink: 0; width: 22px; height: 22px;
  background: var(--gradient-gold); color: var(--navy);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.78rem;
}

/* ----- BREADCRUMB / PAGE HEADER ---------------------------------------- */
.page-hero {
  background: var(--gradient-hero); color: var(--white);
  padding: 70px 0 60px; position: relative; overflow: hidden; text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../assets/images/banners/hero-campus.jpg') center/cover;
  opacity: 0.22;
}
.page-hero > * { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 720px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 14px;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb .sep { opacity: 0.5; }

/* ----- ADMISSION STEPS ------------------------------------------------- */
.steps { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--white); padding: 28px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  position: relative; transition: all .3s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.step-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: 2.2rem; color: var(--gold);
  line-height: 1; margin-bottom: 12px;
  background: var(--gradient-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--gray-700); }

/* ----- FORM ------------------------------------------------------------- */
.form-card {
  background: var(--white); padding: 32px 26px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 1px solid var(--gray-200);
  max-width: 720px; margin: 0 auto;
}
@media (min-width: 768px) { .form-card { padding: 44px 38px; } }
.form-card h2 { margin-bottom: 8px; }
.form-card .form-sub { color: var(--gray-500); margin-bottom: 24px; text-align: center; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group label {
  display: block; font-weight: 600; font-size: 0.88rem;
  color: var(--navy); margin-bottom: 6px;
}
.form-group label .req { color: #d32f2f; margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 2px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.95rem; color: var(--gray-900);
  background: var(--white); transition: all .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,160,23,.12);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-msg { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 0.9rem; }
.form-msg.success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.form-msg.error { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }

/* ----- CONTACT CARDS --------------------------------------------------- */
.contact-info-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .contact-info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-info-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-card {
  background: var(--white); padding: 24px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  text-align: center; transition: all .3s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.contact-card .ic {
  width: 60px; height: 60px; margin: 0 auto 14px;
  background: var(--gradient-hero); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
}
.contact-card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 0.9rem; color: var(--gray-700); }
.contact-card a { display: block; margin: 2px 0; font-weight: 600; }

.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); height: 380px; margin-top: 32px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ----- FAQ -------------------------------------------------------------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white); border-radius: var(--radius); margin-bottom: 12px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  overflow: hidden; transition: all .2s;
}
.faq-item.open { border-color: var(--gold); box-shadow: var(--shadow); }
.faq-q {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 18px 22px; cursor: pointer; font-weight: 700;
  font-size: 0.98rem; color: var(--navy); width: 100%; text-align: left;
}
.faq-q::after {
  content: '+'; flex-shrink: 0; font-size: 1.6rem; color: var(--gold);
  font-weight: 300; transition: transform .25s;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
  padding: 0 22px; color: var(--gray-700); font-size: 0.92rem; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 22px 22px; }

/* ----- GALLERY --------------------------------------------------------- */
.gallery-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius);
  cursor: pointer; position: relative; box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,29,77,0.85) 100%);
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }

/* ----- FOOTER ----------------------------------------------------------- */
footer.site-footer {
  background: var(--navy-dark); color: rgba(255,255,255,0.78);
  padding: 56px 0 24px;
}
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
footer h4 {
  color: var(--gold-light); font-size: 1rem; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 0.06em;
  position: relative; padding-bottom: 8px;
}
footer h4::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 40px; height: 3px; background: var(--gold); border-radius: 3px;
}
footer ul li { margin-bottom: 9px; }
footer ul a { color: rgba(255,255,255,0.78); font-size: 0.92rem; transition: all .2s; }
footer ul a:hover { color: var(--gold-light); padding-left: 4px; }
footer .brand-section .brand { color: var(--white); margin-bottom: 14px; }
footer .brand-section .brand-name { color: var(--white); font-size: 1.05rem; }
footer .about-text { font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; }
footer .contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 0.88rem; }
footer .contact-line svg { flex-shrink: 0; color: var(--gold-light); margin-top: 3px; }
footer .contact-line a { color: rgba(255,255,255,0.85); }
.social-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); transition: all .25s;
  border: 1px solid rgba(255,255,255,0.1);
}
.social-row a:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px; padding-top: 20px;
  display: flex; flex-direction: column; gap: 8px; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.55); text-align: center;
}
@media (min-width: 700px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ----- WHATSAPP / FAB --------------------------------------------------- */
.fab-whatsapp {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(37,211,102,.4);
  animation: pulse 2.5s infinite;
}
.fab-whatsapp:hover { transform: scale(1.1); color: var(--white); }
@keyframes pulse {
  0% { box-shadow: 0 6px 18px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 6px 18px rgba(37,211,102,.4), 0 0 0 20px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 18px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,0); }
}

/* ----- ANIMATIONS ------------------------------------------------------- */
/* Always-visible: content shows immediately, no JS dependency for visibility */
.fade-up, .fade-in, .scale-in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }
.fade-up.visible, .fade-in.visible, .scale-in.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ----- LIGHTBOX -------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.92);
  display: none; align-items: center; justify-content: center; z-index: 300;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}

/* ----- PRINT ------------------------------------------------------------ */
@media print {
  header, footer, .fab-whatsapp, .cta-band, .hero { display: none; }
}

/* ----- SCROLL SAFETY --------------------------------------------------- */
body.menu-open { overflow: hidden; }

/* iOS smooth scrolling fix */
@supports (-webkit-touch-callout: none) {
  html { -webkit-overflow-scrolling: touch; }
}
