/* ===========================
   Children Higher Secondary School
   Theme: soft green + rounded premium cards (HTML+CSS only)
   =========================== */

:root{
  --bg: #f4fbef;
  --bg2:#ffffff;
  --ink:#11301f;
  --muted:#4b6b57;
  --card:#ffffff;
  --line: rgba(17,48,31,.10);
  --shadow: 0 18px 45px rgba(12, 36, 22, .10);
  --shadow2: 0 10px 26px rgba(12, 36, 22, .08);

  --brand:#3a8b4a;
  --brand2:#6ac46d;
  --accent:#dff7c7;
  --accent2:#eafbe2;

  --radius: 22px;
  --radius2: 30px;

  --container: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--ink);
  background:
    radial-gradient(1200px 600px at 15% 5%, rgba(106,196,109,.18), transparent 55%),
    radial-gradient(900px 500px at 90% 25%, rgba(58,139,74,.14), transparent 60%),
    linear-gradient(180deg, var(--bg), #fff 55%);
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
p{ color:var(--muted); line-height:1.65; margin:0; }
h1,h2,h3{ margin:0; letter-spacing:-0.02em; }
small{ color:var(--muted); }

.container{
  width:min(var(--container), calc(100% - 40px));
  margin-inline:auto;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  background:rgba(223,247,199,.75);
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--ink);
  font-weight:600;
  font-size:12px;
}
.badge .dot{
  width:9px; height:9px; border-radius:50%;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow:0 0 0 6px rgba(58,139,74,.12);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  font-weight:700;
  border:1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow2);
  transition: transform .15s ease, box-shadow .15s ease;
  cursor:pointer;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 16px 30px rgba(12,36,22,.12); }
.btn.primary{
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  color:#fff;
  border-color:transparent;
}
.btn.soft{
  background:rgba(223,247,199,.8);
}
.btn .arrow{
  width:22px; height:22px;
  display:grid; place-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.22);
  border:1px solid rgba(255,255,255,.35);
}

/* ===========================
   Header + CSS-only hamburger
   =========================== */

header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(160%) blur(10px);
  background:rgba(244,251,239,.72);
  border-bottom:1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 240px;
}
.logoMark{
  width:42px; height:42px;
  border-radius:14px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 12px 30px rgba(58,139,74,.25);
  position:relative;
  overflow:hidden;
}
.logoMark:before{
  content:"";
  position:absolute; inset:-30%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), transparent 45%);
  transform: rotate(15deg);
}
.brand b{ font-size:14px; letter-spacing:.2px; }
.brand span{ display:block; font-size:12px; color:var(--muted); margin-top:2px; }

.navLinks{
  display:flex;
  align-items:center;
  gap:22px;
}
.navLinks a{
  font-weight:650;
  color: rgba(17,48,31,.86);
  padding:10px 10px;
  border-radius:999px;
  transition: background .15s ease;
}
.navLinks a:hover{
  background: rgba(223,247,199,.55);
}
.navCtas{
  display:flex;
  align-items:center;
  gap:10px;
}

/* Hamburger checkbox */
#navToggle{ display:none; }
.hamburger{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow2);
  cursor:pointer;
  align-items:center;
  justify-content:center;
}
.hamburger span{
  display:block;
  width:18px; height:2px;
  background:rgba(17,48,31,.78);
  position:relative;
}
.hamburger span:before,
.hamburger span:after{
  content:"";
  position:absolute; left:0;
  width:18px; height:2px;
  background:rgba(17,48,31,.78);
}
.hamburger span:before{ top:-6px; }
.hamburger span:after{ top:6px; }

/* Mobile menu panel */
.mobilePanel{
  display:none;
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.75);
}
.mobilePanel .inner{
  padding:14px 0 18px;
  display:grid;
  gap:10px;
}
.mobilePanel a{
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:700;
}
.mobilePanel .row{
  display:flex; gap:10px; flex-wrap:wrap;
}

/* Toggle behavior */
#navToggle:checked ~ .mobilePanel{ display:block; }

.logo-img{

width:48px;
height:48px;
object-fit:contain;
border-radius:10px;

}

/* ===========================
   Hero
   =========================== */
