@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy: #0a1d3b;
  --sky: #00a8ff;
  --white: #ffffff;
  --gray: #f6f8fc;
  --dark: #111827;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--gray);
  color: var(--dark);
}

/* ===== Common ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--sky);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  border: 2px solid var(--sky);
}

.btn:hover {
  background: transparent;
  color: var(--sky);
  transform: translateY(-3px);
}

/* ===== Header ===== */
header {
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden; /* image circle ke andar fit rahe */
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* image stretch na ho */
}

.school-title h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}
.school-title h5{
font-size:-15px;
font-weight:600;
font-family:algerian;
}

.school-title p {
  font-size: 12px;
  color: gray;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
  transition: 0.3s ease;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  background: var(--sky);
  left: 0;
  bottom: -6px;
  border-radius: 5px;
  transition: 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: var(--sky);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--navy);
}

/* ===== Hero Swiper ===== */
.hero {
  padding: 50px 0;
  background: linear-gradient(135deg, var(--navy), var(--sky));
  color: var(--white);
}

.hero-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

.hero-text h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-text span {
  color: #ffeb3b;
}

.hero-text p {
  margin: 15px 0;
  font-size: 15px;
  opacity: 0.9;
}

.hero-slider {
  flex: 1;
  min-width: 280px;
}

.swiper {
  width: 100%;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Highlight Boxes ===== */
.highlights {
  padding: 60px 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.highlight-box {
  background: var(--white);
  padding: 25px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
  border-left: 6px solid var(--sky);
}

.highlight-box:hover {
  transform: translateY(-8px);
  border-left: 6px solid var(--navy);
}

.highlight-box h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 8px;
}

.highlight-box p {
  font-size: 13px;
  color: gray;
}

/* ===== Section Title ===== */
.section-title {
  text-align: center;
  margin-bottom: 35px;
}

.section-title h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
}

.section-title p {
  color: gray;
  margin-top: 5px;
  font-size: 14px;
}

/* ===== About Preview Section ===== */
.split-section {
  padding: 70px 0;
  background: var(--white);
}

.split-flex {
  display: flex;
  align-items: center;
  gap: 35px;
  flex-wrap: wrap;
}

.split-img {
  flex: 1;
  min-width: 280px;
}

.split-img img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.split-content {
  flex: 1;
  min-width: 280px;
}

.split-content h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
}

.split-content p {
  margin: 15px 0;
  color: gray;
  font-size: 14px;
  line-height: 1.7;
}

/* ===== Cards Section ===== */
.card-section {
  padding: 70px 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.card {
  background: var(--white);
  padding: 25px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card h3 {
  color: var(--navy);
  margin-bottom: 10px;
}

.card p {
  color: gray;
  font-size: 14px;
  line-height: 1.6;
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  transition: 0.3s ease;
  box-shadow: var(--shadow);
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* ===== Contact ===== */
.contact-box {
  background: var(--white);
  padding: 30px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sky);
}

/* ===== Footer ===== */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 40px 0;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.footer-grid h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.footer-grid p, 
.footer-grid a {
  font-size: 14px;
  opacity: 0.9;
  text-decoration: none;
  color: var(--white);
  line-height: 1.7;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  font-size: 13px;
  opacity: 0.8;
}

/* ===== WhatsApp + Scroll Button ===== */
.whatsapp-btn {
  position: fixed;
  left: 18px;
  bottom: 20px;
  background: #2cad5b;
  color: rgb(255, 255, 255);
  padding: 12px 15px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 20px;
  background: var(--sky);
  color: white;
  border: none;
  padding: 14px 16px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: none;
  z-index: 999;
}
.custom-link {
    text-decoration: none;   /* normal me underline hata diya */
    color: inherit;          /* same color as text */
  }

  .custom-link:hover {
    text-decoration: underline; /* hover par underline */
  }

/* ===== Responsive ===== */
@media(max-width: 900px) {
  nav ul {
    position: absolute;
    top: 75px;
    right: 0;
    background: var(--white);
    width: 100%;
    flex-direction: column;
    gap: 0;
    display: none;
    box-shadow: var(--shadow);
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid #eee;
  }

  .menu-toggle {
    display: block;
  }

  .hero-text h1 {
    font-size: 30px;
  }
}