/* =================================================
   ROOT THEME
================================================= */
:root{
  --primary:#0f2a44;
  --secondary:#123d6b;
  --accent:#facc15;
  --light:#ffffff;
  --dark:#0b1c2d;
  --soft:#f4f6fb;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Poppins',sans-serif;
  background:var(--soft);
  overflow-x:hidden;
}

/* =================================================
   TOP INFO BAR
================================================= */
.top-info-bar{
  background:linear-gradient(90deg,var(--primary),var(--secondary));
  color:#fff;
  display:flex;
  justify-content:center;
  gap:25px;
  padding:8px 14px;
  font-size:14px;
  flex-wrap:wrap;
}

.top-info-bar a{
  color:#fff;
  text-decoration:none;
  transition:.3s;
}

.top-info-bar a:hover{
  color:var(--accent);
}

/* =================================================
   HEADER
================================================= */
.school-header{
  background:#fff;
  box-shadow:0 6px 25px rgba(0,0,0,.08);
}

.header-container{
  max-width:1200px;
  margin:auto;
  display:flex;
  align-items:center;
  gap:18px;
  padding:16px;
}

.logo-box img{
  width:90px;
}

.school-info h1{
  font-size:28px;
  font-weight:700;
  color:var(--primary);
  animation:slideDown .8s ease;
}

.school-info p{
  margin:2px 0;
  color:#555;
}

.school-info small{
  color:#777;
}

