
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body{
  background:#ffffff;
  color:#333;
}

/* HEADER */
header{
  background:#ffffff;
  padding:15px 40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:2px solid #0b4da2;
}

header h1{
  color:#0b4da2;
  font-size:22px;
}

nav a{
  margin-left:20px;
  text-decoration:none;
  color:#0b4da2;
  font-weight:bold;
}

/* HERO */
.hero{
  height:45vh;
  background:#0b4da2;
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

/* SECTION */
.section{
  padding:50px 40px;
  max-width:1200px;
  margin:auto;
}

.section h2{
  color:#0b4da2;
  border-bottom:3px solid #0b4da2;
  display:inline-block;
  padding-bottom:6px;
  margin-bottom:20px;
}

/* TABLES */
table{
  width:100%;
  border-collapse:collapse;
  margin-top:20px;
}

th, td{
  border:1px solid #ccc;
  padding:10px;
  text-align:center;
}

th{
  background:#0766f3;
  color:rgb(253, 253, 252);
}

/* NOTICE */
.notice{
  background:#f5f5f5;
  padding:12px;
  border-left:5px solid #0b4da2;
  margin-bottom:10px;
}

/* WHATSAPP */
.whatsapp{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25d366;
  color:white;
  padding:12px 16px;
  border-radius:0;
  text-decoration:none;
  font-weight:bold;
}

/* FOOTER */
footer{
  background:#0b4da2;
  color:rgb(250, 250, 249);
  text-align:center;
  padding:15px;
  margin-top:10px;
}
/* ===== MASONRY GALLERY ===== */
.gallery-grid {
  column-count: 4;
  column-gap: 15px;
}

.gallery-grid img,
.gallery-grid video,
.gallery-grid iframe {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 6px;
  cursor: pointer;
  break-inside: avoid;
}

/* Responsive masonry */
@media (max-width: 1024px) {
  .gallery-grid {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    column-count: 1;
  }
}
/* ===== SLIDER ===== */
.slider {
  width: 100%;
  max-height: 450px;
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ACTIVE SLIDE */
.slide.active {
  opacity: 1;
  position: relative;
}

/* BUTTONS */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 77, 162, 0.8);
  color: white;
  border: none;
  padding: 12px 16px;
  font-size: 22px;
  cursor: pointer;
  border-radius: 50%;
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

.prev:hover, .next:hover {
  background: #f2c230;
  color: #000;
}

/* MOBILE */
@media (max-width: 768px) {
  .slider {
    max-height: 280px;
  }

  .prev, .next {
    font-size: 18px;
    padding: 8px 12px;
  }
}

@keyframes slide{
  0%{opacity:0}
  10%{opacity:1}
  30%{opacity:1}
  40%{opacity:0}
  100%{opacity:0}
}
/* LEADERS */
.leaders{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:20px;
  margin-top:30px;
}

.leader{
  text-align:center;
  border:1px solid #ccc;
  padding:15px;
  border-radius:8px;
}

.leader img{
  width:120px;
  height:120px;
  object-fit:cover;
  border-radius:80%;
}
/* MAKE RISING STAR TABLE TEXT BOLD */
table td,
table th{
  font-weight: bold;
}
/* RISING STARS GRID */
.stars-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:20px;
  margin-top:20px;
}

/* EACH CARD */
.star-card{
  text-align:center;
  border:2px solid #0b4da2;
  border-radius:12px;
  padding:15px;
  background:#f9f9f9;
}

/* STUDENT PHOTO */
.star-card img{
  width:120px;  /* bigger image */
  height:120px;
  object-fit:cover;
  border-radius:75%;
  margin-bottom:15px;
  border:2px solid #0b4da2;
}

/* STUDENT NAME */
.star-card h3{
  font-size:18px;  /* bigger name */
  font-weight:bold;
  margin:5px 0;
  color:#f30707;
}
/* ===== LIGHTBOX FULLSCREEN ===== */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 95%;
  max-height: 95%;
}

#lightbox .close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* HEADINGS */
h1, h2, h3, h4 {
  font-weight: 700; /* bold */
  color: #0b4da2;   /* school blue */
  margin-bottom: 15px;
  letter-spacing: 1px; /* classy spacing */
}

