/* ============================================
   AMUS COLLEGE SCHOOL - Global Styles
   Colors: Navy #0a1628 | Gold #c9a227 | Red #cc0000
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy: #0a1628;
  --navy-mid: #132040;
  --navy-light: #1e3060;
  --gold: #c9a227;
  --gold-light: #e8c547;
  --gold-dark: #a07d1a;
  --red: #cc0000;
  --white: #ffffff;
  --off-white: #f8f6f0;
  --gray-light: #f2f4f8;
  --gray: #8a9ab5;
  --text-dark: #1a1a2e;
  --text-mid: #4a5568;
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.12);
  --shadow-lg: 0 12px 48px rgba(10, 22, 40, 0.2);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- Utility Classes ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding { padding: 90px 0; }
.section-padding-sm { padding: 60px 0; }

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }

.badge {
  display: inline-block;
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 30px;
  padding: 6px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.7;
}

.section-title span { color: var(--gold); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ---- Navigation ---- */
.navbar {
  position: absolute;
  top: 0;
  left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  position: fixed;
  top: 0;
  background: var(--navy);
  box-shadow: 0 4px 32px rgba(10,22,40,0.3);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text-top {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-text-bottom {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  position: relative;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(201,162,39,0.08);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 10px 22px !important;
  font-weight: 700 !important;
  border-radius: var(--radius) !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,162,39,0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.3) 60%, rgba(201,162,39,0.12) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-top: 100px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.5);
  border-radius: 30px;
  padding: 8px 20px;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-tagline-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero h1 span { color: var(--gold); }

.hero-motto {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 40px;
  max-width: 620px;
  line-height: 1.75;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}

.hero-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}



/* ---- Welcome Section ---- */
.welcome-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.welcome-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.welcome-img-wrap img { width: 100%; height: 480px; object-fit: cover; }

.welcome-img-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 16px 20px;
  border-left: 4px solid var(--gold);
}

.welcome-img-badge-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
}
.welcome-img-badge-text { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin-top: 2px; }

.welcome-text .section-subtitle { margin-bottom: 24px; }

.welcome-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 32px;
}

.welcome-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--gray-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}

