*{
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
   font-weight: 500;
   font-style: normal;
   box-sizing: border-box;
}

body{
    overflow-x: hidden;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(images/school5.jpeg);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    display: flex;
    padding: 0 6%;
    justify-content: space-between;
    align-items: center;

}

.nav-links{
    flex: 1;
    text-align: right;
}


.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    text-decoration: none;
    color: #fff;
    font-size: 15px;
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after{
    width: 100%;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    margin-top: 4vw;

}

.text-box h1{
    font-size: 62px;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}

.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 15px;
    background: transparent;
    position: relative;
    cursor: pointer;
    border-radius: 8px;
}


.hero-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
 
}

nav .fa-solid{
    display: none;
}

@media(max-width:700px){
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
      display: block;
    }
    .nav-links{
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa-solid{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul{
        padding: 30px;
    }
}


.about{
    margin-top: 5%;
    
}

.about h1{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.about-col{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 20px 12px;    
}

.about-col .about-text{
    max-width: 700px;
    line-height: 1.7;
    padding: 60px 60px;
}

.about-col .about-img img{
    border-radius: 8px;
}

.about-col .about-img img{
    transition: all 0.3s ease-in-out;
}

.about-col .about-img img:hover{
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    cursor: pointer;
}


.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;

}

.academics-col{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

.academics-col h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.academics-col:hover{
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.2);
    cursor: pointer;
    
}

@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
}

/* -------------CAMPUS----------- */

.campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.campus h1{
    font-size: 36px;
    font-weight: 600;
}

.campus p{
    color: #777;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.campus-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.campus-col img{
    width: 100%;
    display: block;
}


.campus-section {
  width: 100%;
  padding: 80px 40px;
  background: linear-gradient(to right, #f9fbff, #eef4ff);
  overflow: hidden;
}

.campus-heading {
    text-align: center;
    margin-bottom: 60px;
}

.campus-heading h1 {
    font-size: 42px;
    font-weight: 800;
    color: #002244;
    margin-bottom: 15px;
}

.campus-heading p {
    font-size: 17px;
    max-width: 750px;
    margin: auto;
    line-height: 1.8;
    color: #444;
}

/* Campus Cards Container */
.campus-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Campus Card */
.campus-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 370px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    transition: 0.5s ease;
}

.campus-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

/* Hover Zoom */
.campus-card:hover img {
    transform: scale(1.12);
}

/* Overlay */
.campus-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: white;
    transition: 0.5s ease;
}

.campus-overlay h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.campus-overlay p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Lift Effect */
.campus-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}


/* ---------------FACILITIES------------ */

.facilities{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.facilities h1{
    font-size: 36px;
    font-weight: 600;
}

.facilities p{
    color: #777;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.facilities-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;

}

.facilities-col img{
    width: 100%;
    border-radius: 10px;
}

.facilities-col h3{
    text-align: center;
    margin-top: 16px;
    margin-bottom: 15px;

}

.facilities-col p{
    padding: 0;
    text-align: center;
}

/* --------------------------TESTOMINIALS------------- */

.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}

.testimonials h1{
    font-size: 36px;
    font-weight: 600;
}

.testimonials p{
    color: #777;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.testimonial-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}

.testimonial-col img{
    height: 50px;
    width: 80px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.testimonial-col p{
    padding: 0;

}

.testimonial-col h3{
    margin-top: 15px;
    text-align: left;
}

.testimonial-col .fa-solid{
    color: rgb(184, 184, 4);
}

@media(max-width: 700px){
    .testimonial-col img{
        margin-left: 0;
        margin-right: 15px;
    }
}

/* -----------------CALL TO ACTION----------- */

.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(images/school1.jpeg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;

}

.cta h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}

@media(max-width: 700px){
    .cta h1{
        font-size: 24px;
    }
}

/* -----------------FOOTER------------ */

.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-size: 20px;
    font-weight: 600;
}

