.footer {
    background-color: var(--color-bg);
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 30px;
    padding-inline: var(--footer-padding-inline, var(--page-inline-padding-lg));
}

.footer-container {
    width: 100%;
    
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg); /* 24px */
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    
}

.footer-logo {
    height: 30px;
    width: auto;
}

.footer-social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-xl-2); /* 40px */
    height: 20px;
    margin: 0;
    padding: 0;
    justify-content: right;
    
}

.footer-social a {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%; /* 20px */
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.footer-social a[href*="mailto:"] {
    width: 126px;
    text-align: center;
}

.footer-social a[href*="x.com"],
.footer-social a[href*="twitter.com"] {
    width: 9px;
    text-align: center;
}

.footer-social a[href*="instagram.com"] {
    width: 66px;
    text-align: right;
}

.footer-social a[href*="linkedin.com"] {
    width: 65px;
    text-align: right;
}

.footer-social span {
    color: var(--color-text);
    opacity: 0.8;
}

.footer-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    height: 20px;
    margin: 0;
    padding: 0;
}

.social-icons {
    display: flex;
    gap: var(--spacing-xl);
}

.social-icons a, .footer-social a {
    transition: color 0.3s ease;
}

.social-icons a:hover, .footer-social a:hover {
    color: var(--color-primary);
}

.copyright {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: var(--color-text);
    flex: none;
    order: 0;
    flex-grow: 0;
}

.footer-nav {
    display: flex;
    gap: var(--spacing-2xl); /* 40px */
}

.footer-nav a {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.text-acid {
    color: var(--color-primary) !important;
}

.footer h5 {
    font-weight: 600;
    font-family: 'Trap', sans-serif;
    margin-bottom: 1.2rem;
}

.footer p {
    line-height: 1.6;
    color: var(--color-text);
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer-link {
    color: var(--color-text);
    opacity: 0.8;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--color-primary);
    opacity: 1;
    text-decoration: none;
}


@media (max-width: 768px) {
    
    .footer {
        padding-inline: var(--footer-padding-inline, var(--page-inline-padding-md));
    }
    
    .footer-container {
        gap: var(--spacing-xl);
    }
    
    .footer-top {
        flex-direction: column;
        gap: var(--spacing-xl);
        padding-bottom: var(--spacing-xl);
       
    }

    .footer-bottom {
        flex-direction: column-reverse;
        height: auto;
        gap: var(--spacing-xl);
        
    }
    
    .footer-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
    
    .footer-social {
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
        gap: var(--spacing-xl);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: var(--spacing-xl);
    }

    .footer {
        text-align: center;
    }
    
    .footer .col-md-4 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 425px) {
    
    .footer {
        padding-inline: var(--footer-padding-inline, var(--page-inline-padding-sm));
    }


}