/* ============================================================
   ST. SAI CONVENT HIGHER SECONDARY SCHOOL
   styles.css — Complete Stylesheet
   ============================================================ */

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

/* ---------- CSS Variables ---------- */
:root {
  --navy:        #0b2060;
  --navy-mid:    #173080;
  --navy-light:  #1e3fa0;
  --gold:        #c9962b;
  --gold-light:  #e8b84b;
  --gold-pale:   #fdf5e0;
  --maroon:      #7a1c1c;
  --white:       #ffffff;
  --off-white:   #f7f9fc;
  --gray-100:    #eef1f7;
  --gray-300:    #d1d5db;
  --gray-500:    #6b7280;
  --gray-700:    #374151;
  --text:        #18243e;
  --shadow-sm:   0 2px 12px rgba(11,32,96,0.08);
  --shadow:      0 4px 28px rgba(11,32,96,0.12);
  --shadow-lg:   0 10px 48px rgba(11,32,96,0.18);
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --ease:        all 0.3s ease;
  --fh:          'Poppins', sans-serif;
  --fb:          'Open Sans', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--fb); color: var(--text); background: var(--white); line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--ease); }
ul { list-style: none; }
button { font-family: inherit; border: none; outline: none; cursor: pointer; }
h1,h2,h3,h4,h5 { font-family: var(--fh); font-weight: 700; line-height: 1.2; color: var(--text); }

/* ---------- Layout Utilities ---------- */
.container  { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sec        { padding: 88px 0; }
.sec-sm     { padding: 60px 0; }
.t-center   { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.bg-off     { background: var(--off-white); }
.bg-pale    { background: var(--gold-pale); }
.bg-navy    { background: var(--navy); }

/* ---------- Section Headings ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--fh);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: 10px;
}
.sec-title {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 14px;
}
.sec-sub {
  font-size: 0.97rem;
  color: var(--gray-500);
  max-width: 580px;
  margin: 0 auto 52px;
  line-height: 1.75;
}
.title-rule {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--navy));
  border-radius: 4px;
  margin: 0 auto 20px;
}
.title-rule.left { margin: 0 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-family: var(--fh);
  font-weight: 600;
  font-size: 0.93rem;
  border: 2px solid transparent;
  transition: var(--ease);
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.btn-gold   { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,150,43,0.38); }
.btn-white  { background: white; color: var(--navy); }
.btn-white:hover { background: var(--gold-pale); transform: translateY(-2px); }
.btn-navy   { background: var(--navy); color: white; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-white { background: transparent; color: white; border-color: rgba(255,255,255,0.65); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: white; }
.btn-outline-navy  { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover  { background: var(--navy); color: white; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(11,32,96,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.22);
  transition: var(--ease);
}
.navbar.scrolled { height: 64px; background: rgba(11,32,96,0.99); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.nav-logo {
  width: 50px; height: 50px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
  padding: 3px;
  flex-shrink: 0;
}
.nav-brand-text { line-height: 1.25; }
.nav-school-name {
  font-family: var(--fh);
  font-size: 0.87rem;
  font-weight: 700;
  color: white;
  display: block;
}
.nav-motto {
  font-size: 0.63rem;
  font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  padding: 7px 12px;
  color: rgba(255,255,255,0.82);
  font-family: var(--fh);
  font-size: 0.81rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--ease);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--gold-light); background: rgba(255,255,255,0.07); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-apply {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  margin-left: 6px;
}
.nav-apply:hover { background: var(--gold-light); transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--ease);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
/* Rich animated gradient background */
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    #060f2e 0%, #0b2060 30%,
    #14317a 60%, #0a1a50 100%);
  z-index: 0;
}
/* Subtle grid overlay */
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
}
/* Glowing orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: rgba(201,150,43,0.12);
  top: -150px; right: -100px;
  animation: orbFloat1 9s ease-in-out infinite;
}
.hero-orb-2 {
  width: 350px; height: 350px;
  background: rgba(30,63,160,0.25);
  bottom: -100px; left: -80px;
  animation: orbFloat2 11s ease-in-out infinite;
}
.hero-orb-3 {
  width: 200px; height: 200px;
  background: rgba(201,150,43,0.08);
  top: 40%; right: 25%;
  animation: orbFloat1 14s ease-in-out infinite reverse;
}
@keyframes orbFloat1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-20px,-30px)} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,25px)} }

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
  padding: 110px 0 60px;
}
.hero-content {}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,150,43,0.14);
  border: 1px solid rgba(201,150,43,0.35);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-family: var(--fh);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.15s forwards;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 1.8s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.8)} }

.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  color: white;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp 0.85s ease 0.3s forwards;
}
.hero-title .highlight { color: var(--gold-light); }
.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.65);
  font-style: italic;
  font-family: var(--fh);
  font-weight: 400;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.85s ease 0.45s forwards;
}
.hero-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.97rem;
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.85s ease 0.6s forwards;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.85s ease 0.75s forwards;
}
.hero-stats-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  animation: fadeUp 0.85s ease 0.9s forwards;
}
.hero-stat {}
.hero-stat-num {
  font-family: var(--fh);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  display: block;
}
.hero-stat-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
  display: block;
}
/* Hero right: logo card */
.hero-logo-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
}
.hero-logo-card img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto 20px;
  filter: drop-shadow(0 8px 24px rgba(201,150,43,0.3));
}
.hero-logo-card .card-school { font-family: var(--fh); font-size: 1rem; font-weight: 700; color: white; margin-bottom: 4px; line-height: 1.3; }
.hero-logo-card .card-place { font-size: 0.8rem; color: var(--gold-light); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.hero-logo-card .card-motto {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--fh);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-block;
}
/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.35);
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollBounce 2.2s ease infinite;
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
}
@keyframes scrollBounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(9px)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(26px)} to{opacity:1;transform:translateY(0)} }

