/* ================= FOOTER STYLES ================= */
.footer {
    background: linear-gradient(to top, #102361, #09174d);
    color: var(--text-light);
    padding: 40px 20px 20px;
    width: 100%;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h4 {
    font-family: var(--font-display);
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.footer-column p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.profile {
    color: var(--text-secondary);
    font-size: 1em;
    transition: color 0.3s;
}

.social {
    margin-top: 10px;
    display: flex;
    gap: 15px;
}

.social a {
    color: var(--text-secondary);
    font-size: 24px;
    transition: color 0.3s, transform 0.3s;
}

.social a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column h4 {
        border-bottom: none;
        padding-bottom: 0;
    }
    .social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 25px 15px 15px;
    }
    .footer-bottom {
        font-size: 0.75rem;
    }
}

/* Scroll Animation */
.footer-column,
.footer-bottom {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.footer-column.visible,
.footer-bottom.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for columns */
.footer-column:nth-child(1).visible { transition-delay: 0s; }
.footer-column:nth-child(2).visible { transition-delay: 0.1s; }
.footer-column:nth-child(3).visible { transition-delay: 0.2s; }
.footer-bottom.visible { transition-delay: 0.3s; }