/********** Template CSS **********/
:root {
    --primary: #00B074;
    --secondary: #2B9BFF;
    --light: #EFFDF5;
    --dark: #2B3940;
}

.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-family: 'Inter', 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: 2px;
}

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

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

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

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

@media (max-width: 991.98px) {

    .navbar-dark .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

}

.navbar-light .navbar-brand {
    width: 70px;
}

.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;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;

    }

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


.navbar .navbar-toggler:active,
.navbar .navbar-toggler:focus {
    outline: none;
    border: none;
}

.navbar .navbar-toggler {
    color: white !important;
    border-color: white !important;
}

.navbar .navbar-toggler-icon {
    width: 24px;
    height: 18px;
    background-image: none;
    position: relative;
    border-bottom: 3px solid var(--primary);
    transition: all 300ms linear;
}

.navbar .navbar-toggler-icon:after,
.navbar .navbar-toggler-icon:before {
    width: 24px;
    position: absolute;
    height: 2px;
    background-color: var(--primary);
    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: 76px;
        box-shadow: var(--box-shadow);
        padding-top: 10px;
        padding-left: 32px;
        transition: .3s linear;
        z-index: 99;
    }

    .navbar-collapse.show {
        top: 76px;
        left: 0px;
    }
}

@media screen and (min-width:577px) and (max-width: 840px) {
    .navbar-collapse {
        top: 76px;
    }

    .navbar-collapse.show {
        top: 76px;
    }
}


/*** Header ***/

.hero-slide img {
    height: 484px !important;
    width: 100%;
}

@media screen and (min-width:577px) and (max-width: 840px) {
    .hero-slide img {
        height: 384px !important;
        width: 100%;
    }
}