/* ============================================================
   MARQUEE / TICKER
   ============================================================ */
.ticker {
  background: linear-gradient(90deg, var(--maroon) 0%, #9b2020 50%, var(--maroon) 100%);
  padding: 13px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  width: max-content;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fh);
  font-size: 0.87rem;
  font-weight: 600;
  color: white;
}
.ticker-icon { color: var(--gold-light); font-size: 1rem; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ============================================================
   ABOUT SECTION (Home)
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-visual { position: relative; }
.about-logo-box {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/3.2;
  position: relative;
  overflow: hidden;
}
.about-logo-box::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
}
.about-logo-box img {
  width: 75%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 12px 32px rgba(201,150,43,0.25));
}
.about-badge {
  position: absolute;
  bottom: -18px; right: -18px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.about-badge-num { font-family: var(--fh); font-size: 2.1rem; font-weight: 800; line-height: 1; }
.about-badge-lbl { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-top: 3px; }
.about-text { padding-right: 8px; }
.about-text p { color: var(--gray-700); font-size: 0.96rem; margin-bottom: 16px; line-height: 1.8; }
.about-text p strong { color: var(--navy); }
.about-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0 32px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
}
.check-dot {
  width: 22px; height: 22px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.why-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 20px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transform: scaleX(0);
  transition: var(--ease);
  transform-origin: left;
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.why-card:hover::after { transform: scaleX(1); }
.why-icon {
  width: 64px; height: 64px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 18px;
  transition: var(--ease);
}
.why-card:hover .why-icon { background: var(--navy); transform: scale(1.08); }
.why-card h3 { font-size: 0.93rem; color: var(--navy); margin-bottom: 8px; }
.why-card p { font-size: 0.82rem; color: var(--gray-500); line-height: 1.65; }

/* ============================================================
   FACILITIES STRIP
   ============================================================ */
.fac-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.fac-tile {
  background: var(--navy);
  padding: 28px 16px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: var(--ease);
  cursor: pointer;
  position: relative;
}
.fac-tile:last-child { border-right: none; }
.fac-tile::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--ease);
}
.fac-tile:hover { background: var(--navy-mid); }
.fac-tile:hover::after { transform: scaleX(1); }
.fac-tile-icon { font-size: 2rem; margin-bottom: 12px; }
.fac-tile h3 { color: white; font-size: 0.88rem; margin-bottom: 5px; }
.fac-tile p { color: rgba(255,255,255,0.45); font-size: 0.75rem; }

/* ============================================================
   ADMISSION BANNER
   ============================================================ */
