:root{
  --bg: #071225;
  --panel: #0B1B33;
  --panel-2: #0E2443;
  --text: #EAF2FF;
  --muted: rgba(234,242,255,.75);
  --brand: #2DD4FF;
  --brand-2: #60A5FA;
  --line: rgba(234,242,255,.12);
  --shadow: 0 18px 40px rgba(0,0,0,.35);
  --radius: 20px;
  --max: 1180px;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* =========================
   BASE
   ========================= */

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  padding:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1100px 700px at 10% 0%, rgba(45,212,255,.12), transparent 50%),
    radial-gradient(900px 600px at 90% 10%, rgba(96,165,250,.10), transparent 55%),
    linear-gradient(180deg, #071225 0%, #08182d 100%);
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
textarea,
select{
  font:inherit;
}

.container{
  width:min(var(--max), calc(100% - 32px));
  margin:0 auto;
}

/* =========================
   HEADER / NAVBAR
   ========================= */

.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(7,18,37,.78);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 0;
  position:relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
}

.brand-badge{
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(45,212,255,.95), rgba(96,165,250,.88));
  border-radius:26px;
  padding:10px 28px 10px 18px;
  min-height:92px;
  box-shadow:0 12px 30px rgba(45,212,255,.18);
  flex-shrink:0;
}

.brand .logo{
  height:72px;
  width:auto;
  object-fit:contain;
  display:block;
}

.brand-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  line-height:1.05;
}

.brand-text .small{
  font-size:15px;
  font-weight:700;
  color:rgba(234,242,255,.72);
  margin-bottom:6px;
}

.brand-text .large{
  font-size:20px;
  font-weight:900;
  letter-spacing:.2px;
  color:var(--text);
}

.links{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:auto;
}

.links a{
  padding:11px 14px;
  border-radius:14px;
  font-weight:700;
  color:var(--muted);
  transition:.2s ease;
  border:1px solid transparent;
}

.links a:hover{
  background:rgba(234,242,255,.06);
  color:var(--text);
}

.links a.active{
  background:rgba(45,212,255,.12);
  color:var(--text);
  border-color:rgba(45,212,255,.22);
}

.cta,
.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.menuBtn{
  display:none;
  width:46px;
  height:46px;
  border:none;
  border-radius:14px;
  background:rgba(234,242,255,.05);
  color:var(--text);
  cursor:pointer;
  border:1px solid var(--line);
}

.menuBtn:hover{
  background:rgba(234,242,255,.09);
}

/* =========================
   BUTTONS
   ========================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  font-weight:800;
  border:1px solid var(--line);
  background:rgba(234,242,255,.04);
  color:var(--text);
  transition:.2s ease;
  cursor:pointer;
}

.btn:hover{
  transform:translateY(-1px);
  background:rgba(234,242,255,.08);
}

.btn.primary{
  background:linear-gradient(135deg, rgba(45,212,255,.22), rgba(96,165,250,.18));
  border-color:rgba(45,212,255,.30);
  box-shadow:0 10px 24px rgba(45,212,255,.08);
}

/* =========================
   TYPOGRAPHY
   ========================= */

h1{
  margin:16px 0 14px;
  font-size:48px;
  line-height:1.04;
  letter-spacing:-.8px;
}

h2{
  margin:0;
}

h3{
  margin:8px 0 10px;
}

h4{
  margin:0 0 8px;
}

p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.65;
  font-size:16px;
}

/* =========================
   HERO
   ========================= */

.hero{
  padding:52px 0 28px;
}

.heroGrid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:24px;
  align-items:stretch;
}

.heroCard{
  background:linear-gradient(180deg, rgba(11,27,51,.94), rgba(11,27,51,.76));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.heroInner{
  padding:30px;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(45,212,255,.10);
  border:1px solid rgba(45,212,255,.20);
  color:var(--muted);
  font-weight:700;
  font-size:14px;
}

.kicker .dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--brand);
  box-shadow:0 0 18px rgba(45,212,255,.55);
}

