/********** Custom CSS **********/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif serif;
}

:root {
    --red: #fb2b0c;
    --orange: #f5a800;
    --blue: #021055;
    --light: #a3c9ed;
    --white: #ffffff;
    --lightbox: rgb(0 0 0 / 0.75);
}

h1,
h2,
.font-weight-bold {
    font-weight: 600 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 500 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

/* ******************** Custom btn Start ************************ */

.custom-btn {
    display: inline-block;
    font-weight: 500;
    line-height: 1.5;
    color: var(--white);
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: var(--blue);
    border: 1px solid var(--blue);
    font-size: 18px;
    border-radius: 10px;
    transition: color .5s ease-in-out, background-color .5s ease-in-out, border-color .5s ease-in-out, box-shadow .5s ease-in-out
}

@media(prefers-reduced-motion: reduce) {
    .custom-btn {
        transition: none
    }
}

.btn.custom-btn {
    box-shadow: inset 0 0 0 0 var(--orange);
}

.btn.custom-btn:hover {
    box-shadow: inset 200px 0 0 0 var(--orange) !important;
    color: var(--blue) !important;
}

.custom-btn {
    color: var(--white);
    background-color: var(--blue);
    border-color: var(--blue);
}

.custom-btn:hover {
    color: var(--light);
    background-color: var(--orange);
    border-color: var(--orange);
}

/* ******************** Custom btn End ************************ */


/* ******************** Spiner Start ************************ */

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* ******************** Spiner End ************************ */

/* ******************** Back To Top Start ************************ */

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 40px;
    z-index: 99;
    background: var(--blue);
    color: var(--light);
    border: 4px solid var(--orange);
    border-radius: 50%;
    font-size: 23px;
}

.back-to-top:hover {
    color: var(--white);
}

/* ******************** Back To Top End ************************ */

/* ******************** Top Header Start ************************ */

.top-header {
    background: var(--light);
}

.top-header .top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--blue);
    transform: skew(40deg);
}

.top-header .top-shape {
    background: var(--blue);
}

.top-header .top-shape a {
    color: var(--white);
    text-decoration: none;
}

.top-header .top-shape a:hover {
    color: var(--light);
}

/* ******************** Top Header End ************************ */

/* ******************** Navbar Start ************************ */

.navbar {
    background: var(--white);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.navbar .navbar-brand img {
    width: 100%;
    height: 70px;
}

.navbar .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 26px 15px;
    font-size: 18px;
    color: var(--blue);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--red);
}

.navbar .book-btn {
    background: var(--blue);
    color: var(--white);
}

.navbar .book-btn:hover {
    background: var(--orange);
    color: var(--blue);
}


.navbar-toggler {
    float: right;
    border: none;
    padding-right: 0;
}

.navbar .navbar-toggler:active,
.navbar .navbar-toggler:focus {
    outline: none;
    border: none;
}

.navbar .navbar-toggler {
    color: var(--white) !important;
    border-color: var(--white) !important;
}

.navbar .navbar-toggler-icon {
    width: 24px;
    height: 18px;
    background-image: none;
    position: relative;
    border-bottom: 3px solid var(--blue);
    transition: all 300ms linear;
}

.navbar .navbar-toggler-icon:after,
.navbar .navbar-toggler-icon:before {
    width: 24px;
    position: absolute;
    height: 2px;
    background-color: var(--blue);
    top: 0;
    left: 0;
    content: '';
    /* z-index: 2; */
    transition: all 300ms linear;
}

.navbar .navbar-toggler-icon:after {
    top: 8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: translateY(8px) rotate(-45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    border-color: transparent;
}

@media (max-width: 991.98px) {

    .navbar .navbar-nav .nav-link,
    .sticky-top.navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }

    .navbar-collapse {
        position: absolute;
        background: var(--light);
        height: 100vh;
        width: 234px;
        left: -282px;
        top: 67px;
        box-shadow: var(--box-shadow);
        padding-top: 10px;
        padding-left: 32px;
        transition: .3s linear;
        z-index: 99;
    }

    .navbar-collapse.show {
        top: 67px;
        left: 0px;
    }
}

@media screen and (min-width:577px) and (max-width: 840px) {
    .navbar-collapse {
        top: 86px;
    }

    .navbar-collapse.show {
        top: 86px;
    }
}

@media (max-width: 576px) {
    .navbar .navbar-brand img {
        width: 100%;
        height: 51px;
    }
}

/* ******************** Navbar End ************************ */

/* ******************** Section Tile Start ************************ */

.section-title h5 {
    color: var(--blue);
}

.section-title h1 {
    color: var(--blue);
}
.section-title h4 {
    color: var(--light);
}
.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--red);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--orange);
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}


/* ******************** Section Tile End ************************ */


/* ******************** About Start ************************ */

#about h4 {
    color: var(--light);
}

#about .point h5 {
    color: var(--blue);
}

