/*=========================================================
    EARLY GRIP SCHOOLS
    MAIN STYLESHEET
=========================================================*/


/*=========================================================
    GOOGLE FONTS
=========================================================*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');


/*=========================================================
    ROOT VARIABLES
=========================================================*/

:root{

    --primary:#071B35;

    --secondary:#1565C0;

    --accent:#4FC3F7;

    --gold:#FFC107;

    --dark:#05172E;

    --body:#081C33;

    --card:#102845;

    --text:#FFFFFF;

    --muted:#C8D3E0;

    --transition:.35s ease;

}


/*=========================================================
    RESET
=========================================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Open Sans',sans-serif;

    background:var(--body);

    color:var(--text);

    overflow-x:hidden;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    transition:var(--transition);

}

ul{

    list-style:none;

    margin:0;

    padding:0;

}


/*=========================================================
    TYPOGRAPHY
=========================================================*/

h1,h2,h3,h4,h5,h6{

    font-family:'Poppins',sans-serif;

    color:#ffffff;

    font-weight:700;

}

p{

    color:var(--muted);

    line-height:1.8;

}


/*=========================================================
    TOP BAR
=========================================================*/

.top-bar{

    background:linear-gradient(
        90deg,
        #041321,
        #071B35,
        #1565C0
    );

    border-bottom:1px solid rgba(255,255,255,.08);

}

.top-contact{

    display:flex;

    align-items:center;

    gap:30px;

}

.top-contact a{

    color:#ffffff;

    font-size:14px;

}

.top-contact a:hover{

    color:var(--gold);

}

.top-contact i{

    color:var(--gold);

    margin-right:8px;

}

.top-social{

    display:flex;

    justify-content:flex-end;

    align-items:center;

    gap:10px;

}

.top-social a{

    width:36px;

    height:36px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#ffffff;

}

.top-social a:hover{

    background:rgba(255,255,255,.15);

    color:var(--gold);

}


/*=========================================================
    NAVBAR
=========================================================*/

.navbar{

    background:linear-gradient(
        135deg,
        #05172E,
        #071B35,
        #1565C0
    );

    min-height:95px;

    transition:.4s;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.navbar.scrolled{

    min-height:82px;

    box-shadow:0 12px 30px rgba(0,0,0,.35);

}

.navbar-brand{

    display:flex;

    align-items:center;

}

.logo{

    width:75px;

    height:75px;

    object-fit:contain;

}

.brand-text{

    margin-left:18px;

}

.brand-text h3{

    margin:0;

    color:#ffffff;

    font-size:30px;

    font-weight:700;

    line-height:1.1;

}

.brand-text span{

    color:#D5E3F4;

    font-size:15px;

}

.navbar-nav{

    align-items:center;

}

.navbar-nav .nav-item{

    margin-left:8px;

}

.navbar-nav .nav-link{

    color:#ffffff;

    font-family:'Poppins',sans-serif;

    font-weight:600;

    padding:14px 16px;

    position:relative;

}

.navbar-nav .nav-link:hover{

    color:#FFC107;

}

.navbar-nav .nav-link.active{

    color:#FFC107;

}

.navbar-nav .nav-link::after{

    content:"";

    position:absolute;

    left:16px;

    bottom:6px;

    width:0;

    height:3px;

    border-radius:50px;

    background:#FFC107;

    transition:.35s;

}

.navbar-nav .nav-link:hover::after,

.navbar-nav .nav-link.active::after{

    width:calc(100% - 32px);

}


/*=========================================================
    MOBILE TOGGLER
=========================================================*/

.navbar-toggler{

    border:none;

    box-shadow:none !important;

}

.navbar-toggler i{

    font-size:34px;

    color:#ffffff;

}


/*=========================================================
    BUTTON
=========================================================*/

.btn-school{

    background:#FFC107;

    color:#071B35;

    border-radius:40px;

    padding:12px 28px;

    font-weight:700;

    transition:.35s;

}

.btn-school:hover{

    background:#ffffff;

    transform:translateY(-3px);

}


/*=========================================================
    FOOTER
=========================================================*/

.footer{

    background:#041321;

    padding:70px 0 25px;

    border-top:1px solid rgba(255,255,255,.08);

}

.footer h5{

    color:#ffffff;

}

.footer p{

    color:#B9C9D9;

}

.footer-links li{

    margin-bottom:10px;

}

.footer-links a{

    color:#C8D3E0;

}

.footer-links a:hover{

    color:#FFC107;

}

.footer-social{

    display:flex;

    gap:12px;

}

.footer-social a{

    width:42px;

    height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#102845;

    color:#ffffff;

}

.footer-social a:hover{

    background:#1565C0;

}

.footer hr{

    border-color:rgba(255,255,255,.08);

}

.footer-bottom{

    text-align:center;

    color:#B9C9D9;

}


/*=========================================================
    RESPONSIVE
=========================================================*/

@media(max-width:1199px){

    .navbar-collapse{

        margin-top:20px;

        padding-top:20px;

        border-top:1px solid rgba(255,255,255,.1);

    }

    .navbar-nav{

        align-items:flex-start;

    }

    .navbar-nav .nav-item{

        margin-left:0;

        width:100%;

    }

}

@media(max-width:991px){

    .top-bar{

        display:none;

    }

    .logo{

        width:58px;

        height:58px;

    }

    .brand-text h3{

        font-size:22px;

    }

    .brand-text span{

        display:none;

    }

}

@media(max-width:576px){

    .logo{

        width:50px;

        height:50px;

    }

    .brand-text{

        margin-left:12px;

    }

    .brand-text h3{

        font-size:18px;

    }

}
/*=========================================================
    HERO SECTION
=========================================================*/

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    overflow:hidden;

    padding-top:120px;

    padding-bottom:120px;

}

