*{
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

header {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    background: rgb(34, 197, 94);
    margin: 0;
    position: relative;
    z-index: 1000;
}

.header-logo-link {
    font-size: 30px;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-nav ul{
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
}

.header-nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.header-btn{
    min-height: 30px;
    min-width: 100px;
    border: 0;
    border-radius: 45px;
    color: rgb(34, 197, 94);
    cursor: pointer;
}

.header-menu-icon{
    height: 30px;
    cursor: pointer;
    display: none;
}

.header-close-icon {
    height: 30px;
    cursor: pointer;
    display: none;
}

@media screen and (max-width: 768px) {
    .header-menu-icon {
        display: block;
    }

    .header-nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: rgba(34, 197, 94, 0.263)
    }

    .header-nav ul {
        display: block;
        padding-left: 20px;
    }

    .header-nav ul li a{
        display: inline-block;
        padding: 10px 0;
    }
   
}

@media (max-width: 600px) {
    .header-btn{
        display: none;
    }
    
}

/* Template Stylesheet */
:root {
    --primary: #22C55E;
    --secondary: #2C3E50;
    --light: #F2F5F8;
    --dark: #1F2833;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** 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 {
    transition: .5s;
}

.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: 0;
}


/*** 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 .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}


/*** Header ***/
.page-header {
    background: linear-gradient(rgba(34, 197, 94, 0.9), rgba(34, 197, 94, 0.9)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item.active {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before {
    left: 0;
    margin-left: 0;
}

.section-title.text-start::after {
    left: 65px;
    margin-left: 0;
}


/*** About ***/
.about-img .row h1 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    transition: .5s;
    opacity: 0;
}

.about-img .row:hover h1 {
    opacity: 1;
}


/*** Categories ***/
.categories .col-lg-3:hover .categories-item::after {
    top: 0;
    left: 0;
    opacity: 1;
}

.categories .categories-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: -100%;
    left: -100%;
    background: rgba(0, 179, 204, .8);
    opacity: 0;
    transition: .5s;
}


/*** Courses ***/
.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 179, 204, .8);
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    opacity: 1;
}


/*** Team ***/
/* The social media icons are always visible below the image in the provided design, not an overlay */
.team-item .team-social {
    display: none; /* Hide the default overlay style if it exists from previous versions */
}

.team-item .team-social .btn {
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 50px;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--dark);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    border-left: 8px solid var(--primary);
}

.testimonial-carousel .owl-nav {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev, 
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background: var(--primary);
    color: #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover, 
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}