/*==================================================
    EDGEMONT CHILDREN'S SCHOOL
    Professional School Website
    Version : 2.0
==================================================*/


/*==================================================
    GOOGLE FONT
==================================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/*==================================================
    CSS VARIABLES
==================================================*/

:root{

    --primary:#0A4DA3;
    --secondary:#2E8B57;
    --accent:#F4B400;

    --white:#ffffff;
    --black:#222222;

    --light:#F8F9FA;
    --light-blue:#F5F8FC;

    --text:#555555;

    --shadow:0 8px 25px rgba(0,0,0,.08);

    --radius:15px;

    --transition:.35s ease;

}


/*==================================================
    RESET
==================================================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    font-size:16px;

    color:var(--text);

    background:var(--white);

    overflow-x:hidden;

    line-height:1.8;

}


/*==================================================
    COMMON
==================================================*/

section{

    padding:90px 0;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    transition:var(--transition);

}

ul{

    list-style:none;

    margin:0;

    padding:0;

}

h1,h2,h3,h4,h5,h6{

    color:var(--black);

    font-weight:700;

    margin-bottom:15px;

}

p{

    margin-bottom:15px;

}


/*==================================================
    BUTTONS
==================================================*/

.btn{

    border-radius:50px;

    padding:12px 30px;

    font-weight:600;

    transition:var(--transition);

}

.btn-primary{

    background:var(--primary);

    border-color:var(--primary);

}

.btn-primary:hover{

    background:#08397a;

    border-color:#08397a;

}

.btn-warning{

    color:#000;

    font-weight:700;

}


/*==================================================
    TOP HEADER
==================================================*/

.top-header{

    background:var(--primary);

    color:var(--white);

    font-size:14px;

    padding:10px 0;

}

.top-contact span{

    margin-right:25px;

}

.top-contact i{

    margin-right:8px;

    color:#FFD700;

}

.social-icons{

    text-align:right;

}

.social-icons a{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:35px;

    height:35px;

    margin-left:8px;

    color:var(--white);

    border:1px solid rgba(255,255,255,.30);

    border-radius:50%;

}

.social-icons a:hover{

    background:var(--accent);

    color:#000;

}


/*==================================================
    MAIN HEADER
==================================================*/

.main-header{

    background:var(--white);

    padding:20px 0;

    box-shadow:var(--shadow);

}

.school-logo{

    width:120px;

    margin:auto;

}

.school-name{

    color:var(--primary);

    font-size:40px;

    font-weight:800;

    margin-bottom:5px;

}

.school-tagline{

    color:var(--secondary);

    font-size:20px;

    font-weight:600;

}

.school-address{

    font-size:15px;

    color:#666;

}


/*==================================================
    NAVBAR
==================================================*/

.custom-navbar{

    background:var(--primary);

    padding:0;

    box-shadow:var(--shadow);

    z-index:9999;

}

.custom-navbar .navbar-nav{

    align-items:center;

}

.custom-navbar .nav-link{

    color:var(--white) !important;

    font-size:15px;

    font-weight:600;

    text-transform:uppercase;

    padding:18px 18px;

    transition:var(--transition);

}

.custom-navbar .nav-link:hover{

    background:var(--accent);

    color:#000 !important;

}

.custom-navbar .nav-link.active{

    background:var(--secondary);

}


/*==================================================
    DROPDOWN
==================================================*/

.dropdown-menu{

    border:none;

    border-radius:0;

    padding:0;

    min-width:230px;

    box-shadow:var(--shadow);

}

.dropdown-item{

    padding:13px 20px;

    font-weight:500;

    transition:var(--transition);

}

.dropdown-item:hover{

    background:var(--primary);

    color:var(--white);

}

.navbar-toggler{

    background:var(--white);

    border:none;

    padding:8px 12px;

}

.navbar-toggler:focus{

    box-shadow:none;

}


/*==================================================
    SECTION TITLE
==================================================*/

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h6{

    color:var(--primary);

    font-size:18px;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

}

.section-title h2{

    font-size:42px;

    font-weight:800;

    margin-top:10px;

}

