.footer-section {
    position: relative;

    .arrow-shape-1 {
        position: absolute;
        top: 0;
        left: 0;

        @include breakpoint (max-xxl){
            display: none;
        }
    }
}

.footer-top {
    padding: 80px 0;
    @include flex; justify-content: space-between;
    border-bottom: 1px solid rgba(230, 230, 230, .1);

    @include breakpoint (max-lg){
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
        padding: 60px 0;
    }

    @include breakpoint (max-md){
        padding: 40px 0;
    }

    ul {
        @include flex;
        gap: 55px;

        @include breakpoint (max-md){
           gap: 20px;
           flex-wrap: wrap;
        }

        li {
            i {
                color: $theme-color;
                margin-right: 5px;
            }

            a {
                color: $white;
                font-weight: 500;
            }
        }
    }
}

.footer-widgets-wrapper {
    padding: 90px 0 120px;
    position: relative;
    z-index: 9;

    .arrow-shape-2 {
        position: absolute;
        bottom: 0;
        right: 0;

        @include breakpoint (max-xxl){
            display: none;
        }
    }

    @include breakpoint(max-xl){
        padding: 60px 0 90px;
    }

    @include breakpoint(max-lg){
        padding: 50px 0 70px;
    }

    .single-footer-widget {
        margin-top: 30px;

        .widget-head {
            margin-bottom: 30px;

            @include breakpoint (max-sm){
               margin-bottom: 20px;
            }

            h5 {
                text-transform: capitalize;
                margin-top: 10px;
                color: $white;
            }

            h3 {
                font-size: 32px;
                text-transform: capitalize;
                color: $white;
                margin-top: 10px;
            }
        }

        .footer-content {
            p {
                color: $text-color-2;
            }

            br {
                @include breakpoint (max-xxl){
                    display: none;
                }
            }

            span {
                font-weight: 500;
                margin-top: 15px;
                display: inline-block;
                color: $text-color-2;

                @include breakpoint (max-sm){
                    margin-top: 10px;
                }
            }
    
            .link {
                font-size: 16px;
                font-weight: 700;
                color: $white;
                margin-top: 15px;
                display: inline-block;

                @include breakpoint (max-sm){
                    margin-top: 10px;
                }
            }
    
            .social-icon {
                margin-top: 40px;
                gap: 15px;
                position: relative;
                z-index: 9;

                @include breakpoint (max-sm){
                    margin-top: 20px;
                }
    
                a {
                    width: 40px;
                    height: 40px;
                    line-height: 40px;
                    text-align: center;
                    font-size: 16px;
                    display: block;
                    background: rgba(92, 92, 91, .1);
                    color:  $text-color-2;
                    border-radius: 50%;
                    -webkit-transition: all .4s ease-in-out;
                    transition: all .4s ease-in-out;
                    text-align: center;
    
                    &:hover {
                        background-color: $theme-color;
                        color: $white;
                    }
                }
            }

            .newsletter-items {
                margin-top: 40px;
                @include flex;
                gap: 10px;
        
                @include breakpoint (max-xxl){
                    flex-wrap: wrap;
                    gap: 20px;
                }
        
                .form-clt {
                    flex-basis: 70%;

                    @include breakpoint (max-lg){
                        flex-basis: 100% !important;
                    }

                   input {
                        position: relative;
                        padding: 18px 30px;
                        border: none;
                        outline: none;
                        background: rgba(255, 255, 255, 0.03);
                        border: 1.2px solid rgba(255, 255, 255, 0.1);
                        border-radius: 6px;
                        width: 100%;
                        font-size: 16px;
                        color: $text-color;
                        border-radius: 5px
                   }
                }
        
                .theme-btn {
                    padding: 24px 40px;

                    @include breakpoint (max-lg){
                        width: 100%;
                        text-align: center;
                    }

                    span {
                        margin-top: 0;
                        color: $white;
                        @include transition;
                    }

                    &:hover {
                        span {
                            color: $header-color;
                        }
                    }
                }
            }

            .label-text {
                color: $text-color-2;
                font-weight: 500;
                margin-top: 15px;
                font-size: 16px;

                a {
                    color: $white;
                    text-decoration: underline;
                }
            }

            .footer-input {
                margin-top: 30px;

                input {
                    width: 100%;
                    border: none;
                    background-color: $bg-color;
                    position: relative;
                    border: 1px solid $border-color;
                    padding: 16px 22px;
                    color: $text-color;
                }

                .theme-btn {
                    margin-top: 12px;
                    width: 100%;
                    line-height: 1.3;
                    padding: 19px 45px;

                    span {
                        margin: 0;
                        color: $white;
                    }
                    
                    &::before,&::after {
                        background-color: $white;
                    }

                    &:hover {
                        span {
                            color: $header-color;
                        }
                    }
                }
            }
        }

        .list-items {
            li {
                text-transform: capitalize;

                &:not(:last-child){
                    margin-bottom: 15px;
                }

                a {
                    font-size: 16px;
                    color: $text-color-2;
                    position: relative;

                    &::before {
                        position: absolute;
                        top: 8px;
                        left: 0;
                        width: 6px;
                        height: 6px;
                        content: "";
                        border-radius: 50%;
                        background-color: $theme-color;
                        opacity: 0;
                        visibility: hidden;
                        @include transition;
                    }

                    &:hover {
                        padding-left: 20px;
                        color: $theme-color;

                       &::before {
                         opacity: 1;
                         visibility: visible;
                       }
                    }
                }
            }
        }

        .footer-address-text {

            p {
                color: $text-color-2;
            }

            h5 {
                padding: 20px 0;
                color: $white;

                a {
                    color: $white;
                }
            }

            .link-mail {
                color: $text-color-2;
                font-size: 16px;
            }
        }

        .footer-gallery {
            .gallery-wrap {
                .gallery-item {
                    @include flex;
                    gap: 10px;
    
                    &:not(:last-child){
                        margin-bottom: 10px;
                    }
    
                    .thumb {
                        position: relative;
    
                        @include breakpoint(max-sm){
                            width: 100px;
                        }
    
                        img {
                            @include imgw;
                        }
    
                        .icon {
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            transform: translate(-50%, -50%);
                            z-index: 1;
                            text-align: center;
                            transition: .3s;
                            opacity: 0;
                            width: 100%;
                            height: 100%;
    
                            &::after{
                                position: absolute;
                                content: "";
                                top: 0;
                                left: 0;
                                right: 0;
                                bottom: 0;
                                background-color: rgba(226, 9, 53, .85);
                                transition: .4s;
                                opacity: 0;
                                width: 100%;
                                height: 100%;
                            }
    
                            i {
                                color: $white;
                                font-size: 22px;
                                z-index: 99;
                                position: relative;
                                margin-top: 25px;
                            }
                        }
    
                        &:hover {
                            .icon {
                                opacity: 1;
                                &::after {
                                    opacity: 1;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}


.footer-bottom {
    padding: 30px 0;
    position: relative;
    z-index: 9;
    background-color: #121315;
    
    .footer-wrapper {
       @include breakpoint (max-lg){
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center !important;
            margin-top: 30px;
            text-align: center;
       }

        p {
            color: $white;

            a {
               color:  $white;
            }
        }
        
        .footer-menu {
            @include flex;
            gap: 20px;

            li {
                a {
                    color: $white;
                    background-image: linear-gradient($white,$white);
                    background-position: 0 95%;
                    background-repeat: no-repeat;
                    background-size: 0% 2px;
                    display: inline-block;
                    @include transition;

                    &:hover {
                        background-size: 100% 1px;
                    }
                }
            }
        }
    
    }

    // .scroll-icon {
    //     position: absolute;
    //     left: 50%;
    //     top: -40px;
    //     transform: translateX(-50%);
    //     width: 70px;
    //     height: 70px;
    //     line-height: 60px;
    //     background-color: $theme-color;
    //     border-radius: 50%;
    //     text-align: center;
    //     color: $white;
    //     border: 5px solid $white;
    //     display: inline-block;
    // }

    &.style-2 {
        background-color: #101010;
        text-align: center;
        margin-top: -5px;

        .footer-wrapper {
            display: initial !important;
        }
    }
}

.newsletter-area {
    position: relative;
    z-index: 9;

    .newsletter-title {
        text-align: center;

        h2 {
            color: $white;
            margin-bottom: 10px;
        }

        p {
            color: $white;
        }
    }

    .shape-1 {
        position: absolute;
        left: -15%;
        bottom: 4%;
        animation: rounded 6s linear infinite;

        @include breakpoint (max-xxl){
            display: none;
        }
    }

    .shape-2 {
        position: absolute;
        right: -15%;
        bottom: 4%;
        animation: rounded 5s linear infinite;

        @include breakpoint (max-xxl){
            display: none;
        }
    }

    .newsletter-items {
        margin-top: 40px;
        @include flex;
        gap: 10px;

        @include breakpoint (max-xxl){
            flex-wrap: wrap;
            text-align: center;
            justify-content: center;
            gap: 20px;
        }

        .form-clt {
            flex-basis: 70%;

            @include breakpoint (max-md){
                flex-basis: 100%;
            }

           input {
                position: relative;
                padding: 18px 30px;
                border: none;
                outline: none;
                background-color: $white;
                width: 100%;
                font-size: 16px;
                color: $text-color;
                border-radius: 5px;

                @include breakpoint (max-md){
                    padding: 14px 30px;
                }

                @include breakpoint (max-sm){
                    padding: 14px 25px;
                }
           }
        }

        .theme-btn {
            padding: 24px 50px;

            @include breakpoint (max-md){
                width: 100%;
                padding: 20px 40px;
            }

            @include breakpoint (max-sm){
                padding: 18px 25px;
            }
        }
    }
}
  