/********** Template CSS **********/
:root {
    --primary: #10EB6B;
    --secondary: #191C24;
    --light: #6C7293;
    --dark: #000000;
}

.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 {
    font-weight: 500;
    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;
}


/*** 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: 40px 0;
    color: var(--light);
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link,
    .navbar.shadow-sm .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--light);
    }
}

@media (min-width: 992px) {
    .navbar.shadow-sm .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .50);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .85), rgba(0, 0, 0, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Service ***/
.service-item .btn {
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 50px;
    height: 50px;
    color: var(--primary);
    background: var(--dark);
    opacity: 0;
}

.service-item:hover .btn {
    right: 0;
    bottom: 0;
    opacity: 1;
}


/*** Team ***/
.team-item .team-img::before,
.team-item .team-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .85);
    transition: .5s;
}

.team-item .team-img::after {
    left: auto;
    right: 0;
}

.team-item:hover .team-img::before,
.team-item:hover .team-img::after {
    width: 50%;
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 3px;
    color: var(--primary);
    background: var(--dark);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--secondary);
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    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 {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 1.5rem;
    font-size: 15px;
    background: var(--dark);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}


/*** Why Choose Us ***/
.why-choose-us {
    background: linear-gradient(180deg, var(--secondary) 0%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(16, 235, 107, 0.1) 0%, transparent 70%);
    z-index: 1;
    opacity: 0.5;
}

.why-choose-us .container {
    position: relative;
    z-index: 2;
}

.why-card {
    background: var(--dark);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(108, 114, 147, 0.2);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(16, 235, 107, 0.2);
}

.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(16, 235, 107, 0.1);
    transition: background 0.3s ease;
}

.why-card:hover .why-icon {
    background: rgba(16, 235, 107, 0.3);
}

.why-card h3 {
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.why-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .why-card {
        padding: 1.5rem;
    }

    .why-card h3 {
        font-size: 1.25rem;
    }

    .why-card p {
        font-size: 0.9rem;
    }

    .why-icon {
        width: 60px;
        height: 60px;
    }

    .why-icon i {
        font-size: 2rem;
    }
}


/*** Blog Section ***/
.blog-section {
    background: var(--dark);
    position: relative;
    z-index: 1;
}

.blog-card {
    background: var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img {
    position: relative;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-content {
    background: var(--secondary);
}

.blog-content h3 {
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.blog-content p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.blog-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #FFFFFF;
}

.blog-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .blog-content {
        padding: 1.5rem;
    }

    .blog-content h3 {
        font-size: 1.2rem;
    }

    .blog-content p {
        font-size: 0.85rem;
    }

    .blog-img img {
        height: 180px;
    }
}


/*** Blog Post Section ***/
.blog-post-section {
    background: var(--dark);
    position: relative;
    z-index: 1;
}

.blog-post {
    background: var(--secondary);
    border-radius: 8px;
    padding: 2rem;
}

.blog-post-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 400px;
}

.blog-post h1 {
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
}

.blog-post-content p {
    font-size: 1rem;
    line-height: 1.7;
}

.blog-link {
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: var(--primary);
}

.blog-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .blog-post {
        padding: 1.5rem;
    }

    .blog-post h1 {
        font-size: 1.6rem;
    }

    .blog-post-content p {
        font-size: 0.95rem;
    }

    .blog-post-img img {
        max-height: 300px;
    }
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-card {
    background: var(--secondary);
    border-radius: 10px;
    padding: 1.5rem;
    max-width: 350px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 15px rgba(16, 235, 107, 0.2);
}

.popup-card h2 {
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
}

.flag-buttons {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.flag-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.flag-button:hover {
    transform: scale(1.05);
}

.flag-img {
    width: 70px;
    height: 45px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 0.5rem;
    border: 1px solid var(--light);
}

.flag-button[data-active="true"] .flag-img {
    box-shadow: 0 0 8px var(--primary);
}

.flag-button span {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
}

.flag-button[data-active="true"] span {
    color: #FFFFFF;
}

@media (max-width: 576px) {
    .popup-card {
        padding: 1rem;
    }

    .popup-card h2 {
        font-size: 1.3rem;
    }

    .flag-img {
        width: 55px;
        height: 35px;
    }

    .flag-button span {
        font-size: 0.8rem;
    }
}