
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0B1F3A; --gold: #C9952A; --gold-light: #F5D98B;
  --cream: #FAF7F2; --white: #FFFFFF; --text: #1C1C1C;
  --muted: #5A5A5A; --border: rgba(11,31,58,0.12);
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); font-size: 16px; line-height: 1.7; overflow-x: hidden; }

.page { display: none; animation: fadeIn 0.35s ease; }
.page.active { display: block; }
@keyframes fadeIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes scrollPulse { 0%,100%{opacity:.4;} 50%{opacity:1;} }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4%; height: 64px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.nav-brand { font-family:'Playfair Display',serif; color:var(--gold); font-size:1.15rem; font-weight:700; cursor:pointer; letter-spacing:.02em; }
.nav-links { display:flex; gap:0.15rem; list-style:none; }
.nav-links li a {
  color: rgba(255,255,255,0.7); text-decoration:none;
  font-size:0.82rem; font-weight:500; letter-spacing:.04em; text-transform:uppercase;
  padding: 8px 13px; border-radius:4px; transition:all .2s; cursor:pointer; display:block;
}
.nav-links li a:hover { color:var(--gold-light); background:rgba(255,255,255,0.05); }
.nav-links li a.active { color:var(--gold); background:rgba(201,149,42,0.12); }
.nav-links li a.nav-cta { background:var(--gold); color:var(--navy) !important; }
.nav-links li a.nav-cta:hover { background:var(--gold-light); }

.page-banner { background: var(--navy); padding: 110px 5% 60px; position: relative; overflow: hidden; }
.page-banner::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse 70% 80% at 20% 50%, rgba(201,149,42,0.1) 0%, transparent 65%); }
.page-banner-inner { position:relative; max-width:1100px; margin:0 auto; }
.page-banner-tag { font-size:.75rem; font-weight:500; text-transform:uppercase; letter-spacing:.18em; color:var(--gold); margin-bottom:.6rem; }
.page-banner-title { font-family:'Playfair Display',serif; font-size:clamp(2rem,5vw,3.5rem); font-weight:900; color:var(--white); line-height:1.1; margin-bottom:.8rem; }
.page-banner-title span { color:var(--gold); }
.page-banner-sub { color:rgba(255,255,255,.6); font-size:1rem; max-width:560px; }

section { padding: 70px 5%; }
.section-tag { font-size:.75rem; font-weight:500; text-transform:uppercase; letter-spacing:.18em; color:var(--gold); margin-bottom:.75rem; }
.section-title { font-family:'Playfair Display',serif; font-size:clamp(1.8rem,4vw,2.8rem); font-weight:700; color:var(--navy); line-height:1.15; margin-bottom:1.2rem; }
.section-lead { font-size:1rem; color:var(--muted); max-width:600px; line-height:1.8; }
.max-wrap { max-width:1100px; margin:0 auto; }

#hero { min-height:100vh; background:var(--navy); display:flex; align-items:center; justify-content:center; text-align:center; padding:100px 5% 80px; position:relative; overflow:hidden; }
#hero::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 80% 60% at 50% 40%,rgba(201,149,42,.12) 0%,transparent 70%); }
.hero-badge { display:inline-block; border:1px solid rgba(201,149,42,.5); color:var(--gold-light); font-size:.78rem; letter-spacing:.18em; text-transform:uppercase; padding:6px 18px; border-radius:2px; margin-bottom:2rem; animation:fadeUp .7s ease both; }
.hero-title { font-family:'Playfair Display',serif; font-size:clamp(2.8rem,7vw,5.5rem); font-weight:900; color:var(--white); line-height:1.08; margin-bottom:.4rem; animation:fadeUp .7s .15s ease both; }
.hero-title span { color:var(--gold); }
.hero-subtitle { font-family:'Playfair Display',serif; font-size:clamp(1.1rem,2.5vw,1.5rem); color:rgba(255,255,255,.55); font-weight:400; margin-bottom:1.8rem; animation:fadeUp .7s .25s ease both; }
.hero-desc { max-width:560px; margin:0 auto 3rem; color:rgba(255,255,255,.65); font-size:1rem; line-height:1.8; animation:fadeUp .7s .35s ease both; }
.hero-btns { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; animation:fadeUp .7s .45s ease both; }
.btn-primary { background:var(--gold); color:var(--navy); padding:13px 32px; border-radius:4px; font-weight:500; font-size:.92rem; text-decoration:none; transition:background .2s,transform .15s; cursor:pointer; border:none; font-family:inherit; }
.btn-primary:hover { background:var(--gold-light); transform:translateY(-1px); }
.btn-outline { border:1px solid rgba(255,255,255,.35); color:var(--white); padding:13px 32px; border-radius:4px; font-weight:500; font-size:.92rem; text-decoration:none; transition:border-color .2s,background .2s; cursor:pointer; background:transparent; font-family:inherit; }
.btn-outline:hover { border-color:var(--gold); background:rgba(201,149,42,.1); }
.hero-scroll { position:absolute; bottom:2rem; left:50%; transform:translateX(-50%); color:rgba(255,255,255,.3); font-size:.75rem; letter-spacing:.15em; text-transform:uppercase; display:flex; flex-direction:column; align-items:center; gap:8px; animation:fadeUp .7s .6s ease both; }
.scroll-line { width:1px; height:40px; background:linear-gradient(to bottom,var(--gold),transparent); animation:scrollPulse 2s ease-in-out infinite; }

