/* hero sec */
.gf-banner {
    margin-bottom: 100px;

    @media (max-width:991px) {
        & {
            margin-bottom: 70px;
        }
    }
}

.gf-feature {
    position: relative;
    height: 400px;
    margin-bottom: 100px;


    & .gf-feature__overlay {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        /* background-image: url("../image/slide-1.jpg"); */
        pointer-events: none;
        z-index: 0;
        overflow: hidden;
    }

    &.about .gf-feature__overlay {
        background-image: url("../image/banner/about.jpg");
    }

    &.portfolio .gf-feature__overlay {
        background-image: url("../image/banner/portfolio.jpg");
    }

    &.services .gf-feature__overlay {
        background-image: url("../image/banner/service.jpg");
    }

    &.contact .gf-feature__overlay {
        background-image: url("../image/banner/contact.jpg");
    }

    & .gf-feature__content {
        position: relative;
        top: -3%;
        width: 100%;
        height: 100%;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: #fff;
        padding: 0 15px;
        text-align: center;

        & .gf-feature__head {
            text-transform: capitalize;
            font-size: 5rem;
            font-weight: 700;
            text-shadow: 1px 3px 10px rgba(0, 0, 0, 0.363);
        }

        & .gf-feature__desc {
            font-size: 1.2rem;
            font-weight: 600;
        }

        & .gf-feature__breadcrumb {
            font-size: 20px;
            letter-spacing: 1px;
            padding: 0;
            margin-top: 20px;
            margin-bottom: 0;

            & .breadcrumb-list {
                text-transform: uppercase;
                display: inline-block;
                color: #fff;
                font-weight: 700;

                &.last {
                    padding-left: 12px;

                    &::before {
                        content: "/";
                        padding-right: 10px;
                    }
                }

                & .link {
                    color: var(--color-main);


                    &:hover {
                        color: #fff;
                    }
                }
            }
        }
    }

    @media (max-width: 768px) {
        .gf-feature__content .gf-feature__head {
            font-size: 3rem;
        }
    }
}

/* nav */
.gf-nav-top {
    padding: 13px 0;
    background: var(--color-main);
}

.navbar {
    background: #fff;
    transition: all 0.3s ease;
}

.nav-link {
    /* font-family: 'Helvetica'; */
    color: rgb(15, 13, 13);
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 600;
    padding: 15px 20px !important;
}



.nav-link:hover {
    color: var(--color-main) !important;
}


.navbar .nav-link.active {
    color: var(--color-main);
}

.nav-toggler {
    display: flex;
    flex-wrap: wrap;
    max-width: 40px;
    cursor: pointer;
}

.nav-toggler .dot {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--color-main);
    margin: 2px 3px;
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .nav-toggler {
        display: none;
    }
}

/* Sticky navbar styles with animation */


.navbar.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    background-color: #fafafacc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.5s ease forwards;
}

/* Fade-in-down animation */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* offcanvas */
.cg-off {

    /* background-color: #1b1b1b; */
    & .cg-off__menu {
        list-style: none;
        padding: 0;
        margin: 0;
        margin-top: 20px;

        & .cg-off__list {
            line-height: 60px;
            border-bottom: 1px solid rgb(206, 206, 206);

            & .cg-off__link {
                color: #000;
                font-size: 18px;
                font-weight: 600;
                padding-left: 40px;
                display: block;
                width: 100%;
                /* border-left: 4px solid transparent; */
                background-color: transparent;

                &.active {
                    background-color: var(--color-main);
                    color: #fff;
                }

                &:hover:not(.active) {
                    color: var(--color-main);
                    /* background-color: rgb(255, 255, 238); */
                }

            }
        }
    }
}

@media (max-width:600px) {
    .offcanvas.offcanvas-end {
        width: 100%;
    }
}

.btn-close:focus {
    box-shadow: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section Styles */
.hero-section {
    width: 100%;
    padding: 0 20px;
}

.swiper-slide {
    text-align: center;
}

.swiper-slide .swiper-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}


.swiper-caption {
    position: absolute;
    top: 27%;
    min-width: 75%;
    height: max-content;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.74);
    padding: 10px;
}



.swiper-caption.three,
.swiper-caption.four,.swiper-caption {
    left: 50%;
    transform: translateX(-50%);
}




