.banner {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url(../images/main-bg.jpg) center center no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    padding-top: 68.5px;
    padding-bottom: 21px;
    z-index: 2;
    &:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        background: $white;
        opacity: 0.5;
        z-index: -1;
    }
    .main-social {
        position: absolute;
        bottom: 0;
        left: 100px;
        padding-bottom: 60px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        &::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 1px;
            height: 50px;
            background: $black-3;
        }
        a {
            text-align: center;
            width: 30px;
            height: 30px;
            line-height: 30px;
            font-size: 14px;
            color: $white;
            background: $gradient-1;
            box-shadow: 0px 0px 10px 0px rgba($black, .3);
            border-radius: 15px;
            position: relative;
            z-index: 2;
            &::after {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: $gradient-2;
                border-radius: 15px;
                opacity: 0;
                transition: .3s;
                z-index: -1;
            }
            &:hover {
                &::after {
                    opacity: 1;
                }
            }
        }
    }
    .banner-txt {
        padding-left: 20px;
        position: relative;
        z-index: 2;
        &::before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 40px;
            height: 40px;
            background: url(../images/triangle-vector.png) center center no-repeat;
            background-size: cover;
            opacity: 0.5;
            animation:  10s spin linear infinite;
            z-index: -1;
        }
        &::after {
            content: "";
            position: absolute;
            bottom: -100px;
            left: -100px;
            width: 40px;
            height: 40px;
            background: url(../images/plus-vector.png) center center no-repeat;
            background-size: cover;
            opacity: 0.5;
            animation:  10s spin linear infinite;
            z-index: -1;
        }
        h3 {
            font-size: 30px;
            line-height: 100%;
            font-weight: 600;
            color: $black-3;
            margin-top: -3px;
            margin-bottom: 26px;
        }
        h1 {
            font-family: $heading-font;
            font-size: 55px;
            line-height: 100%;
            font-weight: 600;
            color: $black-3;
            margin-bottom: 14px;
            span {
                color: $color-1;
                color: transparent;
                background: $gradient-2;
                background-clip: text;
                font-weight: 700;
                text-transform: uppercase;
            }
        }
        h2 {
            font-size: 25px;
            line-height: 100%;
            font-weight: 500;
            color: $black-3;
            margin-bottom: 29px;
        }
        p {
            font-size: 16px;
            line-height: 26px;
            color: $black-3;
            margin-bottom: 20px;
        }
        .btn-box {
            padding-top: 13px;
            display: flex;
            gap: 15px;
            a {
                &:nth-child(2) {
                    color: $color-1;
                    &::after {
                        top: 1px;
                        left: 1px;
                        bottom: 1px;
                        right: 1px;
                        background: $white;
                        border-radius: 24px;
                    }
                    &:hover, &:focus {
                        color: $white;
                    }
                }
            }
        }
    }
    .nav-wrap {
        transform: translateY(95px);
        .nav-grid {
            width: auto;
            max-width: 220px;
            float: none;
            display: block;
            margin-left: 65px;
            margin-top: -125px;
            padding-left: 0;
            padding-right: 0;
            height: 220px;
            filter: drop-shadow(0px 0px 30px rgba(0, 0, 0, .35));
            transform: rotate(-45deg);
            position: relative;
            z-index: 2;
            &::after {
                content: "";
                position: absolute;
                top: -55px;
                left: -5px;
                width: 170px;
                height: 170px;
                background: url(../images/dot-vector.png) center center no-repeat;
                background-size: cover;
                transform: rotate(45deg);
                opacity: 0.4;
                z-index: -1;
            }
            .single-item {
                float: left;
                clear: none;
                text-align: inherit;
                width: 50%;
                margin-left: 0%;
                margin-right: 0%;
                height: 110px;
                background: $gradient-2;
                overflow: hidden;
                transition: .3s;
                &::before,
                &::after {
                    content: "";
                    display: table;
                }
                &::after {
                    clear: both;
                }
                &:nth-child(1) {
                    border-radius: 10px 10px 0 0;
                }
                &:nth-child(2) {
                    position: relative;
                    top: 50%;
                    border-radius: 0 10px 0 0;
                }
                &:nth-child(4) {
                    position: relative;
                    top: 50%;
                    left: 50%;
                    border-radius: 0 10px 10px 0;
                }
                &:nth-child(5) {
                    border-radius: 0 0 0 10px;
                }
                &:nth-child(7) {
                    position: relative;
                    left: 50%;
                    border-radius: 0 0 10px 10px;
                }
                a {
                    display: block;
                    height: calc(100% + 62px);
                    width: calc(100% + 62px);
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    text-align: center;
                    color: $white;
                    text-decoration: none;
                    transform: rotate(45deg) translate(-43px, 0);
                    transition: .3s;
                    .icon {
                        font-size: 20px;
                        line-height: 100%;
                        width: 30px;
                        margin-bottom: 10px;
                    }
                    .txt {
                        font-size: 14px;
                    }
                    &:hover {
                        background: $color-5;
                    }
                }
            }
        }
    }
    .copyright {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        p {
            font-size: 14px;
            line-height: 100%;
            text-transform: capitalize;
            color: $black-6;
            margin-bottom: 8px;
            span {
                color: $color-1;
            }
        }
    }
}

