.home-slider .carousel-item {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 88vh;
}

.home-slider .carousel-item:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*background-color: var(--second-color);*/
    opacity: 0.7;
}

.home-slider .container,
.bg-photo .container,
.inner-banner-bg .container {
    z-index: 9;
}

.home-slider .carousel-caption {
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 1;
    text-align: center;
    margin: 0 0 100px;
}

.flex-btn {
    display: flex;
    align-items: center;
}

.flex-btn a:last-child {
    margin-left: 15px;
}

.home-slider .carousel {
    display: flex;
    align-items: center;
}

.home-slider .carousel-control-prev,
.home-slider .carousel-control-next {
    width: 50px;
    height: 110px;
    top: auto;
    bottom: auto;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.home-slider .carousel-control-prev {
    left: 20px;
    border-radius: 0 4px 4px 0;
}

.home-slider .carousel-control-next {
    right: 20px;
    border-radius: 4px 0 0 4px;
}

.home-slider .carousel-control-prev-icon,
.home-slider .carousel-control-next-icon {
    background-size: 0;
    width: auto;
    height: auto;
}

.home-slider .carousel-control-prev-icon i,
.home-slider .carousel-control-next-icon i {
    color: #fff;
    font-size: 35px;
    transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transition: 0.3s all ease-in-out;
}

.carousel-control-prev:hover i {
    transform: translateX(-20px);
    -webkit-transform: translateX(-20px);
    opacity: 0;
}

.carousel-control-next:hover i {
    transform: translateX(20px);
    -webkit-transform: translateX(20px);
    opacity: 0;
}

.home-slider .carousel-item.active .carousel-caption h1,
.home-slider .carousel-item.active .carousel-caption p {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;

}

.home-slider .carousel-item.active .carousel-caption .home-cta-1 {
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
}

.home-slider .carousel-item.active .carousel-caption .home-cta-2 {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
}

.home-slider .carousel-indicators {
    margin-bottom: 60px;
    margin-right: 0;
    margin-left: 15px;
}

.home-slider .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border: 1px solid var(--second-color);
    opacity: 1;
    margin: 0px 10px 0px 0px;
    -webkit-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.home-slider .carousel-indicators .active {
    background-color: var(--second-color);
    width: 20px;
}

@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0)
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0)
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
}

@-webkit-keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0)
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0)
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
}

@-webkit-keyframes fadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.animated.delay-1s {
    -webkit-animation-delay: 1s;
    animation-delay: 1s
}

.animated.delay-1-2s {
    -webkit-animation-delay: 1.2s;
    animation-delay: 1.2s
}

.animated.delay-1-4s {
    -webkit-animation-delay: 1.4s;
    animation-delay: 1.4s
}

.animated.delay-1-6s {
    -webkit-animation-delay: 1.6s;
    animation-delay: 1.6s
}

/* .custom-wow {
    visibility: hidden;
    opacity: 0;
}

.custom-wow.animated {
    visibility: visible;
    opacity: 1;
    -webkit-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.custom-wow.animated.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

.custom-wow.animated.fadeInRight {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
}

.custom-wow.animated.fadeInLeft {
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
}

.custom-wow.animated.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
} */

.home-slider .carousel-caption {
    opacity: 0;
}

.home-slider .carousel-item.active .carousel-caption {
    opacity: 1;
}

.home-slider .carousel-caption h1 {
    font-size: 48px;
    line-height: 58px;
    margin: 0 0 15px;
}

.home-slider .carousel-caption p {
    font-size: 26px;
    line-height: 36px;
    margin: 0 0 25px !important;
}

.home-slider .mob-banner {
    background-size: 0;
    width: 100%;
}

.home-slider .home-slider-rev .carousel {
    display: flex;
    align-items: center;
}

.home-slider .home-slider {
    position: relative;
}

.banner-box-top {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 43px 15px;
}

.banner-box-top:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0.8;
}

.banner-box-top-inner {
    z-index: 9;
}

.banner-box-top h2 {
    font-size: 18px;
    line-height: 28px;
}

.banner-box-top i {
    font-size: 50px;
    color: var(--second-color);
}

.banner-box-btm {
    /* background-color: var(--grey-bg-color); */
    padding: 15px 30px;
}

.banner-box-btm p {
    font-size: 15px;
    line-height: 26px;
}

.banner-box-block {
    margin-top: -240px;
    z-index: 1;
}

.banner-box-single {
    border-bottom: 3px solid var(--second-color);
    min-height: 345px;
}

.about-section .heading {
    font-size: 24px;
    line-height: 34px;
}

.grey-bg {
    background-color: var(--grey-bg-color);
}

.specialize-bg {
    padding: 60px 0;
}