.heroActions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.heroImage{
  position:relative;
  min-height:400px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  overflow:hidden;
  background:rgba(7,18,37,.25);
}

.heroImage::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg, rgba(7,18,37,.48), rgba(7,18,37,.20));
  z-index:2;
  pointer-events:none;
}

.slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  opacity:0;
  transition:opacity 1s ease-in-out;
  z-index:1;
}

.slide.active{
  opacity:1;
}

.admissionsSlide{
  object-fit:contain;
  background:#071225;
}

/* =========================
   BANNERS / PAGE HEADERS
   ========================= */

.pageHeader{
  padding:40px 0 10px;
}

.pageHeader h1{
  font-size:38px;
  margin:0 0 12px;
}

.pageHeader p{
  max-width:70ch;
}

.pageBanner{
  width:100%;
  height:320px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  border-bottom:1px solid var(--line);
}

.bannerOverlay{
  max-width:700px;
  padding:20px;
}

.pageBanner h1{
  font-size:48px;
  margin-bottom:10px;
}

.pageBanner p{
  font-size:18px;
  color:var(--muted);
}

.contactBanner{
  background:
    linear-gradient(rgba(7,18,37,.5), rgba(7,18,37,.5)),
    url("../img/contact-banner.jpg") center/cover no-repeat;
}

.aboutBanner{
  background:
    linear-gradient(rgba(7,18,37,.5), rgba(7,18,37,.5)),
    url("../img/about-banner.jpg") center/cover no-repeat;
}

.Curriculum{
  background:
    linear-gradient(rgba(7,18,37,.5), rgba(7,18,37,.5)),
    url("../img/Curriculum.jpg") center/cover no-repeat;
}

.welcomeBanner{
  background:
    linear-gradient(rgba(7,18,37,.7), rgba(7,18,37,.7)),
    url("../img/welcome-banner.jpg") center/cover no-repeat;
}

.chairBanner{
  background:
    linear-gradient(rgba(7,18,37,.7), rgba(7,18,37,.7)),
    url("../img/chair-banner.jpg") bottom/cover no-repeat;
}

/* =========================
   SECTIONS / GENERAL CARDS
   ========================= */

.section{
  padding:28px 0;
}

.sectionTitle{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}

.sectionTitle h2{
  font-size:28px;
  line-height:1.1;
}

.sectionTitle .hint{
  color:var(--muted);
  font-weight:700;
  font-size:14px;
}

.grid3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.card{
  background:linear-gradient(180deg, rgba(14,36,67,.88), rgba(11,27,51,.70));
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:0 10px 26px rgba(0,0,0,.18);
}

.card h3{
  font-size:20px;
}

.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  border:1px solid rgba(234,242,255,.12);
  background:rgba(234,242,255,.05);
  color:var(--muted);
}

.list{
  display:grid;
  gap:12px;
}

.listItem{
  padding:15px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(234,242,255,.035);
}

.listItem b{
  display:block;
  margin-bottom:6px;
  color:var(--text);
}

.centerBtn{
  display:flex;
  justify-content:center;
  margin-top:25px;
}

/* =========================
   FORMS
   ========================= */

.form{
  display:grid;
  gap:14px;
}

.field{
  display:grid;
  gap:8px;
}

label{
  font-weight:700;
  color:var(--text);
}

input,
textarea{
  width:100%;
  padding:13px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(234,242,255,.04);
  color:var(--text);
  outline:none;
  transition:border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

input::placeholder,
textarea::placeholder{
  color:rgba(234,242,255,.45);
}

input:focus,
textarea:focus{
  border-color:rgba(45,212,255,.40);
  background:rgba(234,242,255,.06);
  box-shadow:0 0 0 4px rgba(45,212,255,.10);
}

textarea{
  min-height:150px;
  resize:vertical;
}

/* =========================
   CURRICULUM SUBJECT CARDS
   ========================= */

.subjectGrid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
  margin-top:10px;
}

