footer {
    font-family: "Lato", sans-serif;
    min-height: 200px;
    height: auto;
    background-color: rgb(11, 28, 48);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 24px 16px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.mandatory-icons,
.footer-icons,
.footer-heading,
.footer-copyright,
.footer-contact-button {
    position: relative;
    z-index: 2;
}

.footer-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
    object-position: 20% 20%;
}

.anpc-logo-link,
.solutionare-logo-link {
    text-decoration: none;
}

.anpc-logo-image,
.solutionare-logo-image {
    width: clamp(180px, 22vw, 250px);
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    margin-top: 20px;
}

.footer-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-icon img {
    width: 32px;
    height: 32px;
}

.footer-heading {
    font-weight: 600;
    margin-bottom: 0;
}

.footer-contact-button {
    text-decoration: none;
    color: rgb(111, 214, 223);
    transition: color 0.25s ease-in-out;
    margin-bottom: 20px;
}

.footer-contact-button:hover {
    color: white;
}

@media (max-width: 768px) {
    footer {
        height: auto;
        padding-top: 40px;
        padding-bottom: 40px;
        text-align: center;
    }

    .mandatory-icons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .anpc-logo-image,
    .solutionare-logo-image {
        width: 200px;
        margin: 5px 0;
    }
    
    .footer-icons {
        flex-wrap: wrap;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .footer-image {
        object-position: center;
    }
}