@font-face {
    font-family: poppins;
    src: url(../font/Poppins/Poppins-Regular.ttf);
}
@font-face {
    font-family: mmfont;
    src: url(../font/MMFont/cherry.ttf);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 0;
}

html{
    scroll-behavior: smooth;
}
section{
    padding: 80px 0;
    z-index: 2;
    position: relative;
}

/*  Owl Carousel  */
.ow-l, .ow-r {
    margin-top: 20px;
    color: #0000002A;
    font-size: 30px;
    transition: all ease-in-out 0.5s;
}
.owl-prev , .owl-next{
    background: transparent !important;
}
.ow-l:hover{
    color:  var(--first-color);
}
.ow-r:hover{
    color:  var(--first-color);
}

:root {
    --first-color: #21325E;
    --second-color: #3E497A;
    --third-color: #F1D00A;
    --fourth-color: #F0F0F0;
}

/* Navbar */
.navbar {
    background-color: var(--first-color);
}
.navbar a {
    font-family: poppins;
    font-weight: bold;
    color: var(--third-color);
    transition: all 0.5s ease-in-out;
}
.navbar a:hover{
    color: var(--fourth-color);
}
.nav-link.active{
    color: var(--fourth-color) !important;
}
.navbar-brand:hover {
    color: var(--third-color) !important;
}
.navbar-toggler{
    border: 2px solid var(--third-color);
    color: var(--third-color) !important;
    transition: all 0.5s ease-in-out;
}
.navbar-toggler:focus {
    border: 2px solid var(--third-color) !important;
    box-shadow: none;
}
.navbar-toggler:hover {
    border: 2px solid var(--fourth-color);
    color: var(--fourth-color) !important;
}

/* Home */
#home{
    background-image: url(../images/bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
#home h2{
    font-weight: bold;
    color: var(--third-color);
    font-family: poppins;
}
#home .title{
    font-weight: normal;
    font-family: mmfont;
    color: var(--fourth-color);
    font-size: 30px;
}
.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: -1;
}
#home .btn{
    font-family: poppins;
    padding: 14px 22px;
    background-color: var(--first-color);
    color: var(--fourth-color);
    border-radius: 100px;
    font-weight: bold;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    transition: all 0.4s ease;
}
#home .btn:hover{
    border: 2px solid var(--fourth-color);
    background-color: var(--first-color);
    color: var(--fourth-color);
    transform: translateY(-5px);
}

/* section-intro */
.section-intro{
    margin-bottom: 40px;
    font-family: poppins;
    font-weight: bold;
}
.section-intro .divider{
    height: 4px;
    width: 70px;
    background-color: var(--first-color);
    margin: 15px auto;
}
.section-intro p {
    font-family: mmfont;
    font-weight: normal;
    font-size: 18px;
}

/* Modal */
.modal {
    font-family: mmfont;
}
.modal-title {
    color: var(--first-color);
    font-size: 25px;
}
.teacher-name {
    color: var(--first-color);
    font-weight: bold;
    font-size: 20px;
}
.modal p {
    color: var(--second-color);
    font-size: 17px;
}
.eng-para {
    font-family: poppins;
}

/* Card */
#teachers .card {
    width: 65% !important;
    font-family: mmfont;
}
#teachers .item {
    display: flex;
    justify-content: center;
}
.item img {
    padding: 10px;
    border-radius: 5px;
    width: 250px;
    height: 250px;
    object-fit: cover;
}
.item .card-title {
    color: var(--first-color);
}
.card ul{
    font-size: 0.9rem;
}
.btn-go {
    font-family: poppins;
    color: var(--fourth-color);
    text-decoration: none;
    border: 2px solid var(--fourth-color);
    background-color: var(--first-color);
    padding: 5px 18px;
    border-radius: 100px;
    transition: 0.5s all ease-in-out;
}
.btn-go:hover{
    border: 2px solid var(--first-color);
    background-color: transparent;
    color: var(--first-color);
    font-weight: bold;
}