.subjectCard{
  background:linear-gradient(180deg, #0e2647, #0a1f3a);
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px;
  transition:.3s;
}

.subjectCard:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
}

.subjectCard h4{
  margin-bottom:8px;
  font-size:18px;
  color:#fff;
}

.subjectCard p{
  font-size:14px;
  color:var(--muted);
  line-height:1.5;
}

/* =========================
   ABOUT FACILITIES GRID
   ========================= */

.facilityGrid{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:16px;
  margin-top:20px;
}

.facilityCard{
  background:linear-gradient(180deg, #0e2647, #0a1f3a);
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  text-align:center;
  transition:.3s;
}

.facilityCard:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
}

.facilityCard h4{
  font-size:14px;
  color:#fff;
}

.facilityCard p{
  font-size:12px;
  color:var(--muted);
  margin-top:4px;
}

/* =========================
   NEWS CARDS
   ========================= */

.newsCard{
  background:linear-gradient(180deg, #0e2647, #0a1f3a);
  border:1px solid var(--line);
  border-radius:20px;
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
  transition:.3s;
}

.newsCard:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow);
}

.newsCard h3{
  font-size:20px;
  color:#fff;
}

.newsCard img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:12px;
}

.newsCard p{
  font-size:14px;
  color:var(--muted);
  flex-grow:1;
}

.newsCard .btn{
  align-self:flex-start;
}

/* =========================
   ADMISSIONS / CUSTOM CONTENT PAGE
   ========================= */

.page-intro{
  text-align:center;
  padding:60px 20px 30px;
}

.page-intro h1{
  font-size:2.8rem;
  color:var(--text);
  margin-bottom:15px;
}

.small-description{
  max-width:800px;
  margin:0 auto;
  font-size:1.05rem;
  line-height:1.7;
  color:var(--muted);
}

.poster-section{
  padding:20px 0 40px;
  text-align:center;
}

.admissions-poster{
  display:block;
  margin:0 auto;
  width:100%;
  max-width:700px;
  border-radius:14px;
  box-shadow:var(--shadow);
  border:1px solid var(--line);
}

.large-description-section{
  padding:20px 0 60px;
}

.large-description{
  max-width:950px;
  margin:0 auto;
  font-size:1.1rem;
  line-height:1.9;
  text-align:center;
  color:var(--muted);
}

/* =========================
   FEATURE / BENEFITS CARDS
   ========================= */

.benefits-section{
  padding:40px 0 70px;
}

.benefits-section h2{
  text-align:center;
  font-size:2.2rem;
  color:var(--text);
  margin-bottom:30px;
}

.benefits-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
}

.benefit-card{
  background:linear-gradient(180deg, rgba(14,36,67,.88), rgba(11,27,51,.70));
  border:1px solid var(--line);
  border-radius:16px;
  padding:20px;
  box-shadow:0 10px 26px rgba(0,0,0,.18);
  transition:transform .3s ease, box-shadow .3s ease;
}

.benefit-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow);
}

.benefit-card h3{
  color:var(--text);
  font-size:1.25rem;
  margin:0 0 10px;
}

.benefit-card p{
  color:var(--muted);
  font-size:0.98rem;
  margin:0;
}

/* =========================
   FACILITIES WITH IMAGE / VIDEO
   ========================= */

.facilities-section{
  padding:60px 0 80px;
}

.facilities-section h2{
  text-align:center;
  font-size:2.2rem;
  color:var(--text);
  margin-bottom:40px;
}

.facilities-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
  align-items:start;
}

.facility-card{
  background:linear-gradient(180deg, rgba(14,36,67,.88), rgba(11,27,51,.70));
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(0,0,0,.18);
  transition:transform .3s ease, box-shadow .3s ease;
  display:flex;
  flex-direction:column;
}

.facility-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow);
}

.facility-media-wrap{
  width:100%;
  height:220px;
  overflow:hidden;
  background:#000;
  flex-shrink:0;
}