@media screen and (max-width: 577px) {
    .hero-slide img {
        height: 210px !important;
        width: 100%;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1282px) {
    .hero-slide img {
        height: 650px !important;
        width: 100%;
    }
}

@media screen and (min-width: 1282px) {
    .hero-slide img {
        height: 732px !important;
        width: 100%;
    }
}


/*** About ***/
.about-bg {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 5px 5px;
}

.comm-b {
    color: var(--primary);
}

/*** Category ***/
.cat-item {
    display: block;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    border: 1px solid transparent;
    transition: .5s;
    background: white;
    text-align: center;
}

.cat-item:hover {
    border-color: var(--primary);
    box-shadow: none;
}


/*** Projects ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}

.portfolio-item {
    margin-bottom: 60px;
}

.portfolio-title {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 120px;
    padding: 0 30px;
    right: 30px;
    left: 30px;
    bottom: -60px;
    background: #FFFFFF;
    z-index: 3;
}

.portfolio-btn {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    margin-top: -30px;
    margin-left: -30px;
    font-size: 64px;
    line-height: 0;
    transition: .1s;
    transition-delay: .3s;
    z-index: 2;
    opacity: 0;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
}

.portfolio-box::before,
.portfolio-box::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    transition: .5s;
    z-index: 1;
    background: rgba(4, 15, 40, 0.542);
}

.portfolio-box::before {
    left: 0;
}

.portfolio-box::after {
    right: 0;
}

.portfolio-item:hover .portfolio-box::before {
    left: 0;
    width: 50%;
}

.portfolio-item:hover .portfolio-box::after {
    right: 0;
    width: 50%;
}

.clamped-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-details .text-left {
    text-align: start;
}


/*** Testimonial ***/

.testimonial {
    text-align: center;
    margin: 0 20px;
}

.testimonial .description {
    padding: 40px 30px;
    margin-bottom: 50px;
    border-top: 1px solid var(--primary);
    border-left: 1px solid var(--primary);
    font-size: 15px;
    background: #fff;
    color: #887e7f;
    line-height: 30px;
    text-align: left;
    position: relative;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

.testimonial .description:before {
    content: "\f10e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
    float: left;
    padding: 0 15px 5px 0;
    font-size: 30px;
    color: var(--primary);
    text-align: center;
    position: relative;
    top: 8px;
    left: 0;
}

.testimonial .description:after {
    content: "";
    width: 50%;
    height: 1px;
    background: var(--primary);
    position: absolute;
    bottom: 0;
    left: 0;
}

.testimonial .testimonial-content {
    position: relative;
}

.testimonial .testimonial-content:before {
    content: "";
    width: 1px;
    height: 20px;
    background: var(--primary);
    position: absolute;
    top: -50px;
    left: 50%;
}

.testimonial .testimonial-content:after {
    content: "";
    width: 2px;
    height: 40px;
    background: var(--primary);
    position: absolute;
    top: -70px;
    left: 50%;
    transform: skewX(-45deg);
    transform-origin: 100% 100% 0;
}

.testimonial .pic {
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 7px;
}

.testimonial .pic img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.testimonial .title {
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: capitalize;
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    transition: .3s;
}

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

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    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 .form-control {
    border-color: rgba(255, 255, 255, 0.5);
}

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

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

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

.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;
}


/*** Facts Counter***/

.counter {
    color: var(--primary);
    background: linear-gradient(to right, var(--primary), var(--secondary));
    font-family: 'Poppins', sans-serif;
    text-align: center;
    width: 230px;
    padding: 45px 10px 0;
    margin: 0 auto;
    position: relative;
    clip-path: polygon(50% 0%, 100% 25%, 100% 100%, 0 100%, 0 25%);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.counter:before {
    content: "";
    background: #fff;
    width: 100%;
    height: 100%;
    transform: translateX(-50%);
    position: absolute;
    top: 15px;
    left: 50%;
    z-index: -1;
    clip-path: polygon(50% 0%, 100% 25%, 100% 100%, 0 100%, 0 25%);
}

.counter .counter-icon {
    font-size: 37px;
    line-height: 37px;
    margin: 0 0 15px;
}

.counter h3 {
    font-size: 19px;
    font-weight: 400;
    text-transform: capitalize;
    margin: 0 0 20px;
}

.counter .counter-value {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    font-size: 28px;
    font-weight: 600;
    line-height: 91px;
    width: 140px;
    height: 70px;
    margin: 0 auto;
    border-radius: 500px 500px 0 0;
    display: block;
    position: relative;
    z-index: 1;
}

.counter .counter-value:before {
    content: "";
    background: #fff;
    border-radius: inherit;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 12px;
    bottom: 0;
    left: 12px;
    right: 12px;
    z-index: -1;
}

.counter .counter-value i {
    font-size: 21px;
}

/*** Why Choose Us ***/

.Features .feature-item {
    margin-bottom: 15px;
    position: relative;
    padding-left: 80px;
    padding-right: 30px;
}

.Features .feature-item:last-child {
    margin-bottom: 0;
}

.Features .feature-item .feature-thumb {
    height: 55px;
    width: 55px;
    background: var(--primary);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
    font-size: 23px;
    line-height: 55px;
    text-align: center;
    color: #ffffff;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 10px;
}

.Features .feature-item .banner-content {
    /*! padding-left: 34px; */
    display: inline-block;
}

.Features .feature-item .banner-content .title {
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 0px;
    font-size: 18px;
    font-weight: 600;
    line-height: 38px;
}

.Features .feature-item .banner-content p {
    color: #777;
    font-weight: 400;
    font-size: 14px;
    display: block;
    margin-top: 6px;
}


/************* FAQ *************/
.accordion {
    margin: 16px auto;
}

.accordion-item {
    background-color: #fff;
    color: var(--dark);
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px 0 rgba(53, 53, 53, 0.199);
    height: fit-content;
}

.accordion-item-header {
    padding: 0.5rem 3rem 0.5rem 1rem;
    min-height: 3.5rem;
    line-height: 1.25rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.accordion-item-header::after {
    content: "\002B";
    font-size: 2rem;
    position: absolute;
    right: 1rem;
}

.accordion-item-header.active::after {
    content: "\2212";
}

.accordion-item-header:hover,
.accordion-item-header.active {
    color: var(--primary);
}

.accordion-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.accordion-item-body-content {
    padding: 1rem;
    line-height: 1.5rem;
    border-top: 1px solid;
    border-image: linear-gradient(to right, transparent, var(--primary), transparent) 1;
}


