footer {
    background-color: var(--white-color);
    width: 100%;
    position: relative;
    overflow: hidden;
}

    footer a {
        color: var(--alternate-text-color);
        font-size: 14px;
        font-weight: normal;
        text-decoration: none;
    }

        footer a:hover {
            color: var(--primary-color-alternate);
        }

    footer .brands-wrapper {
        height: 153px;
        min-height: 153px;
        max-height: 153px;
        overflow: hidden;
    }

        footer .brands-wrapper .brands-slider-wrapper {
            background-color: var(--primary-color);
        }

            footer .brands-wrapper .brands-slider-wrapper .container {
                overflow: hidden;
                max-width: 1700px;
            }

        footer .brands-wrapper .brands-inner {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            gap: 56px;
            height: 88px;
            min-height: 88px;
            max-height: 88px;
            padding: 4px 38px;
            isolation: isolate;
            max-width: 1600px;
        }

            footer .brands-wrapper .brands-inner .brand-logo {
                display: flex !important;
                justify-content: center !important;
                align-items: center !important;
                max-height: 30px;
                max-width: 185px !important;
            }

                footer .brands-wrapper .brands-inner .brand-logo img {
                    mix-blend-mode: luminosity;
                    width: auto;
                    max-height: 30px;
                    filter: grayscale();
                    opacity: 0.5;
                }

        footer .brands-wrapper .footer-back-to-top {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

            footer .brands-wrapper .footer-back-to-top a {
                position: absolute;
                top: 10px;
                left: 45%;
                z-index: 999999;
            }

    footer .company-description {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 12px;
    }

        footer .company-description p {
            color: var(--alternate-text-color);
            font-size: 12px;
            line-height: 1.75;
            /* line-height: 2.4; */
            text-align: justify;
            margin-bottom: 0 !important;
        }

            footer .company-description p a {
                font-size: 12px;
                font-weight: 600;
            }

    footer .about-links-wrapper {
        margin-bottom: 20px;
        padding: 20px 0;
        border-bottom: 1px solid var(--controls-border-color-light);
    }

    footer .footer-links {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 12px;
    }

        footer .footer-links strong {
            color: var( --text-color-alternate);
            font-size: 14px;
            font-weight: bold;
        }

        footer .footer-links ul {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 0;
            padding-right: 0;
            list-style: none;
        }

    footer .contacts-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 20px;
    }

        footer .contacts-wrapper strong,
        footer .social-wrapper strong {
            color: var(--text-dark-color);
            font-size: 14px;
            font-weight: bold;
        }

        footer .contacts-wrapper .company-location-wrapper,
        footer .contacts-wrapper .company-emails-wrapper,
        footer .contacts-wrapper .company-tell-wrapper {
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: start;
            gap: 12px;
        }

            footer .contacts-wrapper .company-location-wrapper .company-address-wrapper {
                display: flex;
                flex-direction: column;
                gap: 12px;
            }

                footer .contacts-wrapper .company-location-wrapper .company-address-wrapper .company-address {
                    display: flex;
                    flex-direction: row;
                    justify-content: flex-start;
                    align-items: center;
                    gap: 4px;
                }

                    footer .contacts-wrapper .company-location-wrapper .company-address-wrapper .company-address span {
                        color: var(--alternate-text-color);
                        font-size: 14px;
                    }

                        footer .contacts-wrapper .company-location-wrapper .company-address-wrapper .company-address span:first-child,
                        footer .contacts-wrapper .company-emails-wrapper .company-email span:first-child,
                        footer .contacts-wrapper .company-tell-wrapper .company-tell span:first-child {
                            color: #AAABAD;
                        }

    footer .social-wrapper {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

        footer .social-wrapper .social-inner {
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
            gap: 24px;
        }

    footer .certificates-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }

        footer .certificates-wrapper .certificate {
            background: #FAFAFA;
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            gap: 10px;
            width: 118px;
            height: 118px;
            padding: 12px;
            border-radius: 20px;
        }

    footer .company-copyright {
        color: var( --alternate-text-color);
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
        padding: 20px;
    }


/* =========================== Responsive =========================== */

@media (max-width: 991.98px) {
    footer {
        padding-right: 8px;
        padding-left: 8px;
    }

        footer .brands-wrapper {
            display: none;
        }

        footer .about-links-wrapper {
            border-bottom: 0;
        }

        footer .contacts-wrapper .company-location-wrapper .company-address-wrapper .company-address {
            display: inline-block;
        }

        footer .social-wrapper {
            display: none;
        }

        footer .certificates-wrapper {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            gap: 16px;
            overflow: hidden;
            margin-top: 2rem;
            margin-bottom: 2rem;
        }

            footer .certificates-wrapper .certificate {
                width: 72px;
                min-width: 72px;
                max-width: 72px;
                height: 72px;
                min-height: 72px;
                max-height: 72px;
                padding: 8px;
            }

                footer .certificates-wrapper .certificate a {
                    width: 72px;
                    min-width: 72px;
                    max-width: 72px;
                    height: 72px;
                    min-height: 72px;
                    max-height: 72px;
                }

                footer .certificates-wrapper .certificate img {
                    width: 100%;
                    height: auto;
                }

        footer .company-copyright {
            text-align: center;
            margin-top: 1rem;
        }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    footer .certificates-wrapper .certificate {
        width: 90px;
        min-width: 90px;
        max-width: 90px;
        height: 90px;
        min-height: 90px;
        max-height: 90px;
        padding: 8px;
    }
}