.section-title p{

    max-width:700px;

    margin:auto;

}


/*==================================================
    RESPONSIVE
==================================================*/

@media(max-width:991px){

.school-name{

font-size:28px;

text-align:center;

}

.school-tagline{

text-align:center;

}

.school-address{

text-align:center;

}

.top-header{

text-align:center;

}

.social-icons{

text-align:center;

margin-top:10px;

}

.custom-navbar .nav-link{

padding:12px 15px;

}

}

@media(max-width:576px){

.school-logo{

width:90px;

}

.school-name{

font-size:22px;

}

.section-title h2{

font-size:30px;

}

}
/*==================================================
    HERO SLIDER
==================================================*/

.hero-slider{
    position:relative;
}

.slider-image{
    width:100%;
    height:700px;
    object-fit:cover;
}

.slider-overlay{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.55);
}

.carousel-caption{
    bottom:18%;
    z-index:10;
}

.carousel-caption h5{
    color:var(--white);
    font-size:28px;
    font-weight:600;
    letter-spacing:3px;
    text-transform:uppercase;
    margin-bottom:15px;
}

.carousel-caption h1{
    color:var(--white);
    font-size:62px;
    font-weight:800;
    line-height:1.2;
    text-shadow:2px 2px 15px rgba(0,0,0,.50);
}

.carousel-caption p{
    color:var(--white);
    font-size:22px;
    margin:25px auto;
    max-width:700px;
}

.carousel-caption .btn{
    margin:8px;
}

.carousel-control-prev,
.carousel-control-next{
    width:70px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
    width:45px;
    height:45px;
    background-size:60%;
    border-radius:50%;
    background-color:rgba(255,255,255,.20);
}

/*==================================================
    WELCOME SECTION
==================================================*/

.welcome-section{
    background:var(--white);
}