.adm-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-mid) 45%, var(--maroon) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.adm-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.adm-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.adm-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--fh);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.adm-title { font-size: clamp(1.6rem, 3vw, 2.5rem); color: white; margin-bottom: 10px; }
.adm-desc { color: rgba(255,255,255,0.7); max-width: 480px; font-size: 0.95rem; }
.adm-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testi-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--ease);
  position: relative;
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.testi-stars { color: var(--gold); font-size: 0.88rem; margin-bottom: 12px; letter-spacing: 2px; }
.testi-quote-mark {
  font-size: 4rem;
  color: var(--gold);
  font-family: Georgia, serif;
  line-height: 0.5;
  margin-bottom: 14px;
  opacity: 0.7;
}
.testi-text { font-size: 0.9rem; color: var(--gray-700); line-height: 1.8; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fh);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testi-name { font-family: var(--fh); font-weight: 700; font-size: 0.88rem; color: var(--navy); }
.testi-role { font-size: 0.76rem; color: var(--gray-500); margin-top: 2px; }

/* ============================================================
   GALLERY PREVIEW
   ============================================================ */
.gallery-preview {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 12px;
}
.gp-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}
.gp-item:first-child { grid-row: span 2; }
.gp-content {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  font-size: 2.2rem;
  color: rgba(255,255,255,0.3);
  transition: var(--ease);
}
.gp-label {
  font-family: var(--fh);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.gp-overlay {
  position: absolute; inset: 0;
  background: rgba(11,32,96,0.72);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: var(--ease);
  font-size: 2rem;
  color: white;
}
.gp-item:hover .gp-content { transform: scale(1.05); }
.gp-item:hover .gp-overlay { opacity: 1; }

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.news-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-img {
  height: 185px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.22);
  position: relative;
  overflow: hidden;
  transition: var(--ease);
}
.news-card:hover .news-img { background: linear-gradient(135deg, var(--navy-mid), var(--maroon)); }
.news-tag-pill {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--fh);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 50px;
}
.news-body { padding: 22px; }
.news-date { font-size: 0.76rem; color: var(--gray-500); margin-bottom: 8px; display: flex; align-items: center; gap: 5px; }
.news-body h3 { font-size: 0.97rem; color: var(--navy); margin-bottom: 8px; line-height: 1.45; }
.news-body p { font-size: 0.84rem; color: var(--gray-500); line-height: 1.7; }
.news-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fh);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 12px;
}
.news-more:hover { color: var(--navy); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--gold-pale);
  padding: 88px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); color: var(--navy); margin-bottom: 14px; }
.cta-band p { color: var(--gray-500); max-width: 480px; margin: 0 auto 36px; font-size: 0.97rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #07102a; color: rgba(255,255,255,0.7); }
.footer-body {
  padding: 64px 0 40px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.6fr;
  gap: 48px;
}
.footer-logo-img {
  width: 78px;
  border-radius: 50%;
  background: white;
  padding: 4px;
  margin-bottom: 14px;
}
.footer-school-name { font-family: var(--fh); font-size: 0.97rem; font-weight: 700; color: white; margin-bottom: 8px; line-height: 1.3; }
.footer-about-text { font-size: 0.83rem; line-height: 1.75; max-width: 270px; }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--ease);
  text-decoration: none;
}
.social-btn:hover { background: var(--gold); color: var(--navy); }
.footer-col-title {
  font-family: var(--fh);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: white;
  margin-bottom: 16px;
}
.footer-col-title::after {
  content: '';
  display: block;
  width: 26px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 7px;
}
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 0.83rem; color: rgba(255,255,255,0.55); transition: var(--ease); }
.footer-links a:hover { color: var(--gold-light); padding-left: 5px; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 13px; font-size: 0.83rem; align-items: flex-start; }
.fci-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
}
.footer-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-bar-inner a { color: var(--gold-light); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 140px 0 68px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23c9962b' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.77rem; color: rgba(255,255,255,0.45); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.45); }
.breadcrumb a:hover { color: var(--gold-light); }
.bc-sep { color: var(--gold); }
.bc-cur { color: var(--gold-light); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: white; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.65); max-width: 580px; font-size: 0.97rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mv-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid;
  transition: var(--ease);
}
.mv-card.mission { border-color: var(--navy); }
.mv-card.vision  { border-color: var(--gold); }
.mv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mv-icon { font-size: 2.5rem; margin-bottom: 14px; }
.mv-card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 10px; }
.mv-card p { font-size: 0.9rem; color: var(--gray-700); line-height: 1.8; }

