/* Header */
.main-header{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 40px;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
    z-index:9999;
}

/* Logo */
.logo img{
    width:60px;
    height:auto;
    transition:.3s;
}

.logo img:hover{
    transform:scale(1.05);
}

/* School Name */
.school-name{
    margin-left:15px;
    flex:1;
}

.school-name a{
    text-decoration:none;
    font-size:24px;
    font-weight:bold;
    color:#0b5ed7;
}

/* Navigation */
.main-menu{
    display:flex;
    list-style:none;
    margin:0;
    padding:0;
}

.main-menu li{
    position:relative;
}

.main-menu li a{
    display:block;
    padding:15px 18px;
    color:#333;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.main-menu li a:hover{
    color:#0b5ed7;
}

/* Dropdown */
.sub-menu{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    min-width:230px;
    background:#fff;
    list-style:none;
    padding:0;
    box-shadow:0 4px 15px rgba(0,0,0,.15);
}

.has-submenu:hover .sub-menu{
    display:block;
}

.sub-menu li a{
    padding:12px 15px;
}

/* Mobile Icon */
.menu-link{
    display:none;
    font-size:28px;
    color:#333;
}

@media(max-width:991px){

    .menu-link{
        display:block;
    }

    .main-nav{
        display:none;
    }
}
.announcement-header{
    text-align:center;
    padding:60px 20px 40px;
    background:#17375e;
    color:#fff;
    margin-bottom:40px;
}

.announcement-header h1{
    font-size:35px;
    font-weight:700;
    margin-bottom:15px;
    text-transform:uppercase;
    letter-spacing:2px;
}

.announcement-header p{
    font-size:18px;
    max-width:700px;
    margin:0 auto;
    line-height:1.7;
    color:#e8eef8;
}

@media (max-width:768px){

    .announcement-header{
        padding:40px 15px 30px;
    }

    .announcement-header h1{
        font-size:34px;
    }

    .announcement-header p{
        font-size:16px;
    }

}
body{
    background:#f5f7fb;
    font-family:Arial,Helvetica,sans-serif;
}

.announcements{
    width:90%;
    max-width:1100px;
    margin:50px auto;
}

.announcement{

    background:#fff;

    margin-bottom:35px;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    transition:.3s;
}

.announcement:hover{

    transform:translateY(-5px);

}

.announcement-image{

    width:100%;

    height:380px;

    object-fit:cover;

    display:block;

}

.announcement-content{

    padding:30px;

}

.date{

    display:inline-block;

    background:#0d6efd;

    color:white;

    padding:6px 14px;

    border-radius:30px;

    font-size:13px;

    margin-bottom:15px;

}

.announcement-content h2{

    margin:15px 0;

    color:#17375e;

}

.announcement-content p{

    line-height:1.8;

    color:#555;

}
/* HERO */

.about-hero{

    height:320px;

    background:url("images/about-banner.jpg") center center/cover;

    position:relative;

}

.about-hero .overlay{

    background:rgba(0,0,0,.60);

    width:100%;

    height:100%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    color:#fff;

    text-align:center;

}

.about-hero h1{

    font-size:58px;

    font-weight:bold;

    letter-spacing:2px;

    margin-bottom:15px;

}

.about-hero p{

    font-size:22px;

}

/* ABOUT SECTION */

.about-section{

    background:#f8fafc;

    padding:80px 0;

}

.about-container{

    width:90%;

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:50px;

}