.footer p{
    color: #777;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.icons .fa-brands{
    color: #f44336;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
    font-size: 30px;
}

/* ------------------ABOUT HTML------------- */

.sub-header{
    height: 60vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/school2.jpeg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
    
}

.sub-header h1{
    margin-top: 100px;

}

.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.about-us-col{
    flex-basis: 48%;
    padding: 30px 2px;
}

.about-us-col img{
    width: 100%;
    border-radius: 8px;
    transition: 0.5s ease-in-out;
}

.about-us-col img:hover{
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    cursor: pointer;
}

.about-us-col h1{
    padding-top: 0;
}

.about-us-col p{
    padding: 15px 0 25px;
    font-size: 16px;
    font-weight: 350;
    line-height: 30px;
}

.red-btn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}

.red-btn:hover{
    color: #fff;
}

/* ---------------- ADMISSION PAGE DESIGN ---------------- */

.admission-page {
    width: 80%;
    margin: auto;
    padding: 80px 0;
}

/* Admission Box */
.admission-box {
    background: #fff3f3;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 15px;
    transition: 0.4s ease;
}

.admission-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* Headings */
.admission-box h2 {
    color: #f44336;
    margin-bottom: 12px;
    font-size: 26px;
}

.admission-box p,
.admission-box li {
    color: #444;
    line-height: 1.8;
    font-size: 16px;
}

/* Gallery Section */
.admission-gallery {
    text-align: center;
    margin: 60px 0;
}

.admission-gallery h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 10px;
}

.admission-gallery p {
    color: #666;
    margin-bottom: 30px;
}

/* Image Row */
.gallery-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Image Card */
.gallery-card {
    width: 450px;
    overflow: hidden;
    border-radius: 18px;
    transition: 0.5s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Image */
.gallery-card img {
    width: 100%;
    display: block;
    transition: 0.6s ease;
}

/* Hover Effects */
.gallery-card:hover img {
    transform: scale(1.12);
}

.gallery-card:hover {
    transform: translateY(-10px);
}


/* ================= ADMISSION FORM ================= */

.admission-form-section {
    width: 80%;
    margin: auto;
    text-align: center;
    padding: 80px 0;
}

.admission-form-section h2 {
    font-size: 34px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.admission-form-section p {
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

/* Form Box */
.admission-form-box {
    background: #fff3f3;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: 0.4s ease;
}

.admission-form-box:hover {
    transform: translateY(-8px);
}

/* Form Inputs */
.admission-form input,
.admission-form select,
.admission-form textarea {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    border: none;
    border-radius: 10px;
    outline: none;
    font-size: 15px;
    transition: 0.3s ease;
}

/* Focus Effect */
.admission-form input:focus,
.admission-form select:focus,
.admission-form textarea:focus {
    border: 2px solid #f44336;
    box-shadow: 0 0 10px rgba(244, 67, 54, 0.4);
}

/* Button */
.admission-btn {
    margin-top: 20px;
    padding: 14px 35px;
    background: #f44336;
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.4s ease;
}

/* Button Hover */
.admission-btn:hover {
    background: #222;
    transform: scale(1.05);
}

/* Responsive */
@media(max-width:700px) {
    .admission-form-box {
        padding: 25px;
    }

    .admission-form-section h2 {
        font-size: 26px;
    }
}


/* ================= ACADEMICS HERO ================= */

.academic-hero {
  width: 100%;
  height: 60vh;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url(images/reading.jpeg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  text-align: center;
  color: #fff;
  max-width: 800px;
}

.hero-text h2 {
  font-size: 45px;
  font-weight: 700;
}

.hero-text p {
  margin-top: 15px;
  font-size: 18px;
  line-height: 1.8;
}


/* ================= ACADEMIC FEATURES ================= */

.academic-features {
  width: 85%;
  margin: auto;
  padding: 90px 0;
  text-align: center;
}

.section-title {
  font-size: 38px;
  font-weight: 700;
  color: #222;
}

.section-subtitle {
  margin: 15px auto 60px;
  max-width: 700px;
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}


/* ================= GRID DESIGN ================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}


/* ================= FEATURE CARD ================= */

.feature-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: 0.5s ease;
  cursor: pointer;
}

.feature-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: 0.6s ease;
}

.feature-content {
  padding: 25px;
  text-align: left;
}

.feature-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #f44336;
  margin-bottom: 10px;
}

.feature-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}