#about h3 {
    color: var(--orange);
}

#about .mission {
    border: 4px solid var(--light);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
    border-radius: 15px;
}

#about .mission h5 {
    color: var(--blue);
}

#features .unique-feature {
    background-color: var(--blue);
    color: var(--white);
}

#features .distinguishing-feature {
    background-color: var(--orange);
    color: var(--white);
}

#nest button {
    background-color: var(--light);
    color: var(--blue);
}

#nest .nav-link.active {
    background-color: var(--blue);
    color: var(--orange);
}

#nest .info {
    background: var(--light);
    border-radius: 20px;
    padding: 22px;
}
#nest .info h3{
    color: var(--red);
}
#nest .info p{
    color: var(--blue);
}

/* ******************** About End ************************ */


/* ******************** Counter Start ************************ */

#counter {
    background: linear-gradient(var(--light), rgba(9, 30, 62, .85));
    background-size: cover;
}

.counter {
    font-family: 'Nunito Sans', sans-serif;
    background: var(--white);
    text-align: center;
    width: 200px;
    min-height: 215px;
    padding: 10px 15px;
    margin: 0 auto;
    border-radius: 30px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2);
    position: relative;
}

.counter:before {
    content: '';
    background-color: var(--orange);
    height: 105px;
    width: 100%;
    border-radius: 30px 30px 0 0;
    position: absolute;
    left: 0;
    top: 0;
}

.counter .counter-icon {
    color: var(--white);
    background: #f42929;
    font-size: 50px;
    line-height: 90px;
    width: 120px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 10px 10px 0 0;
    transform: translateY(-20px);
    position: relative;
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}

.counter .counter-icon:before {
    content: "";
    background: #c50202;
    width: 120px;
    height: 90px;
    border-radius: 10px 10px 0 0;
    transform: translateX(-50%);
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}

.counter:hover .counter-icon i {
    transform: rotate(360deg);
    transition: all 0.3s ease;
}

.counter h3 {
    color: var(--blue);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}

.counter .counter-value {
    color: var(--red);
    font-size: 30px;
    font-weight: 600;
    display: block;
}

.counter .fa-plus {
    color: var(--red);
    margin-left: 4px;
    font-size: 24px;
}

@media screen and (max-width:576px) {
    .counter {
        width: 172px;
    }
}

@media screen and (max-width:376px) {
    .counter {
        width: 148px;
    }

    .counter h3 {
        font-size: 15px;
    }

    .counter .counter-value {
        font-size: 26px;
    }
}

/* ******************** Counter End ************************ */

/* ******************** Courses Start ************************ */

#courses .membership-item {
    padding: 45px 30px;
    color: #FFFFFF;
    background: rgba(0, 170, 255, 0.738);
}

#courses .membership-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#courses .membership-item .display-1 {
    color: transparent;
    -webkit-text-stroke: 2px var(--blue);
}

#courses .membership-item h1 {
    color: var(--white);
}

#courses .membership-item .fa-check {
    color: var(--orange);
    font-size: 24px;
}

#courses .membership-item p {
    color: var(--white);
    font-size: 21px;
}



/* ******************** Courses End ************************ */

/* ******************** Facilities Start ************************ */
#facilities h4 {
    color: var(--orange);
}



#facilities .about-img {
    position: relative;
    transition: 0.5s;
    width: 90%;
}

#facilities .about-img img {
    max-width: 100%;
    border: 4px solid var(--blue);
    position: relative;
    border-radius: 0px 16px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

#facilities .about-img::before {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 60px;
    height: 60px;
    z-index: 1;
    content: "";
    border-left: 5px solid var(--red);
    border-top: 5px solid var(--red);
    transition: 0.5s;
}

#facilities .about-img::after {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    z-index: 2;
    content: "";
    border-right: 5px solid var(--red);
    border-bottom: 5px solid var(--red);
    transition: 0.5s;
}

#facilities .about-img:hover {
    transform: scale(1.03);
}

#facilities .about-img:hover::before {
    left: 10px;
    top: 10px;
}

#facilities .about-img:hover::after {
    right: 10px;
    bottom: 10px;
}

@media screen and (min-width: 991px) {
    #gallery {
        padding: 60px 30px 0 30px;
    }
}

#gallery .img-wrapper {
    position: relative;
    margin-top: 15px;
    cursor: pointer;
}

#gallery .img-wrapper img {
    width: 100%;
}

#gallery .img-overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

#gallery .img-overlay i {
    color: var(--light);
    font-size: 26px;
}

#gallery #overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#gallery #overlay img {
    margin: 0;
    width: 80%;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
    padding: 5%;
}

@media screen and (min-width: 768px) {
    #gallery #overlay img {
        width: 60%;
    }
}

@media screen and (min-width: 1200px) {
    #gallery #overlay img {
        width: 50%;
    }
}