.caption-head {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}


.caption-desc {
    text-transform: uppercase;
    font-size: 1.1rem;
}


@media (min-width: 1600px) {
    .caption-head {
        font-size: 4.5rem;
    }

    .caption-desc {
        font-size: 1.5rem;
    }

}

@media (max-width: 991px) {
    .caption-head {
        font-size: 1.6rem;
    }

    .caption-desc {
        font-size: 0.9rem;
    }

    .swiper-caption {
        top: 21%;
    }

}

@media (max-width: 600px) {
    .swiper-slide {
        height: 300px;
    }

    .swiper-slide .swiper-img {
        height: 300px;
        object-fit: cover;
        object-position: left;
    }

    .swiper-caption {
        width: 100% !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }


    .swiper-caption.three,
    .swiper-caption.four,.swiper-caption {
        left: initial;
        transform: translateX(0);
    }
}

.swiper-pagination {
    position: static !important;
    margin-top: 10px;
}

.swiper-pagination-bullet {
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    width: 13px !important;
    border-radius: 5px !important;
    background: var(--color-main) !important;
    transform: scale(1.1) !important;
}

.swiper-pagination-bullet:hover {
    cursor: pointer;
    transform: scale(1.1);
    background-color: #555;
}

.swiper-anime {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateY(-150%);
    transition: opacity 1s ease-in, transform 1s ease;
}

.swiper-slide.swiper-slide-active .swiper-anime {
    opacity: 1;
    transform: translateY(-100%);
}

/* we offer */
.gf-wwo {
    & .gf-wwo__process {
        text-align: center;

        & .gf-wwo__block {
            position: relative;
            display: inline-block;
            width: 230px;
            height: 170px;
            line-height: 170px;
            border: 2px dashed #e2dfdf;
            border-radius: 10px;
            margin: 40px auto;

            & .gf-wwo__media {
                width: 100px;
            }

            & .gf-wwo__count {
                position: absolute;
                left: -40px;
                top: -40px;
                width: 80px;
                height: 80px;
                line-height: 73px;
                background-color: rgb(255, 16, 16);
                font-size: 1.8rem;
                color: #fff;
                font-weight: 800;
                border-radius: 50%;
                border: 5px solid #fff;
            }
        }

        & .gf-wwo__head {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 12px;
        }

        & .gf-wwo__desc {
            font-size: 1rem;
        }
    }
}

/* about */
.gf-about {

    & .gf-about__content {
        & .gf-about__desc {
            font-size: 1rem;
            font-weight: 400;
            color: #4e5b69;
        }
    }

    & .gf-about_video {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%;
        overflow: hidden;
        border-radius: 10px;
        background: #000;
    }


    & .gf-about_video video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border: none;
    }


}




/* about cards */
.gf-about_cards {
    & .gf-about__card {
        padding: 60px;
        padding-bottom: 80px;
        background-color: #ffe9dc;
        margin-bottom: 50px;
        border-radius: 20px;

        & .gf-about__content {

            & .gf-about__card-head {
                font-size: 70px;
                font-weight: 600;
                text-transform: uppercase;
                margin-bottom: 20px;
            }

            & .gf-about__card-desc {
                font-size: 18px;
                font-weight: 400;
            }
        }

        &:nth-child(2) {
            background-color: #e0f5eb;
        }

        &:nth-child(3) {
            background-color: #faedf5;
        }

        &.service {
            background-color: #fcf6e6;
        }
    }

    @media (max-width: 768px) {
        & .gf-about__card {
            padding: 40px;
        }

        & .gf-about__card-head {
            width: 60%;
            font-size: 50px !important;
        }
    }
}

