@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #2BB24B;
    --secondary-color: #0B6F39;
    --dark-color: #616262;
    --background-color: #fff;
    --text-color: #333;
}

/*** General ***/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    background-color: var(--background-color);
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

:focus,
:hover {
    outline: 0;
}

a {
    text-decoration: none;
}

/*** Background colors ***/
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/*** Text ***/

.text-bold {
    font-weight: 700;
}

/*** Spinner ***/
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    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;
    }

/*** Header ***/

/*--- Navbar ---*/
.navbar-brand img {
    max-width: 220px;
    max-height: 70px;
    width: auto;
}

@media (max-width: 768px) {
    .navbar-brand img {
        width: 160px;
    }
}

.navbar {
    width: 100%;
    background: #fff;
    transition: top 0.3s ease-in-out;
}

.navbar-fixed-top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: #696E77;
    font-weight: 500;
    outline: none;
}

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active {
        color: var(--primary-color);
    }

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 768px) {
    .navbar .navbar-nav {
        background-color: #fff !important;
        margin-top: 20px;
        margin-bottom: 15px;
    }

        .navbar .navbar-nav .nav-item {
            margin-top: 0;
            margin-bottom: 0;
        }
}

/*** Button ***/
.btn {
    transition: .5s;
}

    .btn.btn-primary {
        background: var(--primary-color);
        border-color: var(--primary-color);
    }

        .btn.btn-primary:hover {
            background: var(--secondary-color);
            border-color: var(--secondary-color);
        }

/*** carousel ***/
#header-carousel .carousel-item img {
    max-height: 450px;
    object-position: center;
    object-fit: cover;
    vertical-align: middle;
}

#header-carousel .carousel-indicators .active {
    background-color: var(--secondary-color);
}

#header-carousel .carousel-indicators button {
    background-color: var(--primary-color);
}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {
    width: 2.6rem;
    height: 2.6rem;
    background-color: var(--primary-color);
    border: 15px solid var(--primary-color);
    border-radius: 8px;
}

#header-carousel .carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 12%;
    width: 48%;
    text-align: left;
}

    #header-carousel .carousel-caption h3 {
        font-weight: 600;
        color: var(--secondary-color);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    #header-carousel .carousel-caption p {
        font-size: 15px;
        color: var(--text-color);
    }

@media (max-width: 768px) {
    #header-carousel .carousel-caption {
        top: 45%;
        left: 5%;
        width: 50%;
    }

        #header-carousel .carousel-caption p {
            font-size: 12px;
        }
}

@media (max-width: 576px) {
    #header-carousel .carousel-caption {
        top: 36%;
        left: 5%;
        width: 55%;
    }

    #header-carousel .carousel-item img {
        height:220px;
    }
        #header-carousel .carousel-caption h3 {
            font-size: 16px;
        }

        #header-carousel .carousel-caption p {
            font-size: 12px;
        }
}

/*** Page Header ***/
.page-header {
    background: url(../images/banner-2.jpg) center center no-repeat;
    background-size: cover;
}

    .page-header .breadcrumb-item,
    .page-header .breadcrumb-item a {
        font-weight: 500;
    }

        .page-header .breadcrumb-item a,
        .page-header .breadcrumb-item + .breadcrumb-item::before {
            color: #696E77;
        }

            .page-header .breadcrumb-item a:hover,
            .page-header .breadcrumb-item.active {
                color: var(--primary);
            }


/*** Recent Work ***/
#recent-work-carousel .card {
    height: 200px;
    max-width: 300px;
    border: none;
    margin-bottom: 10px;
}

#recent-work-carousel .card-img {
    width: 100%;
    height: 100%;
    filter: brightness(0.7);
}

#recent-work-carousel .fa-play-circle {
    transition: all 0.3s ease;
}

    #recent-work-carousel .fa-play-circle:hover {
        transform: scale(1.1);
    }

/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

    .service-item .service-icon {
        width: 90px;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .service-item .service-icon i {
            margin-top: 10px;
            max-width: 60px;
            max-height: 60px;
        }

    .service-item a.btn {
        color: var(--primary-color);
    }

        .service-item a.btn:hover {
            color: #fff;
            background: var(--primary-color);
            border-color: var(--primary-color);
        }

/* ****** Vision & Mission Splitter ****** */
.vision-container {
    text-align: center;
}

    .vision-container .vision-left, .vision-container .vision-right {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 350px;
    }

.vision-left {
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    color: #fff;
}

.vision-right {
    background: #fffffc;
    color: var(--dark-color);
}

/*** Testimonial ***/
.animated.pulse {
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

    .testimonial-left img,
    .testimonial-right img {
        position: absolute;
        padding: 5px;
        border: 1px dashed var(--primary-color);
        border-radius: 10px;
    }

        .testimonial-left img:nth-child(1),
        .testimonial-right img:nth-child(3) {
            width: 70px;
            height: 70px;
            top: 10%;
            left: 50%;
            transform: translateX(-50%);
        }

        .testimonial-left img:nth-child(2),
        .testimonial-right img:nth-child(2) {
            width: 60px;
            height: 60px;
            top: 50%;
            left: 10%;
            transform: translateY(-50%);
        }

        .testimonial-left img:nth-child(3),
        .testimonial-right img:nth-child(1) {
            width: 50px;
            height: 50px;
            bottom: 10%;
            right: 10%;
        }

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        margin: 0 5px;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #FFFFFF;
        background: var(--primary-color);
        border-radius: 10px;
        font-size: 22px;
        transition: .5s;
    }

        .testimonial-carousel .owl-nav .owl-prev:hover,
        .testimonial-carousel .owl-nav .owl-next:hover {
            background: var(--secondary-color);
        }

/*** Footer ***/
.footer {
    color: #A7A8B4;
}

.footer-logo img {
    max-width: 190px;
    max-height: 70px;
    width: auto;
}

@media (max-width: 768px) {
    .footer-logo img {
        width: 160px;
    }
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #A7A8B4;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    text-decoration: none;
}

    .footer .btn.btn-link::before {
        position: relative;
        content: "\f105";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        color: #A7A8B4;
        margin-right: 10px;
    }

    .footer .btn.btn-link:hover {
        color: #fff;
        letter-spacing: 1px;
        box-shadow: none;
    }

.footer .btn.btn-square {
    color: #A7A8B4;
    border: 1px solid#A7A8B4;
}

    .footer .btn.btn-square:hover {
        color: #fff;
        border-color: #fff;
    }

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

    .footer .copyright a {
        color: var(--secondary-color);
    }

        .footer .copyright a:hover {
            color: #FFFFFF;
        }