.hero-section{

    position:relative;

    min-height:100vh;

    overflow:hidden;

    display:flex;

    align-items:center;

    justify-content:center;

}


/*==========================================
BACKGROUND SLIDER
==========================================*/

.hero-slider{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    z-index:1;

}

.hero-slide{

    position:absolute;

    inset:0;

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    opacity:0;

    transform:scale(1.08);

    transition:

        opacity 1.5s ease,

        transform 8s linear;

}

.hero-slide.active{

    opacity:1;

    transform:scale(1);

}

.hero-slide.active{

    opacity:1;

}


/*==========================================
OVERLAY
==========================================*/

.hero-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        rgba(5,23,46,.82),
        rgba(5,23,46,.72)
    );

}


/*==========================================
CONTENT
==========================================*/

.hero-row{

    min-height:100vh;

    align-items:flex-start;

    padding-top:120px;

    position:relative;

    z-index:5;

}

.hero-content{

    padding:0px 0 80px;

    text-align:left;

    background:none;

    border:none;

    box-shadow:none;

    backdrop-filter:none;

    position:relative;

    z-index:10;

    max-width:650px;

}


/*==========================================
TEXT
==========================================*/

.hero-tag{

    display:inline-block;

    color:#FFC107;

    text-transform:uppercase;

    letter-spacing:6px;

    font-size:1rem;

    font-weight:700;

    margin-bottom:20px;

}

.hero-title{

    font-family:'Outfit',sans-serif;

    font-size:5.5rem;

    font-weight:900;

    line-height:.92;

    text-transform:uppercase;

    color:#ffffff;

    letter-spacing:2px;

    margin-bottom:25px;

    text-shadow:0 5px 20px rgba(0,0,0,.45);

}

.hero-title span{

    display:block;

    color:#FFC107;

    margin-top:8px;

}

.hero-title span{

    display:block;

    color:#FFC107;

    margin-top:5px;

}

.hero-content h4{

    color:#ffffff;

    font-family:'Poppins',sans-serif;

    font-size:1.55rem;

    font-weight:600;

    max-width:700px;

    line-height:1.4;

    margin-bottom:28px;

}

.hero-content p{

    color:#D7E4EF;

    max-width:620px;

    font-size:1.08rem;

    line-height:1.9;

    margin-bottom:40px;

}


/*==========================================
BUTTONS
==========================================*/

.hero-buttons{

    display:flex;

    justify-content:flex-start;

    align-items:center;

    gap:18px;

    flex-wrap:wrap;

    margin-top:35px;

    position:relative;

    z-index:20;

}

.btn-outline-school{

    border:2px solid #ffffff;

    color:#ffffff;

    padding:12px 30px;

    border-radius:50px;

    font-weight:700;

    transition:.35s;

}

.btn-outline-school:hover{

    background:#ffffff;

    color:#071B35;

}


/*==========================================
SCROLL INDICATOR
==========================================*/

.scroll-down{

    position:absolute;

    bottom:35px;

    left:50%;

    transform:translateX(-50%);

    z-index:5;

}

.scroll-down a{

    display:flex;

    flex-direction:column;

    align-items:center;

    color:#ffffff;

    text-decoration:none;

    font-size:.8rem;

    letter-spacing:2px;

}

.scroll-down span{

    width:28px;

    height:46px;

    border:2px solid #ffffff;

    border-radius:30px;

    margin-bottom:12px;

    position:relative;

}

.scroll-down span::before{

    content:"";

    position:absolute;

    left:50%;

    top:8px;

    transform:translateX(-50%);

    width:6px;

    height:6px;

    border-radius:50%;

    background:#ffffff;

    animation:scrollDown 1.8s infinite;

}


/*==========================================
ANIMATION
==========================================*/

