footer.main-container {
    background-color: #002f6c;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px 0;
}

.footer-container {
    display: flex;
    margin-bottom: 38px;
    width: 100%;
    max-width: 1237px;
    justify-content: space-between;
    gap: 20px;
}

.footer-item {
    display: flex;
    flex-grow: 1;
    flex-basis: 0%;
    flex-direction: column;
    max-width: 100%;
}

.footer-logo {
    max-width: 292px;
    overflow: hidden;
}

.social-title {
    color: #fff;
    margin-top: 44px;
    margin-bottom: 17px;
    white-space: nowrap;
    font: 500 24px Inter, sans-serif;
    letter-spacing: 0;
}

.footer-social .social-icon {
    background-color: transparent;
    width: 56px;
    height: 56px;
    padding: 0;
    margin: 10px;
}

.footer-social {
    width: max-content;
    max-width: 100%;
}
.footer-social .social-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-left: -10px;
    margin-right: -10px;
}

.footer-social .social-icon>span {
    display: none;
}

.footer-social .social-icon:hover {
    filter: brightness(.8) sepia(0);
}

.footer-social .social-icon.facebook {
    background-image: url(../images/facebook-white.svg), linear-gradient(transparent,transparent);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.footer-social .social-icon.twitter {
    background-image: url(../images/x-white.svg), linear-gradient(transparent,transparent);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.footer-social .social-icon.youtube {
    background-image: url(../images/youtube-white.svg), linear-gradient(transparent,transparent);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.footer-social .social-icon.linkedin {
    background-image: url(../images/linkedin-white.svg), linear-gradient(transparent,transparent);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.footer-social .social-icon.flickr {
    background-image: url(../images/flickr-white.svg), linear-gradient(transparent,transparent);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.footer-social .social-icon.instagram {
    background-image: url(../images/instagram-white.svg), linear-gradient(transparent,transparent);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.footer-partners-description,
.footer-partners {
    margin: 0;
    font-size: 24px;
    letter-spacing: 0;
    font-weight: 500;
    line-height: normal;
    color: #fff;
}
.footer-partners {
    margin-bottom: 35px;
}
.footer-partners-description {
    margin-top: 45px;
}

.footer-item.right {
    margin-top: 46px;
    max-width: 40%;
}
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center; 
    margin-left: -10px;
    margin-right: -10px;  
} 
.partner-logos .logo img {
    width: 100%;
    display: block;
}
.partner-logos .logo {
    width: 25%;
    height: auto;
    padding: 10px;
}
.footer-link {
    margin-top: 45px;
}
.footer-link .link:not(:last-child) {
    margin-bottom: 15px;
}
.footer-link .link a:hover {
    text-decoration: underline;
    text-decoration-color: #BA0C2F;
    -webkit-text-decoration-color: #BA0C2F;
    text-underline-offset: 9px;
    text-decoration-style: solid;
    text-decoration-thickness: 1px;
}
.footer-link .link a {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    letter-spacing: 0;
    font-weight: 500;
    line-height: normal;
    color: #fff;
    text-decoration: none;
    transition: none;
}
.footer-link .link {
    display: block;
}
@media (max-width: 1199px) {
    .footer-logo {
        max-width: 256.7px;
    }
    .social-title {
        margin-top: 35px;
        margin-bottom: 12px;
    }
    .footer-social .social-icon {
        width: 40px;
        height: 40px;
        margin: 7.5px;
    }
    .footer-social .social-icons {
        margin: 0 -7.5px;
    }
}
/* @media (max-width: 991px) {
    footer.main-container {
        padding: 48px 0;
        overflow: hidden;
    }
  
    .footer-container {
        max-width: 100%;
        flex-wrap: wrap;
        margin-bottom: 40px;
    }
  
    .footer-title {
        margin-top: 40px;
        white-space: initial;
    }
  
    .footer-description {
        max-width: 100%;
        margin-top: 40px;
        white-space: initial;
    }
} */
@media (max-width: 991px) {
    .footer-container {
        display: block;
        text-align: center;
        margin-bottom: 0;
    }
    .footer-logo {
        margin: 0 auto;
    }
    .footer-social {
        width: 100%;
    }
    .footer-item.right {
        max-width: 100%;
        margin-top: 37.5px;
    }
    footer.main-container {
        padding: 46px 0 55px;
    }
    .social-title {
        margin-top: 54px;
        margin-bottom: 31px;
    }
    .footer-partners-description {
        margin-top: 50px;
    }
    .footer-social .social-icon {
        width: 64px;
        height: 64px;
    }
    .footer-link .link a,
    .social-title,
    .footer-partners-description, 
    .footer-partners {
        font-size: 20px;
        font-weight: 400;
    }
    .partner-logos {
        justify-content: center;
    }
    .footer-partners {
        margin-bottom: 30px;
    }
}
@media (max-width: 429px) {
    .partner-logos .logo {
        width: 50%;
    }
}