/* ============================================
   Confluence International Academy
   Design System
   ============================================ */

:root {
  /* Brand Colors (from logo and uniforms) */
  --navy-900: #061a47;
  --navy-800: #0a2463;
  --navy-700: #112d7a;
  --navy-600: #1e40af;
  --blue-500: #3b6fd6;
  --gold-500: #fbbf24;
  --gold-400: #fcd34d;
  --gold-300: #fde68a;
  --gold-600: #d97706;

  /* Neutrals */
  --white: #ffffff;
  --cream: #fffdf7;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Type */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Sizes */
  --container: 1200px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10, 36, 99, 0.06);
  --shadow: 0 4px 16px rgba(10, 36, 99, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 36, 99, 0.12);
  --shadow-lg: 0 20px 50px rgba(10, 36, 99, 0.18);
  --shadow-gold: 0 10px 30px rgba(251, 191, 36, 0.35);

  /* Transitions */
  --t-fast: 0.2s ease;
  --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-900);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { color: var(--gray-600); }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ============================================
   Top Bar
   ============================================ */
.topbar {
  background: var(--navy-900);
  color: var(--gold-300);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--gold-500);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar-info { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar-info svg { width: 14px; height: 14px; }
.topbar-social { display: flex; gap: 0.75rem; }
.topbar-social a {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.1);
  transition: all var(--t-fast);
}
.topbar-social a:hover { background: var(--gold-500); color: var(--navy-900); }
.topbar-social svg { width: 13px; height: 13px; }

/* ============================================
   Header / Navigation
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--t);
}
.header.scrolled { box-shadow: var(--shadow); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy-900);
  letter-spacing: 0.5px;
}
.brand-text span {
  font-size: 0.72rem;
  color: var(--gold-600);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--t-fast);
}
.nav-links a:hover { color: var(--navy-800); }
.nav-links a.active { color: var(--navy-900); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 1rem; right: 1rem;
  height: 3px;
  background: var(--gold-500);
  border-radius: 2px;
}

.nav-cta {
  background: var(--navy-800);
  color: var(--white);
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--t);
  box-shadow: var(--shadow);
}
.nav-cta:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--gray-100);
  position: relative;
}
.menu-toggle span {
  display: block;
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--navy-900);
  transition: all var(--t);
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: all var(--t);
  cursor: pointer;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-400);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(251, 191, 36, 0.5);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.15); border-color: var(--white); }
.btn-dark {
  background: var(--navy-800);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-900); transform: translateY(-3px); }
.btn-arrow svg { transition: transform var(--t-fast); }
.btn-arrow:hover svg { transform: translateX(4px); }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-800) 100%);
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(59, 111, 214, 0.25), transparent 50%);
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(251, 191, 36, 0.08) 1px, transparent 0);
  background-size: 30px 30px;
  z-index: -1;
  opacity: 0.6;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0 4rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: var(--gold-300);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 10px var(--gold-500);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold-500);
  line-height: 1;
}
.hero-stats div span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  justify-self: end;
}
.hero-visual .img-frame {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual .img-main {
  inset: 0;
  border: 4px solid rgba(251, 191, 36, 0.5);
}
.hero-visual .img-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .badge-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}
.badge-card .badge-icon {
  width: 44px; height: 44px;
  background: var(--gold-500);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--navy-900);
}
.badge-card strong { color: var(--navy-900); display: block; font-family: var(--font-display); }
.badge-card span { color: var(--gray-600); font-size: 0.85rem; }

.hero-visual .badge-rating {
  position: absolute;
  top: 20px;
  right: -20px;
  background: var(--gold-500);
  color: var(--navy-900);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  animation: float 4s ease-in-out infinite reverse;
}
.badge-rating strong { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.badge-rating span { font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============================================
   Sections — common
   ============================================ */
section { padding: 5rem 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  position: relative;
  padding: 0 2rem;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 1.5rem;
  height: 2px;
  background: var(--gold-500);
}
.section-eyebrow::before { left: 0; }
.section-eyebrow::after { right: 0; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { font-size: 1.05rem; }

/* ============================================
   Features Grid
   ============================================ */
.features {
  background: var(--gray-50);
  position: relative;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--navy-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  border-radius: 16px;
  display: grid; place-items: center;
  color: var(--gold-400);
  margin-bottom: 1.25rem;
  transition: transform var(--t);
}
.feature-card:hover .feature-icon { transform: rotate(-6deg) scale(1.05); }
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.95rem; }