/* Hover Effects */

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.feature-card:hover img {
  transform: scale(1.1);
}


/* ================= RESPONSIVE ================= */

@media(max-width:700px) {

  .hero-text h2 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 15px;
  }

  .feature-content {
    text-align: center;
  }
}


/* ================= COUNTER SECTION ================= */

.counter-section {
  width: 85%;
  margin: auto;
  text-align: center;
  padding: 90px 0;
}

.counter-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.counter-card {
  background: #fff;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: 0.4s ease;
}

.counter-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.22);
}

.counter-card h3 {
  font-size: 42px;
  font-weight: 700;
  color: #f44336;
}

.counter-card p {
  margin-top: 10px;
  font-size: 16px;
  color: #444;
}


/* ================= CALENDAR SECTION ================= */

.calendar-section {
  width: 85%;
  margin: auto;
  text-align: center;
  padding: 90px 0;
}

.calendar-preview {
  margin: 40px auto;
  max-width: 600px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.calendar-preview img {
  width: 100%;
  display: block;
  transition: 0.6s ease;
}

.calendar-preview:hover img {
  transform: scale(1.05);
}

/* Download Button */
.calendar-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 15px 40px;
  background: #f44336;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: 0.4s ease;
}

.calendar-btn:hover {
  background: #222;
  transform: scale(1.07);
}


/* ===========================
   LEADERSHIP SECTION DESIGN
=========================== */

.leadership {
  width: 90%;
  margin: auto;
  text-align: center;
  padding: 80px 0;
}

.leadership h1 {
  font-size: 42px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.sub-text {
  font-size: 16px;
  color: #555;
  margin-bottom: 50px;
}

/* Card Container */
.leader-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Card */
.leader-card {
  background: white;
  width: 320px;
  padding: 35px 25px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transition: 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Hover Animation */
.leader-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

/* Profile Image */
.leader-card img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ff4b5c;
  margin-bottom: 15px;
  transition: 0.4s ease;
}

/* Image Zoom on Hover */
.leader-card:hover img {
  transform: scale(1.08);
}

/* Name */
.leader-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111;
}

/* Text */
.leader-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
}

/* Responsive */
@media(max-width: 768px) {
  .leader-card {
    width: 90%;
  }

  .leadership h1 {
    font-size: 32px;
  }
}

