/* comon settings */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto Slab', serif !important;
}

p {
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    line-height: 35px;
}

ul {
    list-style: none;
    line-height: 40px;
    margin: 0 !important;
    padding: 0 !important;
}

a {
    text-decoration: none !important;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
}


/* comon  website effects */

button {
    transition: all 0.4s;
    transition-timing-function: cubic-bezier(0.5, 3, 0, 1);
}

/* button:hover {
    transform: scale(1.2, 1.2);
} */


/* navigation bar */

.dropdown-menu {
    border: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
}

.dropdown-menu li a:hover {
    background-color: #2a9df4;
    transition-duration: .4s;
    color: white;
}


/* drop down hover */

.dropdown-menu:li {
    text-align: left;
    transition-duration: .3s;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    transition-duration: .3s;
}

.logo {
    width: 200px;
}


/* end navigation bar */


/* header */

.header {
    background-image: url(../images/head-bg.jpg);
    background-size: cover;
    height: 600px;
    ;
}


/* home page media query */

@media only screen and (max-width: 600px) {
    .header1 {
        height: auto !important;
    }
    .head-courses {
        display: none !important;
    }
}

.head-button {
    background-color: #2A9DF4;
    padding: 12px;
    border-radius: 3px;
    border: none;
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    color: white;
}

/* .head-button:focus {
    border-radius: 3px;
    background-color: #D0EFFF;
    transition-duration: .3s;
} */


/* header re designed */

.header1 {
    height: 600px;
}

.head-list {
    padding: 15px;
    background-color: #d0efff;
    text-align: center;
    width: fit-content;
    color: black;
    text-align: -webkit-right;
}

.head-list:hover {
    background-color: #2a9df4;
    transition-duration: .4s;
    -o-transition-delay: inherit;
    color: white;
}

.float {
    -webkit-transform: translatey(0px);
    transform: translatey(0px) !important;
    animation: float 3s ease-in-out alternate infinite;
}

@keyframes float {
    0% {
        transform: translate(0, 0px);
    }
    50% {
        transform: translate(0, 10px);
    }
    70% {
        transform: translateX(6px);
    }
    100% {
        transform: translate(0, -2px);
    }
}


/* end header section */


/* about section */

.about-head {
    height: 240px;
    background-image: url(../images/about-head.png);
    background-size: cover;
}

.about-head p {
    align-self: flex-end;
}

.a-photo {
    height: 450px;
    background-color: teal;
}


/* end about section */


/* courses section */

.course-ic {
    width: 20px !important;
}

.card-body {
    border-radius: 20px;
}


/* services section */

.serive-head {
    height: 240px;
    background-image: url(../images/service-head.png);
    background-size: cover;
}

.service-head p {
    align-self: flex-end;
}

.srvc {
    background-color: white;
    border-radius: 30px;
}


/* services hover effect */

.content {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: auto;
    overflow: hidden;
}

.content .content-overlay {
    background: rgba(3, 37, 76, 0.7);
    border-radius: 30px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.content:hover .content-overlay {
    opacity: 1;
}

.content-image {
    width: 100%;
}

.content-details {
    position: absolute;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.content:hover .content-details {
    top: 50%;
    left: 50%;
    opacity: 1;
}

.content-details h3 {
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-bottom: 0.5em;
    text-transform: uppercase;
}

.content-details p {
    color: #fff;
    font-size: 0.8em;
}

.fadeIn-bottom {
    top: 80%;
}


/* footer */


/* footer social media icons */

.ft-social {
    color: #03254C;
}


/* about page styles */

.ab-list {
    background-color: #03254C;
    margin-right: 15px;
    color: cornsilk;
    border-radius: 50%;
}

.mv-bg {
    background-image: url(../images/mv-bg.png);
    background-size: cover;
}


/* our vision */

.vision {
    color: #2a9df4;
}


/* services page designs */

.service-head {
    height: 240px;
    background-image: url(../images/service-head.png);
    background-size: cover;
}

.service-head p {
    align-self: flex-end;
}


/* services cards */


/*----  Main Style  ----*/

#cards_landscape_wrap-2 {
    text-align: center;
}

#cards_landscape_wrap-2 .container {
    padding-top: 80px;
    padding-bottom: 100px;
}

#cards_landscape_wrap-2 a {
    text-decoration: none;
    outline: none;
}

#cards_landscape_wrap-2 .card-flyer {
    border-radius: 5px;
}

#cards_landscape_wrap-2 .card-flyer .image-box {
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.50);
    border-radius: 5px;
}

#cards_landscape_wrap-2 .card-flyer .image-box img {
    -webkit-transition: all .9s ease;
    -moz-transition: all .9s ease;
    -o-transition: all .9s ease;
    -ms-transition: all .9s ease;
    width: 100%;
    height: 200px;
}

#cards_landscape_wrap-2 .card-flyer:hover .image-box img {
    opacity: 0.7;
    -webkit-transform: scale(1.15);
    -moz-transform: scale(1.15);
    -ms-transform: scale(1.15);
    -o-transform: scale(1.15);
    transform: scale(1.15);
}

#cards_landscape_wrap-2 .card-flyer .text-box {
    text-align: center;
}

#cards_landscape_wrap-2 .card-flyer .text-box .text-container {
    padding: 30px 18px;
}

#cards_landscape_wrap-2 .card-flyer {
    background: #FFFFFF;
    margin-top: 50px;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.40);
}

#cards_landscape_wrap-2 .card-flyer:hover {
    background: #fff;
    box-shadow: 0px 15px 26px rgba(0, 0, 0, 0.50);
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    margin-top: 50px;
}

#cards_landscape_wrap-2 .card-flyer .text-box p {
    margin-top: 10px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    font-size: 14px;
    letter-spacing: 1px;
    color: #000000;
}

#cards_landscape_wrap-2 .card-flyer .text-box h6 {
    margin-top: 0px;
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #151718;
}


/* contact section */

.contact-head {
    height: 240px;
    background-image: url(../images/contact-head.png);
    background-size: cover;
}

.contact-head p {
    align-self: flex-end;
}

.map {
    height: 400px;
    background-image: url(../images/contact-head.png);
    background-size: cover;
}


/* advanced effects for all */

.animate__tada:hover {
    animation: animate__tada;
}

.animate__pulse:hover {
    animation: animate__pulse;
}


/* text animation */

.title {
    display: block;
    position: relative;
}


/* media query css for coman */

@media only screen and (max-width: 600px) {
    .about-head {
        height: 160px;
        background-image: url(../images/about-head-mb.png);
        background-size: cover;
    }
    .about-head p {
        align-self: flex-end;
    }
    .service-head {
        height: 160px;
        background-image: url(../images/service-head-mb.png);
        background-size: cover;
    }
    .service-head p {
        align-self: flex-end;
    }
    .contact-head {
        height: 160px;
        background-image: url(../images/contact-head-mb.png);
        background-size: cover;
    }
    .contact-head p {
        align-self: flex-end;
    }
    .mv-bg {
        background-image: url(../images/mv-bg-mb.png);
        background-size: cover;
    }
    .map {
        height: 200px;
        background-size: cover;
    }
}