#gallery #nextButton {
    color: var(--light);
    font-size: 24px;
    transition: opacity 0.8s;
    cursor: pointer;
}

#gallery #nextButton:hover {
    opacity: 0.7;
}

@media screen and (min-width: 768px) {
    #gallery #nextButton {
        font-size: 32px;
    }
}

#gallery #prevButton {
    color: var(--light);
    font-size: 24px;
    transition: opacity 0.4s;
    cursor: pointer;
}

#gallery #prevButton:hover {
    opacity: 0.7;
}

@media screen and (min-width: 768px) {
    #gallery #prevButton {
        font-size: 32px;
    }
}

#gallery #exitButton {
    color: var(--light);
    font-size: 24px;
    transition: opacity 0.4s;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

#gallery #exitButton:hover {
    opacity: 0.7;
}

@media screen and (min-width: 768px) {
    #gallery #exitButton {
        font-size: 32px;
    }
}

/* ******************** Facilities End ************************ */

/* ******************** Success Start ************************ */

.success-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0 !important;
    transition: .5s;
}

.success-carousel:hover .owl-nav {
    opacity: 1 !important;
}

.success-carousel .owl-nav .owl-prev,
.success-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--light);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.success-carousel .owl-nav .owl-prev:hover,
.success-carousel .owl-nav .owl-next:hover {
    background: var(--blue);
}

/* ******************** Success End ************************ */

/* ******************** Team Start ************************ */
#team {
    background: var(--light);
}

.our-team {
    border-top: 1px solid var(--white);
    background: var(--white);
    border-radius: 5px;
    margin-top: 72px;
    border-bottom: 4px solid var(--blue);
    
}

.our-team .pic {
    width: 40%;
    border: 3px solid var(--white);
    border-radius: 60px 0;
    margin: -72px auto 0;
    overflow: hidden;
    transition: all 0.20s ease 0s;
}

.our-team:hover .pic {
    border-radius: 50%;
    border-color: var(--blue);
}

.our-team .pic img {
    width: 100%;
    height: auto;
}

.our-team .team-content {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.our-team .team-title {
    font-size: 24px;
    color: var(--red);
    margin: 20px 0 0;
    text-transform: uppercase;
}

.our-team .post {
    font-size: 18px;
    color: var(--orange);
    display: block;
    margin-bottom: 10px;
}

.our-team .description {
    font-size: 16px;
    font-weight: 300;
    color: black;
    padding: 0 35px;
    line-height: 22px;
    margin-bottom: 50px;
}

@media only screen and (max-width: 990px) {
    .our-team {
        margin-top: 80px;
    }
}

/* ******************** Team End ************************ */

/* ******************** Testimonial Start ************************ */

.testimonial {
    margin: 0 15px;
    overflow: hidden;
}

.testimonial .description {
    position: relative;
    color: var(--blue);
    padding: 30px 20px;
    border: 1px solid var(--blue);
    border-left: 3px solid var(--blue);
    background: var(--light);
}

.testimonial .description:after {
    content: "";
    width: 20px;
    height: 20px;
    background: var(--light);
    border-bottom: 1px solid var(--blue);
    border-left: 1px solid var(--blue);
    position: absolute;
    bottom: -11px;
    left: 65px;
    transform: skewY(-45deg);
}

.testimonial .pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 20px 30px 10px;
    display: inline-block;
    border: 3px solid var(--blue);
}

.testimonial .pic img {
    width: 100%;
    height: auto;
}

.testimonial .testimonial-prof {
    text-transform: capitalize;
    margin: 0 30px;
}

.testimonial .testimonial-prof h4 {
    color: var(--blue);
    display: block;
    font-size: 17px;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.testimonial .testimonial-prof small {
    display: block;
    font-size: 14px;
    color: black;
}


/* ******************** Testimonial End ************************ */


/* ******************** Contact Start ************************ */

#contact .contact-info {
    background: var(--blue);
    border-radius: 20px;
}

#contact .contact-info i {
    color: var(--light);
}

#contact .contact-info h5 {
    color: var(--orange);
}

#contact .contact-info span {
    color: var(--white);
}

#contact .contact-form {
    border: 3px solid var(--light);
    background: var(--white);
}

#contact .contact-form input {
    border: 1px solid var(--light);
}

#contact .contact-form textarea {
    border: 1px solid var(--light);
    resize: none;
}

/* ******************** Contact End ************************ */


/* ******************** Footer Start ************************ */

#footer{
    background: var(--light);
}
#footer h3{
    color: var(--blue);
}
#footer a{
    color: var(--blue);
    text-decoration: none;
}
#footer a:hover{
    color: var(--red);
}
#footer .social a{
    color: var(--light);
}
#footer p{
    color: var(--blue);
    font-size: 17px;
}
.copyright a{
    color: var(--white);
    text-decoration: none;
}
.copyright a:hover{
    color: var(--red);
}
/* ******************** Footer End ************************ */
