
:root{
  --navy:#062f62;
  --navy-dark:#031f43;
  --blue:#0c55a5;
  --gold:#f2b632;
  --gold2:#ffd86c;
  --white:#fff;
  --text:#17314f;
  --muted:#64758a;
  --line:#e5eaf0;
  --soft:#fbfaf7;
  --shadow:0 16px 38px rgba(4,39,79,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:#fff;
  font-family:"DM Sans","Segoe UI",Arial,sans-serif;
  line-height:1.5;
}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button,input,textarea,select{font:inherit}
.container{
  width:min(92vw,1480px);
  margin-inline:auto;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:#fff;
  box-shadow:0 4px 14px rgba(0,0,0,.07);
}
.topbar{
  min-height:108px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:10px 0;
}
.brand-block{
  display:flex;
  align-items:center;
  gap:24px;
  min-width:0;
}
.brand-logo{
  width:390px;
  max-height:88px;
  object-fit:contain;
  object-position:left center;
}
.tagline-stack{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding-left:22px;
  border-left:1px solid #cfd7e1;
}
.tagline-title{
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  line-height:1.25;
  color:#52637a;
}
.tagline-sub{
  font-size:12px;
  line-height:1.35;
  color:#7b8797;
  max-width:270px;
}
.top-highlights{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:28px;
}
.top-highlights div{
  display:grid;
  grid-template-columns:auto auto;
  column-gap:8px;
  align-items:center;
}
.top-highlights div>span{
  grid-row:1/3;
  font-size:25px;
}
.top-highlights b{
  color:var(--navy);
  font-size:13px;
  line-height:1.1;
}
.top-highlights small{
  color:#68788b;
  font-size:11px;
  line-height:1.15;
}
.menu-btn{
  display:none;
  border:0;
  background:none;
  color:var(--navy);
  font-size:28px;
  cursor:pointer;
}

/* Nav */
.main-nav{
  background:linear-gradient(90deg,#062a56,#073a70);
}
.nav-inner{
  min-height:58px;
  display:flex;
  align-items:center;
  gap:30px;
  color:#fff;
  font-weight:600;
  font-size:15px;
}
.nav-inner a{
  padding:18px 0;
  white-space:nowrap;
  position:relative;
}
.nav-inner a.active::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:4px;
  background:var(--gold);
}
.nav-inner a:hover{color:#ffdf8b}
.nav-cta{
  margin-left:auto;
  padding:10px 22px!important;
  border-radius:10px;
  background:linear-gradient(90deg,var(--gold),var(--gold2));
  color:var(--navy-dark)!important;
  font-weight:800;
}

/* Hero: fixed path + true two-part composition, matching the mock */
.hero{
  position:relative;
  min-height:68vh;
  max-height:820px;
  overflow:hidden;
  background:linear-gradient(90deg,#031e40 0%,#062f62 48%,#d8e1e9 100%);
  isolation:isolate;
}
.hero-bg{
  position:absolute;
  z-index:-3;
  top:0;
  right:0;
  width:67%;
  height:100%;
  background:url("hero-students.jpg") center 42% / cover no-repeat;
}
.hero-overlay{
  position:absolute;
  z-index:-2;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(3,30,64,.98) 0%,
      rgba(3,30,64,.92) 28%,
      rgba(3,30,64,.72) 46%,
      rgba(3,30,64,.17) 72%,
      rgba(3,30,64,.03) 100%);
}
.hero-grid{
  min-height:68vh;
  max-height:820px;
  display:grid;
  grid-template-columns:minmax(0,720px) 1fr;
  align-items:center;
  gap:24px;
  position:relative;
}
.hero-copy{
  color:#fff;
  padding:50px 0 42px;
  align-self:center;
}
.hero-copy h1{
  margin:0 0 18px;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:700;
  font-size:clamp(46px,4.3vw,76px);
  line-height:1.05;
  letter-spacing:-1.6px;
  text-shadow:0 2px 8px rgba(0,0,0,.18);
}
.hero-copy h1 em{
  display:inline;
  color:var(--gold);
  font-style:normal;
}
.hero-copy p{
  max-width:640px;
  margin:0 0 24px;
  font-size:clamp(17px,1.35vw,22px);
  line-height:1.45;
  color:#eef4fb;
}
.admissions-ribbon{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:13px 22px;
  border-radius:11px;
  background:linear-gradient(90deg,var(--gold),var(--gold2));
  color:var(--navy-dark);
  box-shadow:0 10px 25px rgba(240,180,50,.22);
  font:700 clamp(18px,1.6vw,25px) Georgia,"Times New Roman",serif;
}
.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:13px;
  margin:18px 0 27px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:48px;
  padding:12px 22px;
  border:1px solid transparent;
  border-radius:999px;
  font-weight:800;
  cursor:pointer;
  transition:.2s transform,.2s box-shadow;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{
  background:#0c4f9a;
  color:#fff;
  box-shadow:0 10px 22px rgba(7,67,132,.27);
}
.btn-white{background:#fff;color:var(--navy)}
.btn-gold{
  background:linear-gradient(90deg,var(--gold),var(--gold2));
  color:var(--navy-dark);
}
.btn.full{width:100%}
.quick-values{
  display:flex;
  align-items:flex-start;
  gap:26px;
  flex-wrap:wrap;
}
.quick-values div{
  display:flex;
  flex-direction:column;
  align-items:center;
  min-width:76px;
}
.quick-values span{font-size:29px}
.quick-values small{
  margin-top:5px;
  color:#e6eef7;
  font-size:11px;
  line-height:1.2;
  text-align:center;
}
.floating-actions-panel{
  position:absolute;
  right:2px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:3;
}
.floating-actions-panel a{
  min-width:88px;
  padding:11px 14px;
  border-radius:999px;
  color:#fff;
  text-align:center;
  font-weight:800;
  font-size:12px;
  box-shadow:0 9px 22px rgba(0,0,0,.18);
}
.floating-actions-panel .wa{background:#17b956}
.floating-actions-panel .call{background:#155cc4}
.floating-actions-panel .visit{background:#d5a529}

/* Immediately below hero */
.mini-info{
  background:#fff;
  border-bottom:1px solid var(--line);
}
.mini-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  padding:16px 0;
}
.mini-grid article{
  display:flex;
  align-items:center;
  gap:13px;
  padding:7px 24px;
  border-right:1px solid var(--line);
}
.mini-grid article:first-child{padding-left:0}
.mini-grid article:last-child{border-right:0;padding-right:0}
.mini-grid article>span{font-size:28px}
.mini-grid strong{
  display:block;
  color:var(--navy);
  font-size:13px;
  line-height:1.25;
}
.mini-grid small{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:10px;
}

/* Mock-style cards + enquiry form */
.cards-section{
  padding:22px 0 66px;
  background:#fbfaf7;
}
.cards-and-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:18px;
  align-items:stretch;
}
.home-cards{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.home-card{
  min-width:0;
  background:#fff;
  border:1px solid #eceff3;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 9px 24px rgba(7,39,75,.06);
}
.home-card>img{
  width:100%;
  aspect-ratio:1.45/1;
  object-fit:cover;
}
.card-body{
  position:relative;
  padding:18px 17px 17px;
}
.circle-icon{
  width:47px;height:47px;
  display:grid;place-items:center;
  position:absolute;
  top:-28px;left:16px;
  border:4px solid #fff;
  border-radius:50%;
  background:#0d59a8;
  color:#fff;
  font-size:21px;
}
.home-card h3{
  margin:9px 0 7px;
  color:var(--navy);
  font:700 20px Georgia,"Times New Roman",serif;
}
.home-card p{
  min-height:43px;
  margin:0 0 15px;
  color:#425973;
  font-size:13px;
}
.home-card a{
  color:#0d55a3;
  font-size:12px;
  font-weight:800;
}
.enquiry-box{
  min-height:100%;
  padding:23px;
  border-radius:16px;
  background:linear-gradient(160deg,#063568,#073c72);
  color:#fff;
  box-shadow:var(--shadow);
}
.enquiry-head{
  display:flex;
  align-items:center;
  gap:11px;
  margin-bottom:14px;
}
.enquiry-head img{
  width:43px;height:43px;
  border-radius:8px;
  object-fit:contain;
  background:#fff;
}
.enquiry-head h3{
  margin:0;
  font:700 20px Georgia,"Times New Roman",serif;
}
.enquiry-head p{
  margin:2px 0 0;
  color:#e0ebf6;
  font-size:12px;
}
.enquiry-box form{display:grid;gap:10px}
.enquiry-box input,.enquiry-box select,
.contact-form input,.contact-form textarea{
  width:100%;
  padding:12px 13px;
  border:1px solid #d9e1ea;
  border-radius:8px;
  background:#fff;
  color:var(--text);
  outline:none;
}
.enquiry-box input:focus,.enquiry-box select:focus,
.contact-form input:focus,.contact-form textarea:focus{
  border-color:#68a5dd;
  box-shadow:0 0 0 3px rgba(13,85,163,.08);
}
.two-col{display:grid;grid-template-columns:86px 1fr;gap:8px}

/* Remaining homepage sections */
.section{padding:78px 0}
.light{background:var(--soft)}
.split,.feature-row,.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:58px;
  align-items:center;
}
.image-panel img,.feature-row img{
  width:100%;
  border-radius:22px;
  box-shadow:var(--shadow);
}
.eyebrow{
  text-transform:uppercase;
  letter-spacing:1.8px;
  color:#0d55a3;
  font-size:11px;
  font-weight:800;
}
.eyebrow.white{color:#ffda7b}
.copy-panel h2,.section-head h2,.feature-row h2,.visit-box h2,.contact-grid h2{
  margin:9px 0 15px;
  color:var(--navy);
  font:700 clamp(31px,2.8vw,44px)/1.18 Georgia,"Times New Roman",serif;
}
.copy-panel p,.section-head p,.feature-row p,.visit-box p,.contact-grid p{
  color:#52677e;
  font-size:16px;
}
.bullets{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:22px;
}
.bullets div,.detail-grid article{
  padding:17px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.bullets strong{display:block;color:var(--navy);margin-bottom:3px}
.bullets span{font-size:12px;color:var(--muted)}
.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:26px;
}
.section-head>p{max-width:500px}
.detail-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.detail-grid h3{
  margin:0 0 8px;
  color:var(--navy);
  font:700 20px Georgia,"Times New Roman",serif;
}
.detail-grid p{margin:0;font-size:13px;color:var(--muted)}
.band{
  background:linear-gradient(135deg,#032347,#0d4f96);
  color:#fff;
}
.band .feature-row h2,.band .feature-row p{color:#fff}
.visit-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:28px 34px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 28px rgba(0,0,0,.05);
}
.contact-grid{align-items:start}
.footer-logo-preview{
  width:390px;
  max-height:150px;
  object-fit:contain;
  object-position:left center;
  margin-bottom:14px;
}
.contact-form{
  padding:24px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 28px rgba(0,0,0,.06);
}
.contact-form h3{
  margin:0 0 16px;
  color:var(--navy);
  font:700 27px Georgia,"Times New Roman",serif;
}
.contact-form textarea{resize:vertical}
.muted{color:#6f7e8e!important}

/* Footer */
.footer{
  padding:24px 0;
  background:#031f43;
  color:#fff;
}
.footer-wrap{
  display:flex;
  align-items:center;
  gap:20px;
}
.footer-logo{
  width:300px;
  max-height:90px;
  object-fit:contain;
  object-position:left center;
  background:#fff;
  border-radius:10px;
  padding:5px 8px;
}
.footer-wrap strong{font-size:18px}
.footer-wrap p{margin:3px 0 0;color:#cfdaea}

/* Feedback */
.toast{
  position:fixed;
  left:50%;
  bottom:22px;
  z-index:90;
  opacity:0;
  transform:translate(-50%,110px);
  padding:13px 18px;
  border-radius:11px;
  background:#052e60;
  color:#fff;
  box-shadow:var(--shadow);
  transition:.3s;
}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* Wide desktops: keep the top of page visually full-width like the approved mock */
@media(min-width:1450px){
  .topbar.container,
  .nav-inner.container,
  .hero-grid.container,
  .mini-grid.container,
  .cards-and-form.container{
    width:94vw;
    max-width:none;
  }
  .home-card h3{font-size:19px}
}

/* Tablet */
@media(max-width:1180px){
  .top-highlights{display:none}
  .tagline-stack{display:none}
  .brand-logo{width:340px}
  .home-cards{grid-template-columns:repeat(2,1fr)}
  .cards-and-form{grid-template-columns:1fr 320px}
  .mini-grid{grid-template-columns:repeat(2,1fr)}
  .mini-grid article:nth-child(2){border-right:0}
}
@media(max-width:940px){
  .menu-btn{display:block}
  .nav-inner{
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:12px 0 18px;
  }
  .nav-inner.open{display:flex}
  .nav-inner a{padding:10px 0}
  .nav-cta{margin-left:0;text-align:center}
  .hero{min-height:620px}
  .hero-bg{width:100%;opacity:.56}
  .hero-grid{min-height:620px;grid-template-columns:1fr}
  .hero-overlay{background:rgba(3,30,64,.77)}
  .hero-copy{max-width:680px}
  .floating-actions-panel{
    position:static;
    transform:none;
    flex-direction:row;
    padding-bottom:22px;
  }
  .cards-and-form{grid-template-columns:1fr}
  .split,.feature-row,.contact-grid{grid-template-columns:1fr}
  .detail-grid{grid-template-columns:repeat(2,1fr)}
  .section-head{align-items:flex-start;flex-direction:column}
}
@media(max-width:640px){
  .container{width:calc(100% - 24px)}
  .topbar{min-height:78px}
  .brand-logo{width:255px;max-height:65px}
  .hero{min-height:590px}
  .hero-grid{min-height:590px}
  .hero-copy{padding-top:44px}
  .hero-copy h1{font-size:40px}
  .hero-copy p{font-size:17px}
  .admissions-ribbon{font-size:17px;padding:11px 15px}
  .quick-values{gap:12px}
  .quick-values div{min-width:64px}
  .mini-grid,.home-cards,.detail-grid,.bullets{grid-template-columns:1fr}
  .mini-grid article{border-right:0;border-bottom:1px solid var(--line);padding:11px 0}
  .mini-grid article:last-child{border-bottom:0}
  .home-card>img{aspect-ratio:1.6/1}
  .visit-box{align-items:flex-start;flex-direction:column}
  .footer-wrap{flex-direction:column;align-items:flex-start}
}
