*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    background-color:#f4f7fc;
    color: #333;
}

.top-bar{
    background-color: #002244;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    font-size: 14px;
    flex-wrap: wrap;
}
.top-bar-left,
.top-bar-right{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #003366;
    padding: 20px 50px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.2);
}

.logo{
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo img{
    width: 50px;
    height: 50px;

    border-radius: 50%;
}
.logo h2{
    color: white;
}

.nav-links{
    display: flex;
    list-style: none;
}
.nav-links li{
    margin-left: 20px;
}
.nav-links a{
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}
.nav-links a:hover{
    color: #ffd700;
}

.banner-image{
    width: 100%;
    background-color: #f4f7fc;
    text-align: center;
}
.banner-image img{
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.about{
    padding: 80px 50px;
    text-align: center;
}
.about h2{
    font-size: 40px;
    margin-bottom: 20px;
    color: #003366;
}
.about p{
    max-width: 800px;
    margin: auto;
    line-height: 1.8;
}

.hero{
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.5),
    rgba(0,0,0,0.5)),
    url('../images/school.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}
.hero-content h1{
    font-size: 55px;
    margin-bottom: 20px;
}
.hero-content p{
    font-size: 20px;
    margin-bottom: 30px;
}
.btn{
    display: inline-block;
    padding: 12px 30px;
    background-color: #ffd700;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}
.btn:hover{
    background-color: white;
}
.about,
.features,
.news-section,
.toppers-section,
.reviews-section{
    padding: 80px 50px;
    text-align: center;
}

.feature{
    padding: 80px 50px;
    background-color: white;
    text-align: center;
}
.features h2{
    font-size: 40px;
    margin-bottom: 50px;
    color: #003366;
}
.feature-container{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.feature-box{
    background-color: #f4f7fc;
    padding: 30px;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.feature-box:hover{
    transform: translateY(-10px);
}
.feature-box h3{
    margin-bottom: 15px;
    color: #003366;
}

.news-section{
    padding: 80px 50px;
    background-color: white;
}
.news-container{
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.news-box{
    background-color: #f4f7fc;
    width: 450px;
    padding:30px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
}
.news-box h2{
    color: #003366;
    margin-bottom: 20px;
}
.news-box ul{
    padding-left: 20px;
}
.news-box li{
    margin-bottom: 15px;
    line-height: 1.6;
}

.toppers-section{
    padding: 80px 50px;
    background-color:white;
    text-align: center;
}
.toppers-section h2{
    color: #003366;
    margin-bottom: 50px;
    font-size: 40px;
}
.toppers-container{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.topper-card{
    background-color: #f4f7fc ;
    width: 280px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.topper-card:hover{
    transform: translateY(-10px);
}
.topper-card img{
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}
.topper-card h3{
    color: #003366;
    margin-bottom: 10px;
}

.page-banner{
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 80px 20px;
}
.page-banner h1{
    font-size: 50px;
}

.about-page{
    padding: 80px 50px;
    background-color: white;
}
.about-page h2{
    color: #003366;
    margin-bottom: 20px;
    font-size: 40px;
}
.about-page p{
    line-height: 1.8;
    font-size: 18px;
}

.mission-section{
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 80px 50px;
    background-color: #f4f7fc;
    flex-wrap: wrap;
}
.mission-box{
    background-color: white;
    width: 400px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: 0.3s;
}
.mission-box:hover{
    transform: translateY(-10px);
}
.mission-box h2{
    color: #003366;
    margin-bottom: 20px;
}

.reviews-section{
    padding: 80px 50px;
    background-color: white;
    text-align: center;
}
.reviews-section h2{
    color: #003366;
    margin-bottom: 50px;
    font-size: 40px;
}
.reviews-container{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.review-card{
    background-color: #f4f7fc;
    width: 320px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.review-card:hover{
    transform: translateY(-10px);
}
.review-card p{
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
}
.review-card h3{
    color: #003366;
}


.gallery-section{
    padding: 100px 50px;
    background-color: #f4f7fc;
    text-align: center;
}
.gallery-section h2{
    font-size: 40px;
    color: #003366;
    margin-bottom: 50px;
}
.gallery-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.gallery-item{
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}
.gallery-item img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s;
}
.gallery-item:hover img{
    transform: scale(1.1);
}
.gallery-overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(
        transparent,
        rgba(0,0,0,0.8)
    );
    color: white;
    text-align: left;
}

.facilities-section{
    padding: 80px 50px;
    background-color: white;
    text-align: center;
}
.facilities-section h2{
    color: #003366;
    font-size: 40px;
    margin-bottom: 50px;
}
.facilities-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}
.facility-box{
    width: 280px;
    background-color: #f4f7fc;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.facility-box:hover{
    transform: translateY(-10px);
}
.facility-box h3{
    color: #003366;

    margin-bottom: 20px;
}
.facility-box p{
    line-height: 1.7;
}

.contact-section{
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 80px 50px;
    background-color: #f4f7fc;
    flex-wrap: wrap;
}
.contact-info{
    width: 400px;
}
.contact-info h2{
    color: #003366;
    margin-bottom: 20px;
}
.contact-info p{
    margin-bottom: 15px;
    font-size: 18px;
}
.contact-form{
    width: 500px;
}
.contact-form form{
    display: flex;
    flex-direction: column;
}
.contact-form input,
.contact-form textarea{
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
.contact-form textarea{
    resize: none;
}

.map-section iframe{
    width: 100%;
}


.footer{
    background-color: #003366;
    color: white;
    padding-top: 50px;
}
.footer-container{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 50px 50px;
}
.footer-box{
    width: 250px;
}
.footer-box h3{
    margin-bottom: 20px;
    color: #ffd700;
}
.footer-box a{
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    transition: 0.3s;
}
.footer-box a:hover{
    color: #ffd700;
}
.footer-box p{
    margin-bottom: 10px;
}
.footer-bottom{
    background-color: #002244;
    text-align: center;
    padding: 20px;
}
footer{
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 20px;
}

.admission-section{
    padding: 80px 50px;
    background-color: #f4f7fc;
    display: flex;
    justify-content: center;
}
.admission-form{
    background-color: white;
    width: 700px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
}
.admission-form h2{
    text-align: center;
    margin-bottom: 30px;
    color: #003366;
}
.admission-form form{
    display: flex;
    flex-direction: column;
}
.admission-form input,
.admission-form select,
.admission-form textarea{
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
.admission-form textarea{
    resize: none;
}


@media(max-width: 768px){
    .navbar{
        flex-direction: column;
    }
    .nav-links{
        margin-top: 15px;
        flex-direction: column;
        align-items: center;
    }
    .nav-links li{
        margin: 10px 0;
    }
    .hero-content h1{
        font-size: 35px;
    }
    .hero-content p{
        font-size: 16px;
    }
}

.stats-section{
    padding: 80px 50px;
    background-color: #f4f7fc;
    text-align: center;
}
.stats-section h2{
    color: #003366;
    font-size: 40px;
    margin-bottom: 50px;
}
.stats-container{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.stat-box{
    background-color: white;
    width: 220px;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.stat-box:hover{
    transform: translateY(-10px);
}
.stat-box h3{
    font-size: 40px;
    color: #003366;
    margin-bottom: 15px;
}
.stat-box p{
    font-size: 18px;
    color: #555;
}