/* =================================================
   NAVBAR
================================================= */
/* =========================
   NAVBAR
========================= */
.navbar{
  background: linear-gradient(90deg, #143a5a, #1f5f8b);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.navbar .hamburger,
.navbar .close-btn{
  display: none;
}

.nav-links{
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-links > li{
  position: relative;
}

.menu-btn{
  display: block;
  padding: 16px 18px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.menu-btn:hover{
  background: rgba(255,255,255,0.08);
  color: #ffd166;
}

/* =========================
   DESKTOP DROPDOWN
========================= */
.submenu{
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  display: none;
  z-index: 999;
}

.submenu li{
  width: 100%;
}

.submenu li a{
  display: block;
  padding: 12px 18px;
  color: #143a5a;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.submenu li a:hover{
  background: #f1f7fd;
  color: #1f5f8b;
}

/* Desktop hover */
.menu-item:hover > .submenu{
  display: block;
}

/* =========================
   MOBILE NAVBAR
========================= */
@media (max-width: 991px){

  .navbar{
    position: sticky;
    top: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 16px;
  }

  .navbar .hamburger{
    display: block;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
  }

  .navbar .close-btn{
    display: none;
    position: fixed;
    top: 14px;
    right: 18px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 10002;
  }

  .nav-links{
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 88%;
    height: 100vh;
    background: linear-gradient(180deg, #143a5a 0%, #0f2f49 100%);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-y: auto;
    padding: 70px 0 30px;
    transition: right 0.35s ease;
    box-shadow: -10px 0 25px rgba(0,0,0,0.18);
  }

  .nav-links.active{
    right: 0;
  }

  .nav-links > li{
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .menu-btn{
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    font-size: 15px;
  }

  /* mobile submenu hidden by default */
  .submenu{
    position: static;
    display: none;
    width: 100%;
    min-width: 100%;
    background: rgba(255,255,255,0.06);
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }

  .menu-item:hover > .submenu{
    display: none;
  }

  .menu-item.active > .submenu{
    display: block;
  }

  .submenu li a{
    color: #fff;
    padding: 12px 32px;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
  }

  .submenu li a:hover{
    background: rgba(255,255,255,0.08);
    color: #ffd166;
  }

  /* jab menu open ho */
  .nav-links.active ~ .close-btn{
    display: block;
  }
}
/* =================================================
   CAROUSEL
================================================= */
.carousel-item img{
  height:700px;
  object-fit:cover;
  animation:zoomIn 6s linear infinite alternate;
}

/* =================================================
   SECTIONS
================================================= */
/* ================= ABOUT SECTION ================= */
/* ================= ABOUT PRO ================= */
.about-desc{
  max-width:900px;
  margin:0 auto 30px;
  text-align:center;
  font-size:16px;
  line-height:1.8;
  color:#444;
}

.about-icons{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:16px;
}

.about-pill{
  background:rgba(255,255,255,0.9);
  backdrop-filter:blur(12px);
  padding:14px 24px;
  border-radius:40px;
  box-shadow:0 12px 30px rgba(0,0,0,.15);
  font-size:14px;
  transition:.4s;
}

.about-pill i{
  color:var(--primary);
  margin-right:8px;
}

.about-pill:hover{
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  color:#fff;
  transform:translateY(-4px);
}

.about-pill:hover i{
  color:#fff;
}

/* ================= FACILITY PRO ================= */
/* ================= FACILITIES CLEAN ================= */
.facilities-clean{
  text-align:center;
}

.facility-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  margin-top:40px;
}

.facility-item{
  background:#fff;
  border-radius:18px;
  padding:40px 30px;
  box-shadow:0 15px 35px rgba(0,0,0,.12);
  text-decoration:none;
  transition:.35s ease;
}

.facility-item:hover{
  transform:translateY(-8px);
  box-shadow:0 25px 50px rgba(0,0,0,.18);
}

.facility-icon{
  width:80px;
  height:80px;
  margin:0 auto 20px;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:34px;
}

.facility-item h4{
  font-size:18px;
  margin-bottom:10px;
  color:var(--primary);
}

.facility-item p{
  font-size:14px;
  color:#555;
  line-height:1.6;
}

/* ================= RESPONSIVE ================= */
@media(max-width:992px){
  .facility-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:576px){
  .facility-grid{
    grid-template-columns:1fr;
  }
}

/* ================= WHY CHOOSE US ================= */
.why-choose-section{
  background:#f7f9fc;
  padding:70px 0;
  text-align:center;
}

.why-subtitle{
  max-width:800px;
  margin:0 auto 50px;
  font-size:16px;
  color:#555;
  line-height:1.7;
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.why-card{
  background:#fff;
  border-radius:18px;
  padding:35px 28px;
  box-shadow:0 15px 35px rgba(0,0,0,.12);
  transition:.35s ease;
  position:relative;

}

.why-card:hover{
  transform:translateY(-10px);
  box-shadow:0 25px 55px rgba(0,0,0,.18);
}

.why-icon{
  width:70px;
  height:70px;
  margin:0 auto 20px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  transition:.4s;
}

.why-card:hover .why-icon{
  transform:rotate(8deg) scale(1.15);
}

.why-card h4{
  font-size:18px;
  margin-bottom:12px;
  color:var(--primary);
}

.why-card p{
  font-size:14px;
  color:#555;
  line-height:1.6;
}
.why-card{
  text-decoration:none;   /* underline hata */
  color:inherit;          /* text color same */
  cursor:pointer;
}

.why-card::after{
  content:"→";
  position:absolute;
  bottom:18px;
  right:22px;
  font-size:20px;
  opacity:0;
  transition:.3s;
}

.why-card:hover::after{
  opacity:1;
}

/* ================= RESPONSIVE ================= */
@media(max-width:992px){
  .why-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:576px){
  .why-grid{
    grid-template-columns:1fr;
  }
}

/* =================================================
   FOOTER
================================================= */
.footer{
  background:var(--primary);
  color:#fff;
  text-align:center;
  padding:18px;
  font-size:14px;
}

/* =================================================
   ANIMATIONS
================================================= */
@keyframes slideDown{
  from{opacity:0;transform:translateY(-20px)}
  to{opacity:1;transform:translateY(0)}
}

@keyframes fadeUp{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}

@keyframes zoomIn{
  from{transform:scale(1)}
  to{transform:scale(1.07)}
}

/* =================================================
   TABLET
================================================= */
@media(max-width:992px){
  .school-info h1{font-size:22px}
  .carousel-item img{height:420px}
}

/* =================================================
   MOBILE NAVBAR
================================================= */
@media(max-width:768px){

  .header-container{
    flex-direction:column;
    text-align:center;
  }

  .hamburger{
    display:block;
    position:absolute;
    top:12px;
    left:15px;
    z-index:10001;
  }

  .close-btn{
    display:block;
    position:absolute;
    top:12px;
    right:15px;
    z-index:10001;
  }

  .nav-links{
    position:fixed;
    top:0;
    right:-100%;
    height:100vh;
    width:280px;
    background:linear-gradient(180deg,var(--primary),var(--secondary));
    flex-direction:column;
    align-items:flex-start;
    padding-top:60px;
    transition:.4s ease;
  }

  .nav-links.active{
    right:0;
  }

  .menu-btn{
    width:100%;
    text-align:left;
    padding:14px 20px;
    font-size:15px;
  }

  .submenu{
    position:static;
    display:none;
    width:100%;
    background:#123d6b;
  }

  .submenu li a{
    color:#fff;
    padding-left:40px;
  }

  .menu-item.active .submenu{
    display:block;
  }

  .carousel-item img{
    height:260px;
  }
}

/* =================================================
   SMALL PHONES
================================================= */
@media(max-width:480px){
  .school-info h1{font-size:20px}
  .top-info-bar{font-size:12px}
}
/* ================= ACHIEVEMENTS ================= */
.achievements-section{
  background:linear-gradient(135deg,#0f2a44,#123d6b);
  padding:80px 0;
  text-align:center;
  color:#fff;
}

.achievements-section .section-title{
  color:#fff;
}

.achieve-subtitle{
  max-width:800px;
  margin:0 auto 60px;
  font-size:16px;
  opacity:.9;
}

.achieve-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
}

.achieve-card{
  background:rgba(255,255,255,0.12);
  border-radius:20px;
  padding:40px 25px;
  backdrop-filter:blur(10px);
  transition:.4s ease;
}

.achieve-card:hover{
  transform:translateY(-10px);
  background:rgba(255,255,255,0.18);
}

.achieve-card i{
  font-size:40px;
  color:#facc15;
  margin-bottom:20px;
}

.achieve-card h3{
  font-size:38px;
  font-weight:700;
  margin-bottom:10px;
}

.achieve-card p{
  font-size:15px;
  opacity:.9;
}

/* ================= RESPONSIVE ================= */
@media(max-width:992px){
  .achieve-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:576px){
  .achieve-grid{
    grid-template-columns:1fr;
  }
}
/* ================= PRINCIPAL MESSAGE ================= */
.principal-section{
  background:#f7f9fc;
  padding:90px 0;
}

.principal-wrapper{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  align-items:center;
  gap:50px;
}

/* IMAGE */
.principal-image{
  position:relative;
  animation:fadeLeft 1s ease;
}

.principal-image img{
  width:100%;
  max-width:380px;
  border-radius:20px;
  box-shadow:0 25px 60px rgba(0,0,0,.25);
}

/* CONTENT */
.principal-content{
  animation:fadeRight 1s ease;
}

.principal-content p{
  font-size:15.5px;
  line-height:1.8;
  color:#444;
  margin-bottom:18px;
}

/* READ MORE BUTTON */
.read-more-btn{
  display:inline-block;
  margin-top:10px;
  padding:12px 26px;
  border-radius:30px;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  color:#fff;
  font-size:14px;
  text-decoration:none;
  transition:.35s ease;
}

.read-more-btn i{
  margin-left:8px;
  transition:.35s;
}

.read-more-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 30px rgba(0,0,0,.25);
}

.read-more-btn:hover i{
  transform:translateX(6px);
}

/* ================= RESPONSIVE ================= */
@media(max-width:992px){
  .principal-wrapper{
    grid-template-columns:1fr;
    text-align:center;
  }

  .principal-image img{
    margin:auto;
  }
}

/* ================= ANIMATIONS ================= */
@keyframes fadeLeft{
  from{opacity:0;transform:translateX(-40px)}
  to{opacity:1;transform:translateX(0)}
}

@keyframes fadeRight{
  from{opacity:0;transform:translateX(40px)}
  to{opacity:1;transform:translateX(0)}
}
/* ================= GALLERY PREVIEW ================= */
.gallery-preview{
  background:#ffffff;
  padding:80px 0;
  text-align:center;
}

.gallery-subtitle{
  max-width:700px;
  margin:0 auto 40px;
  font-size:16px;
  color:#555;
}

/* GRID */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
}

/* ITEM */
.gallery-item{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.gallery-item img{
  width:100%;
  height:260px;
  object-fit:cover;
  transition:.5s ease;
}

/* HOVER EFFECT */
.gallery-item::after{
  content:'View';
  position:absolute;
  inset:0;
  background:rgba(15,42,68,.55);
  color:#fff;
  font-size:18px;
  font-weight:500;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:.4s;
}

.gallery-item:hover::after{
  opacity:1;
}

.gallery-item:hover img{
  transform:scale(1.12);
}

/* BUTTON */
.gallery-btn-box{
  margin-top:45px;
}

.view-gallery-btn{
  display:inline-block;
  padding:14px 32px;
  border-radius:35px;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  color:#fff;
  text-decoration:none;
  font-size:15px;
  transition:.35s ease;
}

.view-gallery-btn i{
  margin-left:8px;
}

.view-gallery-btn:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 35px rgba(0,0,0,.25);
}

/* ================= RESPONSIVE ================= */
@media(max-width:992px){
  .gallery-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:576px){
  .gallery-grid{
    grid-template-columns:1fr;
  }

  .gallery-item img{
    height:220px;
  }
}
/* ================= ADMISSIONS CTA ================= */
.admission-cta{
  position:relative;
  background:url('./assets/images/cta-bg.jpg') center/cover no-repeat;
  padding:100px 0;
  text-align:center;
  color:#fff;
}

.cta-overlay{
  position:absolute;
  inset:0;
  background:rgba(15,42,68,0.85);
}

.cta-content{
  position:relative;
  z-index:1;
  max-width:800px;
}

.admission-cta h2{
  font-size:36px;
  font-weight:700;
  margin-bottom:15px;
}

.admission-cta p{
  font-size:17px;
  line-height:1.7;
  margin-bottom:35px;
  opacity:.95;
}

/* BUTTONS */
.cta-buttons{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

.cta-btn{
  padding:14px 32px;
  border-radius:40px;
  font-size:15px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
  transition:.35s ease;
}

/* Primary */
.primary-btn{
  background:linear-gradient(135deg,var(--accent),#f59e0b);
  color:#000;
}

.primary-btn:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 35px rgba(0,0,0,.35);
}

/* Secondary */
.secondary-btn{
  border:2px solid #fff;
  color:#fff;
}

.secondary-btn:hover{
  background:#fff;
  color:#000;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
  .admission-cta h2{
    font-size:28px;
  }

  .admission-cta p{
    font-size:15px;
  }
}
/* ================= UNIQUE FOOTER ================= */
.footer-unique{
  position:relative;
  background:radial-gradient(circle at top,#123d6b,#0b1c2d);
  color:#e5e7eb;
  overflow:hidden;
}

/* WAVE / GLOW LINE */
.footer-wave{
  height:4px;
  background:linear-gradient(90deg,var(--accent),#ffffff,var(--accent));
  animation:waveMove 6s linear infinite;
}

/* CONTENT */
.footer-content{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  padding:70px 0 50px;
}

/* COLUMNS */
.footer-col h3{
  font-size:22px;
  color:#fff;
  margin-bottom:15px;
}

.footer-col h4{
  font-size:17px;
  color:#fff;
  margin-bottom:15px;
}

.footer-col p{
  font-size:14px;
  line-height:1.7;
  color:#d1d5db;
}

/* LINKS */
.footer-col ul{
  list-style:none;
}

.footer-col ul li{
  margin-bottom:10px;
}

.footer-col ul li a{
  position:relative;
  color:#d1d5db;
  font-size:14px;
  text-decoration:none;
  transition:.3s;
}

.footer-col ul li a::after{
  content:'';
  position:absolute;
  left:0;
  bottom:-3px;
  width:0;
  height:2px;
  background:var(--accent);
  transition:.35s;
}

.footer-col ul li a:hover::after{
  width:100%;
}

.footer-col ul li a:hover{
  color:#fff;
}

/* ICONS */
.footer-col i{
  color:var(--accent);
  margin-right:8px;
}

/* SIGNATURE */
.footer-signature{
  text-align:center;
  padding:14px;
  font-size:13px;
  background:rgba(0,0,0,.35);
  color:#cbd5f5;
}

.footer-signature span{
  color:var(--accent);
}

/* FLOATING EFFECT */
.footer-col{
  animation:floatSoft 6s ease-in-out infinite;
}

.footer-col:nth-child(2){
  animation-delay:1s;
}
.footer-col:nth-child(3){
  animation-delay:2s;
}

/* ================= ANIMATIONS ================= */
@keyframes waveMove{
  0%{background-position:0%}
  100%{background-position:200%}
}

@keyframes floatSoft{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-6px)}
}

/* ================= RESPONSIVE ================= */
@media(max-width:992px){
  .footer-content{
    grid-template-columns:1fr;
    text-align:center;
  }
}
