@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');


:root{
    --primary-color: #c42424;
    --secondary-color: #0b0908;
    --accent-color: #e0c885;
    --primary-font: 'Poppins', sans-serif;
}


.floating-button .float-btn {
    background-color: #c42424;
    padding: 10px 15px;
    color: #fff;
    font-family: 'Poppins';
    font-size: 18px;
    position: fixed;
    z-index: 1;
    transform: rotate(90deg);
    right: -52px;
    top: 50%;
    text-decoration: none;
}

body{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html,body{
    scroll-behavior: smooth;
}

p, .lead{
    font-family: var(--primary-font);
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

h1,h2,h3,h4,h5,h6{
    font-family: var(--primary-font);
}

.about-title{
    font-size: 38px;
    font-weight: 600;
    letter-spacing: 0px;
    text-transform: none;
    margin-top: 15px;
    color: var(--accent-color);
}

/* ========== header ========= */

.head-line h3 {
    color: #fff;
    font-family: var(--primary-font);
    margin: 0px;
    font-size: 39px;
}

.head-line p {
    color: #fff;
    margin: 0px;
    font-family: var(--primary-font);
    font-size: 1.2rem;
}

.head-line {
    background-color: var(--primary-color);
    padding: 15px 15px;
    text-align: center;
}

/* ============ header ========= */

/* ======= Section 1 Video & Form ========= */

.video-box {
    width: 100%;
    height: 450px;
    border-radius: 4px;
}

.video-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-form {
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.form-box select {
    border-radius: 100px;
}

.form-box input {
    height: 40px;
    border-radius: 100px;
    outline: 0;
    box-shadow: none !important;
}

.form-box {
    padding: 48px 30px;
    border-radius: 8px;
    background-color: #fff;
    margin: 0 30px;
    margin-right: 60px;
}

.form-box a {
    padding: 8px 12px;
    border-radius: 100px;
    margin-top: 24px;
    background-color: var(--primary-color);
    font-family: var(--primary-font);
    color: #fff !important;
}

.form-box label {
    margin: 5px;
    font-weight: 500;
}

.form-box sup{
    color: #ff0000;
    font-size: 16px;
    position: relative;
    top: -2px;
    left: 2px;
}

.form-heading h3 {
    font-weight: bold;
    margin-bottom: 0px;
    font-family: var(--primary-font);
    color: var(--primary-color);
}

.form-heading p {
    font-size: 16px;
    color: #757575;
    font-family: var(--primary-font);
}

/* ======= Section 1 Video & Form  ========= */

/* =========== Section 2 ============ */

.content-section p {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    line-height: 28px;
}

.heading {
    padding: 8px;
    font-family: var(--primary-font);
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1.2px;
}

ul.content-list li:before {
    content: "\f00c";
    font-weight: 900;
    font-family: 'Font Awesome 5 Free';
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 16px;
}

ul.content-list li {
    list-style: none;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 0.5rem
}

/* =========== Section 2 ============ */

/* ============= Section 3 ============= */

.section-3 {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.section-3-content {
    display: flex;
    align-items: center;
    padding: 8px;
    margin-bottom: 18px;
    height: 100px;
    border: 1px solid #efefef;
    border-radius: 4px;
    align-content: center;
    justify-content: center;
}

.section-3-content p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0px;
    width: 100%;
    font-family: var(--primary-font);
    color: #757575
}

.section-3-content span img {
    width: 60px;
    height: 60px;
}

.section-3-content span {
    width: 100px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .main-points li:before {
    content: "\f054";
    font-family: 'Font Awesome 5 Free';
    color: var(--primary-color);
    font-weight: 600;
    position: absolute;
    left: 62px;
    font-size: 16px;
    line-height: 28px;
} */

.main-points li {
    list-style: none;
    margin-bottom: 15px;
    margin-left: 24px;
    font-family: var(--primary-font);
}

.main-points h5 {
    margin-bottom: 15px;
}

.feature-list li {
    list-style: none;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 24px;
    font-family: var(--primary-font);
}

.feature-list li:before {
    content: "\f00c";
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    color: var(--primary-color);
    position: absolute;
    left: 28px;
    vertical-align: middle;
    margin-top: 2px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    margin-bottom: 30px;
    border: 1px solid #ddd;
    background-color: #fff;
    height: 180px;
    justify-content: center;
}

.feature-img img {
    width: auto;
    height: 70px;
}


.feature-content {
    margin: 15px 0px;
    width: 100%;
    text-align: center;
}

.feature-content h4 {
    margin: 0;
}

/* ============== Section 3 ========== */

/* ====== buttons =========== */

.btn-outline-success {
    color: #28a745;
    border-color: #28a745;
    font-size: 14px;
    border-radius: 100px;
}

.nav-pills .nav-link {
    border-radius: 100px;
    border: 1px solid var(--primary-color) !important;
    width: 200px;
    text-align: center;
    margin:15px;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    border-radius: 100px;
    font-family: var(--primary-font);
    font-size: 14px;
    width: 100px;
}

.btn-outline-primary {
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 50px;
    border-color: var(--primary-color);
    font-size: 18px;
    font-family: var(--primary-font);
    padding: 8px 32px;
    cursor: pointer;
}

.btn-outline-primary:hover{
    color: #fff;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.scrolltop {
    border-radius: 50px;
    font-size: 18px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
    font-family: var(--primary-font);
}

.whatsapp-btn {
    background-color: #25D366;
    border: none !important;
    color: white !important;
    font-family: var(--primary-font);
    font-size: 18px;
    border-radius: 50px;
    margin-right: 15px;
    box-shadow: 0px 5px 16px -5px rgb(29 223 23 / 50%);
    padding: 10px 32px;
    cursor: pointer;
}

/* ====== buttons =========== */

/* ========= Section 4 ========== */

.section-4-content span img {
    width: 32px;
    height: 32px;
}

.section-4-content span {
    width: 50px;
    text-align: left;
    margin-top: 4px;
}

.sub-content {
    width: 100%;
}

.section-4-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 15px;
    height: 160px;
    border: 1px solid #efefef;
    margin-bottom: 15px;
    border-radius: 4px;
}

/* ========= Section 4 ========== */

/* ========= bannner ad ======= */

.right-box {
    margin: 15px 0px;
}

.right-box a {
    border: 1px solid var(--secondary-color);
    color: #fff !important;
    border-radius: 50px;
}

.left-box h2 {
    color: var(--secondary-color);
    font-family: var(--primary-font);
}

.banner-ad {
    background-color: var(--primary-color);
}

/* ========= bannner ad ======= */

/* ============= Video Testsimonial ========= */

.video-card iframe {
    width: 100%;
    height: 100%;
    border: 0px;
}
.video-card {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 24px;
}
/* ============= Video Testsimonial ========= */


/* ========== Testimonials ========== */

.testimonial {
    padding-top: 70px;
    margin: 50px 15px 0;
    border: 1px solid #fff;
    text-align: center;
    position: relative;
    transition: all 0.7s ease 0s;
}

.testimonial .pic {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background: #fff;
    padding: 7px;
    position:absolute;
    top: -50px;
    left: 50%;
    overflow: hidden;
    transform: translateX(-50%);
    transition: all 0.7s ease 0s;
}

.testimonial:hover .pic{ background: #1d3033; }
.testimonial .pic img{
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.testimonial .title{
    font-size: 22px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin: 0 0 10px 0;
    font-weight: 600;
    font-family: var(--primary-font);
}
.testimonial .description{
    font-size: 16px;
    color: #757575;
    line-height: 1.6;
    border-bottom: 1px solid #f7f7f7;
    padding: 0 25px 35px;
    margin: 0;
    font-family: var(--primary-font);
}
.testimonial .testimonial-content{
    padding: 15px 25px 12px;
    border: 1px solid #f7f7f7;
    border-top: none;
    position: relative;
    text-align: left;
    transition: all 500ms ease 0s;
}
.testimonial:hover .testimonial-content{ border-color: #1d3033; }
.testimonial .testimonial-content:after{
    content: "";
    width: 100%;
    height: 0;
    background: #1d3033;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    transition: all 0.7s ease 0s;
}
.testimonial:hover .testimonial-content:after{ height: 100%; }
.testimonial-content .testimonial-profile{ display: inline-block; }
.testimonial .name{
    font-size: 16px;
    font-weight: 700;
    color: #3d3d3d;
    text-transform: uppercase;
    margin: 0 0 3px;
    transition: all 700ms ease 0s;
}
.testimonial:hover .name{ color: #fff; }
.testimonial .post{
    font-size: 14px;
    color: var(--primary-color);
    text-transform: capitalize;
}
.testimonial .rating{
    display: inline-block;
    padding: 1px 5px;
    margin: 0;
    list-style: none;
    background: #eabd44;
    position: absolute;
    right: 25px;
}
.testimonial .rating li{
    display: inline-block;
    font-size: 14px;
    color: #fff;
}
.owl-theme .owl-controls{
    width: 100%;
    position: absolute;
    top: 50%;
}
.owl-theme .owl-controls .owl-buttons div{
    width: 40px !important;
    height: 40px !important;
    line-height: 37px;
    border-radius: 100px !important;
    background: #fff;
    border: 1px solid #ececec;
    padding: 0;
    opacity: 1;
    transition: all 0.4s ease-in-out 0s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.owl-theme .owl-controls .owl-buttons div:hover{
    background: var(--primary-color);
    border-color: var(--primary-color);
}
.owl-prev,
.owl-next{
    position: absolute;
    left: -3%;
}
.owl-next{
    left: auto;
    right: -3%;
}
.owl-prev:before,
.owl-next:before{
    content: "\f104";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 25px;
    color: #ececec;
}
.owl-next:before{ content: "\f105"; }
@media only screen and (max-width: 990px){
    .owl-theme .owl-controls,
    .owl-prev,
    .owl-next{
        position: relative;
        left: 0;
        right: 0;
    }
}

/* ========== Gallery ========== */

#schoolGallery {
    display: flex;
    align-items: center;
    grid-gap: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 28px;
}

#schoolGallery a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#schoolGallery a {
    width: 300px;
    height: 250px;
    margin-bottom: 0;
}

/* ========== Gallery ========== */

/* ========= Our Teacher ============ */

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

.staff-image {
    width: 100%;
    height: 500px;
}

/* ========= Our Teacher ============ */

/* =========== why us ========= */

.why-card {
    padding: 15px;
    border: 2px solid var(--accent-color);
    margin-bottom: 28px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.why-card h4 {
    margin: 0;
    text-align: center;
    font-size: 20px;
}


.wc_image {
    width: 100%;
    height: 100%;
}

.wc_image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.wc_content h4 {
    font-size: 20px;
}

.wc_content {
    padding: 15px;
}

/* =========== why us ========= */

.key-feature{
    border: 2px solid var(--accent-color);
    margin-bottom: 28px;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
    flex-direction: column;
    overflow: hidden;
}

.key-feature h4{
    margin: 0;
    font-size: 22px;
}


footer h4 {
    margin: 0;
    font-size: 20px;
    color: var(--accent-color);
}
footer {
    width: 100%;
    position: relative;
    bottom: 0;
    background-color: var(--primary-color);
    padding: 15px;
}

footer h4 a {
    color: #fff;
}

/* ========== Media Queries ========= */

@media screen and (max-width: 576px) {
    
    .section-4-content{
        height: auto;
    }

    .video-box{
        height: 250px;
    }

    .video-form .row {
        margin-top: 0px !important;
    }

    .mob-flex .whatsapp-btn {
        margin-bottom: 15px;
        margin-right: 0px;
    }
    .mob-flex {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100px;
        align-content: space-between;
    }

    .video-form {
        width: 100%;
        background: var(--accent-color);
    }

    .form-box{
        margin: 0;
    }

    .d_mob_none{
        display: none;
    }
    
    #schoolGallery{
        margin: 0;
    }

    #schoolGallery a{
        width: 350px;
    }
    
    .staff-image{
        height: 250px;
    }
    
    .staff-image img{
        height: 250px !Important;
    }

    .mob-center{
        text-align: center;
    }

}

/* ========== Media Queries ========= */