@keyframes scrollDown{

    0%{

        opacity:1;

        top:8px;

    }

    100%{

        opacity:0;

        top:24px;

    }

}


/*==========================================
RESPONSIVE
==========================================*/

@media(max-width:1200px){

    .hero-title{

        font-size:4.8rem;

    }

}

@media(max-width:992px){

    .hero-title{

        font-size:4rem;

    }

}

@media(max-width:768px){

    .hero-content{

        text-align:center;

    }

    .hero-title{

        font-size:3rem;

    }

    .hero-content h4{

        font-size:1.2rem;

    }

    .hero-content p{

        margin:auto;

        margin-bottom:35px;

    }

    .hero-buttons{

        justify-content:center;

    }

}

@media(max-width:576px){

    .hero-title{

        font-size:2.3rem;

        line-height:1;

    }

    .hero-tag{

        letter-spacing:3px;

        font-size:.8rem;

    }

}
/*=========================================================
STATISTICS SECTION
=========================================================*/

.statistics-section{

    position:relative;

    margin-top:-70px;

    z-index:20;

    padding-bottom:90px;

}

.statistics-wrapper{

    background:#102845;

    border-radius:25px;

    padding:45px 30px;

    box-shadow:0 20px 60px rgba(0,0,0,.35);

    border:1px solid rgba(255,255,255,.08);

}

.stat-card{

    padding:15px;

    transition:.35s;

}

.stat-card:hover{

    transform:translateY(-8px);

}

.stat-icon{

    width:70px;

    height:70px;

    margin:auto;

    margin-bottom:20px;

    border-radius:50%;

    background:linear-gradient(135deg,#1565C0,#071B35);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:28px;

    color:#FFC107;

}

.stat-card h2{

    font-size:2.6rem;

    color:#ffffff;

    font-weight:800;

    margin-bottom:10px;

}

.stat-card p{

    color:#C8D3E0;

    margin:0;

    font-size:1rem;

    font-weight:600;

}

@media(max-width:991px){

    .statistics-section{

        margin-top:-45px;

    }

    .statistics-wrapper{

        padding:35px 20px;

    }

}

@media(max-width:576px){

    .statistics-section{

        margin-top:-30px;

    }

    .stat-card h2{

        font-size:2rem;

    }

    .stat-icon{

        width:55px;

        height:55px;

        font-size:22px;

    }

}


/*=========================================================
PRELOADER
=========================================================*/

#pageLoader{

    position:fixed;

    inset:0;

    background:#06182f;

    display:flex;

    align-items:center;

    justify-content:center;

    z-index:99999;

    transition:opacity .8s ease,
               visibility .8s ease;

}

#pageLoader.hide{

    opacity:0;

    visibility:hidden;

    pointer-events:none;

}

.loader-content{

    text-align:center;

}

.loader-content h1{

    font-family:'Outfit',sans-serif;

    font-size:3.3rem;

    font-weight:900;

    color:#ffffff;

    letter-spacing:2px;

    margin-bottom:15px;

}

.loader-content p{

    color:#d7e4ef;

    letter-spacing:4px;

    text-transform:uppercase;

    margin-bottom:30px;

}

.loader-bar{

    width:260px;

    height:4px;

    background:rgba(255,255,255,.12);

    border-radius:50px;

    overflow:hidden;

    margin:0 auto;

    position:relative;

}

.loader-bar span{

    position:absolute;

    top:0;

    left:0;

    width:0;

    height:100%;

    background:#FFC107;

    border-radius:50px;

    animation:loaderAnimation 1.2s linear forwards;

}

@keyframes loaderAnimation{

    from{

        width:0;

    }

    to{

        width:100%;

    }

}

@media(max-width:768px){

    .loader-content h1{

        font-size:2rem;

    }

    .loader-content p{

        font-size:.8rem;

        letter-spacing:2px;

    }

    .loader-bar{

        width:180px;

        margin:0 auto;

    }

}
/*=========================================================
CHOOSE SCHOOL
=========================================================*/

.school-card{

    position:relative;

    overflow:hidden;

    border-radius:22px;

    background:#102845;

    box-shadow:0 20px 50px rgba(0,0,0,.35);

    transition:.4s;

    height:100%;

}

.school-card:hover{

    transform:translateY(-10px);

}

.school-image{

    position:relative;

    height:320px;

    overflow:hidden;

}

.school-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:1s;

    filter:brightness(.45);

}

.school-card:hover img{

    transform:scale(1.08);

    filter:brightness(.65);

}

.school-overlay{

    padding:35px;

}

.school-badge{

    display:inline-block;

    background:#1565C0;

    color:#fff;

    padding:8px 16px;

    border-radius:30px;

    margin-bottom:18px;

    font-size:.85rem;

    font-weight:600;

}

