/* FOOTER SECTION STYLES */

footer {
    background: #080A0D;
    color: white;
    padding-top: 6rem;
    padding-bottom: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

footer .footer-section h3 {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: #f64900;
}

footer .footer-section p,
footer .footer-section a {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

footer .footer-section a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer .footer-section a:hover {
    color: #f64900;
    opacity: 1;
    padding-left: 0.5rem;
}

footer .footer-section ul {
    list-style: none;
    padding: 0;
}

footer .footer-section li {
    margin-bottom: 0.75rem;
}

/* Social links */
footer .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

footer .social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background: #f64900;
    transform: translateY(-3px);
}

/* Footer bottom */
footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

footer .footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.6;
}

footer .footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

footer .footer-links a {
    font-size: 0.85rem;
    text-decoration: none;
    color: white;
    opacity: 0.6;
    transition: all 0.3s ease;
}

footer .footer-links a:hover {
    opacity: 1;
    color: #f64900;
}

/* Logo Section in Footer */
footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

footer .footer-logo svg {
    width: 50px;
    height: 50px;
}

footer .footer-logo-text {
    font-size: 0.95rem;
    font-weight: 900;
    text-transform: uppercase;
}

/* Logo carousel in footer */
#logo-track {
    display: flex;
    gap: 1rem;
    will-change: transform;
}

#logo-track li {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#logo-track img {
    filter: grayscale(1) brightness(0.55) contrast(1.15);
    opacity: 1;
    transition: none;
}

/* Responsive */
@media (max-width: 768px), (orientation: portrait) and (max-width: 1024px) {
    footer {
        padding-top: 3rem;
        padding-bottom: 2rem;
        position: relative;
        bottom: auto;
    }

    footer .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    footer .footer-links {
        gap: 1rem;
        width: 100%;
    }

    footer > div:nth-child(2) > div:first-child {
        gap: 2rem;
        margin-bottom: 2rem;
    }

    footer > div:nth-child(2) > div:first-child > div:first-child {
        max-width: 100%;
    }

    footer > div:nth-child(2) > div:first-child > div:first-child > div:first-child {
        margin-bottom: 0.85rem;
    }

    footer > div:nth-child(2) > div:first-child > div:first-child > div:first-child > span:last-child {
        font-size: 0.72rem;
        letter-spacing: 0.2em;
    }

    footer > div:nth-child(2) > div:first-child > div:first-child > p {
        font-size: 0.72rem;
        line-height: 1.55;
        letter-spacing: 0.08em;
    }

    footer > div:nth-child(2) > div:first-child > div:last-child {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    footer > div:nth-child(2) > div:first-child > div:last-child a {
        font-size: 0.68rem;
        letter-spacing: 0.14em;
    }

    footer > div:nth-child(2) > div:last-child {
        padding-top: 1rem;
        gap: 0.6rem;
        align-items: flex-start;
    }

    footer > div:nth-child(2) > div:last-child p {
        font-size: 0.56rem;
        letter-spacing: 0.2em;
    }
}

@media (max-width: 480px) {
    footer {
        padding-top: 2.5rem;
        padding-left: var(--hero-align-x, clamp(0.9rem, 3.4vw, 4.5rem));
        padding-right: var(--hero-align-x, clamp(0.9rem, 3.4vw, 4.5rem));
        padding-bottom: 1.5rem;
    }

    footer > div:nth-child(2) > div:first-child {
        gap: 1.5rem;
    }

    footer > div:nth-child(2) > div:first-child > div:last-child {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }

    footer > div:nth-child(2) > div:first-child > div:last-child > div {
        gap: 0.6rem;
    }

    footer > div:nth-child(2) > div:first-child > div:last-child p {
        font-size: 0.62rem;
        letter-spacing: 0.24em;
        margin-bottom: 0.35rem;
    }

    footer > div:nth-child(2) > div:first-child > div:last-child a {
        font-size: 0.64rem;
        letter-spacing: 0.12em;
    }

    footer > div:nth-child(2) > div:last-child p {
        font-size: 0.52rem;
    }
}