.stats-bar { background:var(--white); display:flex; flex-wrap:wrap; justify-content:center; border-bottom:1px solid var(--border); box-shadow:0 2px 12px rgba(0,0,0,.05); }
.stat-item { flex:1; min-width:150px; padding:1.8rem 1.2rem; text-align:center; border-right:1px solid var(--border); }
.stat-item:last-child { border-right:none; }
.stat-num { font-family:'Playfair Display',serif; font-size:2.2rem; font-weight:700; color:var(--navy); line-height:1; margin-bottom:.3rem; }
.stat-num span { color:var(--gold); }
.stat-label { font-size:.78rem; color:var(--muted); text-transform:uppercase; letter-spacing:.08em; }

.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center; max-width:1100px; margin:0 auto; }
.founder-card { background:var(--navy); border-radius:8px; padding:2.5rem; color:var(--white); position:relative; overflow:hidden; }
.founder-card::before { content:''; position:absolute; top:-40px; right:-40px; width:140px; height:140px; border-radius:50%; background:rgba(201,149,42,.15); }
.founder-img { width:76px; height:76px; border-radius:50%; background:rgba(201,149,42,.2); border:2px solid var(--gold); display:flex; align-items:center; justify-content:center; font-size:1.7rem; margin-bottom:1.1rem; }
.founder-img img { width:100%; height:100%; object-fit: cover; border-radius:50%; }
.founder-name { font-family:'Playfair Display',serif; font-size:1.15rem; color:var(--gold); margin-bottom:.2rem; }
.founder-role { font-size:.76rem; color:rgba(255,255,255,.5); text-transform:uppercase; letter-spacing:.1em; margin-bottom:.9rem; }
.founder-quote { font-size:.9rem; color:rgba(255,255,255,.8); font-style:italic; line-height:1.75; }
.estd-badge { position:absolute; bottom:0rem; right:0rem; background:var(--gold); color:var(--navy); font-family:'Playfair Display',serif; font-size:.8rem; font-weight:700; padding:9px 18px; border-radius:4px; }
.values-list { list-style:none; margin-top:2rem; display:flex; flex-direction:column; gap:1rem; }
.values-list li { display:flex; gap:1rem; align-items:flex-start; padding:.9rem 1.1rem; background:var(--white); border-radius:6px; border-left:3px solid var(--gold); }
.val-icon { font-size:1.1rem; flex-shrink:0; }
.val-title { font-weight:500; color:var(--navy); margin-bottom:.2rem; font-size:.9rem; }
.val-desc { font-size:.82rem; color:var(--muted); }



.programs-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:1.25rem; margin-top:2.5rem; }
.program-card { background:rgba(255,255,255,.05); border:1px solid rgba(201,149,42,.2); border-radius:8px; padding:1.75rem; transition:background .25s,transform .2s; }
.program-card:hover { background:rgba(255,255,255,.09); transform:translateY(-3px); }
.prog-icon { font-size:1.6rem; margin-bottom:.9rem; }
.prog-title { font-family:'Playfair Display',serif; font-size:1.1rem; color:var(--gold); margin-bottom:.4rem; }
.prog-desc { font-size:.84rem; color:rgba(255,255,255,.65); line-height:1.75; }
.prog-classes { display:flex; gap:.5rem; flex-wrap:wrap; margin-top:.9rem; }
.prog-tag { font-size:.68rem; font-weight:500; text-transform:uppercase; letter-spacing:.08em; background:rgba(201,149,42,.15); color:var(--gold-light); padding:3px 9px; border-radius:3px; }