/* MAIN HEADING (like Hero / Slider) */
.hero h1 {
  font-size: 36px;
  font-weight: 800;  /* extra bold */
  color: #0b4da2;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2); /* subtle shadow for elegance */
}

/* ABOUT SECTION TEXT */
.section p {
  font-weight: 600;  /* semi-bold */
  font-size: 16px;
  color: #1a1a1a;
  margin-bottom: 12px;
}

/* ABOUT CLASS FOR IMPORTANT TEXT */
.about-text {
  font-weight: 700;  /* bold */
  color: #0b4da2;
  font-size: 18px;
  line-height: 1.4;
}

/* NAVIGATION LINKS */
nav a {
  font-weight: 600;
  color: #0b4da2;
  text-decoration: none;
  transition: 0.3s;
}

nav a:hover {
  color: #f2c230; /* yellow accent on hover */
  font-weight: 700;
}

/* TABLE TEXT (Rising Stars / Fee Structure) */
table th, table td {
  font-weight: 800;
  color: #0b4da2;
}

/* LIGHTBOX IMAGE CAPTION (optional) */
#lightbox img {
  border-radius: 8px;
  border: 2px solid #0b4da2;
}

/* BUTTONS (if any) */
button, .whatsapp {
  font-weight: 700;
  letter-spacing: 1px;
}
/* CORE VALUES SECTION */
#core-values .values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.value-card {
  background: #f9f9f9;
  border: 2px solid #0b4da2;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.value-card h3 {
  color: #0b4da2;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 18px;
}

.value-card p {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}
/* Core Values Images */
.value-card img {
  width: 80px;       /* uniform size */
  height: 80px;
  object-fit: contain; /* keep proportions */
  margin-bottom: 10px;
}
/* Bold text for Core Values */
.value-card h3 {
  font-weight: 900px;   /* bold title */
  color: #0b4da2;     /* blue like headings */
  font-size: 18px;
}

.value-card p.value-text {
  font-weight:1000px;/* semi-bold for description */
  font-size: 14px;
  color: #333;
}
.value-card p.value-text {
  font-weight: 600;
  font-size: 15px;
  color: #1a1a1a;
  line-height: 1.5;
}
/* FULL-WIDTH IMAGE UNDER CORE VALUES */
.core-values-image img {
  width: 100vw;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
/* GET IN TOUCH SECTION */
.get-in-touch{
  background: #0b4da2;   /* School blue */
  color: white;
  padding: 50px 20px;
  text-align: center;
}

.get-in-touch h2{
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.get-in-touch p{
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 30px;
}

/* CONTACT BUTTONS */
.contact-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.contact-item{
  background: white;
  color: #0b4da2;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}

.contact-item:hover{
  background: #f2c230; /* Yellow hover */
  color: #0b4da2;
}
/* ===== HEADER (STICKY) ===== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 35px;
  background: white;
  border-bottom: 4px solid #0b4da2;
}

/* LOGO + NAME */
.logo-name {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* BIGGER LOGO */
.logo-name img {
  height: 90px;   /* increase logo size */
  width: auto;
}

/* SCHOOL NAME */
.school-text h1 {
  margin: 0;
  font-size: 30px;     /* bigger name */
  font-weight: 800;
  color: #0b4da2;
}

.school-text p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #555;
}

/* NAV MENU */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu a {
  margin-left: 22px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: #0b4da2;
}

.nav-menu a:hover {
  color: #f2c230;
}



/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {

  /* Header */
  .main-header {
    flex-direction: column;
    padding: 12px;
  }

  .logo-name {
    flex-direction: column;
    text-align: center;
  }

  .logo-name img {
    height: 70px;
  }

  .school-text h1 {
    font-size: 22px;
  }

  /* Navigation */
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-menu a {
    margin: 6px 10px;
    font-size: 14px;
  }

  /* Slider */
  .slider {
    max-height: 280px;
  }

  /* Sections */
  section {
    padding: 25px 15px;
  }

  /* Rising Stars */
  .rising-stars {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  }

  /* Gallery masonry */
  .gallery-grid {
    column-count: 2;
  }
}