.principal-block {
  background: white;
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  border-left: 5px solid var(--gold);
}
.principal-photo {
  width: 200px; height: 240px;
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  color: rgba(255,255,255,0.18);
}
.principal-big-quote {
  font-size: 4.5rem;
  color: var(--gold);
  font-family: Georgia, serif;
  line-height: 0.5;
  margin-bottom: 16px;
  opacity: 0.6;
}
.principal-msg {
  font-size: 0.94rem;
  color: var(--gray-700);
  line-height: 1.88;
  font-style: italic;
  margin-bottom: 24px;
}
.principal-name { font-family: var(--fh); font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.principal-ttl  { font-size: 0.82rem; color: var(--gold); font-weight: 600; margin-top: 3px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.val-card {
  text-align: center;
  padding: 32px 16px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--ease);
}
.val-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.val-icon { font-size: 2.4rem; margin-bottom: 12px; }
.val-card h3 { font-size: 0.93rem; color: var(--navy); margin-bottom: 7px; }
.val-card p { font-size: 0.8rem; color: var(--gray-500); line-height: 1.6; }

/* ============================================================
   ACADEMICS PAGE
   ============================================================ */
.acad-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.acad-tab-btn {
  padding: 10px 22px;
  border-radius: 50px;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-family: var(--fh);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--ease);
}
.acad-tab-btn.active, .acad-tab-btn:hover { background: var(--navy); color: white; }
.acad-panel { display: none; }
.acad-panel.show { display: block; animation: fadeInPanel 0.4s ease; }
@keyframes fadeInPanel { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }

.acad-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 52px; align-items: start; }
.acad-grade-pill {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-family: var(--fh);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.acad-layout h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 14px; }
.acad-layout p { font-size: 0.91rem; color: var(--gray-700); line-height: 1.8; margin-bottom: 14px; }
.subj-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.subj-tag { background: var(--gray-100); color: var(--navy); font-size: 0.76rem; font-weight: 600; padding: 5px 13px; border-radius: 50px; }

.acad-feat-list { list-style: none; }
.acad-feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.65;
}
.acad-feat-list li:last-child { border-bottom: none; }
.afl-dot { color: var(--gold); font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; }

/* ============================================================
   ADMISSIONS PAGE
   ============================================================ */
.adm-steps {
  display: flex;
  gap: 0;
  position: relative;
  align-items: flex-start;
  margin-bottom: 0;
}
.adm-steps::before {
  content: '';
  position: absolute;
  top: 35px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--navy));
  z-index: 0;
}
.adm-step { flex: 1; text-align: center; position: relative; z-index: 1; padding: 0 8px; }
.step-num {
  width: 70px; height: 70px;
  background: white;
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--fh);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy);
  box-shadow: var(--shadow);
  transition: var(--ease);
}
.adm-step:hover .step-num { background: var(--gold); transform: scale(1.1); }
.adm-step h3 { font-size: 0.94rem; color: var(--navy); margin-bottom: 6px; }
.adm-step p { font-size: 0.8rem; color: var(--gray-500); line-height: 1.6; }

.docs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.doc-card {
  background: white;
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--ease);
}
.doc-card:hover { border-color: var(--gold); transform: translateX(4px); }
.doc-icon {
  width: 46px; height: 46px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.doc-card h4 { font-size: 0.88rem; color: var(--navy); margin-bottom: 4px; }
.doc-card p { font-size: 0.77rem; color: var(--gray-500); }

.inq-form-wrap {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  max-width: 740px;
  margin: 0 auto;
}
.inq-form-wrap h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 6px; }
.inq-form-wrap > p { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 30px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grp { margin-bottom: 20px; }
.form-grp label { display: block; font-family: var(--fh); font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-grp input, .form-grp select, .form-grp textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-100);
  border-radius: 10px;
  font-family: var(--fb);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  transition: var(--ease);
  outline: none;
}
.form-grp input:focus, .form-grp select:focus, .form-grp textarea:focus {
  border-color: var(--gold);
  background: white;
  box-shadow: 0 0 0 3px rgba(201,150,43,0.1);
}
.form-grp textarea { resize: vertical; min-height: 96px; }

/* ============================================================
   FACILITIES PAGE
   ============================================================ */
.facilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fac-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--ease);
}
.fac-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.fac-card-img {
  height: 170px;
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  transition: var(--ease);
}
.fac-card:hover .fac-card-img { background: linear-gradient(145deg, var(--navy-mid), var(--maroon)); }
.fac-card-body { padding: 24px; }
.fac-card-body h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.fac-card-body p { font-size: 0.84rem; color: var(--gray-500); line-height: 1.7; }
.fac-feat-list { margin-top: 14px; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.fac-feat-list li { font-size: 0.81rem; color: var(--gray-700); display: flex; align-items: center; gap: 8px; }
.fac-feat-list li::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gal-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.gal-filter-btn {
  padding: 7px 18px;
  border-radius: 50px;
  border: 2px solid var(--gray-300);
  background: transparent;
  color: var(--gray-700);
  font-family: var(--fh);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--ease);
}
.gal-filter-btn.active, .gal-filter-btn:hover { border-color: var(--navy); background: var(--navy); color: white; }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gal-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
}
.gal-item:nth-child(5n+1) { grid-column: span 2; }
.gal-bg {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  font-size: 2rem;
  color: rgba(255,255,255,0.35);
  transition: var(--ease);
}
.gal-item:hover .gal-bg { background: linear-gradient(135deg, var(--maroon), var(--navy-mid)); transform: scale(1.03); }
.gal-item-lbl { font-family: var(--fh); font-size: 0.73rem; color: rgba(255,255,255,0.35); }
.gal-ov {
  position: absolute; inset: 0;
  background: rgba(11,32,96,0.78);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: var(--ease);
  color: white;
  font-family: var(--fh);
  font-size: 0.83rem;
}
.gal-item:hover .gal-ov { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lb-close {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.4rem;
  cursor: pointer;
  transition: var(--ease);
}
.lb-close:hover { background: rgba(255,255,255,0.2); }
.lb-body { text-align: center; color: white; padding: 20px; }
.lb-icon { font-size: 7rem; opacity: 0.12; }
.lb-caption { margin-top: 14px; color: rgba(255,255,255,0.55); font-size: 0.88rem; }

/* ============================================================
   EVENTS PAGE
   ============================================================ */
.event-list { display: grid; gap: 26px; }
.event-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 190px 1fr;
  border: 1px solid var(--gray-100);
  transition: var(--ease);
}
.event-card:hover { transform: translateX(5px); box-shadow: var(--shadow); border-color: var(--gold); }
.event-img {
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  font-size: 3rem;
  color: rgba(255,255,255,0.2);
}
.event-body { padding: 28px; }
.event-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fh);
  font-size: 0.77rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.event-body h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; }
.event-body p { font-size: 0.88rem; color: var(--gray-700); line-height: 1.75; }
.event-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.ev-tag { background: var(--gray-100); color: var(--gray-700); font-size: 0.73rem; font-weight: 600; padding: 4px 10px; border-radius: 50px; }

/* ============================================================
   FACULTY PAGE
   ============================================================ */
