:root{
  --bg:#06121a;
  --card:#0b2230;
  --muted:#a9c2d2;
  --text:#f2f7ff;
  --accent:#22c55e;
  --accent2:#38bdf8;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1180px;
  --navH: 76px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Nastaliq Urdu", "Noto Sans Arabic", sans-serif;
  background: radial-gradient(1200px 800px at 20% -10%, rgba(47,176,255,.18), transparent 60%),
              radial-gradient(900px 700px at 90% 10%, rgba(244,197,66,.14), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.55;
}
a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.topbar{
  background: rgba(10,24,46,.85);
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.topbar .row{
  display:flex; gap:10px; align-items:center; justify-content:space-between;
  padding:10px 0;
}
.brand{display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:.2px;}
.brand img{width:46px; height:46px; object-fit:contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35))}
.brand .title{display:flex; flex-direction:column}
.brand .title span:first-child{font-size:14px; opacity:.95}
.brand .title span:last-child{font-size:12px; color:var(--muted); font-weight:600}

.marquee{
  flex:1;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background: rgba(255,255,255,.03);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}
.marquee .track{
  display:flex; gap:10px; padding:8px;
  width:max-content;
  animation: scroll 22s linear infinite;
}
.marquee:hover .track{animation-play-state: paused;}
@keyframes scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background: rgba(14,33,63,.85);
  border:1px solid rgba(255,255,255,.10);
  text-decoration:none;
  font-weight:700;
  white-space:nowrap;
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}
.pill small{font-weight:700; color:var(--muted)}
.pill.fb{border-color: rgba(24,119,242,.35)}
.pill.yt{border-color: rgba(255,0,0,.35)}
.pill.tt{border-color: rgba(0,0,0,.35)}
.pill.whatsapp{border-color: rgba(37,211,102,.35)}
.pill.phone{border-color: rgba(79,159,255,.35)}
.pill.map{border-color: rgba(244,197,66,.35)}
.pill:hover{transform: translateY(-1px); transition:.15s ease}

.nav{
  position:sticky; top:0; z-index:50;
  background: rgba(8,20,40,.80);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav .row{
  height: var(--navH);
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.menu{display:flex; gap:4px; flex-wrap:wrap; align-items:center}
.menu a{
  padding:10px 12px;
  border-radius:12px;
  text-decoration:none;
  color:rgba(238,244,255,.9);
  font-weight:700;
  font-size:14px;
}
.menu a:hover{background: rgba(255,255,255,.06)}
.cta{display:flex; gap:10px; align-items:center;}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  text-decoration:none;
  font-weight:800;
  cursor:pointer;
  color: inherit;
}
.btn.primary{background: linear-gradient(135deg, rgba(47,176,255,.95), rgba(47,176,255,.65)); border-color: rgba(47,176,255,.55)}
.btn.gold{background: linear-gradient(135deg, rgba(244,197,66,.98), rgba(244,197,66,.55)); border-color: rgba(244,197,66,.55); color:#0a1630}
.btn:hover{transform: translateY(-1px); transition:.15s ease}

.hero{
  position:relative;
  min-height: 82vh;
  display:flex; align-items:center;
  padding: 42px 0 28px;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(8,20,40,.88), rgba(8,20,40,.55) 50%, rgba(8,20,40,.25)),
    radial-gradient(900px 500px at 20% 30%, rgba(47,176,255,.18), transparent 65%),
    url("./assets/images/hero.webp");
  background-size: cover;
  background-position:center;
  filter: saturate(1.05) contrast(1.05);
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to bottom, rgba(8,20,40,.1), rgba(8,20,40,.92));
}
.hero .content{
  position:relative;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:24px;
  align-items:end;
}
@media (max-width: 960px){.hero .content{grid-template-columns:1fr}}
.kicker{
  display:inline-flex; gap:10px; align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-weight:800;
  width:max-content;
}
h1{
  margin:14px 0 12px;
  font-size: clamp(34px, 5vw, 54px);
  line-height:1.08;
  letter-spacing:-.6px;
}
.lead{color: rgba(238,244,255,.88); font-size: 16px; max-width: 60ch}
.heroCard{
  background: rgba(14,33,63,.68);
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.heroStats{display:grid; grid-template-columns:repeat(3, 1fr); gap:12px;}
.stat{
  padding:14px;
  border-radius:16px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}
.stat b{display:block; font-size:20px}
.stat span{color: var(--muted); font-weight:700; font-size:12px}
.note{margin-top:12px; color: rgba(238,244,255,.8); font-size:13px}

.section{padding:64px 0}
.section h2{margin:0 0 12px; font-size:28px;}
.section p{color: rgba(238,244,255,.86)}
.grid2{display:grid; grid-template-columns:1fr 1fr; gap:22px}
@media (max-width: 960px){.grid2{grid-template-columns:1fr}}
.card{
  background: rgba(14,33,63,.62);
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 18px 55px rgba(0,0,0,.25);
}
.badges{display:flex; flex-wrap:wrap; gap:10px; margin-top:10px}
.badge{
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  color: var(--muted);
  font-weight:800;
  font-size:12px;
}

.chair{display:flex; gap:16px; align-items:flex-start;}
.chair img{
  width: 160px; height: 200px;
  border-radius:18px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 38px rgba(0,0,0,.35);
}
@media (max-width:540px){.chair{flex-direction:column}.chair img{width:100%; height:340px}}

.galleryStack{
  position:relative;
  width:min(520px, 100%);
  height: 360px;
  margin: 12px auto 0;
}
.galleryStack .cardImg{
  position:absolute;
  inset:0;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.03);
  transform-origin: 20% 90%;
}
.galleryStack .cardImg img{width:100%; height:100%; object-fit:cover; display:block;}
.galleryStack .c1{transform: translateX(0) rotate(-2deg)}
.galleryStack .c2{transform: translateX(14px) translateY(10px) rotate(1.4deg)}
.galleryStack .c3{transform: translateX(28px) translateY(20px) rotate(4deg)}
.galleryStack .c4{transform: translateX(42px) translateY(30px) rotate(6.2deg)}

