* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    body{
    background:#f5f8ff;
}
    color: #333;
}

/* ================= HEADER ================= */
header {
    background: #013a55;
    color: white;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: left;
}

.logo-container img {
    width: 90px;
    margin-right: 20px;
}

.school-name h1 {
    font-size: 30px;
}

.school-name p {
    color: #ffcc00;
}

/* ================= NAVIGATION ================= */
nav {
    background: #5ca5e0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 18px 20px;
    transition: 0.1s;
}

nav ul li a:hover {
    background: #ffcc00;
    color: black;
}

/* ================= HERO ================= */
.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.slides{
    position:absolute;
    width:100%;
    height:100%;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    transition:opacity 1s ease-in-out;
}

.slide.active{
    opacity:1;
}

.hero-text{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    background:transparent;
    color:white;
    padding:30px;
    border-radius:10px;
    text-align:center;
    z-index:10;
}

.hero-text h2{
    font-size:38px;
    margin-bottom:15px;
}
/* LEADERSHIP SECTION */
.leadership{
    padding: 60px 40px;
    background: #f9f9f9;
}

.leadership h2{
    text-align: center;
    color: orange;
    margin-bottom: 50px;
    font-size: 2rem;
}

.dos-section{
    display:flex;
    align-items:flex-start;
    gap:40px;
    margin-bottom:60px;
    padding-left:40px;
    padding-right:10px;
}

.dos-text{
    flex: 2;
}

.dos-text h3{
    color: #003366;
    margin-bottom: 10px;
}

.dos-text h4{
    color: orange;
    margin-bottom: 15px;
}

.dos-text p{
    line-height: 1.8;
    margin-bottom: 15px;
}

.dos-image{
    flex: 1;
    text-align: center;
}

