:root {
    --footer-bg: #ffffff;
    --footer-text: #64748b;
    --footer-heading: #0f172a;
    --footer-border: #e2e8f0;
    --brand-color: #000;
}

.modern-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding-top: 80px;
    font-family: 'Inter', sans-serif;
    margin-top: 20px;
    border-top: 1px solid var(--footer-border);
}

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

/* Newsletter Section */
.footer-newsletter {
    border-bottom: 1px solid var(--footer-border);
    padding-bottom: 60px;
    margin-bottom: 60px;
}

.newsletter-content h3 {
    color: var(--footer-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.newsletter-content p {
    color: var(--footer-text);
    margin-bottom: 0;
}

.newsletter-form {
    position: relative;
    max-width: 500px;
}

.newsletter-input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid var(--footer-border);
    border-radius: 50px;
    padding: 16px 140px 16px 24px;
    color: var(--footer-heading);
    outline: none;
    transition: all 0.3s;
}

.newsletter-input:focus {
    background: #fff;
    border-color: var(--brand-color);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: var(--brand-color);
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 0 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

/* Main Footer Content */
.footer-widget-title {
    color: var(--footer-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--footer-text);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--brand-color);
    transform: translateX(5px);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--footer-text);
    font-size: 14px;
    margin-bottom: 16px;
}

.contact-info i {
    font-size: 20px;
    color: var(--brand-color);
    margin-top: 2px;
}

/* Footer Brand */
.footer-brand-logo img {
    height: 40px;
    margin-bottom: 20px;
    /* Removed filter invert so logo displays in its original color (usually dark for light bg) */
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 300px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    font-size: 18px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--brand-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding: 30px 0;
    margin-top: 60px;
}

.copyright {
    font-size: 13px;
    color: var(--footer-text);
}

.footer-bottom a {
    color: var(--footer-heading);
}

.payment-methods {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.payment-methods i {
    color: var(--footer-text);
    transition: color 0.3s;
}

.payment-methods i:hover {
    color: var(--brand-color);
}

@media (max-width: 991px) {
    .contact-info li {
        justify-content: center;
    }

    .modern-footer {
        text-align: center;
    }

    .newsletter-form {
        margin: 20px auto 0;
    }

    .footer-desc {
        margin: 0 auto 24px;
    }

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

    .payment-methods {
        justify-content: center;
        margin-top: 20px;
    }

    .footer-links a:hover {
        transform: none;
    }

    .footer-widget {
        margin-bottom: 30px;
    }

    .footer-bottom {
        margin-top: 0;
    }
}