.hero{
  padding:34px 0 20px;
}
.heroGrid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  align-items:stretch;
}
.heroCard{
  background:rgba(255,255,255,.75);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding:28px;
  position:relative;
  overflow:hidden;
}
.heroCard:after{
  content:"";
  position:absolute;
  inset:-100px -120px auto auto;
  width:320px; height:320px;
  background: radial-gradient(circle at 40% 35%, rgba(106,196,109,.28), transparent 60%);
  filter: blur(0px);
}
.heroTitle{
  font-size: clamp(30px, 4vw, 50px);
  line-height:1.06;
}
.highlight{
  background: linear-gradient(180deg, transparent 55%, rgba(223,247,199,.95) 0);
  padding:0 10px;
  border-radius:14px;
  border:1px solid rgba(17,48,31,.12);
}
.heroSub{
  margin-top:12px;
  max-width: 58ch;
}
.heroActions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
  align-items:center;
}
.heroMini{
  margin-top:18px;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  align-items:center;
}
.miniPill{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(234,251,226,.8);
  font-weight:700;
  color: rgba(17,48,31,.88);
}
.miniPill i{
  width:28px; height:28px;
  border-radius:10px;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow:0 10px 20px rgba(58,139,74,.18);
  display:grid; place-items:center;
  color:#fff; font-style:normal;
  font-size:14px;
}

.heroSide{
  display:grid;
  gap:14px;
}
.sideCard{
  background:rgba(255,255,255,.72);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  padding:18px;
}
.sideCard h3{ font-size:18px; }
.sideCard p{ margin-top:8px; }
.chips{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-top:14px;
}
.chip{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(223,247,199,.65);
  font-weight:700;
  font-size:12px;
}
.chip.blue{ background: rgba(184, 226, 255, .55); }
.chip.pink{ background: rgba(255, 206, 226, .55); }
.chip.orange{ background: rgba(255, 226, 184, .60); }

/* ===========================
   Sections
   =========================== */
.section{
  padding:36px 0;
}
.sectionHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}
.sectionHead h2{
  font-size: clamp(22px, 2.8vw, 34px);
  line-height:1.15;
}
.sectionHead p{
  max-width: 58ch;
}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.card{
  background:rgba(255,255,255,.75);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  padding:18px;
}
.icon{
  width:46px; height:46px;
  border-radius:16px;
  background: rgba(223,247,199,.75);
  border:1px solid rgba(17,48,31,.12);
  display:grid; place-items:center;
  font-weight:900;
}
.card h3{ margin-top:12px; font-size:18px; }
.card p{ margin-top:8px; }

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:center;
}
.media{
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background:
    radial-gradient(400px 220px at 25% 30%, rgba(106,196,109,.18), transparent 60%),
    linear-gradient(135deg, rgba(223,247,199,.75), rgba(255,255,255,.75));
  overflow:hidden;
  min-height: 280px;
  box-shadow: var(--shadow2);
}
.media img{ width:100%; height:100%; object-fit:cover; }
.kpiRow{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-top:16px;
}
.kpi{
  padding:14px 14px;
  border-radius: 18px;
  border:1px solid var(--line);
  background: rgba(234,251,226,.8);
  min-width: 170px;
}
.kpi b{
  display:block;
  font-size:22px;
}
.kpi small{ display:block; margin-top:4px; }

.peopleGrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:16px;
}
.person{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap:14px;
  align-items:stretch;
  background:rgba(255,255,255,.75);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.person .photo{
  background: linear-gradient(135deg, rgba(223,247,199,.85), rgba(255,255,255,.75));
  border-right:1px solid var(--line);
  min-height: 190px;
}
.person .photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.person .info{
  padding:16px;
}
.person .role{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  background: rgba(223,247,199,.7);
  border:1px solid rgba(17,48,31,.12);
  font-weight:800;
  font-size:12px;
}
.person h3{ margin-top:10px; font-size:20px; }
.person p{ margin-top:8px; }

.note{
  padding:14px 16px;
  border-radius: 18px;
  border:1px solid var(--line);
  background: rgba(223,247,199,.55);
}

hr.soft{
  border:none;
  border-top:1px solid var(--line);
  margin:24px 0;
}

/* ===========================
   Tables (Admissions)
   =========================== */
.tableWrap{
  background:rgba(255,255,255,.75);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  overflow:hidden;
}
table{
  width:100%;
  border-collapse:collapse;
}
thead th{
  text-align:left;
  padding:14px 14px;
  background: rgba(234,251,226,.9);
  border-bottom:1px solid var(--line);
  font-size:13px;
  letter-spacing:.02em;
  text-transform:uppercase;
  color: rgba(17,48,31,.75);
}
tbody td{
  padding:14px 14px;
  border-bottom:1px solid var(--line);
  color: rgba(17,48,31,.85);
}
tbody tr:last-child td{ border-bottom:none; }
td strong{ color:var(--ink); }

.centerBox{
  max-width: 860px;
  margin-inline:auto;
}

.flow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.step{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.8);
  font-weight:800;
}
.step i{
  width:30px; height:30px;
  border-radius:12px;
  display:grid; place-items:center;
  background: rgba(223,247,199,.75);
  border:1px solid rgba(17,48,31,.12);
  font-style:normal;
}
.arrowSep{
  width:34px; height:34px;
  border-radius:999px;
  background: rgba(223,247,199,.55);
  border:1px solid rgba(17,48,31,.10);
  display:grid; place-items:center;
  font-weight:900;
}

/* ===========================
   Gallery
   =========================== */
.gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.gItem{
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: var(--shadow2);
  background: rgba(255,255,255,.75);
  min-height: 190px;
}
.gItem img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ===========================
   Contact
   =========================== */
.form{
  display:grid;
  gap:10px;
}
.field{
  display:grid;
  gap:6px;
}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.85);
  outline:none;
  font: inherit;
}
textarea{ min-height: 120px; resize:vertical; }

.map{
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: var(--shadow2);
  min-height: 320px;
}
.map iframe{
  width:100%;
  height:100%;
  border:0;
}

/* ===========================
   Footer
   =========================== */
footer{
  padding:28px 0;
  border-top:1px solid var(--line);
  background: rgba(255,255,255,.55);
}
.footerGrid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  align-items:start;
}
.footerLinks{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.footerLinks a{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(234,251,226,.7);
  font-weight:700;
  font-size:13px;
}

/* ===========================
   Page header block
   =========================== */
.pageTop{
  padding:26px 0 8px;
}
.pageTop .wrap{
  background: rgba(255,255,255,.72);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  padding:18px;
}
.pageTop h1{
  font-size: clamp(24px, 3.2vw, 38px);
}
.pageTop p{ margin-top:8px; max-width: 70ch; }

/* ===========================
   Responsive
   =========================== */
@media (max-width: 980px){
  .heroGrid{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
  .footerGrid{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .navLinks, .navCtas{ display:none; }
  .hamburger{ display:flex; }
  .brand{ min-width:auto; }
  .peopleGrid{ grid-template-columns: 1fr; }
  .person{ grid-template-columns: 1fr; }
  .person .photo{ border-right:none; border-bottom:1px solid var(--line); }
}

@media (max-width: 520px){
  .gallery{ grid-template-columns: 1fr; }
  .heroCard{ padding:20px; }
  .sideCard{ padding:16px; }
  .kpi{ min-width: 145px; }
}

.media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* ===========================
Gallery Grid
=========================== */

.gallery{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:18px;
}

.gItem img{
width:100%;
height:100%;
object-fit:cover;
border-radius:20px;
box-shadow:var(--shadow-soft);
transition:transform .3s ease;
}

.gItem img:hover{
transform:scale(1.05);
}


/* ===========================
Lightbox Preview
=========================== */

.lightbox{

position:fixed;
top:0;
left:0;
width:100%;
height:100%;

background:rgba(0,0,0,0.85);

display:none;

align-items:center;
justify-content:center;

z-index:1000;

}

.lightbox img{

max-width:85%;
max-height:85%;
border-radius:16px;

}

.lightbox:target{
display:flex;
}


/* ===========================
Close Button
=========================== */

.close{

position:absolute;
top:40px;
right:40px;

font-size:40px;
color:white;
text-decoration:none;
font-weight:bold;

background:rgba(0,0,0,0.4);
width:50px;
height:50px;
display:flex;
align-items:center;
justify-content:center;

border-radius:50%;

}

.close:hover{
background:rgba(0,0,0,0.7);
}