.dos-image img{
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.dos-image h3{
    margin-top: 10px;
    color: #003366;
}

/* Responsive */
@media(max-width:768px){
    .dos-section{
        flex-direction: column;
    }

    .dos-image,
    .dos-text{
        width: 100%;
    }

    .dos-image{
        text-align: center;
    }
}

/* ================= ABOUT ================= */
.about {
    padding: 80px 10%;
    display: flex;
    gap: 50px;
    align-items: flex-start;
    background: rgba(232, 238, 235, 0.616);
}

.about-image,
.about-text {
    flex: 1;
}
.about-image img {
    width: 100%;
    height: 400px;   /* Increase height */
    object-fit: cover;
    border-radius: 15px;
}
.about-text h2 {
    color: orange;
    margin-bottom: 10px;
    margin-top: 0;
    font-size: 35px;
}
.about-text p {
    line-height: 1.8;
    margin-bottom: 15px;
}

/* JUSTIFY TEXT */
.about-text p,
.dos-text p,
.news p{
    text-align: justify;
    line-height: 1.8;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ================= VISION MISSION VALUES ================= */

.vmv-container{
    display:flex;
    justify-content:center;
    gap:25px;
    margin-top:40px;
    background-color: #86c7ec;
}

.vmv-card{
    flex:1;
    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 4px 10px rgba(135, 178, 235, 0.1);
    text-align:center;
}

.vmv-card h3{
    color:#003366;
    margin-bottom:15px;
}

.vmv-card ul{
    list-style:none;
    padding:0;
}

.vmv-card li{
    margin:8px 0;
}

/* Mobile Responsive */
@media(max-width:768px){
    .vmv-container{
        flex-direction:column;
    }
}
/* ACADEMICS */
.academics{
    padding: 70px 10%;
    background:#eef5ff;
}

.academics h2{
    text-align: center;
    color: #ff9900;
    margin-bottom: 20px;
}

.academic-intro{
    max-width: 900px;
    margin: auto;
    text-align: center;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #555;
}

.academic-cards{
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.academic-card{
    background: white;
    padding: 25px;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.academic-card:hover{
    transform: translateY(-8px);
}

.academic-card h3{
    color: #003366;
    margin-bottom: 15px;
}

.academic-card p{
    color: #666;
    line-height: 1.7;
}

.section-title{
    text-align: center;
    color: #003366;
    margin-bottom: 30px;
}
/* TOP STUDENTS SECTION */
.students-container{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
    margin-top:30px;
}


/* STUDENT CARD */
.student-box{
    width:260px;
    background:white;
    border-radius:15px;
    padding:25px 15px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    transition:0.3s;
}


.student-box:hover{
    transform:translateY(-8px);
}


/* ROUND STUDENT IMAGE */
.student-box img{
    width:150px;
    height:150px;
    border-radius:50%;
    object-fit:cover;
    margin:auto;
    display:block;
    border:5px solid orange;
}


/* STUDENT NAME */
.student-box h4{
    margin:20px 0 10px;
    color:#ff9900;
    font-size:20px;
}


/* DESCRIPTION */
.student-box p{
    padding:0 10px 10px;
    color:#555;
    line-height:1.6;
}
/* MOBILE RESPONSIVENESS */
@media(max-width:768px){
    .students-container{
        flex-direction:column;
        align-items:center;
    }

    .student-box{
        width:90%;
        max-width:400px;
    }
}
/* YEAR HEADINGS */
.year-title{
    text-align:center;
    color:#003366;
    margin:40px 0 20px;
    font-size:32px;
    font-weight:bold;
}

/* O-LEVEL & A-LEVEL HEADINGS */
.level-title{
    text-align:center;
    color:#ff9900;
    margin:20px 0;
    font-size:24px;
    font-weight:600;
}
/* MOBILE */
@media(max-width:768px){
    .dos-section{
        flex-direction: column;
        text-align: center;
    }

    .dos-text{
        text-align: center;
    }
}

/* ================= FACILITIES ================= */
.facilities{
    padding:80px 5%;
    background-color:rgb(182, 240, 208);
}

.facilities h2{
    text-align:center;
    margin-bottom:40px;
    color:orange;
    font-size:36px;
}

.facility-container{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:30px;
    width:100%;
}

.facility-card{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

.facility-card img{
    width:100%;
    height:250px;
    object-fit:contain;
}

.facility-card h3{
    padding:15px;
    color:#003366;
    text-align:center;
}

.facility-card p{
    padding:0 15px 20px;
    color:#333;
    text-align:center;
    line-height:1.6;
}

/* RESPONSIVE */
@media(max-width:992px){
    .facility-container{
        grid-template-columns:repeat(2, 1fr);
    }
}

@media(max-width:768px){
    .facility-container{
        grid-template-columns:1fr;
    }
}
/* CLUBS SECTION */
.clubs-section{
    padding:80px 10%;
    background:#f5f8ff;
}

.clubs-section h2{
    text-align:center;
    font-size:36px;
    color:#003366;
    margin-bottom:50px;
    position:relative;
}

.clubs-section h2::after{
    content:"";
    width:80px;
    height:4px;
    background:orange;
    display:block;
    margin:15px auto;
    border-radius:10px;
}


/* CLUB CONTAINER */
.clubs-container{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:nowrap;
}


/* CLUB CARD */
.club-card{
    width:30-px;
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
    transition:0.4s;
    text-align:center;
}


.club-card:hover{
    transform:translateY(-12px);
    box-shadow:0 15px 30px rgba(0,0,0,0.2);
}


/* CLUB IMAGE */
.club-card img{
    width:100%;
    height:230px;
    object-fit:contain;
    padding:20px;
    background:#eef5ff;
}


/* CLUB TITLE */
.club-card h3{
    color:#003366;
    font-size:24px;
    margin:20px 10px 10px;
}


/* CLUB DESCRIPTION */
.club-card p{
    color:#555;
    padding:0 25px 30px;
    line-height:1.7;
    font-size:16px;
}


/* MOBILE DESIGN */
@media(max-width:768px){

    .clubs-section{
        padding:50px 5%;
    }

    .club-card{
        width:100%;
        max-width:400px;
    }

    .clubs-section h2{
        font-size:28px;
    }

}
/* NEWS */
.news{
    padding: 80px 10%;
   background:#f8f9fa;
}

.news h2{
    text-align: center;
    color: orange;
    margin-bottom: 40px;
}
.news-intro{
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.8;
    color: #555;
    font-size: 17px;
}

.news-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-card{
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.news-card img{
    width: 100%;
    height: 250px;
    object-fit: contain;
    display: block;
}

.news-card h3{
    color: #003366;
    padding: 15px;
}

.news-card p{
    padding: 0 15px 20px;
    text-align: justify;
}

@media(max-width:768px){
    .news-container{
        grid-template-columns: 1fr;
    }
}

/* ================= CONTACT ================= */
.contact {
    background: #50a2f3;
    color: white;
    text-align: center;
    padding: 80px 10px;
}

.contact h2 {
    margin-bottom: 20px;
}

/* FOOTER */

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .about,
    .facility-container,
    .academic-box {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 24px;
    }
}
.footer{
    background:#0b1d3a;
    color:white;
    padding:50px 10% 20px;
}

/* 4 COLUMN LAYOUT */
.footer-container{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:30px;
}

/* EACH BOX */
.footer-box h3{
    margin-bottom:15px;
    color:#ffcc00;
}

.footer-box p,
.footer-box li{
    margin-bottom:10px;
    font-size:14px;
}

/* LIST STYLE */
.footer-box ul{
    list-style:none;
    padding:0;
}

/* LOGO */
.footer-logo{
    width:80px;
    margin-bottom:10px;
}

/* BOTTOM TEXT */
.footer-bottom{
    text-align:center;
    margin-top:30px;
    border-top:1px solid rgba(255,255,255,0.2);
    padding-top:15px;
}

/* RESPONSIVE */
@media(max-width:900px){
    .footer-container{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px){
    .footer-container{
        grid-template-columns: 1fr;
        text-align:center;
    }
}
/* ================= FULL SCREEN SECTIONS ================= */

html, body{
    width:100%;
    margin:0;
    padding:0;
}

section, header, footer, nav{
    width:100%;
    margin:0;
}

.leadership,
.about,
.academics,
.facilities,
.clubs-section,
.news,
.contact,
.footer{
    padding-left:0;
    padding-right:0;
}

.facility-container,
.news-container,
.clubs-container,
.footer-container,
.academic-cards,
.students-container,
.vmv-container{
    width:100%;
    max-width:none;
    margin:0;
    padding-left:20px;
    padding-right:20px;
}

.facility-container{
    max-width:none;
}

.club-card{
    width:300px;
}

.footer{
    padding-top:50px;
    padding-bottom:20px;
}

.about-image img{
    width:100%;
}