/* Activities */
#activity {
    margin-top: 20px;
    cursor: pointer;
}
#activity .card img{
    object-fit: cover;
    height: 400px;
}
.image-card-overlay{
    position: absolute;
    background-color: #0000007a;
    width: 100%;
    height: 100%;
    display: flex;
    padding: 10px 20px;
    justify-content: end;
    align-items: flex-end;
    color: var(--fourth-color);
    font-family: poppins;
    transition: all 0.5s ease-in-out;
}
.image-card-overlay-lm{
    position: absolute;
    background-color: #FFFFFF3a;
    width: 100%;
    height: 100%;
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    color: var(--fourth-color);
    font-family: poppins;
    transition: all 0.5s ease-in-out;
}
.image-card-overlay-lm a {
    text-align: center;
    width: 100%;
    text-decoration: none;
    color: var(--fourth-color);
    font-size: 20px;
    transition: all 0.3s ease-in-out;
}
.image-card-overlay-lm a:hover {
    color: var(--third-color);
}
.image-card-overlay-lm span:hover {
    color: var(--third-color);
}
.image-card-overlay-lm span {
    padding: 20px;
    text-align: center;
    width: 100%;
    text-decoration: none;
    color: var(--fourth-color);
    font-size: 50px;
    transition: all 0.3s ease-in-out;
}
.image-card-overlay h2 {
    font-family: mmfont;
    font-size: 20px;
}
.image-card-overlay .eng-sub,.image-card-overlay-lm .eng-sub {
    font-family: poppins;
    font-size: 20px;
}
#activities .item {
    display: flex;
    justify-content: center;
}

/* Contact */
#contact .content-title-ct{
    font-family: poppins;
}
#contact {
    font-family: poppins;
}
#contact h3{
    text-align: center;
    margin-bottom: 40px;
    cursor: pointer;
}
.contact-label label{
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    display: block;
}
#contact .mmsub-contact {
    padding: 0;
    display: inline;
    font-family: mmfont;
}
.contact-label span{
    cursor: pointer;
    padding: 5px 30px;
    text-align: center;
    display: block;
}
.contact-label-brand{
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    margin-top: 40px;
    display: block;
}
.contact-label-brand a {
    font-size: 18px;
    color: #000;
    width: 100px;
    text-decoration: none;
    margin: 0px 10px;
}
.contact-label-brand button {
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 50%;
    width: 40px;
    color: var(--fourth-color);
    border: none;
    height: 40px;
    transition: 0.3s all ease-in-out;
}

.contact-label-brand button:hover {
    transform: translate( 0, -20%);
}

/* About and Rule */
.about img {
    width: 300px;
}
.about p {
    margin: 30px 0px;
    font-family: mmfont;
}
.about .eng-abt{
    font-family: poppins;
}

/* Footer */
.div-footer{
    background-color: var(--first-color);
    padding: 10px;
    color: var(--fourth-color);
    text-align: center;
    font-family: poppins;
}
.div-footer span{
    color: var(--third-color);
}

/* Media Query */
@media (max-width: 992px) {

    /* Home */
    #home .title{
        font-weight: normal;
        font-family: mmfont;
        color: var(--fourth-color);
        font-size: 20px;
    }

    .btn{
        font-family: poppins;
        padding: 10px 16px;
        background-color: var(--first-color);
        color: var(--fourth-color);
        border-radius: 100px;
        font-weight: bold;
        font-size: 12px;
        letter-spacing: 1.3px;
        text-transform: uppercase;
        transition: all 0.4s ease;
    }

    /*  Owl Carousel  */
    .ow-l, .ow-r {
        margin-top: 0px;
        color: var(--first-color);
    }

    /* Card */
    .item .card-title {
        font-size: 15px;
    }
    .btn-go {
        font-family: poppins;
        color: var(--fourth-color);
        text-decoration: none;
        border: 2px solid var(--fourth-color);
        background-color: var(--first-color);
        padding: 5px 13px;
        font-size: 14px;
        border-radius: 100px;
        transition: 0.5s all ease-in-out;
    }
    #teachers .content-title {
        font-size: 18px;
    }

    #activity {
        margin-top: 10px;
        cursor: pointer;
    }
    
    #activity .card img{
        object-fit: cover;
        height: 300px;
    }

    /* Contact */
    #contact h3 {
        margin-top: 40px;
        text-align: center;
        font-weight: bold;
    }
    /* Footer */
    .div-footer{
        font-size: 13px;
        padding: 10px 25px;
    }
    .div-footer .zeroone {
        display: block;
    }
}