.footer {
    background: #E6F7EF;
    padding: 80px 0 40px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.footer-grid.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand img {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #666;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.social-link:hover {
    transform: translateY(-2px);
}

.footer-nav h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 12px;
}

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

.footer-nav a:hover {
    color: #000;
}

.newsletter {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.newsletter-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.newsletter-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.newsletter h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.newsletter p {
    color: #666;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 24px;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #00FF66;
}

.newsletter-button {
    background: #00FF66;
    color: black;
    padding: 12px 24px;
    border: none;
    border-radius: 24px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.newsletter-button:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

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

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

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}