footer {
    width: 100%;
}

/* top row  */

footer .footer-top-row {
    background-color: #000;
    width: 100%;
}

footer .footer-top-row .footer-top-row-grid {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

@media (max-width: 767px) {
    footer .footer-top-row .footer-top-row-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 32px;
    }

    footer .footer-top-row .footer-top-row-grid .grid-item-wrapper {
        justify-content: start !important;
    }
}

@media (max-width: 576px) {
    footer .footer-top-row .footer-top-row-grid {
        padding: 32px 16px;
    }
}

footer .footer-top-row .footer-top-row-grid .grid-item-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

footer .footer-top-row .footer-top-row-grid .grid-item-wrapper img {
    height: 64px;
    width: auto;
    max-width: 100%;
}

/* middle row  */

footer .footer-middle-row {
    background-color: #1d1d1d;
    width: 100%;
}

footer .footer-middle-row .footer-middle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 64px 32px;
    gap: 5%;
}

@media (min-width: 768px) and (max-width: 1024px) {
    footer .footer-middle-row .footer-middle-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 767px) {
    footer .footer-middle-row .footer-middle-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 32px;
    }

    footer .footer-middle-row .footer-middle-grid .middle-grid-item-wrapper .footer-logo img {
        max-width: 200px !important;
        height: auto;
        width: 100%;
    }
}

@media (max-width: 576px) {
    footer .footer-middle-row .footer-middle-grid {
        padding: 32px 16px;
    }
}

footer .footer-middle-row .footer-middle-grid .middle-grid-item-wrapper {
    display: block;
    width: 100%;
}

/* footer logo  */
footer .footer-middle-row .footer-middle-grid .middle-grid-item-wrapper .footer-logo {
    width: 100%;
    display: flex;
    justify-content: start;
}

footer .footer-middle-row .footer-middle-grid .middle-grid-item-wrapper .footer-logo img {
    width: 100%;
    max-width: 80%;
    height: auto;
}

/* end of footer logo  */

/* contact  */

footer .footer-middle-row .footer-middle-grid .middle-grid-item-wrapper .footer-contact {
    width: 100%;
}

footer .footer-middle-row .footer-middle-grid .middle-grid-item-wrapper .footer-contact h4 {
    padding-bottom: 4px;
    color: #a8a8a8;
    font-size: 20px;
    border-bottom: 1px solid #a8a8a8;
    margin-bottom: 24px;
    margin-top: 0;
}

footer .footer-middle-row .footer-middle-grid .middle-grid-item-wrapper .footer-contact ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

footer .footer-middle-row .footer-middle-grid .middle-grid-item-wrapper .footer-contact ul li {
    margin-bottom: 12px;
}

footer .footer-middle-row .footer-middle-grid .middle-grid-item-wrapper .footer-contact ul li span {
    color: #a8a8a8;
}

/* end of contact  */

/* address  */

footer .footer-middle-row .footer-middle-grid .middle-grid-item-wrapper .footer-address {
    width: 100%;
}

footer .footer-middle-row .footer-middle-grid .middle-grid-item-wrapper .footer-address h4 {
    padding-bottom: 4px;
    color: #a8a8a8;
    font-size: 20px;
    border-bottom: 1px solid #a8a8a8;
    margin-bottom: 24px;
    margin-top: 0;
}

footer .footer-middle-row .footer-middle-grid .middle-grid-item-wrapper .footer-address span {
    color: #a8a8a8;
}

/* end of address  */

/* additional links  */

footer .footer-middle-row .footer-middle-grid .middle-grid-item-wrapper .footer-additional-links {
    width: 100%;
}

footer .footer-middle-row .footer-middle-grid .middle-grid-item-wrapper .footer-additional-links h4 {
    padding-bottom: 4px;
    color: #a8a8a8;
    font-size: 20px;
    border-bottom: 1px solid #a8a8a8;
    margin-bottom: 24px;
    margin-top: 0;
}

footer .footer-middle-row .footer-middle-grid .middle-grid-item-wrapper .footer-additional-links ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

footer .footer-middle-row .footer-middle-grid .middle-grid-item-wrapper .footer-additional-links ul li {
    margin-bottom: 12px;
}

footer .footer-middle-row .footer-middle-grid .middle-grid-item-wrapper .footer-additional-links ul li span {
    color: #a8a8a8;
}

/* end of additional links  */