.welcome-section img{
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.welcome-section h6{
    color:var(--primary);
    font-weight:700;
    letter-spacing:2px;
}

.welcome-section h2{
    font-size:42px;
    color:var(--black);
    margin-bottom:25px;
}

.welcome-section p{
    color:var(--text);
    text-align:justify;
    line-height:1.9;
}

/*==================================================
    COUNTER SECTION
==================================================*/

.counter-section{
    background:linear-gradient(135deg,var(--primary),#06356d);
    color:var(--white);
    padding:80px 0;
}

.counter-box{
    text-align:center;
    padding:30px 15px;
}

.counter-box h2{
    color:var(--white);
    font-size:55px;
    font-weight:800;
    margin-bottom:10px;
}

.counter-box p{
    color:rgba(255,255,255,.90);
    font-size:20px;
    margin:0;
}

/*==================================================
    WHY CHOOSE US
==================================================*/

.why-us{
    background:var(--light-blue);
}

.feature-box{
    background:var(--white);
    border-radius:var(--radius);
    padding:40px 30px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:var(--transition);
    height:100%;
}

.feature-box:hover{
    transform:translateY(-10px);
}

.feature-box i{
    width:90px;
    height:90px;
    line-height:90px;
    border-radius:50%;
    background:rgba(10,77,163,.10);
    color:var(--primary);
    font-size:38px;
    margin-bottom:25px;
    transition:var(--transition);
}

.feature-box:hover i{
    background:var(--primary);
    color:var(--white);
}

.feature-box h4{
    color:var(--black);
    font-size:24px;
    margin-bottom:15px;
}

.feature-box p{
    color:var(--text);
    margin-bottom:0;
}

/*==================================================
    ABOUT IMAGE EFFECT
==================================================*/

.welcome-section img:hover{
    transform:scale(1.02);
    transition:.4s;
}

/*==================================================
    BUTTON EFFECT
==================================================*/

.btn:hover{
    transform:translateY(-2px);
}

/*==================================================
    RESPONSIVE
==================================================*/

@media(max-width:991px){

.slider-image{
    height:500px;
}

.carousel-caption{
    bottom:10%;
}

.carousel-caption h1{
    font-size:42px;
}

.carousel-caption h5{
    font-size:20px;
}

.carousel-caption p{
    font-size:18px;
}

.counter-box{
    margin-bottom:30px;
}

.welcome-section h2{
    font-size:34px;
    margin-top:30px;
}

}

@media(max-width:768px){

.slider-image{
    height:420px;
}

.carousel-caption h1{
    font-size:30px;
}

.carousel-caption h5{
    font-size:16px;
}

.carousel-caption p{
    display:none;
}

.carousel-caption .btn{
    padding:10px 20px;
    font-size:14px;
}

.counter-box h2{
    font-size:42px;
}

.feature-box{
    margin-bottom:25px;
}

}

@media(max-width:576px){

.slider-image{
    height:350px;
}

.carousel-caption{
    bottom:8%;
}

.carousel-caption h1{
    font-size:24px;
}

.carousel-caption h5{
    font-size:14px;
}

.welcome-section{
    text-align:center;
}

.welcome-section p{
    text-align:left;
}

}
/*==================================================
    LEADERSHIP SECTION
==================================================*/

.leadership{
    background:var(--white);
}

.leader-card{
    background:var(--white);
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:var(--transition);
    height:100%;
}

.leader-card:hover{
    transform:translateY(-10px);
}

.leader-image{
    width:100%;
    height:350px;
    object-fit:cover;
}

.leader-content{
    padding:30px;
}

.leader-content h3{
    color:var(--primary);
    font-size:30px;
    margin-bottom:20px;
}

.leader-content p{
    color:var(--text);
    text-align:justify;
    line-height:1.8;
}


/*==================================================
    FACILITIES
==================================================*/

.facilities{
    background:var(--light-blue);
}

.facility-card{

    background:var(--white);

    border-radius:var(--radius);

    text-align:center;

    padding:40px 25px;

    box-shadow:var(--shadow);

    transition:var(--transition);

    height:100%;

}

.facility-card:hover{

    background:var(--primary);

    color:var(--white);

    transform:translateY(-10px);

}

.facility-card i{

    width:90px;

    height:90px;

    line-height:90px;

    border-radius:50%;

    background:rgba(10,77,163,.10);

    color:var(--primary);

    font-size:42px;

    margin-bottom:25px;

    transition:var(--transition);

}

.facility-card:hover i{

    background:rgba(255,255,255,.20);

    color:#FFD700;

}

.facility-card h4{

    font-size:24px;

    margin-bottom:15px;

    transition:var(--transition);

}

.facility-card p{

    margin-bottom:0;

    transition:var(--transition);

}

.facility-card:hover h4,
.facility-card:hover p{

    color:var(--white);

}


/*==================================================
    PHOTO GALLERY
==================================================*/

.gallery-section{

    background:var(--white);

}

.gallery-img{

    width:100%;

    height:260px;

    object-fit:cover;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:.40s;

}

.gallery-img:hover{

    transform:scale(1.05);

}

.gallery-section .col-lg-4{

    overflow:hidden;

}


/*==================================================
    NEWS & EVENTS
==================================================*/

.news-section{

    background:var(--light-blue);

}

.news-card{

    background:var(--white);

    border-radius:var(--radius);

    padding:30px;

    box-shadow:var(--shadow);

    transition:var(--transition);

    height:100%;

}

.news-card:hover{

    transform:translateY(-10px);

}

.news-card h4{

    color:var(--primary);

    margin-bottom:15px;

}

.news-card p{

    color:var(--text);

}

.news-card a{

    color:var(--primary);

    font-weight:600;

}

.news-card a:hover{

    color:var(--secondary);

}


/*==================================================
    CARD ANIMATION
==================================================*/

.feature-box,
.facility-card,
.news-card,
.leader-card{

    transition:.35s;

}


/*==================================================
    RESPONSIVE
==================================================*/

@media(max-width:991px){

.leader-image{

    height:280px;

}

.facility-card{

    margin-bottom:30px;

}

.news-card{

    margin-bottom:30px;

}

}


@media(max-width:768px){

.leader-content{

    padding:20px;

}

.leader-content h3{

    font-size:24px;

}

.gallery-img{

    height:220px;

}

}


@media(max-width:576px){

.leader-image{

    height:220px;

}

.facility-card{

    padding:30px 20px;

}

.facility-card i{

    width:75px;

    height:75px;

    line-height:75px;

    font-size:34px;

}

.gallery-img{

    height:200px;

}

.news-card{

    padding:20px;

}

}
/*==================================================
    TESTIMONIAL SECTION
==================================================*/

.testimonial-section{
    background:var(--white);
}

.testimonial-card{
    background:var(--white);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:35px 30px;
    text-align:center;
    transition:var(--transition);
    height:100%;
}

.testimonial-card:hover{
    transform:translateY(-10px);
}

.testimonial-card img{
    width:100px;
    height:100px;
    border-radius:50%;
    object-fit:cover;
    margin:0 auto 20px;
    border:5px solid var(--light-blue);
}

.testimonial-card h4{
    color:var(--primary);
    margin-bottom:10px;
}

.testimonial-card p{
    color:var(--text);
    font-style:italic;
}


/*==================================================
    CONTACT SECTION
==================================================*/

.contact-section{
    background:var(--light-blue);
}

.contact-section h2{
    color:var(--primary);
    margin-bottom:25px;
}

.contact-section p{
    margin-bottom:15px;
    color:var(--text);
}

.contact-section strong{
    color:var(--black);
}

.contact-section iframe{
    width:100%;
    border:0;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}


/*==================================================
    FOOTER
==================================================*/

footer{

    background:#062c60;

    color:var(--white);

    padding:70px 0 20px;

}

footer h4{

    color:var(--white);

    margin-bottom:25px;

}

footer p{

    color:rgba(255,255,255,.85);

}

footer ul{

    padding:0;

}

footer ul li{

    margin-bottom:12px;

}

footer ul li a{

    color:rgba(255,255,255,.85);

    transition:var(--transition);

}

footer ul li a:hover{

    color:var(--accent);

    padding-left:8px;

}

footer hr{

    border-color:rgba(255,255,255,.15);

    margin:35px 0 20px;

}

footer .text-center{

    color:rgba(255,255,255,.75);

}


/*==================================================
    WHATSAPP BUTTON
==================================================*/

.whatsapp{

    position:fixed;

    right:25px;

    bottom:25px;

    width:60px;

    height:60px;

    border-radius:50%;

    background:#25D366;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:30px;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

    z-index:9999;

}

.whatsapp:hover{

    transform:scale(1.10);

    color:#fff;

}


/*==================================================
    BACK TO TOP
==================================================*/

#topBtn{

    position:fixed;

    right:25px;

    bottom:100px;

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    cursor:pointer;

    display:none;

    z-index:9998;

    transition:var(--transition);

}

#topBtn:hover{

    background:var(--secondary);

}


