/* Footer Styles - White Background Version */

.footer {
    background-color: #FFFFFF;
    padding: 60px 0 0;
    font-family: 'Poppins', sans-serif;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

/* Logo and Description */
.footer__brand {
    grid-column: 1;
}

.footer__logo {
    margin-bottom: 20px;
}

.footer__logo img {
    width: 180px;
    height: auto;
}

.footer__description {
    color: #828181;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Quick Links */
.footer__links {
    grid-column: 2;
}

.footer__heading {
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__list li {
    margin-bottom: 12px;
}

.footer__list a {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer__list a:hover {
    opacity: 0.7;
}

/* Social Media */
.footer__social {
    grid-column: 3;
}

.footer__social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__social-list li {
    margin-bottom: 12px;
}

.footer__social-link {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s ease;
}

.footer__social-link:hover {
    opacity: 0.7;
}

.footer__social-link svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Credentials & Affiliations */
.footer__credentials {
    grid-column: 4;
}

.footer__badges {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
}

.footer__badge {
    background-color: #f5f5f5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Copyright Section */
.footer__bottom {
    background-color: #FFFFFF;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

.footer__copyright {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000000;
    font-size: 14px;
}

.footer__copyright-text {
    margin: 0;
}

.footer__legal-links {
    display: flex;
    gap: 5px;
}

.footer__legal-links a {
    color: #000000;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer__legal-links a:hover {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .footer__heading {
        white-space: nowrap;
        font-size: 14px;
    }
    
    .footer__badges {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .footer__badge {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .footer__container {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 16px;
        padding: 0 16px;
    }
    
    .footer__links {
        padding-left: 20px;
    }
    
    .footer__heading {
        font-size: 14px;
    }
    
    .footer__copyright {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .footer__legal-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer__container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .footer__brand,
    .footer__links,
    .footer__social,
    .footer__credentials {
        grid-column: 1;
    }
    
    .footer__badges {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }
    
    .footer__badge {
        flex: 0 1 auto;
    }
    
    .footer__copyright {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .footer__legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer__links {
        padding-left: 0;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 40px 0 0;
        overflow-x: hidden;
    }
    
    .footer__container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
        padding: 0 20px;
        max-width: 100%;
    }

    .footer__links {
        padding-left: 0;
        grid-column: 1;
        width: 100%;
    }
    
    .footer__brand,
    .footer__social,
    .footer__credentials {
        grid-column: 1;
        width: 100%;
    }
    
    .footer__logo img {
        max-width: 100%;
        height: auto;
    }
    
    .footer__description {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .footer__badges {
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        gap: 8px;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    
    .footer__badge {
        flex: 1;
        min-width: 0;
    }
    
    .footer__bottom {
        padding: 20px 0;
    }
    
    .footer__copyright {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0 20px;
        max-width: 100%;
    }
    
    .footer__copyright-text {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .footer__legal-links {
        flex-wrap: wrap;
        justify-content: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}


@media (max-width: 1440px) { 
    .footer__heading {
        font-size: 17px;
    }
    
    .footer__badges {
        flex-wrap: nowrap;
        gap: 12px;
    }
    
    .footer__badge svg {
        max-width: 100%;
        height: auto;
    }
}

@media (min-width: 1441px) and (max-width: 2559px) { 
    .footer__badges {
        flex-wrap: nowrap;
        gap: 15px;
    }
    
    .footer__badge svg {
        max-width: 100%;
        height: auto;
    }
}

@media (min-width: 2560px) {
    .footer__badges {
        flex-wrap: nowrap;
        gap: 20px;
    }
    
    .footer__badge svg {
        max-width: 100%;
        height: auto;
    }
}