.galleryGrid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:12px;
  margin-top:16px;
}
@media (max-width: 900px){.galleryGrid{grid-template-columns:repeat(2, 1fr)}}
.galleryGrid a{
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  display:block;
}
.galleryGrid img{width:100%; height:180px; object-fit:cover; display:block}

.tabs{display:flex; gap:10px; flex-wrap:wrap; margin:14px 0}
.tab{
  cursor:pointer;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  font-weight:800;
  color: var(--muted);
}
.tab.active{color: var(--text); border-color: rgba(47,176,255,.55); background: rgba(47,176,255,.12)}
.hidden{display:none !important}

.form{display:grid; gap:12px;}
.form .row{display:grid; grid-template-columns:1fr 1fr; gap:12px}
@media (max-width: 760px){.form .row{grid-template-columns:1fr}}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  outline:none;
}
textarea{min-height:110px; resize:vertical}
label{font-weight:800; color: rgba(238,244,255,.88); font-size:13px}
.field{display:grid; gap:8px}

.footer{padding:26px 0 40px; border-top:1px solid rgba(255,255,255,.10); color: rgba(238,244,255,.78);}
.footer .cols{display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap:18px}
@media (max-width: 1100px){.footer .cols{grid-template-columns:1fr 1fr}}
@media (max-width: 900px){.footer .cols{grid-template-columns:1fr}}
.small{color: var(--muted); font-size:12px}
hr.sep{border:0; border-top:1px solid rgba(255,255,255,.10); margin:14px 0}


/* Floating WhatsApp Button */
.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(16, 26, 48, .82);
  color: var(--text);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.wa-float:hover{transform: translateY(-1px); border-color: rgba(47,176,255,.55)}
.wa-float .dot{
  width: 12px; height: 12px; border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 4px rgba(37,211,102,.18);
}
@media (max-width: 520px){
  .wa-float span.txt{display:none;}
  .wa-float{padding:12px}
}


/* Hero background video (optional) */
.hero{position:relative; overflow:hidden}
.heroVideo{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.22; pointer-events:none;}
.hero .container{position:relative; z-index:1}


/* Useful Links buttons */
.linkBtnWrap{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
a.linkBtn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(56,189,248,.10);
  border:1px solid rgba(56,189,248,.35);
  color:var(--text);
  font-size:13px;
  text-decoration:none;
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
}
a.linkBtn:hover{transform:translateY(-1px); background:rgba(34,197,94,.12); border-color:rgba(34,197,94,.45)}