.steps-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:0; margin:2.5rem 0; background:var(--white); border-radius:10px; overflow:hidden; box-shadow:0 4px 24px rgba(0,0,0,.06); }
.step { padding:1.8rem 1.4rem; text-align:center; border-right:1px solid var(--border); }
.step:last-child { border-right:none; }
.step-num { font-family:'Playfair Display',serif; font-size:2.2rem; font-weight:700; color:var(--gold); opacity:.3; line-height:1; margin-bottom:.7rem; }
.step-title { font-weight:500; color:var(--navy); margin-bottom:.35rem; font-size:.92rem; }
.step-desc { font-size:.82rem; color:var(--muted); }
.admission-cta { background:var(--navy); border-radius:10px; padding:2.5rem; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1.5rem; }
.adm-cta-text { font-family:'Playfair Display',serif; font-size:1.4rem; color:var(--white); max-width:460px; line-height:1.3; }
.adm-cta-text span { color:var(--gold); }

.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:3.5rem; max-width:1100px; margin:2.5rem auto 0; }
.contact-info { display:flex; flex-direction:column; gap:1.4rem; }
.contact-block { display:flex; gap:1rem; align-items:flex-start; }
.c-icon { width:42px; height:42px; border-radius:50%; background:rgba(201,149,42,.15); border:1px solid rgba(201,149,42,.3); display:flex; align-items:center; justify-content:center; font-size:1rem; flex-shrink:0; }
.c-label { font-size:.7rem; text-transform:uppercase; letter-spacing:.1em; color:var(--gold); margin-bottom:.2rem; }
.c-value { color:rgba(255,255,255,.85); font-size:.9rem; }
.contact-form { display:flex; flex-direction:column; gap:.9rem; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:.9rem; }
.form-input,.form-textarea { width:100%; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.15); border-radius:5px; padding:11px 15px; color:var(--white); font-family:'DM Sans',sans-serif; font-size:.88rem; transition:border-color .2s; outline:none; }
.form-input::placeholder,.form-textarea::placeholder { color:rgba(255,255,255,.35); }
.form-input:focus,.form-textarea:focus { border-color:var(--gold); }
.form-textarea { resize:vertical; min-height:100px; }
.form-select option { background:var(--navy); }
.form-submit { background:var(--gold); color:var(--navy); border:none; border-radius:5px; padding:13px 30px; font-family:'DM Sans',sans-serif; font-size:.92rem; font-weight:500; cursor:pointer; transition:background .2s; align-self:flex-start; }
.form-submit:hover { background:var(--gold-light); }

footer { background:#060E1A; padding:2.5rem 5% 1.8rem; text-align:center; }
.footer-logo { font-family:'Playfair Display',serif; color:var(--gold); font-size:1.25rem; font-weight:700; margin-bottom:.35rem; }
.footer-tagline { color:rgba(255,255,255,.35); font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; }
.footer-divider { border:none; border-top:1px solid rgba(255,255,255,.08); margin:1.2rem 0; }
.footer-copy { font-size:.76rem; color:rgba(255,255,255,.3); }

/* SYLLABUS */
.syllabus-wrap { max-width:1100px; margin:0 auto; }
.class-tabs { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:2.5rem; }
.class-tab { padding:8px 20px; border-radius:5px; border:1px solid var(--border); background:var(--white); color:var(--muted); font-size:.83rem; font-weight:500; cursor:pointer; transition:all .2s; }
.class-tab:hover { border-color:var(--gold); color:var(--navy); }
.class-tab.active { background:var(--navy); color:var(--gold); border-color:var(--navy); }
.syllabus-panel { display:none; }
.syllabus-panel.active { display:block; animation:fadeIn .3s ease; }
.subjects-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(290px,1fr)); gap:1.2rem; }
.subject-card { background:var(--white); border-radius:8px; border:1px solid var(--border); overflow:hidden; }
.subject-head { background:var(--navy); padding:.9rem 1.1rem; display:flex; align-items:center; gap:.7rem; }
.subject-icon { font-size:1.2rem; }
.subject-name { font-family:'Playfair Display',serif; color:var(--gold); font-size:1rem; }
.subject-body { padding:1.1rem; }
.topic-list { list-style:none; display:flex; flex-direction:column; gap:.45rem; }
.topic-list li { font-size:.83rem; color:var(--muted); padding:.3rem .7rem; background:var(--cream); border-radius:4px; border-left:2px solid var(--gold); }
.info-note { margin-top:1.8rem; padding:1.1rem 1.4rem; background:rgba(201,149,42,.07); border:1px solid rgba(201,149,42,.25); border-radius:8px; font-size:.86rem; color:var(--muted); }
.info-note strong { color:var(--navy); }

