/* =========================================================
   ROCK HIGH SCHOOL — Unified Design System
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

:root{
  --navy-950:#060f1e;
  --navy-900:#0a1c33;
  --navy-800:#0f2a4a;
  --navy-700:#153a63;
  --navy-600:#1c4c81;
  --gold-500:#d7a13b;
  --gold-400:#e6ba5c;
  --gold-300:#f0d08d;
  --ink:#152233;
  --slate:#5a6b82;
  --cloud:#f5f7fb;
  --white:#ffffff;
  --line:#e6eaf1;
  --shadow-sm: 0 4px 14px rgba(10,28,51,0.08);
  --shadow-md: 0 12px 32px rgba(10,28,51,0.14);
  --shadow-lg: 0 24px 60px rgba(10,28,51,0.22);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --ff-head:'Playfair Display', Georgia, serif;
  --ff-body:'Poppins', Arial, sans-serif;
}

*,*::before,*::after{ margin:0; padding:0; box-sizing:border-box; }

html{ scroll-behavior:smooth; overflow-x:hidden; width:100%; }

body{
  font-family:var(--ff-body);
  color:var(--ink);
  background:var(--cloud);
  overflow-x:hidden;
  width:100%;
  position:relative;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; }

.container{ max-width:1180px; margin:0 auto; padding:0 24px; }

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

/* Skip link */
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--gold-500); color:var(--navy-950);
  padding:10px 18px; z-index:9999; border-radius:0 0 8px 0; font-weight:600;
}
.skip-link:focus{ left:0; }

/* =========================================================
   TOP INFO BAR
   ========================================================= */
.topbar{
  background:var(--navy-950);
  color:#c9d6e8;
  font-size:.82rem;
  padding:7px 0;
}
.topbar .container{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:6px;
}
.topbar-links{ display:flex; gap:22px; flex-wrap:wrap; }
.topbar-links a,.topbar-links span{ display:inline-flex; align-items:center; gap:6px; color:#c9d6e8; }
.topbar-links a:hover{ color:var(--gold-400); }
.topbar-social{ display:flex; gap:14px; }
.topbar-social a{ color:#c9d6e8; font-size:.95rem; }
.topbar-social a:hover{ color:var(--gold-400); }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar{
  position:sticky; top:0; z-index:1000;
  background:rgba(8,20,38,0.97);
  border-bottom:1px solid rgba(215,161,59,0.25);
  max-width:100vw;
}
.navbar .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:10px; padding-bottom:10px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:50px; width:50px; object-fit:cover; border-radius:50%; border:2px solid var(--gold-400); }
.brand-text h1{ font-family:var(--ff-head); font-size:1.15rem; color:#fff; letter-spacing:.3px; line-height:1.1; }
.brand-text span{ display:block; font-size:.68rem; color:var(--gold-300); text-transform:uppercase; letter-spacing:2px; margin-top:2px; }

.nav-links{ display:flex; align-items:center; gap:6px; }
.nav-links a{
  color:#e7edf6; font-weight:500; font-size:.92rem; padding:10px 16px; border-radius:30px;
  transition:.25s; position:relative;
}
.nav-links a:hover{ background:rgba(255,255,255,0.08); color:var(--gold-400); }
.nav-links a.active{ background:var(--gold-500); color:var(--navy-950); font-weight:600; }
.nav-cta{
  margin-left:8px; background:linear-gradient(135deg,var(--gold-400),var(--gold-500));
  color:var(--navy-950)!important; font-weight:700!important; padding:10px 20px!important;
  box-shadow:var(--shadow-sm);
}
.nav-cta:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); background:linear-gradient(135deg,var(--gold-300),var(--gold-400)); }