.school-overlay h3{

    color:#fff;

    margin-bottom:18px;

}

.school-overlay p{

    color:#d9e4ef;

}

.school-overlay ul{

    margin:25px 0;

}

.school-overlay li{

    color:#fff;

    margin-bottom:12px;

}

.school-overlay i{

    color:#FFC107;

    margin-right:8px;

}

.school-overlay .btn{

    margin-top:10px;

}

@media(max-width:768px){

    .school-image{

        height:240px;

    }

}

/*=========================================================
REUSABLE PAGE BANNER
=========================================================*/

.page-banner{

    position:relative;

    min-height:430px;

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

}

.page-banner-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(

        rgba(5,23,46,.85),

        rgba(5,23,46,.70)

    );

}

.page-banner .container{

    position:relative;

    z-index:2;

}

.page-title{

    font-family:'Outfit',sans-serif;

    font-size:4rem;

    font-weight:800;

    color:#ffffff;

    margin-bottom:20px;

}

.page-description{

    max-width:760px;

    margin:auto;

    color:#dbe5ef;

    font-size:1.08rem;

    line-height:1.8;

    margin-bottom:25px;

}

.breadcrumb{

    background:none;

    margin:0;

}

.breadcrumb-item a{

    color:#FFC107;

    text-decoration:none;

}

.breadcrumb-item.active{

    color:#ffffff;

}

.breadcrumb-item + .breadcrumb-item::before{

    color:#cfd8e3;

}

@media(max-width:992px){

    .page-banner{

        min-height:340px;

    }

    .page-title{

        font-size:3rem;

    }

}

@media(max-width:576px){

    .page-banner{

        min-height:280px;

    }

    .page-title{

        font-size:2.2rem;

    }

    .page-description{

        font-size:.95rem;

    }

}
/*=========================================================
MISSION • VISION
=========================================================*/

.mission-section{

    background:#0b1f38;

}

.value-card{

    background:#102845;

    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    padding:40px 30px;

    height:100%;

    text-align:center;

    transition:.35s;

    box-shadow:0 20px 45px rgba(0,0,0,.25);

}

.value-card:hover{

    transform:translateY(-10px);

    border-color:#FFC107;

}

.value-icon{

    width:80px;

    height:80px;

    margin:0 auto 25px;

    border-radius:50%;

    background:linear-gradient(135deg,#1565C0,#071B35);

    display:flex;

    align-items:center;

    justify-content:center;

    color:#FFC107;

    font-size:34px;

}

.value-card h3{

    color:#ffffff;

    margin-bottom:20px;

    font-family:'Outfit',sans-serif;

    font-weight:700;

}

.value-card p{

    color:#d8e4ef;

    line-height:1.8;

}

.core-values{

    list-style:none;

    padding:0;

    margin:0;

    text-align:left;

}

.core-values li{

    color:#ffffff;

    padding:10px 0;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.core-values li:last-child{

    border-bottom:none;

}

.core-values i{

    color:#FFC107;

    margin-right:10px;

}
/*=========================================================
LATEST NEWS
=========================================================*/

.news-card{

    background:#102845;

    border-radius:20px;

    overflow:hidden;

    transition:.35s;

    box-shadow:0 15px 35px rgba(0,0,0,.25);

    height:100%;

}

.news-card:hover{

    transform:translateY(-10px);

}

.news-card img{

    width:100%;

    height:240px;

    object-fit:cover;

}

.news-content{

    padding:25px;

}

.news-date{

    color:#FFC107;

    font-size:.9rem;

    display:block;

    margin-bottom:15px;

}

.news-content h4{

    color:#fff;

    margin-bottom:15px;

}

.news-content p{

    color:#dbe5ef;

}

.news-content a{

    color:#FFC107;

    text-decoration:none;

    font-weight:600;

}

/*=========================================================
TIMELINE
=========================================================*/

.timeline{

    max-width:850px;

    margin:auto;

}

.timeline-item{

    display:flex;

    gap:25px;

    margin-bottom:30px;

}

.timeline-date{

    min-width:100px;

    background:#FFC107;

    color:#041321;

    text-align:center;

    padding:15px;

    border-radius:12px;

    font-weight:700;

}

.timeline-content{

    background:#102845;

    padding:20px;

    border-radius:15px;

    flex:1;

}

.timeline-content h4{

    color:#fff;

}

.timeline-content p{

    color:#dbe5ef;

}

/*=========================================================
NEWS CTA
=========================================================*/

.news-cta{

    padding:90px 0;

}

.cta-box{

    background:linear-gradient(135deg,#102845,#1d5fbf);

    padding:60px;

    border-radius:25px;

    text-align:center;

}

.cta-box h2{

    color:#fff;

}

.cta-box p{

    color:#dbe5ef;

    margin:20px 0 35px;

}