/* ROUTINES */
.routines-wrap { max-width:1100px; margin:0 auto; }
.routine-tabs { display:flex; gap:.5rem; margin-bottom:2.5rem; flex-wrap:wrap; }
.routine-tab { padding:9px 22px; border-radius:5px; border:1px solid var(--border); background:var(--white); color:var(--muted); font-size:.83rem; font-weight:500; cursor:pointer; transition:all .2s; }
.routine-tab:hover { border-color:var(--gold); color:var(--navy); }
.routine-tab.active { background:var(--navy); color:var(--gold); border-color:var(--navy); }
.routine-panel { display:none; }
.routine-panel.active { display:block; animation:fadeIn .3s ease; }

.timetable { width:100%; border-collapse:collapse; background:var(--white); border-radius:10px; overflow:hidden; box-shadow:0 4px 20px rgba(0,0,0,.06); }
.timetable thead tr { background:var(--navy); }
.timetable thead th { padding:.9rem 1rem; text-align:left; color:var(--gold); font-size:.76rem; font-weight:500; text-transform:uppercase; letter-spacing:.08em; }
.timetable tbody tr { border-bottom:1px solid var(--border); }
.timetable tbody tr:last-child { border-bottom:none; }
.timetable tbody tr:hover { background:rgba(201,149,42,.03); }
.timetable td { padding:.8rem 1rem; font-size:.85rem; vertical-align:middle; }
.timetable td.time-col { font-weight:500; color:var(--navy); font-size:.78rem; width:100px; white-space:nowrap; }
.pb { display:inline-block; padding:2px 9px; border-radius:3px; font-size:.74rem; font-weight:500; white-space:nowrap; }
.pb-math { background:#e8f0fe; color:#1a56db; }
.pb-sci { background:#e3f9e5; color:#1a7a2e; }
.pb-en { background:#fef3c7; color:#92400e; }
.pb-bn { background:#fce7f3; color:#9d174d; }
.pb-ss { background:#ede9fe; color:#5521b5; }
.pb-hi { background:#fee2e2; color:#991b1b; }
.pb-brk { background:#f3f4f6; color:#6b7280; font-style:italic; }
.pb-pe { background:#ecfdf5; color:#065f46; }
.pb-it { background:#eff6ff; color:#1e40af; }
.pb-art { background:#fdf4ff; color:#7e22ce; }

.exam-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:1.1rem; }
.exam-card { background:var(--white); border-radius:8px; border:1px solid var(--border); padding:1.3rem; display:flex; gap:.9rem; align-items:flex-start; }
.exam-date-box { background:var(--navy); border-radius:6px; padding:.55rem .8rem; text-align:center; flex-shrink:0; min-width:58px; }
.exam-month { font-size:.62rem; text-transform:uppercase; letter-spacing:.1em; color:var(--gold); }
.exam-day { font-family:'Playfair Display',serif; font-size:1.7rem; color:var(--white); line-height:1.1; }
.exam-name { font-weight:500; color:var(--navy); font-size:.92rem; margin-bottom:.2rem; }
.exam-classes { font-size:.78rem; color:var(--muted); }
.exam-tag { display:inline-block; margin-top:.45rem; font-size:.68rem; padding:2px 8px; border-radius:3px; font-weight:500; }
.et-unit { background:#fef3c7; color:#92400e; }
.et-half { background:#dbeafe; color:#1e40af; }
.et-annual { background:#d1fae5; color:#065f46; }
.et-pre { background:#ede9fe; color:#5521b5; }

.holiday-list { display:flex; flex-direction:column; gap:.65rem; }
.holiday-item { background:var(--white); border-radius:7px; border:1px solid var(--border); padding:.9rem 1.3rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.hol-name { font-weight:500; color:var(--navy); font-size:.9rem; }
.hol-date { font-size:.78rem; color:var(--muted); }
.hol-type { font-size:.7rem; padding:3px 10px; border-radius:3px; font-weight:500; white-space:nowrap; flex-shrink:0; }
.ht-nat { background:#dbeafe; color:#1e40af; }
.ht-rel { background:#fce7f3; color:#9d174d; }
.ht-sch { background:#d1fae5; color:#065f46; }
.ht-sum { background:#fff7ed; color:#c2410c; }

/* PHOTOS */
.photos-wrap { max-width:1100px; margin:0 auto; }
.photo-filter { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:2.5rem; }
.pfb { padding:7px 18px; border-radius:20px; border:1px solid var(--border); background:var(--white); color:var(--muted); font-size:.81rem; font-weight:500; cursor:pointer; transition:all .2s; }
.pfb:hover { border-color:var(--gold); color:var(--navy); }
.pfb.active { background:var(--navy); color:var(--gold); border-color:var(--navy); }
.photo-grid { columns:3; gap:1rem; }
.photo-item { break-inside:avoid; margin-bottom:1rem; border-radius:8px; overflow:hidden; position:relative; cursor:pointer; transition:transform .25s; }
.photo-item:hover { transform:scale(1.02); }
.photo-item.hidden { display:none; }
.photo-item:hover .photo-overlay { opacity:1; }
.photo-ph { width:100%; display:flex; align-items:center; justify-content:center; font-size:2.8rem; }
.ph-t { height:300px; } .ph-m { height:210px; } .ph-s { height:165px; }
.photo-overlay { position:absolute; inset:0; background:rgba(11,31,58,.75); display:flex; flex-direction:column; align-items:center; justify-content:center; opacity:0; transition:opacity .25s; }
.po-title { font-family:'Playfair Display',serif; color:var(--white); font-size:.92rem; margin-bottom:.2rem; text-align:center; padding:0 .8rem; }
.po-sub { font-size:.73rem; color:rgba(255,255,255,.65); text-align:center; }
.c1{background:linear-gradient(135deg,#1a3a5c,#0B1F3A);}
.c2{background:linear-gradient(135deg,#2d5016,#1a3a0a);}
.c3{background:linear-gradient(135deg,#5c3a0a,#3a2006);}
.c4{background:linear-gradient(135deg,#3a0a3a,#1e0524);}
.c5{background:linear-gradient(135deg,#0a3a3a,#042020);}
.c6{background:linear-gradient(135deg,#3a1a0a,#200a05);}
.c7{background:linear-gradient(135deg,#1a1a3a,#0a0a20);}
.c8{background:linear-gradient(135deg,#3a2a0a,#201500);}
.c9{background:linear-gradient(135deg,#0a2a1a,#041510);}

.upload-zone { border:2px dashed rgba(201,149,42,.35); border-radius:10px; padding:2.5rem; text-align:center; margin-top:2rem; background:rgba(201,149,42,.03); }
.upload-zone-icon { font-size:2.2rem; margin-bottom:.8rem; }
.upload-zone-title { font-family:'Playfair Display',serif; color:var(--navy); font-size:1.15rem; margin-bottom:.4rem; }
.upload-zone-desc { font-size:.83rem; color:var(--muted); margin-bottom:1.3rem; }

.lightbox { position:fixed; inset:0; background:rgba(0,0,0,.92); z-index:999; display:none; align-items:center; justify-content:center; flex-direction:column; }
.lightbox.open { display:flex; }
.lb-img { width:320px; height:240px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:5rem; }
.lb-title { font-family:'Playfair Display',serif; color:var(--white); font-size:1.15rem; margin-top:1.3rem; }
.lb-sub { color:rgba(255,255,255,.55); font-size:.82rem; margin-top:.25rem; }
.lb-close { position:absolute; top:1.5rem; right:1.5rem; background:none; border:1px solid rgba(255,255,255,.3); color:var(--white); width:38px; height:38px; border-radius:50%; cursor:pointer; font-size:1rem; }
.lb-close:hover { background:rgba(255,255,255,.1); }

@media(max-width:768px){
  .nav-links li a { padding:5px 9px; font-size:.74rem; letter-spacing:.02em; }
  .about-grid,.contact-grid { grid-template-columns:1fr; gap:2.5rem; }
  .form-row { grid-template-columns:1fr; }
  .photo-grid { columns:2; }
  .admission-cta { flex-direction:column; }
  .steps-row { grid-template-columns:1fr 1fr; }
  .timetable thead th,.timetable td { font-size:.72rem; padding:.6rem .6rem; }
}
@media(max-width:480px){
  .photo-grid { columns:1; }
  .nav-links li a { padding:5px 6px; font-size:.68rem; }
}
