/* ==================== FOOTER STYLES ==================== */

.footer {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    color: white;
    padding: 3rem 0 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Brand Section */
.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: white;
    font-weight: 700;
}

.footer-brand > p {
    margin-bottom: 1rem;
    opacity: 0.95;
    font-size: 0.95rem;
}

.footer-description {
    margin-top: 0.5rem;
}

.footer-description p {
    font-size: 0.85rem;
    opacity: 0.85;
    line-height: 1.6;
    margin: 0;
}

/* Footer Sections */
.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

/* Footer Lists */
.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-list a::before {
    content: '▸';
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.footer-list a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-list a:hover::before {
    opacity: 1;
}

/* Contact Section */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 32px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item > div {
    flex: 1;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    margin: 0 0 0.25rem;
    font-weight: 600;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-item a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom-links .divider {
    opacity: 0.5;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 0;
        margin-top: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
        margin-bottom: 1.5rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-list a {
        font-size: 0.9rem;
    }

    .footer-contact {
        gap: 0.75rem;
    }

    .contact-item {
        padding: 0.5rem;
    }

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

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

    .footer-bottom-links {
        justify-content: center;
        gap: 0.75rem;
    }

    .footer-bottom-links a {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 1.5rem;
        padding: 1.5rem 0;
    }

    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .footer-list li {
        margin-bottom: 0.5rem;
    }

    .footer-list a {
        font-size: 0.85rem;
    }

    .contact-item {
        padding: 0.4rem;
    }

    .contact-icon {
        font-size: 1.25rem;
        min-width: 28px;
    }

    .footer-bottom {
        padding: 1rem 0;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    .footer-bottom-links {
        gap: 0.5rem;
    }

    .footer-bottom-links a {
        font-size: 0.75rem;
    }
}