@media screen and (max-width: 1399px) and (min-width: 1200px) {
    .banner {
        .banner-txt {
            padding: 0;
        }
    }
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
    .banner {
        .banner-txt {
            padding: 0;
        }
        .nav-wrap {
            transform: translateY(92px);
            .nav-grid {
                max-width: 200px;
                height: 200px;
                margin-left: 55px;
                .single-item {
                    height: 100px;
                }
            }
        }
        .main-social {
            left: 45px;
        }
    }
}

@media screen and (max-width: 991px) and (min-width: 768px) {
    .banner {
        padding-top: 50px;
        padding-bottom: 19px;
        .main-social {
            left: 30px;
            padding-bottom: 30px;
            &::after {
                height: 25px;
            }
        }
        .banner-txt {
            padding: 0;
            h3 {
                font-size: 16px;
                margin-top: -1px;
                margin-bottom: 17px;
            }
            h1 {
                font-size: 30px;
                margin-bottom: 11px;
            }
            h2 {
                font-size: 16px;
                margin-bottom: 20px;
            }
            p {
                font-size: 14px;
                line-height: 24px;
                margin-bottom: 10px;
            }
        }
        .nav-wrap {
            transform: translate(0);
            display: flex;
            justify-content: center;
            margin: -10px 0;
            .nav-grid {
                max-width: 225px;
                height: 225px;
                margin-left: 0;
                margin-top: 0;
                transform: rotate(-45deg);
                &::after {
                    top: -70px;
                    left: 0;
                    width: 100px;
                    height: 100px;
                }
                .single-item {
                    width: 75px;
                    height: 75px;
                    &:nth-child(1) {
                        border-radius: 10px 0 0 0;
                    }
                    &:nth-child(2) {
                        top: 0;
                    }
                    &:nth-child(3) {
                        position: relative;
                        top: calc(100% / 3);
                        border-radius: 0 10px 0 0;
                    }
                    &:nth-child(4) {
                        top: 0;
                        left: 0;
                        border-radius: 0 0 0 10px;
                    }
                    &:nth-child(5) {
                        border-radius: 0;
                    }
                    &:nth-child(6) {
                        position: relative;
                        top: calc(100% / 3);
                        border-radius: 0 0 10px 0;
                    }
                    &:nth-child(7) {
                        left: calc(100% / 3);
                        border-radius: 0 0 0 10px;
                    }
                    a {
                        .txt {
                            font-size: 10px;
                        }
                    }
                }
            }
        }
        .copyright {
            width: 100%;
            text-align: center;
            p {
                font-size: 12px;
            }
        }
    }
}

@media screen and (max-width: 767px) and (min-width: 320px) {
    .banner {
        padding-top: 50px;
        padding-bottom: 19px;
        .main-social {
            display: none;
        }
        .nav-col {
            order: 2;
        }
        .banner-txt {
            text-align: center;
            padding: 0;
            margin-bottom: 30px;
            h3 {
                font-size: 16px;
                margin-top: -1px;
                margin-bottom: 17px;
            }
            h1 {
                font-size: 30px;
                margin-bottom: 11px;
            }
            h2 {
                font-size: 16px;
                margin-bottom: 20px;
            }
            p {
                font-size: 14px;
                line-height: 24px;
                margin-bottom: 10px;
            }
            .btn-box {
                justify-content: center;
            }
        }
        .nav-wrap {
            transform: translate(0);
            display: flex;
            justify-content: center;
            margin: -10px 0;
            .nav-grid {
                max-width: 225px;
                height: 225px;
                margin-left: 0;
                margin-top: 0;
                transform: rotate(-45deg);
                &::after {
                    top: -70px;
                    left: 0;
                    width: 100px;
                    height: 100px;
                }
                .single-item {
                    width: 75px;
                    height: 75px;
                    &:nth-child(1) {
                        border-radius: 10px 0 0 0;
                    }
                    &:nth-child(2) {
                        top: 0;
                    }
                    &:nth-child(3) {
                        position: relative;
                        top: calc(100% / 3);
                        border-radius: 0 10px 0 0;
                    }
                    &:nth-child(4) {
                        top: 0;
                        left: 0;
                        border-radius: 0 0 0 10px;
                    }
                    &:nth-child(5) {
                        border-radius: 0;
                    }
                    &:nth-child(6) {
                        position: relative;
                        top: calc(100% / 3);
                        border-radius: 0 0 10px 0;
                    }
                    &:nth-child(7) {
                        left: calc(100% / 3);
                        border-radius: 0 0 0 10px;
                    }
                    a {
                        .txt {
                            font-size: 10px;
                        }
                    }
                }
            }
        }
        .copyright {
            width: 100%;
            text-align: center;
            p {
                font-size: 12px;
            }
        }
    }
}

@media screen and (max-width: 767px) and (min-width: 480px) {
    .banner {
        .main-social {
            display: flex;
            left: 20px;
            padding-bottom: 30px;
            &::after {
                height: 25px;
            }
        }
    }
}