footer {
    background: white;
    padding: 44px 27px 30px;
}

footer .container {
    width: 100%;
    margin: 0px;
    max-width: 100%;
}

footer .row {
    margin-bottom: 0px !important;
}

footer .logo {
    height: 29px;
    margin-bottom: 20px;
    width: auto;
    object-fit: contain;
}

footer .first-row {
    display: flex;
    flex-wrap: wrap;
    color: white;
    margin-bottom: 20px;
    position: relative;
    background-color: white;
}

footer .second-row {
    display: flex;
    border-radius: 0px 10px 10px 10px;
    background-color: var(--primary);
    color: white;
    padding: 31px 60px 55px;
    gap: 40px;
    font-size: 18px;
    font-weight: 500;
    overflow: hidden;
}

footer .col {
    width: fit-content;
    flex-grow: 0;
    border-radius: 10px;
    padding: 0px;
}

footer .first-row .first.col {
    flex-grow: 1;
    padding: 45px 60px 31px;
    border-radius: 10px 10px 0px 0px;
    background-color: var(--primary);
}

footer .first-row .first.col p {
    line-height: 100%;
}

footer .first-row .col-bg {
    background-color: var(--primary);
    border-radius: 10px 10px 0px 0px;
    padding: 0px;
    margin: 0px;
}

footer .first-row .second.col {
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 13px;
    align-items: center;
    height: 100%;
    border-radius: 0px 0px 0px 10px;
    padding: 0px 0px 17px 17px;
}

footer .social-link {
    border-radius: 10px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 13px;
    flex: 1;
    background-color: var(--primary);
    padding: 18px 40px 18px 18px;
    line-height: 100%;
    position: relative;
    font-size: 18px;
    min-width: 393px;
    transition: all 0.2s ease-in-out;
}

footer .social-link a {
    position: relative;
    bottom: 2px;
}

footer .social-link::after {
    content: url('/assets/icons/arrow-white.svg');
    width: 20px;
    height: auto;
    object-fit: contain;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.2s ease-in-out;
}

footer .social-link:hover::after {
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.2s ease-in-out;
}

footer .social-link:hover a {
    text-decoration-color: white;
} 

footer .social-link img {
    width: 21px;
    height: auto;
    object-fit: contain;
}

footer .second-row p {
    white-space: nowrap;
}

footer a {
    color: white;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition: all 0.2s ease-in-out;
}

footer a:active, footer a:focus {
    color: white;
    text-decoration-color: transparent;
    transition: all 0.2s ease-in-out;
}

footer a:hover {
    color: white;
    text-decoration-color: white;
    transition: all 0.2s ease-in-out;
}

footer .third-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
    padding: 30px 10px 0px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

footer .third-row p {
    margin: 0px;
    line-height: 100%;
}

footer .third-row a {
    color: var(--primary);
    text-decoration-color: var(--primary);
    text-underline-offset: 1px;
}

footer .third-row a:hover {
    color: var(--primary);
}

@media screen and (max-width: 780px) {

    footer {
        padding: 44px 10px 30px;
    }

    footer .container {
        border-radius: 10px;
    }

    footer .first-row {
        flex-direction: column;
        gap: 0px;
    }

    footer .first-row .first.col {
        width: 100%;
    }

    footer .second-row {
        border-radius: 0px 0px 10px 10px;
        padding: 31px 60px 55px;
        flex-direction: column;
    }

    footer .first-row .col,
    footer .second-row {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    .footer .col {
        padding: 0px;
        border-radius: 0px !important;
    }

    footer .first-row .col-bg {
        width: 100%;
        flex-grow: 1;
        border-radius: 0px;
    }

    footer .first-row .second.col {
        background-color: var(--primary);
        width: 100%;
        gap: 0px;
        padding: 0px !important;
    }

    footer .social-link {
        border-radius: 0px;
        padding: 10px 40px 10px 0px;
        min-width: 0px;
        white-space: normal;
        word-break: break-all;
    }

    footer .social-link::after {
        right: 0px;
    }

    footer .second-row p {
        white-space: normal;
    }

    footer .third-row {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        white-space: normal;
    }
}

@media screen and (min-width: 1200px) {
    footer .second-row {
        gap: 115px;
    }
}