/* ============================================
   About / Mission preview
   ============================================ */
.about-preview {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-images {
  position: relative;
  aspect-ratio: 1;
}
.about-images img {
  position: absolute;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
}
.about-images img:nth-child(1) {
  top: 0; left: 0;
  width: 65%; height: 70%;
  border: 5px solid var(--white);
  z-index: 2;
}
.about-images img:nth-child(2) {
  bottom: 0; right: 0;
  width: 60%; height: 60%;
  border: 5px solid var(--white);
}
.about-images .accent-shape {
  position: absolute;
  top: 10%; right: 5%;
  width: 80px; height: 80px;
  background: var(--gold-500);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.4;
}
.about-images .experience-badge {
  position: absolute;
  bottom: 15%;
  left: 0;
  background: var(--navy-800);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  z-index: 3;
  box-shadow: var(--shadow-md);
}
.experience-badge strong {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold-500);
  display: block;
  line-height: 1;
}
.experience-badge span {
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-content .section-eyebrow { padding-left: 2.5rem; padding-right: 0; }
.about-content .section-eyebrow::after { display: none; }
.about-content h2 { text-align: left; margin-bottom: 1.25rem; }
.about-content p { margin-bottom: 1.25rem; }
.values-list {
  margin: 1.5rem 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.values-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--navy-800);
}
.values-list li::before {
  content: '';
  width: 22px; height: 22px;
  background: var(--gold-500);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  position: relative;
}
.values-list li::after {
  content: '';
  position: absolute;
  width: 8px; height: 4px;
  border-left: 2px solid var(--navy-900);
  border-bottom: 2px solid var(--navy-900);
  transform: rotate(-45deg) translate(7px, -2px);
}

/* ============================================
   Stats Banner
   ============================================ */
.stats-banner {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/cia2.jpg') center/cover;
  opacity: 0.08;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.stat-item { text-align: center; }
.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
.stat-item .stat-label {
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Programs / Levels
   ============================================ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.program-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  isolation: isolate;
}
.program-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
  z-index: -2;
}
.program-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 26, 71, 0.95));
  z-index: -1;
}
.program-card:hover img { transform: scale(1.08); }
.program-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  color: var(--white);
}
.program-content .program-tag {
  display: inline-block;
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.program-content h3 { color: var(--white); margin-bottom: 0.5rem; }
.program-content p { color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; }
.program-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--gold-400);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--t-fast);
}
.program-card:hover .program-link { gap: 0.7rem; }

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  text-align: center;
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  margin: 5rem auto;
  max-width: var(--container);
}
.cta-banner::before, .cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.cta-banner::before {
  width: 280px; height: 280px;
  top: -120px; left: -80px;
}
.cta-banner::after {
  width: 200px; height: 200px;
  bottom: -100px; right: -60px;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--navy-900); margin-bottom: 1rem; }
.cta-banner p {
  color: var(--navy-800);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn-dark { background: var(--navy-900); }
.cta-banner .btn-dark:hover { background: var(--navy-800); }

/* ============================================
   Testimonials
   ============================================ */
.testimonials { background: var(--gray-50); }
.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -30px; left: 30px;
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--gold-500);
  line-height: 1;
  opacity: 0.5;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy-900);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.testimonial-author strong {
  display: block;
  color: var(--navy-900);
  font-family: var(--font-display);
}
.testimonial-author span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 1.5rem;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--navy-600), var(--gold-500));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand img { width: 60px; margin-bottom: 1rem; }
.footer-brand h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.footer-brand p { font-size: 0.92rem; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-400);
  transition: all var(--t-fast);
}
.footer-social a:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-3px);
}
.footer-social svg { width: 16px; height: 16px; }

.footer h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--gold-500);
}
.footer ul li { margin-bottom: 0.65rem; }
.footer ul li a { font-size: 0.92rem; transition: all var(--t-fast); }
.footer ul li a:hover { color: var(--gold-400); padding-left: 5px; }

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.92rem;
}
.footer-contact svg {
  width: 16px; height: 16px;
  color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================
   Page Banner (interior pages)
   ============================================ */
.page-banner {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/cia4.jpg') center/cover;
  opacity: 0.15;
}
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.15), transparent 50%);
}
.page-banner > .container { position: relative; z-index: 1; }
.page-banner h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 0.75rem;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb span { color: var(--gold-500); }