/*==================================================
    ANIMATION
==================================================*/

img,
.card,
.feature-box,
.facility-card,
.news-card,
.testimonial-card,
.leader-card{

    transition:all .35s ease;

}


/*==================================================
    UTILITIES
==================================================*/

.bg-primary-custom{

    background:var(--primary);

}

.bg-light-custom{

    background:var(--light-blue);

}

.text-primary-custom{

    color:var(--primary);

}

.shadow-custom{

    box-shadow:var(--shadow);

}

.rounded-custom{

    border-radius:var(--radius);

}


/*==================================================
    RESPONSIVE
==================================================*/

@media(max-width:991px){

.contact-section{

text-align:center;

}

.contact-section iframe{

margin-top:30px;

}

footer{

text-align:center;

}

.whatsapp{

width:55px;

height:55px;

font-size:28px;

}

}


@media(max-width:768px){

.testimonial-card{

margin-bottom:30px;

}

footer{

padding:50px 0 20px;

}

}


@media(max-width:576px){

.whatsapp{

right:15px;

bottom:15px;

width:50px;

height:50px;

font-size:24px;

}

#topBtn{

right:15px;

bottom:80px;

width:45px;

height:45px;

}

footer h4{

font-size:22px;

}

.contact-section h2{

font-size:30px;

}

}