.footer {
    background: var(--primary-color);
    color: var(--light-bg);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-container {
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    text-align: left;
}

.footer-logo {
    width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.brand-description {
    color: var(--light-bg);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.footer-section h4 {
    color: var(--light-bg);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}
.footer-section{
    text-align: center;

}
.footer-section .contact-info-footer{
    text-align: center;
}

.footer-nav a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-nav a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}
.footer-section .contact-info-footer{
    text-align: center;
}
.contact-info-footer{
    text-align: center;
}
.contact-info-footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.contact-info-footer i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.social-links {
    display: flex
;
    gap: 0.5rem;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.social-links a {
    display: inline-flex
;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgb(255 255 255 / 81%);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.2rem;
    opacity: 0.8;
    transition: var(--transition);
    margin: 0;
}
.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2);
}

.footer-bottom {
   
    padding: 1.5rem 0;
    margin-top: 3rem;
}
.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent-color);
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 1.5rem;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-nav a {
        padding-left: 0;
    }


    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }

    .separator {
        display: none;
    }
}
@media (min-width: 375px) and (max-width:425px){
    /* footer */
.footer-nav a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.2rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}
.contact-info-footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}
.footer-bottom {
    padding: 1.5rem 0 0;
    margin-top: 3rem;
}

}


@media (min-width: 325px) and (max-width:375px){
/* footer */
.footer-nav a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.2rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}
.contact-info-footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}
.footer-bottom {
    padding: 1.5rem 0 0;
    margin-top: 3rem;
}
}