/* ================= ROOT ================= */
:root{
  --bg:#fffef7;
  --accent1:#ff9aa2;
  --accent2:#ffd6a5;
  --accent3:#cfe8a9;
  --accent4:#9ec4ff;
  --text:#2b2b2b;
  --muted:#6b6b6b;
  --card:#ffffff;
  --radius:16px;
  --glass: rgba(255,255,255,0.7);
}

*{ box-sizing:border-box }

/* ================= BODY ================= */
body{
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  margin:0;
  background:linear-gradient(180deg,var(--bg),#f7fbff);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
}

/* ================= PROMO BAR ================= */
.promo-bar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:2000;
  background:linear-gradient(90deg,#1b3b5f,#3e9dd3);
  color:white;
  text-align:center;
  padding:8px 10px;
  font-size:14px;
  font-weight:500;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  box-shadow:0 2px 5px rgba(0,0,0,0.1);
  animation:fadeInDown .5s ease;
}

.promo-bar a{
  color:#ffeb3b;
  font-weight:600;
  text-decoration:underline;
}
.promo-bar a:hover{
  color:#fffacd;
  text-decoration:none;
}

@keyframes fadeInDown{
  from{opacity:0;transform:translateY(-20px)}
  to{opacity:1;transform:translateY(0)}
}

/* ================= HEADER ================= */
header{
  position:fixed;
  top:38px;
  left:0;
  right:0;
  z-index:1000;
  background:linear-gradient(90deg,var(--accent4),var(--accent2));
  padding:18px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.logo{
  width:56px;
  height:56px;
  border-radius:12px;
  background:linear-gradient(135deg,var(--accent1),var(--accent3));
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  color:white;
  box-shadow:0 6px 20px rgba(0,0,0,0.12);
}
.logo img{ width:100% }

nav a{
  margin-left:12px;
  text-decoration:none;
  color:rgba(0,0,0,0.85);
  padding:8px 12px;
  border-radius:10px;
  font-weight:600;
}
nav a.active, nav a:hover{
  background:rgba(255,255,255,0.6);
}

.menu-toggle{
  display:none;
  font-size:26px;
  cursor:pointer;
  user-select:none;
}

/* ================= MAIN ================= */
main{
  padding:28px;
  padding-top:120px;
  max-width:1080px;
  margin:24px auto;
}

/* ================= HERO ================= */
.hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  background:linear-gradient(90deg,var(--accent2),var(--accent4));
  color:#222;
  padding:30px;
  border-radius:20px;
  box-shadow:0 8px 24px rgba(0,0,0,0.08);
  flex-wrap:wrap;

}

.hero .left{ flex:1; min-width:260px }
.hero .right{
  flex:1;
  min-width:240px;
  display:flex;
  justify-content:center;
}

.hero img{
  width:100%;
  max-width:360px;
  border-radius:18px;
  box-shadow:0 6px 20px rgba(0,0,0,0.12);
}

.hero h1{ font-size:34px; margin:0 0 10px }
.hero p{ color:var(--muted); font-size:17px; margin-bottom:14px }

/* ================= CTA ================= */
.cta{
  display:inline-block;
  background:linear-gradient(90deg,var(--accent1),var(--accent4));
  color:white;
  padding:12px 20px;
  border-radius:12px;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 8px 20px rgba(0,0,0,0.12);
  transition:.3s;
}
.cta:hover{ opacity:.85 }

/* ================= CARDS & GRID ================= */
.card{
  background:var(--card);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 10px 30px rgba(13,38,76,0.06);
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;
}



/* ================= ABOUT ================= */
.about-list{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.about-item{
  flex:1;
  min-width:160px;
}

/* ================= ACADEMICS ================= */
.subjects{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.subject{
  flex:1;
  min-width:160px;
  padding:12px;
  border-radius:12px;
  background:linear-gradient(180deg,rgba(255,255,255,0.9),var(--glass));
}

/* ================= GALLERY ================= */
.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:10px;
}
.gallery img{
  width:100%;
  height:120px;
  object-fit:cover;
  border-radius:10px;
  cursor:pointer;
  transition:transform .18s;
}
.gallery img:hover{ transform:scale(1.04) }

/* ================= LIGHTBOX ================= */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.7);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:60;
  padding:30px;
}
.lightbox img{
  max-width:95%;
  max-height:85%;
  border-radius:12px;
}

/* ================= FORMS ================= */
form{ display:grid; gap:10px }

input, textarea, select{
  padding:10px;
  border-radius:10px;
  border:1px solid #ccc;
  font-size:15px;
}

input:focus, textarea:focus, select:focus{
  border-color:#2575fc;
  box-shadow:0 0 5px rgba(37,117,252,0.3);
}

button{
  width:100%;
  padding:12px;
  border-radius:10px;
  border:none;
  background:linear-gradient(90deg,var(--accent3),var(--accent4));
  font-weight:700;
  cursor:pointer;
}
button:hover{ opacity:.9 }

/* ================= BADGES ================= */
.pill{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,0.65);
  font-weight:700;
}

/* ================= FOOTER ================= */
footer{
  margin-top:28px;
  padding:18px;
  text-align:center;
  color:var(--muted);
  background:linear-gradient(90deg,var(--accent4),var(--accent2));
}

/* ================= RESPONSIVE ================= */
@media(max-width:720px){
  .hero{
    flex-direction:column;
    text-align:center;
  }
  .hero .right{ order:-1 }
  .hero img{ max-width:280px }
  .hero h1{ font-size:26px }

  .menu-toggle{ display:block }

  nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:var(--card);
    flex-direction:column;
    padding:12px 20px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
    border-bottom-left-radius:16px;
    border-bottom-right-radius:16px;
    z-index:50;
  }

  nav.show{ display:flex }

  nav a{
    margin:8px 0;
    width:100%;
  }
}

/* --------------------
   VARIABLES
--------------------- */
:root {
  --muted: rgba(0,0,0,0.65);
  --brand: #0d47a1;
}

/* --------------------
   HEADER & NAV
--------------------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  gap: 16px;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* --------------------
   MOBILE NAV
--------------------- */
@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 64px;
    right: 16px;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
    border-radius: 12px;
  }

  nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

.hero {
  display: flex;
  gap: 24px;
  align-items: center;
}

.hero .left {
  flex: 1;
}

/* MOBILE HERO */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .hero > div {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero img {
    height: auto;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* MOBILE GRID */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
/* ======================
   VARIABLES & RESET
====================== */
:root {
  --brand: #0d47a1;
  --muted: rgba(0,0,0,0.65);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
}

/* ======================
   HEADER & NAV
====================== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand img {
  height: 44px;
}

.tagline {
  font-size: 13px;
  color: var(--muted);
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

/* MOBILE NAV */
@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    right: 16px;
    top: 70px;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    border-radius: 14px;
    box-shadow: 0 15px 30px rgba(0,0,0,.2);
  }

  nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* ======================
   HERO
====================== */
.hero {
  display: flex;
  gap: 28px;
  align-items: center;
}

.hero .left {
  flex: 1;
}

.hero img {
  width: 100%;
  border-radius: 12px;
}

/* MOBILE HERO */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }
}

/* ======================
   CARDS
====================== */
.card {
  max-width: 1100px;
  margin: 32px auto;
  padding: 28px;
  background: #f9fafb;
  border-radius: 18px;
}

.pill {
  display: inline-block;
  background: #e3f2fd;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
}

/* ======================
   GRID
====================== */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* ======================
   FOOTER
====================== */
footer {
  padding: 28px;
  text-align: center;
  background: #f1f5f9;
  margin-top: 40px;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}