/* Rotating circular logo (About page) */
.logoSpin{
  width:84px;height:84px;
  border-radius:50%;
  border:2px solid rgba(56,189,248,.55);
  padding:6px;
  background:rgba(0,0,0,.15);
  animation:spinLogo 8s linear infinite;
  flex:0 0 auto;
}
@keyframes spinLogo{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.aboutHeader{display:flex;gap:16px;align-items:center;flex-wrap:wrap}


/* Director media layout */
.media{display:flex; gap:18px; align-items:flex-start}
.media-img{
  width: 220px;
  max-width: 40vw;
  border-radius: 18px;
  box-shadow: var(--shadow);
  object-fit: cover;
}
.media-body{flex:1; min-width: 0}
@media (max-width: 720px){
  .media{flex-direction:column}
  .media-img{width: 100%; max-width: 100%; height:auto}
}

/* News modal */
.modal{position:fixed; inset:0; display:none; align-items:center; justify-content:center; padding:18px; z-index:9999}
.modal.open{display:flex}
.modal .overlay{position:absolute; inset:0; background:rgba(0,0,0,.6); backdrop-filter: blur(3px)}
.modal .dialog{
  position:relative;
  width: min(560px, 92vw);
  background: linear-gradient(180deg, rgba(34,197,94,.10), rgba(56,189,248,.08));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
}
.modal .dialog h3{margin:0 0 6px}
.modal .dialog p{margin:0 0 12px; color: var(--muted); line-height:1.6}
.modal .actions{display:flex; gap:10px; flex-wrap:wrap}
.modal .btn{
  display:inline-flex; align-items:center; gap:8px;
  border-radius: 999px;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  text-decoration:none;
  cursor:pointer;
}
.modal .btn.primary{background: linear-gradient(90deg, var(--accent), var(--accent2)); border:none; color:#041016}
.modal .close{
  position:absolute; top:10px; right:10px;
  width:36px; height:36px; border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  color: var(--text);
  cursor:pointer;
}



/* Outline button (download) */
.btn.outline{
  background: transparent;
  border-color: rgba(255,255,255,.35);
}
.btn.outline:hover{
  background: rgba(255,255,255,.08);
}

/* Fee Table */
.table-wrap{overflow-x:auto}
.fee-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.16);
}
.fee-table thead th{
  text-align:left;
  padding:14px 14px;
  font-weight:900;
  letter-spacing:.2px;
  background: linear-gradient(135deg, rgba(0,190,255,.55), rgba(0,255,170,.35));
  border-bottom:1px solid rgba(255,255,255,.16);
}
.fee-table tbody td{
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.fee-table tbody tr:nth-child(even) td{
  background: rgba(255,255,255,.04);
}
.fee-table tbody tr:last-child td{
  border-bottom:none;
}




/* Leadership */
.sectionHead{margin-bottom:14px}
.sectionHead .muted{opacity:.9}
.leadershipGrid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
@media (max-width: 1100px){
  .leadershipGrid{grid-template-columns:repeat(2, 1fr);}
}
@media (max-width: 760px){
  .leadershipGrid{grid-template-columns:1fr;}
}
.leaderCard{padding:16px}
.leaderMedia{
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:10px;
}
.leaderImg{
  width:68px;
  height:68px;
  object-fit:cover;
  border-radius:14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.leaderMeta{min-width:0}
.rolePill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:12px;
  letter-spacing:.2px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
}
.leaderName{
  margin:6px 0 0;
  font-size:18px;
  line-height:1.2;
  font-weight:800;
}
.leaderTitle{
  margin:10px 0 8px;
  font-size:16px;
  font-weight:800;
}


/* --- Navigation dropdown (Download) --- */
.navDrop{ position: relative; display: inline-block; }
.navDrop .dropBtn{ display:inline-flex; align-items:center; gap:.35rem; }
.navDrop .dropMenu{
  position:absolute; top:calc(100% + 10px); left:0;
  min-width:180px;
  background: rgba(255,255,255,.98);
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  box-shadow:0 12px 30px rgba(0,0,0,.14);
  padding:10px;
  display:none;
  z-index:50;
}
.navDrop .dropMenu a{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  color:inherit;
  text-decoration:none;
}
.navDrop .dropMenu a:hover{ background: rgba(0,0,0,.06); }
.navDrop:hover .dropMenu{ display:block; }

/* --- Left side vertical strip on Home --- */
body.hasStrip{ padding-left: 130px; }
.sideStrip{
  position: fixed;
  left: 0;
  top: 110px;
  width: 120px;
  height: calc(100vh - 110px);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(6px);
  border-right: 1px solid rgba(0,0,0,.08);
  overflow: hidden;
  z-index: 6;
}
.stripTrack{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:10px;
  animation: stripScroll 22s linear infinite;
}
.stripTrack img{
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,.14);
}
@keyframes stripScroll{
  0%{ transform: translateY(0); }
  100%{ transform: translateY(-50%); }
}
@media (max-width: 980px){
  body.hasStrip{ padding-left: 0; }
  .sideStrip{ display:none; }
}

/* --- Leadership signatures + larger portraits --- */
.leaderMedia{ align-items:center; justify-content:center; }
.leaderImg{
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 22px;
}
.leaderBody{ text-align: center; }
.leaderBody p{ text-align: left; }
.leaderSign{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,.28);
}
.sigSchool{
  font-weight: 600;
  opacity: .95;
}
.sigName{
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 22px;
  letter-spacing: .3px;
  margin-top: 4px;
}

/* --- Downloads page --- */
.downloadGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}
.downloadCard{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 18px;
}
.downloadCard h3{ margin:0 0 8px 0; }
.downloadCard p{ margin:0 0 14px 0; }
.downloadCard small{ display:block; opacity:.85; margin-top:10px; }
@media (max-width: 820px){
  .downloadGrid{ grid-template-columns: 1fr; }
}