.about-content{

    background:#fff;

    padding:45px;

    border-radius:12px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.about-tag{

    display:inline-block;

    background:#0d6efd;

    color:#fff;

    padding:8px 18px;

    border-radius:30px;

    font-size:13px;

    letter-spacing:1px;

    margin-bottom:20px;

}

.about-content h2{

    color:#163b65;

    font-size:38px;

    margin-bottom:15px;

}

.line{

    width:90px;

    height:4px;

    background:#0d6efd;

    margin-bottom:30px;

    border-radius:5px;

}

.about-content p{

    color:#555;

    font-size:17px;

    line-height:2;

    margin-bottom:20px;

    text-align:justify;

}

/* STATS */

.about-stats{

    display:flex;

    flex-direction:column;

    gap:25px;

}

.stat-box{

    background:#163b65;

    color:#fff;

    padding:35px;

    border-radius:12px;

    text-align:center;

    box-shadow:0 8px 20px rgba(0,0,0,.12);

    transition:.3s;

}

.stat-box:hover{

    transform:translateY(-8px);

}

.stat-box h3{

    font-size:42px;

    margin-bottom:10px;

}

.stat-box span{

    font-size:18px;

}

/* RESPONSIVE */

@media(max-width:900px){

.about-container{

grid-template-columns:1fr;

}

.about-hero{

height:250px;

}

.about-hero h1{

font-size:42px;

}

.about-content{

padding:30px;

}

.about-content h2{

font-size:30px;

}

}


.demographics-section{
    background:#ffffff;
    padding:80px 0;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title span{
    display:inline-block;
    background:#0d6efd;
    color:#fff;
    padding:8px 18px;
    border-radius:30px;
    font-size:13px;
    letter-spacing:1px;
    margin-bottom:15px;
}

.section-title h2{
    font-size:40px;
    color:#163b65;
    margin-bottom:15px;
}

.section-title p{
    max-width:700px;
    margin:auto;
    color:#666;
    font-size:18px;
}

.demographics-content{
    background:#f8fafc;
    padding:40px;
    border-radius:12px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.demographics-content p{
    font-size:17px;
    line-height:2;
    color:#555;
    margin-bottom:20px;
    text-align:justify;
}

.demographic-cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    margin-top:50px;
}

.demo-card{
    background:#163b65;
    color:#fff;
    padding:35px 20px;
    border-radius:12px;
    text-align:center;
    transition:.3s;
    box-shadow:0 10px 20px rgba(0,0,0,.12);
}

.demo-card:hover{
    transform:translateY(-8px);
}

.demo-card h3{
    font-size:29px;
    margin-bottom:12px;
}

.demo-card p{
    font-size:17px;
    margin:0;
}

@media(max-width:768px){

    .section-title h2{
        font-size:32px;
    }

    .demographics-content{
        padding:25px;
    }

    .demographics-content p{
        font-size:16px;
    }

}

/*========================
SECTION TITLES
========================*/

.section-heading{

    text-align:center;

    margin-bottom:60px;

}

.section-heading span{

    display:inline-block;

    background:#0d6efd;

    color:#fff;

    padding:8px 20px;

    border-radius:30px;

    font-size:13px;

    letter-spacing:1px;

    margin-bottom:18px;

}

.section-heading h2{

    font-size:42px;

    color:#14375f;

    margin-bottom:15px;

}

.section-heading p{

    max-width:760px;

    margin:auto;

    color:#666;

    font-size:18px;

}


/*========================
PARENT SECTION
========================*/

.parent-section{

    padding:90px 0;

    background:#f8fafc;

}

.parent-grid{

    display:grid;

    grid-template-columns:1fr 1.2fr;

    gap:50px;

    align-items:center;

}

.parent-image img{

    width:100%;

    border-radius:15px;

    box-shadow:0 12px 30px rgba(0,0,0,.12);

}

.parent-content{

    background:#fff;

    padding:40px;

    border-radius:15px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.parent-content p{

    font-size:17px;

    line-height:2;

    color:#555;

    margin-bottom:20px;

}



/*========================
ENROLMENT
========================*/

.enrolment-section{

    padding:90px 0;

    background:#fff;

}

.enrolment-wrapper{

    display:grid;

    grid-template-columns:1.2fr 1fr;

    gap:50px;

    align-items:center;

}

.enrolment-text{

    background:#f8fafc;

    padding:40px;

    border-radius:15px;

}

.enrolment-text p{

    font-size:17px;

    line-height:2;

    color:#555;

    margin-bottom:20px;

}

.stats-grid{

    display:grid;

    gap:25px;

}

.year-card{

    background:#14375f;

    color:#fff;

    text-align:center;

    padding:35px;

    border-radius:15px;

    transition:.3s;

    box-shadow:0 10px 20px rgba(0,0,0,.12);

}

.year-card:hover{

    transform:translateY(-8px);

}

.year-card h2{

    font-size:26px;

    margin-bottom:15px;

}

.year-card h1{

    font-size:40px;

    margin-bottom:10px;

}

.year-card span{

    font-size:18px;

}

.active{

    

}



/*========================
RESPONSIVE
========================*/

@media(max-width:900px){

.parent-grid,
.enrolment-wrapper{

grid-template-columns:1fr;

}

.section-heading h2{

font-size:25px;

}

.parent-content,
.enrolment-text{

padding:30px;

}

.year-card h1{

font-size:40px;

}

}
.staff-section{

    padding:100px 0;

    background:#f7f9fc;

}

.staff-grid{

    width:90%;
    max-width:1300px;
    margin:0 auto;

    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:35px;

}
/*=====================*/

.staff-card{

    width:240px;

    position:relative;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    text-align:center;
    padding:40px 25px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.5s;

}

/* Blue top strip */

.staff-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:100px;

    background:linear-gradient(135deg,#004a99,#0d6efd);

}

.staff-card:hover{

    transform:translateY(-15px);

    box-shadow:0 30px 50px rgba(0,0,0,.18);

}

/*=====================*/

.staff-image{

    position:relative;

    width:160px;

    height:160px;

    margin:auto;

    border-radius:50%;

    border:7px solid white;

    overflow:hidden;

    z-index:2;

    transition:.5s;

}

.staff-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;

}

.staff-card:hover img{

    transform:scale(1.15);

}

.staff-card:hover .staff-image{

    transform:rotate(5deg);

}

/*=====================*/

.staff-info{

    margin-top:25px;

}

.staff-info h3{

    color:#17375e;

    margin-bottom:8px;

    font-size:24px;

}

.staff-info span{

    display:inline-block;

    background:#0d6efd;

    color:white;

    padding:8px 20px;

    border-radius:30px;

    margin-bottom:12px;

    font-size:14px;

}

.staff-info small{

    display:block;

    color:#777;

    font-size:15px;

}

/*=====================*/

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(60px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* Floating animation */

.staff-card{

    animation:
        fadeUp .9s ease,
        floating 5s ease-in-out infinite;

}

.staff-card:nth-child(2){

    animation-delay:.2s,.2s;

}

.staff-card:nth-child(3){

    animation-delay:.4s,.4s;

}

.staff-card:nth-child(4){

    animation-delay:.6s,.6s;

}

@keyframes floating{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-10px);

}

100%{

transform:translateY(0);

}

}

@media(max-width:768px){

.staff-grid{

grid-template-columns:1fr;

}

}