/* Leadership Background Upgrade */
.leadership {
  background: linear-gradient(to right, #fff8f8, #f9fcff);
  border-radius: 25px;
  padding: 90px 0;
  margin-top: 50px;
}

/* Fade Animation Default */
.leader-card {
  opacity: 0;
  transform: translateY(40px);
}

/* Show when Scrolled */
.leader-card.show {
  opacity: 1;
  transform: translateY(0);
  transition: 0.8s ease;
}

/* Glow Hover Effect */
.leader-card:hover {
  box-shadow: 0 18px 40px rgba(255, 75, 92, 0.25);
}


/* ===========================
   PRINCIPAL MESSAGE SECTION
=========================== */

.principal-message {
  width: 90%;
  margin: 80px auto;
  padding: 70px;
  border-radius: 25px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.msg-container {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.msg-img img {
  width: 280px;
  height: 280px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.msg-text {
  flex: 1;
}

.msg-text h2 {
  font-size: 34px;
  margin-bottom: 15px;
  color: #ff4b5c;
}

.msg-text p {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 20px;
}

.msg-text h4 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
}

.msg-text span {
  font-size: 15px;
  color: #666;
}

/* Responsive */
@media(max-width: 768px) {
  .principal-message {
    padding: 40px 20px;
    text-align: center;
  }

  .msg-container {
    flex-direction: column;
  }
}


/* ===============================
   MODERN ABOUT INTRO SECTION
================================ */

.about-modern {
  width: 100%;
  padding: 90px 0;
  background: linear-gradient(to right, #fff5f5, #f9fbff);
}

.about-modern-container {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* Left Text */
.about-text {
  flex: 1;
  animation: fadeLeft 1.2s ease;
}

.about-text h1 {
  font-size: 46px;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-text p {
  font-size: 16px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 18px;
}

/* Button */
.about-btn {
  display: inline-block;
  padding: 14px 40px;
  background: #ff4b5c;
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: 0.4s ease;
}

.about-btn:hover {
  background: #222;
  transform: scale(1.08);
}

/* Right Image */
.about-image {
  flex: 1;
  text-align: center;
  animation: fadeRight 1.2s ease;
}

.about-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 22px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  transition: 0.6s ease;
}

/* Hover Zoom Effect */
.about-image img:hover {
  transform: scale(1.07);
}

/* Animations */
@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media(max-width: 768px) {
  .about-modern-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text h1 {
    font-size: 34px;
  }

  .about-btn {
    margin-top: 15px;
  }
}


.campus-col img {
    width: 100%;
    border-radius: 18px;
    transition: 0.6s ease;
}

.campus-col:hover img {
    transform: scale(1.08);
}


.facilities-col {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: 0.5s ease;
}

.facilities-col img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: 0.6s ease;
}

.facilities-col:hover img {
    transform: scale(1.1);
}

.facilities-col:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.25);
}

.facilities-col h3 {
    font-size: 22px;
    margin: 18px 0 10px;
    font-weight: 700;
}

.facilities-col p {
    font-size: 15px;
    color: #555;
    padding: 0 15px 20px;
    line-height: 1.6;
}

/* ================================
   ACADEMICS SECTION (MODERN STYLE)
================================ */

.academics-section {
  width: 100%;
  padding: 80px 8%;
  background: #f9fbff;
}

.academics-heading {
  text-align: center;
  margin-bottom: 50px;
}

.academics-heading h1 {
  font-size: 42px;
  font-weight: 700;
  color: #002b5b;
}

.academics-heading p {
  font-size: 16px;
  color: #444;
  max-width: 700px;
  margin: auto;
  line-height: 1.6;
}

/* Container */
.academics-container {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

/* Academic Card */
.academic-card {
  width: 100%;
  display: flex;
  align-items: center;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transition: 0.4s ease;
}

.academic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

/* Image */
.academic-card img {
  width: 40%;
  height: 260px;
  object-fit: cover;   /* No cutting issue */
  transition: 0.4s ease;
}

.academic-card:hover img {
  transform: scale(1.05);
}

/* Content */
.academic-content {
  width: 60%;
  padding: 30px;
}

.academic-content h3 {
  font-size: 26px;
  font-weight: 700;
  color: #002b5b;
  margin-bottom: 12px;
}

.academic-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* Button */
.academic-btn {
  display: inline-block;
  padding: 10px 18px;
  background: #002b5b;
  color: white;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.academic-btn:hover {
  background: #ff9800;
}

/* Responsive */
@media (max-width: 900px) {
  .academic-card {
    flex-direction: column;
    text-align: center;
  }

  .academic-card img {
    width: 100%;
    height: 220px;
  }

  .academic-content {
    width: 100%;
  }
}

/* ================= PREMIUM FACILITIES PAGE ================= */

.facility-hero-premium {
  height: 70vh;
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url(images/students.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-premium-text {
  text-align: center;
  color: white;
  max-width: 800px;
}

.hero-premium-text h2 {
  font-size: 52px;
  font-weight: 800;
}

.hero-premium-text p {
  margin-top: 15px;
  font-size: 18px;
  line-height: 1.8;
}


/* Showcase Section */

.facility-showcase {
  width: 85%;
  margin: auto;
  padding: 100px 0;
  text-align: center;   /* ✅ Centers heading + paragraph */
}


.facility-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
}

.facility-row.reverse {
  flex-direction: row-reverse;
}

/* Image */

.facility-img {
  flex: 1;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.facility-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: 0.7s ease;
}

.facility-img:hover img {
  transform: scale(1.12);
}

/* Text Info */

.facility-info {
  flex: 1;
}

.facility-info h3 {
  font-size: 32px;
  font-weight: 700;
  color: #ff4b5c;
  margin-bottom: 15px;
}

.facility-info p {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 25px;
}

/* Button */

.facility-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #ff4b5c;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.4s ease;
}

.facility-btn:hover {
  background: #222;
  transform: translateY(-4px);
}


/* Responsive */

@media(max-width: 900px) {
  .facility-row {
    flex-direction: column;
    text-align: center;
  }

  .facility-img img {
    height: 260px;
  }

  .hero-premium-text h2 {
    font-size: 34px;
  }
}

/* ============================= */
/* 🌟 Premium 3D Gallery Slider */
/* ============================= */

.gallery-section {
  width: 100%;
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(to right, #f8fbff, #eef5ff);
}

.gallery-section h1 {
  font-size: 45px;
  font-weight: 800;
  color: #002855;
  margin-bottom: 10px;
}

.gallery-section p {
  font-size: 18px;
  color: #444;
  margin-bottom: 60px;
}

/* 3D Slider Box */
.slider3d {
  position: relative;
  width: 350px;
  height: 350px;
  margin: auto;
  perspective: 1200px;
}

/* Rotating Track */
.slider-track {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  animation: rotateSlider 18s infinite linear;
}

/* Pause on Hover */
.slider-track:hover {
  animation-play-state: paused;
}

/* Each Image Position */
.slider-track span {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotateY(calc(var(--i) * 45deg)) translateZ(500px);
}

/* Image Styling */
.slider-track span img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  transition: 0.5s ease;
}

/* Hover Zoom Premium */
.slider-track span img:hover {
  transform: scale(1.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

/* Animation Rotation */
@keyframes rotateSlider {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}


/* ============================= */
/* ✅ Sub Header for Gallery Page */
/* ============================= */

.sub-header {
  height: 55vh;
  width: 100%;
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url("images/school4.jpeg");
  background-position: center;
  background-size: cover;
  text-align: center;
  color: white;
}

.sub-header h1 {
  margin-top: 80px;
  font-size: 45px;
  font-weight: 800;
}


/* ================= CONTACT PAGE ================= */

.contact-page {
  width: 85%;
  margin: auto;
  padding: 90px 0;
  text-align: center;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-top: 60px;
}

/* Info Box */
.contact-info-box {
  background: #fff;
  padding: 40px;
  border-radius: 18px;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: 0.4s ease;
}

.contact-info-box:hover {
  transform: translateY(-10px);
}

.contact-info-box h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #f44336;
}

.contact-info-box p {
  font-size: 15px;
  margin: 15px 0;
  color: #444;
}

.contact-info-box i {
  color: #f44336;
  margin-right: 10px;
}

/* Form Box */
.contact-form-box {
  background: #fff;
  padding: 40px;
  border-radius: 18px;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: 0.4s ease;
}

.contact-form-box:hover {
  transform: translateY(-10px);
}

.contact-form-box h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #f44336;
}

/* Form Inputs */
.contact-form-box input,
.contact-form-box textarea {
  width: 100%;
  padding: 14px;
  margin: 12px 0;
  border-radius: 10px;
  border: 1px solid #ddd;
  outline: none;
  font-size: 15px;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
  border-color: #f44336;
  box-shadow: 0 0 8px rgba(244,67,54,0.3);
}

/* Button */
.contact-btn {
  width: 100%;
  padding: 14px;
  background: #f44336;
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.4s;
}

.contact-btn:hover {
  background: #222;
  transform: scale(1.05);
}

/* Map */
.map-section {
  width: 85%;
  margin: auto;
  padding-bottom: 90px;
  text-align: center;
}

.map-box {
  margin-top: 40px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.map-box iframe {
  width: 100%;
  height: 380px;
  border: none;
}

/* Responsive */
@media(max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}
/* ===============================
   HOME ABOUT SECTION (PREMIUM)
================================ */

.about-school {
  width: 100%;
  padding: 90px 8%;
  background: #f9fbff;
}

.about-heading {
  text-align: center;
  margin-bottom: 60px;
}

.about-heading h1 {
  font-size: 42px;
  font-weight: 800;
  color: #002244;
}

.about-heading p {
  font-size: 16px;
  color: #444;
  max-width: 750px;
  margin: 15px auto 0;
  line-height: 1.8;
}

/* Layout */
.about-container {
  display: flex;
  align-items: center;
  gap: 55px;
  flex-wrap: wrap;
}

/* Image */
.about-image {
  flex: 1;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;

  /* ✅ Remove white background */
  background: none;
  padding: 0;
}

.about-image img {
  width: 100%;
  height: 100%;

  /* ✅ Image fully cover */
  object-fit: cover;

  display: block;
}

.about-text {
  padding: 40px;
}

.about-image {
  padding: 0;
}



.about-image:hover img {
  transform: scale(1.08);
}

/* Content */
.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #f44336;
  margin-bottom: 18px;
}

.about-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-card {
  display: flex;
  align-items: stretch; /* ✅ Makes both sides equal */
  padding: 0;           /* ✅ Remove extra padding */
}

/* Button */
.about-btn {
  display: inline-block;
  padding: 12px 26px;
  background: #f44336;
  color: white;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.4s ease;
}

.about-btn:hover {
  background: #002244;
  transform: translateY(-4px);
}

/* Responsive */
@media(max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    height: 300px;
  }
}

/* ================= PREMIUM ACADEMICS SECTION ================= */

.premium-academics {
  width: 100%;
  padding: 100px 8%;
  background: linear-gradient(to right, #f9fbff, #ffffff);
  text-align: center;
}

.premium-heading h1 {
  font-size: 42px;
  font-weight: 700;
  color: #111;
  margin-bottom: 15px;
}

.premium-heading p {
  max-width: 700px;
  margin: auto;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

/* Grid Layout */
.premium-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Card Design */
.premium-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 45px 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Hover Effect */
.premium-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

/* Icon Circle */
.icon-box {
  width: 70px;
  height: 70px;
  margin: auto;
  background: linear-gradient(to right, #ff3c3c, #ff6a00);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

.icon-box i {
  font-size: 28px;
  color: white;
}

/* Text */
.premium-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #111;
}

.premium-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 25px;
}

/* Button Link */
.premium-card a {
  font-weight: 600;
  color: #ff3c3c;
  text-decoration: none;
  transition: 0.3s;
}

.premium-card a:hover {
  color: #000;
}


/* ================= PREMIUM AUTO NOTICE BOARD ================= */

.notice-board {
  width: 100%;
  padding: 90px 0;
  background: linear-gradient(135deg, #f0f4ff, #fff0f3);
}

.notice-wrapper {
  width: 85%;
  margin: auto;
}

.notice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.notice-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: #222;
}

.view-all-btn {
  text-decoration: none;
  padding: 12px 30px;
  background: #f44336;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.4s ease;
}

.view-all-btn:hover {
  background: #222;
  transform: scale(1.05);
}

/* Glass Effect Box */
.notice-glass {
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.15);
  overflow: hidden;
  height: 220px;
  position: relative;
}

/* Auto Scroll */
.notice-scroll {
  display: flex;
  flex-direction: column;
  animation: scrollUp 12s linear infinite;
}

@keyframes scrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.notice-item {
  padding: 18px 20px;
  margin-bottom: 18px;
  border-left: 4px solid #f44336;
  background: rgba(255,255,255,0.6);
  border-radius: 12px;
}

.notice-item span {
  font-size: 14px;
  font-weight: 600;
  color: #f44336;
}

.notice-item p {
  margin-top: 5px;
  font-size: 15px;
  color: #333;
}

.notice-glass:hover .notice-scroll {
  animation-play-state: paused;
}

.notice-header h1 i{
  color: #f44336;
}

@media(max-width:768px){
  .notice-header {
    flex-direction: column;
    gap: 15px;
  }
}


/* ================= RESPONSIVE DESIGN ================= */

@media(max-width: 768px) {

    .notice-board {
        width: 90%;
        padding: 60px 0;
    }

    .notice-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .notice-item span {
        margin-bottom: 8px;
    }

    .notice-item p {
        font-size: 14px;
    }
}


/* =========================================
   GLOBAL RESPONSIVE FIXES
========================================= */

img {
  max-width: 100%;
  height: auto;
}

section {
  padding-left: 20px;
  padding-right: 20px;
}

/* =========================================
   HEADER RESPONSIVE
========================================= */

@media (max-width: 992px) {
  .text-box h1 {
    font-size: 38px;
  }

  .text-box p {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .text-box h1 {
    font-size: 24px;
    line-height: 1.3;
  }

  .text-box p {
    font-size: 13px;
  }

  .hero-btn {
    padding: 10px 22px;
    font-size: 14px;
  }
}


/* =========================================
   ABOUT SECTION RESPONSIVE
========================================= */

@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-content h2 {
    font-size: 28px;
  }
}

/* =========================================
   PREMIUM ACADEMICS RESPONSIVE
========================================= */

@media (max-width: 768px) {
  .premium-grid {
    grid-template-columns: 1fr;
  }

  .premium-heading h1 {
    font-size: 28px;
  }
}

/* =========================================
   CAMPUS SECTION RESPONSIVE
========================================= */

@media (max-width: 768px) {
  .campus-section {
    padding: 50px 20px;
  }

  .campus-heading h1 {
    font-size: 26px;
  }

  .campus-card {
    height: 280px;
  }
}

/* =========================================
   LEADERSHIP RESPONSIVE
========================================= */

@media (max-width: 768px) {
  .leader-container {
    flex-direction: column;
    align-items: center;
  }

  .leader-card {
    width: 95%;
  }
}

/* =========================================
   FOOTER RESPONSIVE
========================================= */

@media (max-width: 576px) {
  .footer h4 {
    font-size: 18px;
  }

  .footer p {
    font-size: 14px;
  }

  .icons .fa-brands {
    font-size: 24px;
  }
}

@media(max-width: 768px) {

    .notice-board {
        width: 100%;
        padding: 60px 0;
    }

    .notice-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .notice-item span {
        margin-bottom: 8px;
    }

    .notice-item p {
        font-size: 14px;
    }

    .notice-header h1{
      width: 90%;
      font-size: 40px;
      text-align: center;
    }

    .notice-header h1 i{
      color: #f44336;
    }

}
.achievement-section{
text-align:center;
padding:60px 20px;
}

.achievement-section h1{
font-size:36px;
margin-bottom:10px;
}

.achievement-section p{
color:#666;
margin-bottom:30px;
}

.achievement-section img{
width:70%;
max-width:700px;
border-radius:10px;
display:block;
margin:auto;
}





.fees-image-center img {
    width: 70%;
    max-width:700px; 
    border-radius:10px;
    display:block;
    margin: auto;
    
}