/********** Template CSS **********/
:root {
    --primary: #0591b8;
    --secondary: #b4e4f165;
    --light: #F0FBFC;
    --dark: #181d38;
    --background-color: #ffffff;
    /* Background color for the entire website, including individual sections */
    --default-color: #444444;
    /* Default color used for the majority of the text content across the entire website */
    --heading-color: #37423b;
    /* Color for headings, subheadings and title throughout the website */
    --accent-color: #5fcf80;
    /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --contrast-color: #ffffff;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 15px;
    bottom: 15px;
    z-index: 99;
}

body {
    overflow-x: hidden;
}


/*** Spinner ***/
#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;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}

/* Header */

/* .custom-header {
    background-color: #0591b8;
    color: white;
    padding: 10px 0;
}

.custom-header a {
    color: white;
    margin: 0 10px;
}

.custom-header .contact-info {
    display: flex;
    align-items: center;
}

.custom-header .contact-info i {
    margin-right: 5px;
} */

.custom-btn-2 {
background: var(--secondary);
color: white;
}

.custom-btn {
    color: black;
    font-weight: bold;
}

.custom-btn i {
    color: var(--primary);
    font-size: 14px;
}

.custom-btn:hover {
    color: var(--primary);
}

.custon-icon {
    font-size: 15px;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-toggler:focus {
    outline: none;
    border-color: var(--primary);
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header carousel ***/
.btn-inscription {
    background-color: transparent;
    height: 50px;
    width: 200px;
    border-radius: 5px;
    font-size: 18px;
    padding: 20px;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s ease-in-out;
    border: 1px solid var(--primary);
}

.btn-inscription:hover {
    background-color: var(--primary);
    transition: 0.5s ease-in-out;
}

@media (max-width: 992px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        height: 100vh;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        height: 100vh;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
    display: none;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url(../img/carousel-3.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.services {
    height: 300px;
}

.service-item {
    background: var(--light);
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}

/* Counter */
.counter {
    text-align: center;
    color: #0591b8;
    background: var(--light);
    box-shadow: #181d38;
    padding: 20px 1px;
    /* border-radius: 10px;
    box-shadow: #0591b8 0px 1px 0px 1px; */
}

.counter:hover {
    background: var(--secondary);
}

.counter i {
    font-size: 50px;
    margin-bottom: 10px;
}

.counter span {
    font-size: 40px;
    margin: 0;
}

.counter p {
    font-size: 18px;
    margin: 5px 0 0;
    color: black;
}

@media (max-width: 991px) {
    .counter i {
        font-size: 3rem;
    }

    .counter span {
        font-size: 2.5rem;
    }

    .counter p {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .counter i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .counter span {
        font-size: 2rem;
    }

    .counter p {
        font-size: 1rem;
    }

    .counter {
        flex-direction: row;
        align-items: center;
    }

    .counter div {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .counter i {
        font-size: 3.2rem;
        margin-bottom: 15px;
    }

    .counter span {
        font-size: 2.5rem;
    }

    .counter p {
        font-size: 1.5rem;
    }
}

/*** Categories & Courses ***/

/* .category-items {
    border: rgb(224, 224, 224) 1px solid;
    border-radius: 2px;
    height: 150px;
    padding: 20px 6px;
    box-shadow: #36c7ef7f 0px 1px 0px 1px;
}

.category-items:hover {
    background: var(--light);
    color: black;
    transition: 0.3s;
    border: var(--primary) 1px solid;
    transform: scale(1.1);
} */

.features {
    padding: 10px 0;
}

.features .features-item {
    background-color: var(--box-background-color);
    display: flex;
    align-items: center;
    padding: 20px;
    transition: 0.3s;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    position: relative;
    height: 130px;
}

.features .features-item i {
    font-size: 32px;
    padding-right: 10px;
    line-height: 0;
}

.features .features-item h3 {
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-size: 16px;
}

.features .features-item h3 a {
    color: var(--heading-color);
    transition: 0.3s;
}

.features .features-item:hover {
    border-color: var(--primary);
}

.features .features-item:hover h3 a {
    color: var(--primary);
}

.badge {
    padding: 10px;
    border-radius: 50%;
    color: white;
    font-size: 0.8em;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center
}

.badge-master {
    background-color: #ffbb2c;
}

.badge-licence {
    background-color: #0591b8;
}

.badge-bts {
    background-color: #e80368;
}

.filter-btn {
    background-color: var(--light);
    color: black;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 5px;
    width: 80px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border: #0591b8 1px solid;
}

.filter-btn.active {
    background-color: var(--primary);
    color: white;
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-custom  {
    /* background: #000; */
}

.team-item {
    height: 500px;
}

.team-custom .team-item img {
 height: 300px;
 width: 300px;
}

.team-item:hover img {
    transform: scale(1.1);
}

/*---------------------
	Event Section
-----------------------*/

.event-item {
    margin-bottom: 50px;
}

.event-item .event-thumb {
    margin-bottom: 45px;
    position: relative;
}

.event-item .event-thumb img {
    width: 100%;
}

.event-item .event-thumb .event-date {
    position: absolute;
    text-align: center;
    width: 100%;
    left: 0;
    bottom: -19px;
}

.event-item .event-thumb .event-date span {
    min-width: 170px;
    bottom: 0;
    background: var(--primary);
    padding: 10px 15px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    display: inline-block;
    border-radius: 50px;
    letter-spacing: 2px;
}

.event-item .event-info {
    text-align: center;
}


.event-item .event-info a:hover {
    color: var(--primary) !important;
}

.event-item .event-info h4 {
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 18px;
}

.event-item .event-info p {
    margin-bottom: 30px;
    font-size: 16px;
    text-align: center;
}

.event-item .event-info p i {
    color: var(--primary);
    padding-left: 13px;
    padding-right: 4px;
}

.event-item .event-info .event-readmore {
    font-size: 12px;
    text-transform: uppercase;
    color: #b7b7b7;
    letter-spacing: 2px;
    font-weight: 500;
}

.event-item .event-info .event-readmore i, svg {
    color: var(--primary);
    margin-left: 10px;
}


/*---------------------
	Gallery Section
-----------------------*/

.gallery img {
    transition: transform 0.3s ease;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.gallery img:hover {
    transform: scale(1.1);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
   
}

.overlay img {
    max-width: 100%;
    max-height: 75%;
    transition: transform 0.5s ease;
    cursor: zoom-in;
    padding-top: 60px;
}

/* .overlay img.zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
} */

.overlay .close {
    position: absolute;
    top: 90px;
    right: 40px;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.5s ease;
}

/* .gallery .gallery-item {
    width: 12.5%;
    position: relative;
}

.gallery .gallery-item:after {
    content: '';
    display: block;
    clear: both;
}

.gallery .gallery-item:before {
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background: #000;
    opacity: 0;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}

.gallery .gallery-item:hover:before {
    opacity: 0.3;
}

.gallery .gallery-item.gi-big,
.gallery .gallery-item.gi-long {
    width: 25%;
}

.gallery .gallery-item a {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    left: 50%;
    top: 60%;
    margin-left: -25px;
    margin-top: -25px;
    border-radius: 50%;
    padding-top: 13px;
    text-align: center;
    opacity: 0;
    z-index: 1;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}

.gallery .gallery-item a i {
    font-size: 24px;
}

.gallery .gallery-item:hover a {
    opacity: 1;
    top: 50%;
    -webkit-transition: all 0.4s cubic-bezier(0.55, 0.09, 0.68, 0.53) 0s;
    -o-transition: all 0.4s cubic-bezier(0.55, 0.09, 0.68, 0.53) 0s;
    transition: all 0.4s cubic-bezier(0.55, 0.09, 0.68, 0.53) 0s;
}

.gallery .grid-sizer {
    width: 12.5%;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {

    .gallery .gallery-item,
    .gallery .gallery-item.gi-big,
    .gallery .gallery-item.gi-long {
        width: 25%;
    }
} */

/* Large Mobile :480px. */

/* @media only screen and (max-width: 767px) {

    .gallery .gallery-item,
    .gallery .gallery-item.gi-big,
    .gallery .gallery-item.gi-long {
        width: 50%;
    }
} */

/* small Mobile :320px. */

@media only screen and (max-width: 479px) {
    .blog-item .blog-thumb {
        height: 230px;
        width: 100%;
        margin-bottom: 20px;
    }
        .progress-step::after {
           display: none;
        }

    .blog-item .blog-content {
        padding-left: 0;
    }

    /* .gallery .gallery-item,
    .gallery .gallery-item.gi-big,
    .gallery .gallery-item.gi-long {
        width: 100%;
    } */
}

/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

/*---------------------
	Blog Section
-----------------------*/

.blog-item {
    /* margin-bottom: 60px; */
    overflow: hidden;
}

.blog-item .blog-thumb {
    width: 240px;
    height: 180px;
    float: left;
}

.blog-item .blog-content {
    padding-left: 258px;
}

.blog-item .blog-content h4 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-item .blog-meta {
    margin-bottom: 15px;
}

.blog-item .blog-meta span {
    margin-right: 10px;
    font-size: 12px;
    color: #b7b7b7;
}

.blog-item .blog-meta span i {
    color: var(--primary);
    margin-right: 3px;
}

.anime {
    transition: .5s;
}

.anime:hover {
    transform: scale(1.1);
}

/* small Mobile :320px. */

@media only screen and (max-width: 479px) {
    .blog-item .blog-thumb {
        height: 230px;
        width: 100%;
        margin-bottom: 20px;
    }

    .blog-item .blog-content {
        padding-left: 0;
    }
}

/* Modal section */
.modal2 {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    position: relative;
}

.close {
    color: black;
    float: right;
    font-size: 28px;
    font-weight: bold;
    justify-content: end;
    align-items: center;
    display: flex;
}

.close:hover,
.close:focus {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

.modal-text {
    margin-top: 20px;
}

.modal2 img {
    width: 100%;
    height: 300px;
}

body.modal-open {
    overflow: hidden;
}

body.modal-open .navbar {
    display: none;
    /* Hide the navbar */
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }

    .close {
        font-size: 24px;
    }

    .modal img {
        height: 300px;
    }

    .modal {
        padding-top: 100px;
    }
}

@media (max-width: 576px) {
    .modal-content {
        width: 100%;
        padding: 10px;
    }

    .modal2 {
        padding-top: 100px;
    }

    .close {
        font-size: 24px;
    }

    .modal-text {
        margin-top: 10px;
    }

    .modal2 img {
        height: 200px;
    }
}

/*** Footer ***/
.footer {
    background-image: url(../img/footer-bg.png);
    background-repeat: repeat;
    background-position: center 75px;

}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}