/* ============================================
   Principal / Faculty
   ============================================ */
.principal-section { background: var(--white); }
.principal-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.principal-photo {
  position: relative;
}
.principal-photo img {
  border-radius: var(--radius-lg);
  width: 100%;
  box-shadow: var(--shadow-md);
}
.principal-photo::before {
  content: '';
  position: absolute;
  top: 20px; left: 20px;
  width: 100%; height: 100%;
  background: var(--gold-500);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.3;
}
.principal-content blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy-800);
  border-left: 4px solid var(--gold-500);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
}
.principal-signature {
  margin-top: 1.5rem;
}
.principal-signature strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy-900);
}
.principal-signature span {
  color: var(--gold-600);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================
   Mission Vision Cards
   ============================================ */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.mv-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--gold-500);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.mv-card::after {
  content: '';
  position: absolute;
  bottom: -50px; right: -50px;
  width: 150px; height: 150px;
  background: var(--gold-500);
  border-radius: 50%;
  opacity: 0.05;
}
.mv-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  border-radius: 16px;
  display: grid; place-items: center;
  color: var(--gold-400);
  margin-bottom: 1.5rem;
}
.mv-icon svg { width: 30px; height: 30px; }
.mv-card h3 { margin-bottom: 1rem; }

/* ============================================
   Gallery
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 26, 71, 0.85));
  opacity: 0;
  transition: opacity var(--t);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-caption {
  position: absolute;
  bottom: 1rem; left: 1rem; right: 1rem;
  color: var(--white);
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--t);
  z-index: 1;
}
.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}
.gallery-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.gallery-caption span { font-size: 0.85rem; color: var(--gold-400); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* ============================================
   Contact
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
}
.contact-info {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 250px; height: 250px;
  background: var(--gold-500);
  border-radius: 50%;
  opacity: 0.1;
}
.contact-info h3 { color: var(--white); margin-bottom: 0.5rem; }
.contact-info > p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
}
.contact-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}
.contact-list .icon {
  width: 44px; height: 44px;
  background: rgba(251, 191, 36, 0.15);
  color: var(--gold-400);
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.contact-list span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--navy-900);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  background: var(--gray-50);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.form-success.show { display: block; }

/* ============================================
   Process / Steps (Admissions)
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.step-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--gray-100);
  position: relative;
  transition: all var(--t);
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}
.step-num {
  width: 56px; height: 56px;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}
.step-card h4 { margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9rem; }

/* ============================================
   Subjects / Curriculum lists
   ============================================ */
.subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.subject-card {
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--t-fast);
}
.subject-card:hover {
  border-color: var(--gold-500);
  transform: translateX(5px);
}
.subject-card .subject-icon {
  width: 40px; height: 40px;
  background: var(--navy-800);
  color: var(--gold-400);
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.subject-card .subject-icon svg { width: 18px; height: 18px; }
.subject-card strong { color: var(--navy-900); display: block; }

/* ============================================
   Reveal animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .principal-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .mv-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; }
  .hero-visual { margin: 0 auto; }
  .about-content .section-eyebrow { padding-left: 2rem; }
  .about-content h2, .about-content p { text-align: left; }
}
@media (max-width: 720px) {
  section { padding: 3.5rem 0; }
  .hero { min-height: auto; padding: 2rem 0; }
  .hero-grid { padding: 2rem 0; gap: 2.5rem; }
  .hero-stats { grid-template-columns: 1fr; gap: 1.25rem; text-align: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .nav-links {
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform var(--t);
    gap: 0;
  }
  .nav-links.active { transform: translateY(0); }
  .nav-links a {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
  }
  .nav-links a.active::after { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .topbar-info { gap: 0.75rem; }
  .topbar-info span:nth-child(2) { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-item.tall { grid-row: span 1; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .values-list { grid-template-columns: 1fr; }
  .cta-banner { padding: 3rem 1.5rem; margin: 3rem 1rem; }
}
