/* =====================================================
   MAWAHIB INTERNATIONAL SCHOOL
   CLEAN PREMIUM VERSION
===================================================== */

:root{
  --primary:#1e2a5a;
  --accent:#c8a951;
  --bg:#f5f7fa;
  --text:#1a1a1a;
  --muted:#6b7280;
  --white:#ffffff;

  --radius:14px;
  --shadow:0 10px 30px rgba(0,0,0,.06);

  --container:1100px;

  --fs-hero:clamp(32px,5vw,56px);
  --fs-h2:clamp(22px,3vw,32px);
  --fs-body:16px;
}

/* Reset */
*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:'Segoe UI',Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{
  width:min(var(--container),92%);
  margin:auto;
}

/* ================= HEADER ================= */
.header{
  background:#fff;
  border-bottom:1px solid #eee;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
}
.logo{
  display:flex;
  align-items:center;
  gap:12px;
}
.logo img{
  width:48px;
}
.logo span{
  font-weight:700;
  font-size:18px;
}
.nav{
  display:flex;
  gap:28px;
}
.nav a{
  font-weight:500;
  color:#444;
}
.nav a:hover{
  color:var(--primary);
}

/* ================= HERO ================= */
.hero{
  background:var(--primary);
  color:#fff;
  padding:100px 0;
}
.hero-inner{
  max-width:720px;
}
.hero h1{
  font-size:var(--fs-hero);
  font-weight:700;
  margin-bottom:20px;
}
.hero p{
  font-size:18px;
  opacity:.9;
  margin-bottom:30px;
}
.hero-buttons{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.btn{
  padding:14px 26px;
  border-radius:6px;
  font-weight:600;
  font-size:15px;
  transition:.2s;
}
.btn-primary{
  background:var(--accent);
  color:#000;
}
.btn-primary:hover{
  opacity:.9;
}
.btn-outline{
  border:1px solid #fff;
  color:#fff;
}
.btn-outline:hover{
  background:#fff;
  color:var(--primary);
}

/* ================= SECTION ================= */
.section{
  padding:80px 0;
}
.section h2{
  font-size:var(--fs-h2);
  margin-bottom:16px;
}
.section p{
  color:var(--muted);
  max-width:600px;
  margin-bottom:40px;
}

/* ================= GRID ================= */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

/* ================= CARD ================= */
.card{
  background:#fff;
  padding:30px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:.2s;
}
.card:hover{
  transform:translateY(-4px);
}
.card h3{
  margin-bottom:12px;
  font-size:18px;
}
.card p{
  color:var(--muted);
  font-size:14px;
}

/* ================= STATS ================= */
.stats{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:20px;
}
.stat{
  background:#fff;
  padding:25px;
  flex:1;
  min-width:160px;
  text-align:center;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.stat h3{
  font-size:28px;
  color:var(--primary);
}
.stat span{
  font-size:13px;
  color:var(--muted);
}

/* ================= CTA ================= */
.cta{
  background:var(--primary);
  color:#fff;
  text-align:center;
  padding:70px 20px;
}
.cta h2{
  margin-bottom:20px;
}
.cta .btn{
  margin-top:20px;
}

/* ================= FOOTER ================= */
.footer{
  background:#111827;
  color:#ddd;
  padding:60px 0 30px;
}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:30px;
  margin-bottom:40px;
}
.footer h4{
  margin-bottom:15px;
}
.footer a{
  display:block;
  margin-bottom:8px;
  color:#aaa;
}
.footer a:hover{
  color:#fff;
}
.footer-bottom{
  border-top:1px solid #333;
  padding-top:20px;
  text-align:center;
  font-size:14px;
  color:#888;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
  .nav{display:none;}
  .hero{
    padding:70px 0;
  }
  .hero-buttons{
    flex-direction:column;
    align-items:flex-start;
  }
}