.facility-card img,
.facility-card .facility-media{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.facility-card h3{
  font-size:1.35rem;
  color:var(--text);
  margin:18px 18px 10px;
}

.facility-card p{
  font-size:1rem;
  line-height:1.7;
  color:var(--muted);
  margin:0;
  padding:0 18px 22px;
}

/* =========================
   FOOTER
   ========================= */

.footer{
  margin-top:30px;
  border-top:1px solid var(--line);
  padding:24px 0;
  color:var(--muted);
}

.footerGrid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
}

.footer a{
  color:var(--muted);
}

.footer a:hover{
  color:var(--text);
}

/* =========================
   UTILITIES
   ========================= */

.text-center{
  text-align:center;
}

.mt-0{ margin-top:0; }
.mb-0{ margin-bottom:0; }

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1200px){
  .facilityGrid{
    grid-template-columns:repeat(4, 1fr);
  }
}

@media (max-width: 1100px){
  .brand-text .large{
    font-size:18px;
  }

  .links{
    gap:4px;
  }

  .links a{
    padding:10px 11px;
  }

  .benefits-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 992px){
  .facilities-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 920px){
  h1{
    font-size:38px;
  }

  .heroGrid,
  .grid3,
  .split,
  .footerGrid{
    grid-template-columns:1fr;
  }

  .heroImage{
    min-height:300px;
  }

  .links{
    display:none;
  }

  .menuBtn{
    display:inline-grid;
    place-items:center;
  }

  .links.open{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    display:grid;
    gap:8px;
    margin-top:12px;
    padding:12px;
    border-radius:18px;
    background:rgba(7,18,37,.96);
    border:1px solid var(--line);
    box-shadow:var(--shadow);
  }

  .links.open a{
    display:block;
    width:100%;
  }

  .brand-badge{
    min-height:78px;
    padding:8px 22px 8px 14px;
  }

  .brand .logo{
    height:58px;
  }

  .brand-text .small{
    font-size:13px;
  }

  .brand-text .large{
    font-size:17px;
  }

  .subjectGrid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 800px){
  .facilityGrid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 768px){
  .page-intro h1{
    font-size:2.2rem;
  }

  .facilities-grid{
    grid-template-columns:1fr;
  }

  .facility-media-wrap{
    height:200px;
  }
}

@media (max-width: 620px){
  .container{
    width:min(var(--max), calc(100% - 20px));
  }

  .nav{
    gap:12px;
  }

  .brand{
    gap:12px;
  }

  .brand-badge{
    min-height:68px;
    padding:8px 16px 8px 10px;
    border-radius:20px;
  }

  .brand .logo{
    height:48px;
  }

  .brand-text .small{
    font-size:12px;
    margin-bottom:4px;
  }

  .brand-text .large{
    font-size:15px;
  }

  h1{
    font-size:32px;
  }

  .heroInner,
  .card{
    padding:16px;
  }

  .pageHeader h1{
    font-size:30px;
  }

  .subjectGrid,
  .benefits-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 600px){
  .subjectGrid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 500px){
  .facilityGrid{
    grid-template-columns:1fr;
  }
}
.aboutFacilitiesGrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:20px;
  margin-top:20px;
}

.aboutFacilityCard{
  background: linear-gradient(180deg, rgba(14,36,67,.88), rgba(11,27,51,.70));
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  transition:0.3s;
  box-shadow:0 10px 26px rgba(0,0,0,.18);
}

.aboutFacilityCard:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow);
}

.aboutFacilityCard img{
  width:100%;
  height:180px;
  object-fit:cover;
}

.aboutFacilityCard h4{
  font-size:16px;
  color:var(--text);
  margin:14px 14px 6px;
}

.aboutFacilityCard p{
  font-size:13px;
  color:var(--muted);
  margin:0;
  padding:0 14px 16px;
  line-height:1.5;
}
@media (max-width: 1000px){
  .aboutFacilitiesGrid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px){
  .aboutFacilitiesGrid{
    grid-template-columns: 1fr;
  }
}
.map-container{
  margin-top:15px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.map-container iframe{
  width:100%;
  height:400px;
  border:0;
}