/* why choose */
.gf-wc {

    & .gf-wc__items {
        padding-top: 30px;

        & .gf-wc__col {

            & .gf-wc__item {
                color: #110d0d;
                padding: 40px;
                border-radius: 20px;
                height: 100%;
                border: 1px solid #b9b9bb;
                border-right-width: 5px;
                border-bottom-width: 5px;
                transition: transform .3s ease;

                & .gf-wc__icon {
                    margin-bottom: 30px;

                    & img {
                        width: 110px;
                    }
                }

                & .gf-wc__title {
                    font-size: 1.5rem;
                    margin-bottom: 24px;
                }

                & .gf-wc__desc {
                    font-size: 1rem;
                }

            }

            /* &:nth-child(1) .gf-wc__item {
                background: #e5f5ff;
            } */

            /* &:nth-child(2) .gf-wc__item {
                background: #e1e4ff;
            }

            &:nth-child(3) .gf-wc__item {
                background: #cfebff;
            } */

            &:hover .gf-wc__item {
                transform: scale(1.02) rotate(0);
                background: #e1e1e1;
            }
        }

        @media (max-width:991px) {
            .gf-wc__col .gf-wc__item {
                padding: 30px !important;
            }

        }
    }
}

/* service */
.gf-service {
    padding: 100px 0;
    background-color: #eef9fd;

    & .gf-service__items {
        padding-top: 20px;
        justify-content: center;

        & .gf-service__item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 30px;
            border-radius: 20px;
            background: #fff;
            gap: 30px;
            overflow: hidden;

            & .gf-service__lt {
                transform: translateY(32px);
                transition: transform .3s ease;

                & .gf-service__head {
                    font-size: 24px;
                    font-weight: 700;
                    margin-bottom: 1rem;
                }

                & .gf-service__desc {
                    font-size: 15px;
                }

                & .gf-service__action {
                    transform: translateY(100px);
                    transition: transform .3s ease;
                }
            }

            & .gf-service__rt {
                transition: all .3s ease;

                & .gf-service__img {
                    width: 160px;
                }
            }

            &:hover {
                cursor: pointer;
                box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.11);

                & .gf-service__action {
                    transform: translateY(0) !important;
                }

                & .gf-service__lt {
                    transform: translateY(0);
                }

                & .gf-service__rt {
                    transform: scale(1.5) translateX(22px);
                }
            }

            @media (max-width:768px) {
                & {
                    align-items: flex-start;
                    flex-direction: column-reverse;
                }

                & .gf-service__rt .gf-service__img {
                    width: 105px;
                }

                & .gf-service__action {
                    transform: translateY(0);
                }

                & .gf-service__lt {
                    transform: translateY(0);
                }

                & .gf-service__action {
                    display: none;
                    transform: translateY(0) !important;
                }

                &:hover .gf-service__rt {
                    transform: scale(1) translateX(0px);
                }
            }
        }
    }
}

/* service details */
.gf-provide {
    & .gf-provide__row {
        align-items: center;
    }

    & .gf-provide__body {
        & .gf-provide__title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 16px;
        }

        & .gf-provide__lists {
            list-style: none;
            padding: 0;

            & .gf-provide__list {
                position: relative;

                & i {
                    position: absolute;
                    top: 4%;
                    left: 0;
                    font-size: 1.6rem;
                    color: var(--color-main);
                }

                & .gf-provide__txt {
                    padding-left: 35px;
                }
            }
        }
    }
}

/* contact block */
.gf-connect {
    background-color:var(--color-main);
    position: relative;

    & .gf-connect__row {
        align-items: center;


        & .gf-connect__media {
            text-align: center;
            .gf-connect__img {
                margin-top: -5rem;
            }


        }
    }

    & .gf-animate.one {
        position: absolute;
        top: -25%;
        left: 22%;
        z-index: -1;

        & .gf-scale {
            animation: scale 2s alternate infinite;
        }
    }

    & .gf-connect__content {
        text-align: center;

        & .gf-connect__head {
            color: #fff;
            font-size: 2.5rem;
            font-weight: 700;

        }

        & .gf-connect__desc {
            color: #fff;
            font-size: 1.4rem;
            font-weight: 300;
            padding-bottom: 20px;
        }
        & .btn-main{
            background:#fff;
            color: #000;
        }
    }

    @media (max-width:991px) {
        .gf-animate.one {
            top: -15%;
        }

        .gf-connect__content {
            padding-right: 0;
        }
    }

    @media (max-width:768px) {
        .gf-connect__head {
            font-size: 2rem !important;
        }

        .gf-connect__desc {
            font-size: 1.1rem !important;
        }
    }
    @media (min-width:1200px){
        &.container{
            max-width: 1200px;
        }
        & .gf-connect__media {
            text-align: start !important;
        }
        & .gf-connect__content {
            text-align: center;
        }
        & .gf-connect__content .gf-connect__head{
            font-size: 3.3rem;
        }
        & .gf-connect__content .gf-connect__desc{
            font-size: 1.7rem;
        }
        & .gf-connect__content .btn-main{
            font-size: 19px;
        }
    }
    @media (min-width:1400px){
        &.container{
            max-width: 1400px;
        }
    }

}