.service-single span {
    background-color: rgba(1, 39, 78, 0.9);
    color: #fff;
    padding: 8px 10px;
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.service-single {
    margin: 30px 0 0;
}

.service-single img {
    -webkit-transform: scale(1.1) rotate(1deg);
    transform: scale(1.05) rotate(1deg);
    -webkit-transition: 1s all ease-in-out;
    transition: 1s all ease-in-out;
}

.service-single:hover img {
    -webkit-transform: scale(1) rotate(0deg);
    transform: scale(1) rotate(0deg);
}

.center-txt p {
    font-size: 21px;
    line-height: 32px;
}

.webp .bg-photo {
    background-image: url(../images/bg-photo.webp);
}

.no-webp .bg-photo {
    background-image: url(../images/bg-photo.jpg);
}
.about-section img {
    border-radius: 8px;
}
.bg-photo {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 100px 0;
}

.team-section {
    position: relative;
    z-index: 1;
    border-radius: 0;
    padding-top: 0;
}

/* .team-section .heading {
    margin-bottom: 5rem;
} */

.team-section .our-team {
    text-align: center;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    position: relative;
}

.team-section .our-team .team-details {
    text-align: center;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.08);
    border-radius: 0 45px 0 0;
    margin-top: -40px;
    position: relative;
    z-index: 1;
    min-height: 115px;
    display: flex;
    background: #fff;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px 18px;
}

.team-section .our-team .team-details h4 {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
}

/* .team-section .our-team .team-details p {
    margin: 0;
    line-height: 2.5rem;
} */
.pad-60 {
    padding: 60px 0;
}
.bg-photo:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--second-color);
    opacity: 0.8;
}

.review-owner {
    margin: 20px 0 0;
}

.review-owner h4 {
    font-size: 15px;
    line-height: 25px;
    margin: 25px 0 0;
}

.review-owner p {
    font-size: 15px;
    line-height: 25px;
}

.review-carousel:after {
    content: "";
    font-family: 'Font Awesome 6 Pro';
    color: #fff;
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: -1;
    font-size: 80px;
    text-align: center;
    font-weight: 300;
    opacity: 0.1;
}

.owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0 0;
}

.owl-dot {
    width: 12px;
    height: 12px;
    border: 1px solid #fff;
    margin: 0 6px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-dot:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 50%;
    -webkit-transform: scale(0);
    transform: scale(0);
    transform-origin: center center;
    -webkit-transition: 0.5s all ease-in-out;
    transition: 0.5s all ease-in-out;
}

.owl-dot.active:after {
    border-radius: 0%;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.top-call-btns:first-child {
    margin-left: 0px;
}



.quote-pop .modal-body {
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.quote-pop .modal-header {
    width: 100%;
    padding: 12px 0px;
    border-radius: 0;
    margin: 0 0 30px;
}

.quote-pop .btn-close {
    background: none;
    background-color: #fff;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.quote-pop .modal-dialog {
    -webkit-transform: rotate(45deg) !important;
    transform: rotate(45deg) !important;
    -webkit-transition: 0.6s all ease-in-out;
    transition: 0.6s all ease-in-out;
}

.quote-pop.show .modal-dialog {
    -webkit-transform: rotate(0deg) !important;
    transform: rotate(0deg) !important;
}

.check-list {
    margin: 0;
}

.check-list li {
    list-style-type: none;
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
    background-image: url(../images/logo-pattern.svg);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: 0px 5px;
}

@media(min-width:1200px) {
    .newsletter-bg .form-control {
        min-width: 245px;
    }

    .quote-pop .contact-form {
        padding: 50px 150px;
        border-radius: 50%;
        overflow: hidden;
        min-height: 800px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media(max-width:1024px) {
    .home-slider .carousel-caption h1 {
        font-size: 40px;
        line-height: 50px;
    }

    .home-slider .carousel-item {
        height: 60vh;
    }

    .banner-box-top i {
        font-size: 30px;
    }

    .banner-box-top {
        padding: 15px;
        min-height: 150px;
    }

    .banner-box-btm {
        padding: 15px;
    }

    .banner-box-block {
        margin-top: -210px;
    }
}

@media(max-width:990px) {

    .home-slider .carousel-caption h1 {
        font-size: 26px;
        line-height: 40px;
    }

    .home-slider .carousel-caption p {
        font-size: 18px;
        line-height: 28px;
    }
        .team-section .our-team {
            margin: 0 0 30px;
        }
}

@media(max-width:767px) {

    .home-slider .carousel-control-prev-icon i,
    .home-slider .carousel-control-next-icon i {
        font-size: 18px;
    }

    .home-slider .carousel-control-prev {
        left: 10px;
    }

    .home-slider .carousel-control-next {
        right: 10px;
    }

    .home-slider .carousel-control-prev,
    .home-slider .carousel-control-next {
        width: 30px;
        height: 40px;
    }

    .bg-photo,
    .specialize-bg {
        padding: 40px 0;
    }
        .pad-60 {
            padding: 40px 0;
        }
                .banner-box-single {
                    min-height: auto;
                }

    .newsletter-bg .col-auto {
        width: 100%;
        margin: 6px 0 0;
    }

    .center-txt p {
        font-size: 18px;
        line-height: 28px;
    }

    .home-slider .carousel-caption {
        margin: 0;
        padding: 15px 30px;
    }

    .banner-box-top {
        min-height: 10px;
    }

    .banner-box-block {
        margin-top: 0;
    }

    .home-slider .carousel-item {
        background-size: 0;
        height: auto;
    }

    .mob-banner {
        background-size: cover !important;
        background-position: center right;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        height: 450px;
    }

    .home-slider .carousel-caption h1 {
        font-size: 24px;
        margin: 0 0 10px;
        line-height: 34px;
    }

    .home-slider .carousel-caption p {
        font-size: 14px;
        line-height: 24px;
        margin: 0 0 15px !important;
    }

    .about-section .heading {
        font-size: 22px;
        line-height: 32px;
    }
}