.welcome-feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.welcome-feature-title { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.welcome-feature-desc { font-size: 0.78rem; color: var(--text-mid); margin-top: 2px; }

/* ---- Stats Banner ---- */
.stats-banner {
  background: var(--navy);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(201,162,39,0.06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item { position: relative; }
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- Programs/Academics Highlights ---- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(10,22,40,0.08);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.program-card:hover::before { transform: scaleX(1); }

.program-icon {
  width: 60px; height: 60px;
  background: rgba(201,162,39,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: all var(--transition);
}

.program-card:hover .program-icon {
  background: var(--gold);
}

.program-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.program-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ---- Image Gallery Grid ---- */
.gallery-preview {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
  margin-top: 48px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item:first-child { grid-row: 1 / 3; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { color: var(--white); font-size: 2rem; }

/* ---- Testimonials ---- */
.testimonials-section { background: var(--gray-light); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform var(--transition);
}

.testimonial-card:hover { transform: translateY(-4px); }

.quote-mark {
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.8;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 12px;
  opacity: 0.5;
  font-weight: 800;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.author-name { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.author-role { font-size: 0.78rem; color: var(--gray); }

.stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 12px; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(201,162,39,0.07);
}
.cta-banner::before { width: 500px; height: 500px; top: -200px; right: -100px; }
.cta-banner::after { width: 300px; height: 300px; bottom: -100px; left: -50px; }

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-banner h2 span { color: var(--gold); }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 1rem; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- News/Events ---- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.news-card:hover { transform: translateY(-6px); }

.news-img { height: 200px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-img img { transform: scale(1.06); }

.news-body { padding: 24px; }
.news-date { font-size: 0.78rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.news-body h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.news-body p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }
.news-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 600; font-size: 0.85rem; margin-top: 16px; }
.news-link:hover { gap: 10px; }

/* ---- Footer ---- */
.footer {
  background: #060e1d;
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { max-width: 320px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 48px;
  object-fit: contain;
}

.footer-brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.footer-brand-sub { font-size: 0.68rem; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; }

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.footer-socials { display: flex; gap: 12px; }
.footer-social {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-social:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-2px); }

.footer-col h4 {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before { content: '→'; color: var(--gold); font-size: 0.7rem; opacity: 0; transition: all var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.footer-contact-icon {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 140px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(201,162,39,0.06);
}

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero-title span { color: var(--gold); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-top: 12px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ---- Values Section ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.value-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  text-align: center;
  transition: transform var(--transition);
}

.value-card:hover { transform: translateY(-6px); }

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.value-card p { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.65; }

/* ---- Contact Form ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
}

.contact-info-card h3 {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.contact-info-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 32px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-detail:last-of-type { border-bottom: none; }

.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(201,162,39,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-label { font-size: 0.75rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 4px; }
.contact-detail-value { font-size: 0.9rem; color: rgba(255,255,255,0.8); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(10,22,40,0.1);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--gray-light);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

.form-group textarea { height: 130px; resize: vertical; }

/* ---- Admissions Steps ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--gold), rgba(201,162,39,0.2));
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(201,162,39,0.1);
}

.step-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 10px; }
.step-card p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.6; }

/* ---- Gallery Page ---- */
.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.gallery-full-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
}

.gallery-full-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-full-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.8), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-full-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-text { color: var(--white); font-size: 0.9rem; font-weight: 500; }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  font-weight: 700;
}

/* ---- Academics page ---- */
.academics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 60px;
}

.academics-list { display: flex; flex-direction: column; gap: 16px; }

.academics-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--gray-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  transition: all var(--transition);
}

.academics-item:hover { background: var(--white); box-shadow: var(--shadow); transform: translateX(6px); }

.academics-item-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.academics-item h4 { color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.academics-item p { color: var(--text-mid); font-size: 0.85rem; line-height: 1.5; }

.academics-img-stack { position: relative; }
.academics-img-stack .img-main {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.academics-card-float {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  min-width: 140px;
  border: 3px solid var(--gold);
}

.academics-card-float-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.academics-card-float-text { font-size: 0.75rem; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ---- Subjects Table ---- */
.subjects-section { background: var(--gray-light); }
.subjects-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 24px;
  border-radius: 30px;
  border: 2px solid rgba(10,22,40,0.15);
  background: var(--white);
  color: var(--text-mid);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.subjects-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.subject-tag {
  background: var(--white);
  border: 1px solid rgba(10,22,40,0.1);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  transition: all var(--transition);
  cursor: default;
}
.subject-tag:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
  transform: scale(1.03);
}

/* ---- Map embed placeholder ---- */
.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
  border: 2px solid rgba(10,22,40,0.08);
  font-size: 1rem;
  color: var(--text-mid);
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

/* ---- Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .welcome-content { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .academics-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  /* News grid: 3 → 2 columns on tablet */
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  /* Reduce section padding on tablet */
  .section-padding { padding: 70px 0; }
  .section-padding-sm { padding: 48px 0; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--navy); padding: 100px 32px 40px; gap: 8px; transition: right 0.3s ease; box-shadow: -8px 0 32px rgba(0,0,0,0.3); }
  .nav-links.open { right: 0; display: flex; }
  .hamburger { display: flex; z-index: 10; }
  .programs-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-preview { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-preview .gallery-item:first-child { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .subjects-list { grid-template-columns: repeat(2, 1fr); }
  .gallery-full-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  /* News grid: single column on mobile */
  .news-grid { grid-template-columns: 1fr; }
  /* Reduce section & page-hero padding */
  .section-padding { padding: 50px 0; }
  .section-padding-sm { padding: 36px 0; }
  .page-hero { padding: 100px 0 50px; }
  /* Scale down decorative circles */
  .page-hero::before { width: 250px; height: 250px; top: -60px; right: -60px; }
  .cta-banner::before { width: 280px; height: 280px; top: -120px; right: -60px; }
  .cta-banner::after { width: 180px; height: 180px; bottom: -60px; left: -30px; }
  /* Flexible welcome image height */
  .welcome-img-wrap img { height: 320px; }
  /* Stat numbers scale down */
  .stat-number { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .gallery-preview { grid-template-columns: 1fr; }
  .subjects-list { grid-template-columns: 1fr 1fr; }
  .gallery-full-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  /* Further tighten spacing on small phones */
  .section-padding { padding: 40px 0; }
  .section-padding-sm { padding: 28px 0; }
  .page-hero { padding: 80px 0 40px; }
  /* Welcome image full-height on small screens */
  .welcome-img-wrap img { height: 260px; }
  /* Stat numbers on small phones */
  .stat-number { font-size: 1.9rem; }
  /* Prevent decorative circles from overflowing */
  .page-hero::before { width: 180px; height: 180px; }
  .cta-banner::before { width: 200px; height: 200px; }
  .cta-banner::after { width: 130px; height: 130px; }
}
