html{
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}
body{
    margin: 0;
    background: #f4f7fb;
    color: #0B1F5B;
    overflow-x: hidden;
}
#navbar{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 92px;
    box-sizing: border-box;
    align-items: center;
    padding: 0 40px;
    background: rgba(9, 24, 68, .9);
    backdrop-filter: blur(16px);
    transition: height .35s ease, background .35s ease, box-shadow .35s ease;
}
#navbar.scrolled{
    height: 75px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 3px 18px rgba(0,0,0,.15);
}
.nav-left,
.nav-right{
    display: flex;
    gap: 15px;
    list-style: none;
}
.nav-left{
    justify-content: flex-end;
}
.nav-right{
    justify-content: flex-start;
}
#navbar a{
    color: white;
    position: relative;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: color .3s ease;
}
#navbar.scrolled a{
    color: #0B1F5B;
}
#navbar a:hover,
#navbar a.active{
    color: #FFD700;
}
#navbar.scrolled a:hover,
#navbar.scrolled a.active{
    color: #D62828;
}
#navbar a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    background: #FFD700;
    transition: width .3s ease;
}
#navbar a:hover::after,
#navbar a.active::after{
    width: 100%;
}
.logo img{
    width: 104px;
    display: block;
    position: relative;
    left: 20px;
    transition: width .35s ease;
}
#navbar.scrolled .logo img{
    width: 90px;
}
.menu-btn{
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    transition: color .3s ease;
}
#navbar.scrolled .menu-btn{
    color: #0B1F5B;
}
.mobile-menu{
    position: fixed;
    top: 92px;
    left: -100%;
    width: 30%;
    height: 100vh;
    overflow-y: auto;
    background: white;
    display: flex;
    flex-direction: column;
    transition: left .4s ease, top .35s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    z-index: 998;
}
#navbar.scrolled + .mobile-menu{
    top: 75px;
}
.mobile-menu.show{
    left: 0;
}
.mobile-menu a{
    padding: 18px;
    text-decoration: none;
    color: #0B1F5B;
    font-weight: 700;
    border-bottom: 1px solid #eee;
}
.mobile-menu a:hover,
.mobile-menu a.active{
    color: #D62828;
}
.menu-btn.active i::before{
    content:"\f00d";
}
.academics-hero{
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 120px clamp(20px, 4vw, 40px) 70px;
    color: white;
    background:
        linear-gradient(90deg, rgba(7,25,70,.86), rgba(7,25,70,.55) 48%, rgba(7,25,70,.72)),
        url("preview-assets/classroom-960.webp") center/cover;
}
.hero-copy{
    width: min(820px, 100%);
    margin-left: max(0px, calc((100vw - 1120px) / 2));
}
.eyebrow,
.section-heading span,
.faith-statement span,
.values-copy span{
    color: #FFD700;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.academics-hero h1{
    margin: 12px 0 18px;
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 1.05;
}
.academics-hero p{
    max-width: 720px;
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.75;
}
.hero-action,
.commitment-section a{
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    color: #071946;
    background: #FFD700;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(0,0,0,.18);
    transition: transform .3s ease, background .3s ease;
}
.hero-action:hover,
.commitment-section a:hover{
    background: white;
    transform: translateY(-3px);
}
main{
    overflow: hidden;
}
.faith-statement,
.intro-section,
.programme-section,
.teaching-section,
.values-section,
.activities-section,
.commitment-section{
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}
.faith-statement{
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 34px;
    align-items: center;
    margin-top: -58px;
    padding: 34px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 22px 50px rgba(8,24,65,.14);
    position: relative;
    z-index: 2;
}
.faith-statement span,
.values-copy span,
.section-heading span{
    color: #D62828;
}
.faith-statement h2{
    margin: 8px 0 12px;
    font-size: 32px;
}
.faith-statement p,
.intro-section p,
.section-heading p,
.programme-grid p,
.values-copy p,
.commitment-section p{
    color: #546078;
    line-height: 1.75;
}
blockquote{
    margin: 0;
    padding: 24px;
    border-left: 5px solid #FFD700;
    background: #f4f7fb;
    border-radius: 8px;
    color: #0B1F5B;
    font-family: 'Merriweather', Georgia, serif;
    font-size: 20px;
    line-height: 1.6;
}
blockquote cite{
    display: block;
    margin-top: 14px;
    color: #D62828;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
}
.intro-section{
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 42px;
    align-items: center;
    padding: 86px 0;
}
.section-text{
    font-size: 18px;
}
.image-panel{
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}
.image-panel::before{
    content: "";
    position: absolute;
    inset: 22px -18px -18px 22px;
    border-radius: 12px;
    background: #FFD700;
    z-index: -1;
}
.image-panel img{
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 22px 46px rgba(8,24,65,.18);
    transition: transform .7s ease, filter .7s ease;
}
.image-panel:hover img{
    transform: scale(1.07);
    filter: saturate(1.08);
}
.programme-section,
.teaching-section,
.activities-section{
    padding: 70px 0;
}
.section-heading{
    max-width: 780px;
    margin: 0 auto 34px;
    text-align: center;
}
.section-heading h2{
    margin: 8px 0 12px;
    font-size: 36px;
}
.programme-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}
.programme-grid article{
    position: relative;
    overflow: hidden;
    padding: 30px;
    background: white;
    border-radius: 10px;
    border-top: 5px solid #D62828;
    box-shadow: 0 18px 38px rgba(8,24,65,.1);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.programme-grid article::after{
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: #FFD700;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.programme-grid article:hover{
    transform: translateY(-8px);
    border-color: #FFD700;
    box-shadow: 0 28px 55px rgba(8,24,65,.16);
}
.programme-grid article:hover::after{
    transform: scaleX(1);
}
.programme-grid i{
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #071946;
    background: #FFD700;
    font-size: 24px;
    transition: transform .35s ease, background .35s ease, color .35s ease;
}
.programme-grid article:hover i{
    color: white;
    background: #D62828;
    transform: rotate(-6deg) scale(1.06);
}
.programme-grid h3{
    margin: 20px 0 6px;
    font-size: 25px;
}
.programme-grid h4{
    margin: 0 0 14px;
    color: #D62828;
}
.teaching-section{
    width: 100%;
    max-width: none;
    background: #071946;
}
.teaching-section .section-heading{
    color: white;
}
.teaching-section .section-heading p{
    color: #cbd5ea;
}
.pill-grid{
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.pill-grid span{
    min-height: 72px;
    display: grid;
    place-items: center;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    color: white;
    background: rgba(255,255,255,.08);
    text-align: center;
    font-weight: 700;
    transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.pill-grid span:hover{
    transform: translateY(-5px);
    border-color: rgba(255,215,0,.55);
    background: rgba(255,215,0,.12);
}
.values-section{
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 36px;
    align-items: center;
    padding: 86px 0;
}
.values-copy h2{
    margin: 8px 0 14px;
    font-size: 36px;
}
.values-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.values-grid article{
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 12px 28px rgba(8,24,65,.08);
    transition: transform .3s ease, box-shadow .3s ease;
}
.values-grid article:hover{
    transform: translateY(-5px);
    box-shadow: 0 20px 38px rgba(8,24,65,.13);
}
.values-grid i{
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #D62828;
    background: #fff3f3;
}
.values-grid h3{
    margin: 0;
    font-size: 16px;
}
.activities-section{
    padding-top: 28px;
}
.activity-list{
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.activity-list div{
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    border-radius: 10px;
    background: white;
    color: #0B1F5B;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(8,24,65,.08);
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.activity-list div:hover{
    transform: translateY(-6px);
    background: #fffdf2;
    box-shadow: 0 22px 42px rgba(8,24,65,.13);
}
.activity-list i{
    color: #D62828;
    font-size: 24px;
}
.commitment-section{
    margin-bottom: 86px;
    padding: 44px;
    border-radius: 12px;
    color: white;
    text-align: center;
    background:
        linear-gradient(rgba(7,25,70,.86), rgba(7,25,70,.9)),
        url("preview-assets/classroom-960.webp") center/cover;
}
.commitment-section h2{
    margin: 0 0 14px;
    font-size: 36px;
}
.commitment-section p{
    max-width: 800px;
    margin: 0 auto 24px;
    color: #e5ecfb;
}
.site-footer{
    background: #071946;
    color: #f5f8ff;
}
.footer-main{
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 58px 0 42px;
    display: grid;
    grid-template-columns: 1.4fr .9fr 1fr;
    gap: 42px;
}
.footer-brand img{
    width: 82px;
    height: auto;
    margin-bottom: 16px;
}
.footer-brand h3,
.footer-links h4,
.footer-contact h4{
    margin: 0 0 16px;
}
.footer-brand h3{
    font-family: 'Merriweather', Georgia, serif;
    font-size: 24px;
    line-height: 1.25;
}
.footer-brand p,
.footer-contact p{
    margin: 0 0 12px;
    color: #cbd5ea;
    line-height: 1.6;
}
.footer-socials{
    display: flex;
    gap: 12px;
    margin-top: 22px;
}
.footer-socials a{
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #071946;
    background: #FFD700;
    text-decoration: none;
    transition: transform .3s ease, background .3s ease;
}
.footer-socials a:hover{
    background: white;
    transform: translateY(-4px);
}
.footer-links{
    display: flex;
    flex-direction: column;
}
.footer-links a{
    width: fit-content;
    margin-bottom: 10px;
    color: #cbd5ea;
    text-decoration: none;
    transition: color .3s ease, transform .3s ease;
}
.footer-links a:hover{
    color: #FFD700;
    transform: translateX(4px);
}
.footer-contact i{
    width: 22px;
    color: #FFD700;
}
.footer-bottom{
    border-top: 1px solid rgba(255,255,255,.12);
    text-align: center;
    padding: 18px 20px;
}
.footer-bottom p{
    margin: 0;
    color: #bdc8df;
    font-size: 14px;
}
.footer-bottom .developer-credit{ margin-top: 7px; color: #eef3ff; font-size: 13px; }
.developer-credit strong{ color: #ffd75a; }
.developer-credit a{ color: #fff; font-weight: 700; text-decoration: none; }
.developer-credit a:hover{ color: #ffd75a; text-decoration: underline; }
@media(max-width:1200px){
    #navbar{
        display: flex;
        justify-content: space-between;
        padding: 0 25px;
    }
    .nav-left,
    .nav-right{
        display: none;
    }
    .menu-btn{
        display: block;
    }
    .logo{
        padding-right: 80px;
    }
    .programme-grid,
    .faith-statement,
    .intro-section,
    .values-section{
        grid-template-columns: 1fr;
    }
    .pill-grid,
    .activity-list{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-main{
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand{
        grid-column: 1 / -1;
    }
}
@media(max-width:900px){
    .academics-hero{
        min-height: 580px;
        background-position: center;
    }
    .faith-statement,
    .intro-section,
    .programme-section,
    .values-section,
    .activities-section,
    .commitment-section{
        width: min(100% - 28px, 1120px);
    }
    .intro-section{
        gap: 28px;
    }
    .programme-grid article{
        padding: 24px;
    }
}
@media(max-width:760px){
    .academics-hero{
        min-height: 560px;
        padding: 110px 20px 54px;
    }
    .academics-hero h1{
        font-size: clamp(34px, 11vw, 46px);
    }
    .academics-hero p{
        font-size: 16px;
    }
    .faith-statement{
        margin-top: -34px;
        padding: 24px;
    }
    .intro-section,
    .values-section{
        padding: 58px 0;
    }
    .section-heading h2,
    .values-copy h2,
    .commitment-section h2{
        font-size: 30px;
    }
    .values-grid,
    .pill-grid,
    .activity-list{
        grid-template-columns: 1fr;
    }
    .footer-main{
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 46px;
    }
}
@media(max-width:650px){
    .mobile-menu{
        width: 78%;
    }
}
@media(max-width:480px){
    #navbar{
        height: 82px;
        padding: 0 16px;
    }
    #navbar.scrolled{
        height: 70px;
    }
    .logo{
        padding-right: 48px;
    }
    .logo img,
    #navbar.scrolled .logo img{
        width: 78px;
        left: 0;
    }
    .menu-btn{
        font-size: 26px;
    }
    .mobile-menu{
        top: 82px;
        width: 86%;
    }
    #navbar.scrolled + .mobile-menu{
        top: 70px;
    }
    .academics-hero{
        min-height: 540px;
        padding: 96px 16px 44px;
    }
    .faith-statement{
        padding: 20px;
        border-radius: 8px;
    }
    blockquote{
        padding: 18px;
        font-size: 17px;
    }
    .programme-section,
    .teaching-section,
    .activities-section{
        padding: 48px 0;
    }
    .image-panel::before{
        inset: 14px -10px -10px 14px;
    }
    .programme-grid h3{
        font-size: 22px;
    }
    .activity-list div{
        min-height: 88px;
    }
    .commitment-section{
        padding: 30px 18px;
        margin-bottom: 58px;
    }
}

@media(prefers-reduced-motion: reduce){
    *,
    *::before,
    *::after{
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
