/*==================================
    GOOGLE FONT
==================================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*==================================
    RESET
==================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:#444;
    line-height:1.7;
    background:#f8f9fa;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

section{
    padding:70px 0;
}

/*==================================
    TOP BAR
==================================*/

.top-bar{
    background:#0B3D91;
    color:#fff;
    padding:8px 0;
    font-size:14px;
}

.top-bar a{
    color:#fff;
    margin-left:15px;
}

.top-bar a:hover{
    color:#F4B400;
}

/*==================================
    NAVBAR
==================================*/

.navbar{
    padding:15px 0;
}

.navbar-brand{
    font-weight:700;
    color:#0B3D91 !important;
}

.nav-link{
    color:#333 !important;
    margin-left:15px;
    font-weight:500;
}

.nav-link:hover,
.nav-link.active{
    color:#0B3D91 !important;
}

/*==================================
    HERO
==================================*/

.hero{
    background:#fff;
    min-height:80vh;
    display:flex;
    align-items:center;
}

.hero h1{
    font-size:3rem;
    font-weight:700;
    color:#0B3D91;
}

.hero p{
    margin:20px 0;
    font-size:18px;
}

.hero img{
    border-radius:10px;
}

/*==================================
    BUTTONS
==================================*/

.btn-warning{
    background:#F4B400;
    border:none;
    color:#000;
    padding:12px 25px;
}

.btn-warning:hover{
    background:#d89e00;
}

.btn-primary{
    background:#0B3D91;
    border:none;
}

/*==================================
    HEADINGS
==================================*/

h2{
    color:#0B3D91;
    margin-bottom:20px;
    font-weight:700;
}

h5{
    color:#0B3D91;
}

/*==================================
    CARDS
==================================*/

.card{
    border:none;
    border-radius:10px;
    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.card i{
    color:#0B3D91;
}

/*==================================
    MISSION SECTION
==================================*/

.mission{
    background:#f4f6fa;
}

/*==================================
    SCHOOL STATS
==================================*/

.text-primary{
    color:#0B3D91 !important;
}

/*==================================
    FOOTER
==================================*/

footer{
    background:#08192d;
}

footer h4,
footer h5{
    color:#fff;
}

footer p{
    color:#ddd;
}

footer a{
    color:#ddd;
}

footer a:hover{
    color:#F4B400;
}

footer hr{
    border-color:#555;
}

/*==================================
    GALLERY
==================================*/

.gallery img{
    border-radius:10px;
    transition:.3s;
}

.gallery img:hover{
    transform:scale(1.05);
}

/*==================================
    CONTACT FORM
==================================*/

.form-control{
    border-radius:8px;
    padding:12px;
}

textarea{
    resize:none;
}

/*==================================
    RESPONSIVE
==================================*/

@media(max-width:992px){

.hero{
    text-align:center;
    padding:60px 0;
}

.hero h1{
    font-size:2.4rem;
}

.hero img{
    margin-top:40px;
}

}

@media(max-width:768px){

.top-bar{
    text-align:center;
}

.top-bar .text-end{
    text-align:center !important;
    margin-top:10px;
}

.hero h1{
    font-size:2rem;
}

section{
    padding:50px 0;
}

.nav-link{
    margin-left:0;
}

}

@media(max-width:576px){

.hero h1{
    font-size:1.8rem;
}

.btn{
    width:100%;
}

}

/*==================================
    SCROLL ANIMATIONS
==================================*/

.hidden{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

/*==================================
    BACK TO TOP BUTTON
==================================*/

#backToTop{
    position:fixed;
    bottom:25px;
    right:25px;
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:#0B3D91;
    color:#fff;
    cursor:pointer;
    display:none;
    font-size:18px;
    box-shadow:0 5px 15px rgba(0,0,0,.2);
    z-index:999;
}

#backToTop:hover{
    background:#F4B400;
    color:#000;
}