@keyframes scale {
    0% {
        transform: scale(0.8);
        -webkit-transform: scale(0.8);
    }

    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}

/* testimonial */
.gf-testi {
    .gf-testi_row {
        padding-top: 20px;
    }

    .gf-testi_col {
        background-color: antiquewhite;
        padding: 30px 20px;
        border-radius: 10px;
    }

    .testimonial-img {
        width: 100px;
    }

    .testimonial-text {
        font-size: 1.2rem;
        font-style: italic;
        color: #333;
        margin: 1.5rem 0 1rem;
    }

    .testimonial-author {
        font-size: 0.9rem;
        font-weight: bold;
        color: #555;
        text-align: right;
    }


}

.swiper-button-next,
.swiper-button-prev {
    top: 30% !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold;
    color: #ec1f25;
}


/* contacy form */
.gf-contact-form {
    position: relative;
    z-index: 1;

    & .cg-msg__form {
        position: relative;
        height: 100%;
        padding: 30px;
        background: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.123);
        z-index: 1;
    }
}

/* contact */
.gf-contact {
    & .gf-contact_row {
        background: url("../image/bg1.jpg") no-repeat center;
        background-size: cover;
        border-bottom: 5px solid var(--color-main);
        box-shadow: 0px 11px 35px 0px #e9d1cf;
        margin: 0;

        & .gf-contact__info {
            padding: 40px 15px;
            border-right: 1px dashed var(--color-main);
            height: 100%;
            text-align: center;

            & .gf-contact__icon {
                font-size: 3rem;
                color: var(--color-main);
                margin-bottom: 20px;

                & img {
                    width: 80px;
                }
            }

            & .gf-contact__txt {
                font-size: 1.3rem;
                font-weight: 700;
            }

            &:hover .gf-contact__icon img {
                animation: dance 1s ease-in-out;
            }
        }

        @media (max-width: 991px) {
            & .gf-contact__info {
                border-right: initial;
                border-bottom: 1px dashed var(--color-main);
            }

            & .gf-contact__info.last {
                border-right: initial;
                border-bottom: initial;
            }
        }
    }
}

@keyframes dance {
    16.65% {
        transform: translateY(8px);
    }

    33.3% {
        transform: translateY(-6px);
    }

    49.95% {
        transform: translateY(4px);
    }

    66.6% {
        transform: translateY(-2px);
    }

    83.25% {
        transform: translateY(1px);
    }

    100% {
        transform: translateY(0);
    }
}

/* footer */
.cg-footer {
    .cg-footer__top {
        background: #191818;
        color: #fff;
        padding: 30px 0;

        & .cg-footer-title {
            position: relative;
            font-size: 18px;
            font-weight: 700;
            text-transform: uppercase;
            border-bottom: 2px solid #313131;
            padding-bottom: 8px;
            margin-bottom: 20px;

            &::before {
                content: "";
                display: block;
                position: absolute;
                bottom: -2px;
                left: 0;
                width: 70px;
                border-bottom: 2px solid var(--color-main);
            }
        }

        & .cg-footer__about {
            text-align: start;

            & img {
                width: 180px;
                margin-bottom: 10px;
            }
        }

        & .cg-footer__items {
            list-style: none;
            padding-left: 0;

            & .cg-footer__item {
                margin-bottom: 10px;

                & .cg-footer__link,
                .cg-footer__addr {
                    color: #fff;

                    & i {
                        font-size: 15px;
                        margin-right: 3px;
                    }
                }

                & .cg-footer__link:hover {
                    color: var(--color-main);
                }

            }
        }
    }

    .cg-footer__bottom {
        background: #0e0d0dea;
        color: #918d8d;
        text-align: center;
        padding: 1rem 0;
    }
}