.footer-wrapper {
    background: linear-gradient(346.85deg, #302863 7.73%, #386195 86.78%);
    box-shadow: 0px 5px 4px rgba(49, 43, 100, 0.1);
}

.footer-wrapper footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    direction: rtl;
    gap: 72px;
    color: white;
    padding: 70px 230px;
    background: none;
    max-width: 1920px;
    margin: 0 auto;
}

.footer-wrapper footer .footer-row.top {
    width: 100%;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 300px 2fr auto;
    justify-items: center;
}

.footer-wrapper footer .footer-row.top .right {
    display: flex;
    flex-direction: column;
    gap: 17px;
    margin-left: 85px;
}

.footer-wrapper footer .footer-row.top .right .icons {
    display: flex;
    gap: 16px;
}

.footer-wrapper footer .footer-row.top .right .icons .icon {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    margin: 0;
}

.footer-wrapper footer .footer-row.top .right .icons .icon img {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    margin: 0;
}

.footer-wrapper footer .footer-row.top .right .text {
    max-width: 295px;
    font-size: 10px;
    font-weight: 300;
    text-align: right;
}

.footer-wrapper footer .footer-row.top .middle {
    display: grid;
    grid-template-columns: repeat(5, auto);
    justify-items: start;
    gap: 15px 0px;
    width: 100%;
}

.footer-wrapper footer .footer-row.top .middle .middle-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-wrapper footer .footer-row.top .middle .middle-col a.map-item {
    text-decoration: none;
    color: white;
    font-weight: 300;
    font-size: 12px;
}

.footer-wrapper footer .footer-row.top .left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 35px;
}

.footer-wrapper footer .footer-row.top .left img.logo {
    width: 90px;
    height: 56px;
}

.footer-wrapper footer .footer-row.top .left .under-logo-text {
    text-align: left;
    max-width: 150px;
    font-weight: 300;
    font-size: 10px;
}

.footer-wrapper footer .footer-row.bottom .partners {
    grid-column: 0.25;
    display: flex;
    gap: 50px;
}

.footer-wrapper footer .footer-row.bottom .partners .partner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-wrapper footer .footer-row.bottom .partners .partner .title {
    font-size: 10px;
    font-weight: 300;
}

.footer-wrapper footer .footer-row.bottom .partners .partner .img {
    max-width: 100%;
}

@media only screen and (max-width: 1692px) {
    .footer-wrapper footer {
        padding-left: 170px;
        padding-right: 170px;
    }
}

@media only screen and (max-width: 1506px) {
    .footer-wrapper footer {
        padding-left: 100px;
        padding-right: 100px;
    }
}

@media only screen and (max-width: 1366px) {
    .footer-wrapper footer {
        padding-left: 40px;
        padding-right: 40px;
    }

    .footer-wrapper footer .footer-row.top .right {
        margin-left: 30px;
    }
}

@media only screen and (max-width: 1191px) {
    .footer-wrapper footer .footer-row.top {
        grid-template-columns: 230px 2fr 110px;
    }

    .footer-wrapper footer .footer-row.top .middle {
        column-gap: 0px;
    }
}

@media only screen and (max-width: 990px) {
    .footer-wrapper footer {
        padding: 22px 18px;
        gap: 27px;
        position: relative;
    }

    .footer-wrapper footer .footer-row.top {
        grid-template-rows: repeat(4, auto);
        grid-template-columns: auto;
    }

    .footer-wrapper footer .footer-row.top .left {
        grid-row: 0.5;
        justify-self: end;
    }

    .footer-wrapper footer .footer-row.top .left img.logo {
        width: 70.95px;
        height: 43.41px;
    }

    .footer-wrapper footer .footer-row.top .left .under-logo-text {
        position: absolute;
        bottom: 30px;
        right: 18px;
        max-width: 150px;
        text-align: right;
    }

    .footer-wrapper footer .footer-row.top .middle {
        grid-row: 2/3;
        gap: 15px 88px;
        margin-top: 42px;
        grid-template-columns: repeat(2, auto);
        grid-template-rows: repeat(3, auto);
    }

    .footer-wrapper footer .footer-row.top .middle .middle-col {
        gap: 15px;
    }

    .footer-wrapper footer .footer-row.top .middle .col-num-0 {
        grid-row: 1/2;
        grid-column: 1/2;
    }

    .footer-wrapper footer .footer-row.top .middle .col-num-2 {
        grid-row: 2/3;
        margin-top: -100px;
    }

    .footer-wrapper footer .footer-row.top .middle .col-num-4 {
        grid-row: 2/3;
        grid-column: 1/2;
    }

    .footer-wrapper footer .footer-row.top .middle .col-num-3 {
        grid-row: 3/4;
        grid-column: 2/3;
        margin-top: -100px;
    }

    .footer-wrapper footer .footer-row.top .middle .col-num-1 {
        grid-row: 1/2;
        grid-column: 2/3;
    }

    .footer-wrapper footer .footer-row.top .right {
        grid-row: 3/4;
        justify-self: start;
        margin-top: 50px;
    }

    .footer-wrapper footer .footer-row.top .right .icons {
        gap: 28px;
    }

    .footer-wrapper footer .footer-row.top .right .icons .icon {
        width: 40px;
        height: 40px;
    }

    .footer-wrapper footer .footer-row.top .right .icons .icon img {
        width: 40px;
        height: 40px;
    }

    .footer-wrapper footer .footer-row.bottom {
        margin-bottom: 78px;
    }
}