/* Footer Styles - Updated */
.footer {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff;
    position: relative;
    width: 100%;
    clear: both;
    margin-top: 4rem;
    padding: 4rem 0 2rem;
    font-family: 'Segoe UI', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.footer-section:nth-child(1) { animation-delay: 0.2s; }
.footer-section:nth-child(2) { animation-delay: 0.4s; }
.footer-section:nth-child(3) { animation-delay: 0.6s; }
.footer-section:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-links,
.footer-contact,
.footer-newsletter {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #e0e7ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffd700;
}

.footer-contact p,
.footer-newsletter p {
    margin: 0.4rem 0;
    color: #e0e7ff;
    font-size: 0.95rem;
}

.footer-newsletter input[type="email"] {
    padding: 0.5rem;
    border-radius: 4px;
    border: none;
    margin-right: 0.5rem;
    width: 65%;
    max-width: 250px;
}

.footer-newsletter button {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: none;
    background: #ffd700;
    color: #764ba2;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.footer-newsletter button:hover {
    background: #fff;
    color: #764ba2;
}

.footer-social {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #fff;
    font-size: 1.4rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #ffd700;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 1rem;
    }

    .footer-newsletter input[type="email"] {
        width: 100%;
        margin: 0 0 0.5rem 0;
    }

    .footer-newsletter button {
        width: 100%;
    }

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