.faculty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.faculty-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: var(--ease);
}
.faculty-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.faculty-photo {
  height: 185px;
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem;
  color: rgba(255,255,255,0.18);
  position: relative;
  overflow: hidden;
}
.faculty-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 28px;
  background: white;
  border-radius: 60% 60% 0 0 / 28px 28px 0 0;
}
.faculty-body { padding: 14px 18px 22px; }
.faculty-name { font-size: 0.97rem; color: var(--navy); margin-bottom: 4px; }
.faculty-subject { font-size: 0.76rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.faculty-qual { font-size: 0.76rem; color: var(--gray-500); margin-top: 4px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.contact-info {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: white;
}
.contact-info h3 { font-size: 1.3rem; margin-bottom: 8px; }
.contact-info > p { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-bottom: 32px; }
.ci-row { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.ci-icon-box {
  width: 44px; height: 44px;
  background: rgba(201,150,43,0.15);
  border: 1px solid rgba(201,150,43,0.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--gold-light);
  flex-shrink: 0;
}
.ci-label { font-size: 0.72rem; color: rgba(255,255,255,0.38); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.ci-value { font-size: 0.9rem; color: white; line-height: 1.5; }
.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 6px; }
.contact-form > p { color: var(--gray-500); font-size: 0.88rem; margin-bottom: 28px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; margin-top: 36px; box-shadow: var(--shadow); }

/* ============================================================
   POPUP
   ============================================================ */
.popup-wrap {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9990;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--ease);
  padding: 20px;
}
.popup-wrap.open { opacity: 1; pointer-events: all; }
.popup-box {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: scale(0.92) translateY(24px);
  transition: var(--ease);
}
.popup-wrap.open .popup-box { transform: scale(1) translateY(0); }
.popup-head {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 32px 36px 24px;
  text-align: center;
}
.popup-head img { width: 68px; margin: 0 auto 12px; }
.popup-head h2 { color: white; font-size: 1.4rem; margin-bottom: 6px; }
.popup-head p { color: rgba(255,255,255,0.65); font-size: 0.84rem; }
.popup-foot { padding: 26px 36px 30px; text-align: center; }
.popup-foot p { color: var(--gray-700); font-size: 0.9rem; margin-bottom: 18px; }
.popup-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.popup-close {
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  color: white; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--ease);
}
.popup-close:hover { background: rgba(255,255,255,0.22); }

/* ============================================================
   SCROLL-TO-TOP
   ============================================================ */
.stt {
  position: fixed; bottom: 26px; right: 26px;
  width: 46px; height: 46px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 700;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(16px);
  transition: var(--ease);
  z-index: 999;
  cursor: pointer;
}
.stt.show { opacity: 1; transform: translateY(0); }
.stt:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal       { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-l     { opacity: 0; transform: translateX(-28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-r     { opacity: 0; transform: translateX(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in, .reveal-l.in, .reveal-r.in { opacity: 1; transform: translate(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .why-grid         { grid-template-columns: repeat(3,1fr); }
  .fac-strip        { grid-template-columns: repeat(3,1fr); }
  .values-grid      { grid-template-columns: repeat(3,1fr); }
  .faculty-grid     { grid-template-columns: repeat(3,1fr); }
  .footer-body      { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-inner       { grid-template-columns: 1fr; }
  .hero-logo-card   { display: none; }
  .about-grid       { grid-template-columns: 1fr; gap:40px; }
  .testi-grid       { grid-template-columns: 1fr 1fr; }
  .news-grid        { grid-template-columns: 1fr 1fr; }
  .acad-layout      { grid-template-columns: 1fr; }
  .contact-layout   { grid-template-columns: 1fr; }
  .principal-block  { grid-template-columns: 1fr; }
  .principal-photo  { width: 100%; height: 160px; }
  .docs-grid        { grid-template-columns: repeat(2,1fr); }
  .mv-grid          { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(11,32,96,0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-hamburger   { display: flex; }
  .nav-link        { padding: 12px 16px; border-radius: 8px; }
  .nav-apply       { text-align: center; margin: 4px 0 0; }
  .why-grid        { grid-template-columns: repeat(2,1fr); }
  .fac-strip       { grid-template-columns: repeat(2,1fr); }
  .gallery-preview { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gp-item:first-child { grid-row: span 1; }
  .testi-grid      { grid-template-columns: 1fr; }
  .news-grid       { grid-template-columns: 1fr; }
  .footer-body     { grid-template-columns: 1fr; gap: 28px; }
  .footer-bar-inner { flex-direction: column; text-align: center; }
  .adm-inner       { flex-direction: column; text-align: center; }
  .adm-steps       { flex-direction: column; }
  .adm-steps::before { display: none; }
  .faculty-grid    { grid-template-columns: repeat(2,1fr); }
  .values-grid     { grid-template-columns: repeat(2,1fr); }
  .event-card      { grid-template-columns: 1fr; }
  .event-img       { height: 110px; }
  .gal-grid        { grid-template-columns: repeat(2,1fr); }
  .gal-item:nth-child(5n+1) { grid-column: span 2; }
  .facilities-grid { grid-template-columns: 1fr 1fr; }
  .inq-form-wrap   { padding: 28px 20px; }
  .contact-info    { padding: 28px 20px; }
  .contact-form    { padding: 28px 20px; }
  .principal-block { padding: 28px 20px; }
  .form-row-2      { grid-template-columns: 1fr; }
  .docs-grid       { grid-template-columns: 1fr 1fr; }
  .hero-stats-row  { gap: 24px; }
}
@media (max-width: 480px) {
  .container  { padding: 0 16px; }
  .sec        { padding: 60px 0; }
  .why-grid   { grid-template-columns: 1fr; }
  .fac-strip  { grid-template-columns: 1fr 1fr; }
  .faculty-grid { grid-template-columns: repeat(2,1fr); }
  .values-grid  { grid-template-columns: 1fr 1fr; }
  .gal-grid   { grid-template-columns: 1fr 1fr; }
  .facilities-grid { grid-template-columns: 1fr; }
  .docs-grid  { grid-template-columns: 1fr; }
  .hero-stats-row { flex-direction: column; gap: 16px; }
}