.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; padding:8px; z-index:1001;
}
.nav-toggle span{ width:26px; height:3px; background:#fff; border-radius:3px; transition:.3s; }
.nav-toggle.open span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

@media (max-width:900px){
  .nav-links{
    position:fixed; top:0; right:0; height:100vh; width:min(78vw,320px);
    background:var(--navy-950); flex-direction:column; align-items:stretch;
    padding:100px 22px 30px; gap:6px; box-shadow:-10px 0 40px rgba(0,0,0,0.4);
    transform:translateX(100%); transition:transform .35s ease; will-change:transform;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a{ padding:14px 16px; font-size:1rem; }
  .nav-cta{ margin-left:0; text-align:center; margin-top:10px; }
  .nav-toggle{ display:flex; }
  .topbar-links span:nth-child(2){ display:none; }
}

.nav-overlay{
  display:none; position:fixed; inset:0; background:rgba(3,9,20,.55); z-index:999;
}
.nav-overlay.show{ display:block; }

/* =========================================================
   HERO (auto-changing background slideshow)
   ========================================================= */
.hero{
  position:relative; min-height:86vh; display:flex; align-items:center; justify-content:center;
  overflow:hidden; isolation:isolate;
}
.hero-slide{
  position:absolute; inset:0; background-size:cover; background-position:center;
  opacity:0; transition:opacity 1.6s ease-in-out; z-index:-2;
}
.hero-slide.active{ opacity:1; }
.hero::before{
  content:''; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(180deg, rgba(6,15,30,.75) 0%, rgba(6,15,30,.55) 45%, rgba(6,15,30,.88) 100%);
}
.hero-content{ position:relative; z-index:1; text-align:center; color:#fff; padding:120px 20px 80px; max-width:860px; margin:0 auto; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px; background:rgba(215,161,59,0.16);
  border:1px solid rgba(230,186,92,0.5); color:var(--gold-300); padding:8px 18px; border-radius:30px;
  font-size:.78rem; letter-spacing:2px; text-transform:uppercase; margin-bottom:22px; font-weight:600;
}
.hero-content h1{
  font-family:var(--ff-head); font-size:clamp(2.1rem,5vw,3.6rem); font-weight:800; line-height:1.15;
  text-shadow:0 6px 30px rgba(0,0,0,.4); margin-bottom:16px;
}
.hero-content h1 em{ color:var(--gold-400); font-style:normal; }
.hero-content p.lead{ font-size:clamp(1rem,1.6vw,1.2rem); color:#dbe4f2; max-width:640px; margin:0 auto 34px; font-weight:300; }
.hero-btns{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

.btn{
  display:inline-flex; align-items:center; gap:8px; padding:14px 30px; border-radius:40px;
  font-weight:600; font-size:.95rem; border:none; transition:.3s; letter-spacing:.3px;
}
.btn-primary{
  background:linear-gradient(135deg,var(--gold-400),var(--gold-500)); color:var(--navy-950);
  box-shadow:0 10px 26px rgba(215,161,59,0.35);
}
.btn-primary:hover{ transform:translateY(-3px); box-shadow:0 16px 34px rgba(215,161,59,0.45); }
.btn-ghost{ background:rgba(255,255,255,0.08); color:#fff; border:1.5px solid rgba(255,255,255,.55); backdrop-filter:blur(4px); }
.btn-ghost:hover{ background:rgba(255,255,255,0.18); transform:translateY(-3px); }
.btn-dark{ background:var(--navy-900); color:#fff; }
.btn-dark:hover{ background:var(--navy-800); transform:translateY(-3px); }

.hero-dots{ position:absolute; bottom:26px; left:50%; transform:translateX(-50%); display:flex; gap:9px; z-index:2; }
.hero-dots span{ width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.4); transition:.3s; }
.hero-dots span.active{ background:var(--gold-400); width:26px; border-radius:6px; }

.hero-scroll{
  position:absolute; bottom:60px; left:50%; transform:translateX(-50%); z-index:2;
  color:#e7edf6; font-size:1.4rem; opacity:.85; animation:bob 2.4s infinite;
}
@keyframes bob{ 0%,100%{ transform:translate(-50%,0);} 50%{ transform:translate(-50%,10px);} }

/* Smaller inner-page hero */
.hero.hero-sm{ min-height:52vh; }
.hero.hero-sm .hero-content{ padding:110px 20px 60px; }

/* Stat strip under hero */
.stat-strip{ background:var(--navy-900); }
.stat-strip .container{
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px; padding:34px 24px; text-align:center;
}
.stat-strip .stat h3{ font-family:var(--ff-head); font-size:2rem; color:var(--gold-400); }
.stat-strip .stat span{ display:block; color:#c9d6e8; font-size:.8rem; text-transform:uppercase; letter-spacing:1.5px; margin-top:4px; }
@media (max-width:700px){ .stat-strip .container{ grid-template-columns:repeat(2,1fr);} }

/* =========================================================
   SECTIONS / TYPOGRAPHY
   ========================================================= */
.section{ padding:96px 0; }
.section.tight{ padding:60px 0; }
.section-alt{ background:var(--white); }
.section-navy{ background:var(--navy-950); color:#e7edf6; }
.section-navy .section-title h2{ color:#fff; }
.section-navy .section-title p{ color:#aebbd0; }

.section-title{ text-align:center; max-width:680px; margin:0 auto 56px; }
.eyebrow{
  display:inline-block; color:var(--gold-500); text-transform:uppercase; letter-spacing:3px;
  font-size:.78rem; font-weight:700; margin-bottom:12px;
}
.section-title h2{ font-family:var(--ff-head); font-size:clamp(1.7rem,3.4vw,2.4rem); color:var(--navy-900); font-weight:700; }
.section-title p{ margin-top:14px; color:var(--slate); font-size:1.02rem; }
.section-title.left{ text-align:left; margin:0 0 40px; }

/* =========================================================
   CARDS / GRIDS
   ========================================================= */
.grid{ display:grid; gap:28px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:980px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:620px){ .grid-3,.grid-4,.grid-2{ grid-template-columns:1fr;} }

.card{
  background:#fff; border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm);
  transition:.35s; border:1px solid var(--line); display:flex; flex-direction:column;
}
.card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); }
.card .card-img{ position:relative; height:190px; overflow:hidden; }
.card .card-img img{ width:100%; height:100%; object-fit:cover; transition:.5s; }
.card:hover .card-img img{ transform:scale(1.08); }
.card .card-tag{
  position:absolute; top:14px; left:14px; background:var(--gold-500); color:var(--navy-950);
  font-size:.7rem; font-weight:700; padding:5px 12px; border-radius:20px; text-transform:uppercase; letter-spacing:1px;
}
.card-body{ padding:22px; flex:1; display:flex; flex-direction:column; }
.card-body h3{ font-family:var(--ff-head); font-size:1.15rem; color:var(--navy-900); margin-bottom:8px; }
.card-body p{ color:var(--slate); font-size:.92rem; flex:1; }
.card-body .more{ margin-top:14px; color:var(--gold-600,#b8862a); font-weight:600; font-size:.85rem; display:inline-flex; align-items:center; gap:6px; }

/* Icon feature cards */
.feature{
  background:#fff; border-radius:var(--radius-md); padding:32px 26px; box-shadow:var(--shadow-sm);
  border:1px solid var(--line); transition:.3s; text-align:left;
}
.feature:hover{ box-shadow:var(--shadow-md); transform:translateY(-6px); border-color:var(--gold-300); }
.feature .icon{
  width:56px; height:56px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--navy-800),var(--navy-950)); color:var(--gold-400); font-size:1.4rem; margin-bottom:18px;
}
.feature h3{ font-family:var(--ff-head); font-size:1.12rem; margin-bottom:8px; color:var(--navy-900); }
.feature p{ color:var(--slate); font-size:.92rem; }

/* Person / staff cards */
.person{ text-align:center; }
.person .photo{
  width:100%; aspect-ratio:1/1; border-radius:50%; overflow:hidden; margin:0 auto 18px; border:5px solid #fff;
  box-shadow:var(--shadow-md); max-width:190px;
}
.person .photo img{ width:100%; height:100%; object-fit:cover; }
.person h4{ font-family:var(--ff-head); font-size:1.05rem; color:var(--navy-900); }
.person span{ display:block; color:var(--gold-600,#b8862a); font-size:.82rem; font-weight:600; margin-top:4px; text-transform:uppercase; letter-spacing:.5px; }

/* =========================================================
   ABOUT / SPLIT SECTIONS
   ========================================================= */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
@media (max-width:860px){ .split{ grid-template-columns:1fr; gap:36px; } }
.split-media{ position:relative; }
.split-media img{ border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); width:100%; height:420px; object-fit:cover; }
.split-media .badge{
  position:absolute; bottom:-24px; right:-18px; background:var(--navy-950); color:#fff; padding:20px 26px;
  border-radius:var(--radius-md); box-shadow:var(--shadow-lg); border:3px solid var(--gold-400); text-align:center;
}
.split-media .badge strong{ display:block; font-family:var(--ff-head); font-size:1.6rem; color:var(--gold-400); }
.split-media .badge span{ font-size:.72rem; text-transform:uppercase; letter-spacing:1.5px; color:#c9d6e8; }
.split-text h2{ font-family:var(--ff-head); font-size:clamp(1.6rem,3vw,2.2rem); color:var(--navy-900); margin-bottom:18px; }
.split-text p{ color:var(--slate); margin-bottom:16px; }
.checklist li{ display:flex; align-items:flex-start; gap:10px; margin-bottom:12px; color:var(--ink); font-size:.96rem; }
.checklist li i{ color:var(--gold-500); margin-top:3px; }

/* =========================================================
   GALLERY / LIGHTBOX
   ========================================================= */
.gallery{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
@media (max-width:900px){ .gallery{ grid-template-columns:repeat(3,1fr);} }
@media (max-width:600px){ .gallery{ grid-template-columns:repeat(2,1fr);} }
.gallery figure{
  position:relative; border-radius:var(--radius-sm); overflow:hidden; cursor:pointer; aspect-ratio:1/1;
  box-shadow:var(--shadow-sm);
}
.gallery figure img{ width:100%; height:100%; object-fit:cover; transition:.5s; }
.gallery figure:hover img{ transform:scale(1.12); }
.gallery figure::after{
  content:'\f00e'; font-family:'Font Awesome 6 Free'; font-weight:900; position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center; color:#fff; font-size:1.3rem;
  background:rgba(6,15,30,0); transition:.3s; opacity:0;
}
.gallery figure:hover::after{ background:rgba(6,15,30,.45); opacity:1; }

.lightbox{
  display:none; position:fixed; inset:0; z-index:3000; background:rgba(3,9,20,.92);
  align-items:center; justify-content:center; padding:40px;
}
.lightbox.show{ display:flex; }
.lightbox img{ max-width:90vw; max-height:82vh; border-radius:10px; box-shadow:0 20px 60px rgba(0,0,0,.5); }
.lightbox button{
  position:absolute; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.3); color:#fff;
  width:46px; height:46px; border-radius:50%; font-size:1.1rem; display:flex; align-items:center; justify-content:center;
  transition:.25s;
}
.lightbox button:hover{ background:var(--gold-500); color:var(--navy-950); }
.lightbox .lb-close{ top:24px; right:24px; }
.lightbox .lb-prev{ left:24px; top:50%; transform:translateY(-50%); }
.lightbox .lb-next{ right:24px; top:50%; transform:translateY(-50%); }
@media (max-width:600px){ .lightbox .lb-prev,.lightbox .lb-next{ width:38px; height:38px; } }

/* =========================================================
   TABS (academics / clubs)
   ========================================================= */
.tabbar{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:44px; }
.tabbar button{
  background:#fff; border:1.5px solid var(--line); color:var(--navy-800); padding:11px 22px; border-radius:30px;
  font-weight:600; font-size:.88rem; transition:.25s;
}
.tabbar button:hover{ border-color:var(--gold-400); color:var(--gold-600,#b8862a); }
.tabbar button.active{ background:var(--navy-950); border-color:var(--navy-950); color:#fff; }

.tab-panel{ display:none; }
.tab-panel.active{ display:block; animation:fadeIn .5s ease; }
@keyframes fadeIn{ from{ opacity:0; transform:translateY(10px);} to{ opacity:1; transform:none;} }

.subject-card{
  display:grid; grid-template-columns:220px 1fr; gap:24px; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius-md); overflow:hidden; margin-bottom:22px; box-shadow:var(--shadow-sm); align-items:stretch;
}
.subject-card .simg{ height:100%; min-height:170px; overflow:hidden; }
.subject-card .simg img{ width:100%; height:100%; object-fit:cover; }
.subject-card .stext{ padding:22px 24px 22px 0; }
.subject-card .stext h4{ font-family:var(--ff-head); color:var(--navy-900); font-size:1.15rem; margin-bottom:8px; }
.subject-card .stext p{ color:var(--slate); font-size:.92rem; margin-bottom:10px; }
.subject-card .hod{ font-size:.82rem; color:var(--gold-600,#b8862a); font-weight:600; }
@media (max-width:700px){ .subject-card{ grid-template-columns:1fr; } .subject-card .simg{ height:200px; } .subject-card .stext{ padding:20px; } }

/* =========================================================
   LEADERSHIP / ACCORDION (students page)
   ========================================================= */
.accordion-item{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); margin-bottom:16px; overflow:hidden; box-shadow:var(--shadow-sm); }
.accordion-head{
  width:100%; display:flex; align-items:center; justify-content:space-between; padding:22px 26px;
  background:linear-gradient(135deg,var(--navy-900),var(--navy-800)); color:#fff; text-align:left; border:none;
}
.accordion-head h3{ font-family:var(--ff-head); font-size:1.15rem; display:flex; align-items:center; gap:12px; }
.accordion-head h3 i{ color:var(--gold-400); }
.accordion-head .chevron{ transition:.3s; }
.accordion-item.open .accordion-head .chevron{ transform:rotate(180deg); }
.accordion-body{ max-height:0; overflow:hidden; transition:max-height .45s ease; }
.accordion-item.open .accordion-body{ max-height:4000px; }
.accordion-inner{ padding:28px 26px; }
.accordion-inner p.desc{ color:var(--slate); margin-bottom:24px; }

.people-row{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:22px; margin-bottom:10px; }
.people-row.wide{ grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); }

.mini-gallery{ display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:12px; margin-top:18px; }
.mini-gallery img{ border-radius:10px; height:150px; width:100%; object-fit:cover; cursor:pointer; transition:.3s; }
.mini-gallery img:hover{ transform:scale(1.04); box-shadow:var(--shadow-md); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi-wrap{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }
@media (max-width:800px){ .testi-wrap{ grid-template-columns:1fr; } }
.testi{
  background:#fff; border-radius:var(--radius-md); padding:30px; box-shadow:var(--shadow-sm); border:1px solid var(--line);
  position:relative;
}
.testi i.quote{ color:var(--gold-300); font-size:1.8rem; margin-bottom:10px; display:block; }
.testi p{ color:var(--ink); font-style:italic; margin-bottom:18px; }
.testi footer{ display:flex; align-items:center; gap:10px; font-weight:600; color:var(--navy-900); background:none; padding:0; }
.testi footer span{ color:var(--slate); font-weight:400; font-size:.85rem; }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band{
  background:linear-gradient(135deg,var(--navy-950),var(--navy-800));
  border-radius:var(--radius-lg); padding:56px 40px; text-align:center; color:#fff; position:relative; overflow:hidden;
}
.cta-band::before{
  content:''; position:absolute; inset:0; opacity:.12; background-size:cover; background-position:center;
}
.cta-band h2{ font-family:var(--ff-head); font-size:clamp(1.5rem,3vw,2.1rem); margin-bottom:12px; position:relative; }
.cta-band p{ color:#c9d6e8; max-width:560px; margin:0 auto 26px; position:relative; }
.cta-band .hero-btns{ position:relative; }

/* =========================================================
   FOOTER
   ========================================================= */
footer.site-footer{ background:var(--navy-950); color:#c9d6e8; padding-top:70px; }
.footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:50px; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-brand{ display:flex; gap:12px; align-items:center; margin-bottom:16px; }
.footer-brand img{ height:48px; width:48px; border-radius:50%; border:2px solid var(--gold-400); }
.footer-brand h3{ font-family:var(--ff-head); color:#fff; font-size:1.1rem; }
.footer-col h4{ color:#fff; font-family:var(--ff-head); font-size:1rem; margin-bottom:18px; }
.footer-col p{ font-size:.88rem; margin-bottom:10px; color:#aebbd0; }
.footer-col ul li{ margin-bottom:10px; }
.footer-col ul li a{ font-size:.88rem; color:#aebbd0; transition:.2s; display:inline-flex; gap:8px; align-items:center; }
.footer-col ul li a:hover{ color:var(--gold-400); padding-left:4px; }
.footer-social{ display:flex; gap:10px; margin-top:16px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center;
  justify-content:center; color:#fff; transition:.25s; border:1px solid rgba(255,255,255,.14);
}
.footer-social a:hover{ background:var(--gold-500); color:var(--navy-950); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1); padding:20px 0; display:flex; justify-content:space-between;
  flex-wrap:wrap; gap:10px; font-size:.8rem; color:#8ea0bb;
}
.footer-bottom a{ color:#8ea0bb; }
.footer-bottom a:hover{ color:var(--gold-400); }

/* =========================================================
   MISC UTILITIES
   ========================================================= */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

.back-top{
  position:fixed; right:22px; bottom:22px; width:48px; height:48px; border-radius:50%;
  background:var(--navy-950); color:var(--gold-400); display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-md); opacity:0; pointer-events:none; transition:.3s; z-index:500; border:1px solid rgba(255,255,255,.15);
}
.back-top.show{ opacity:1; pointer-events:auto; }
.back-top:hover{ background:var(--gold-500); color:var(--navy-950); transform:translateY(-4px); }

.divider-icon{ display:flex; align-items:center; justify-content:center; gap:14px; margin:0 auto 18px; color:var(--gold-400); }
.divider-icon::before,.divider-icon::after{ content:''; width:44px; height:2px; background:var(--gold-400); opacity:.5; }

/* Bootstrap-ish leftovers on academics page (kept minimal, harmless) */
.text-primary{ color:var(--navy-900)!important; }
.text-muted{ color:var(--slate)!important; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:36px; align-items:start; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }

.info-card{
  background:var(--navy-950); color:#fff; border-radius:var(--radius-lg); padding:40px 32px;
  box-shadow:var(--shadow-md); position:relative; overflow:hidden;
}
.info-card h3{ font-family:var(--ff-head); font-size:1.4rem; margin-bottom:10px; }
.info-card > p{ color:#c9d6e8; margin-bottom:30px; font-size:.95rem; }
.info-row{ display:flex; gap:16px; align-items:flex-start; margin-bottom:26px; }
.info-row .ic{
  width:46px; height:46px; min-width:46px; border-radius:12px; background:rgba(215,161,59,0.16);
  border:1px solid rgba(230,186,92,0.4); color:var(--gold-400); display:flex; align-items:center; justify-content:center;
}
.info-row h4{ font-size:.95rem; margin-bottom:4px; color:#fff; }
.info-row p, .info-row a{ font-size:.88rem; color:#c9d6e8; }
.info-row a:hover{ color:var(--gold-400); }
.info-map{ margin-top:10px; border-radius:var(--radius-md); overflow:hidden; border:1px solid rgba(255,255,255,.15); }
.info-map iframe{ width:100%; height:220px; border:0; display:block; filter:grayscale(.2); }

.form-card{
  background:#fff; border-radius:var(--radius-lg); padding:40px 36px; box-shadow:var(--shadow-md); border:1px solid var(--line);
}
.form-card h3{ font-family:var(--ff-head); font-size:1.4rem; color:var(--navy-900); margin-bottom:8px; }
.form-card > p{ color:var(--slate); margin-bottom:26px; }
.form-card form{ display:flex; flex-direction:column; gap:18px; }
.form-card label{ font-size:.85rem; font-weight:600; color:var(--navy-900); margin-bottom:6px; display:block; }
.form-card input, .form-card textarea{
  width:100%; padding:13px 16px; border:1.5px solid var(--line); border-radius:10px; font-family:var(--ff-body);
  font-size:.95rem; color:var(--ink); transition:.25s; background:var(--cloud);
}
.form-card input:focus, .form-card textarea:focus{ outline:none; border-color:var(--gold-500); background:#fff; box-shadow:0 0 0 4px rgba(215,161,59,0.14); }
.form-card textarea{ resize:vertical; min-height:130px; }
.form-card button{
  align-self:flex-start; margin-top:6px; padding:14px 32px; border-radius:40px; border:none;
  background:linear-gradient(135deg,var(--gold-400),var(--gold-500)); color:var(--navy-950); font-weight:700;
  font-size:.95rem; box-shadow:0 10px 26px rgba(215,161,59,0.3); transition:.3s;
}
.form-card button:hover{ transform:translateY(-3px); box-shadow:0 16px 34px rgba(215,161,59,0.4); }
#status{ margin-top:14px; font-weight:600; font-size:.9rem; color:var(--navy-800); min-height:1.2em; }

.faq-item{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:24px 26px; box-shadow:var(--shadow-sm); }
.faq-item h4{ font-family:var(--ff-head); color:var(--navy-900); margin-bottom:8px; font-size:1.02rem; }
.faq-item p{ color:var(--slate); font-size:.9rem; }

/* Print niceties */
@media print{ .navbar,.topbar,footer,.back-top{ display:none; } }
