/* =========================================
   FOOTER REFACTOR STYLES (UI/UX) - Force Apply
   ========================================= */

footer {
    background-color: #1A1A1A !important;
    /* Dark Theme */
    color: #ffffff !important;
    padding: 60px 0 30px 0 !important;
    /* Generous padding */
    border-top: 3px solid #004236 !important;
    /* Emerald Green Border */
    font-family: 'Outfit', sans-serif !important;
}

.footer-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    /* Adjusted to 2 Columns */
    gap: 40px !important;
    margin-bottom: 20px !important;
    /* Reduced margin since border is gone */
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* Brand Column */
.footer-brand {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.footer-logo {
    height: 70px !important;
    /* Adjusted height for balance */
    width: auto !important;
    /* Maintain aspect ratio */
    padding: 0 !important;
    background: transparent !important;
    /* Transparent Background */
    border-radius: 0 !important;
    /* Remove unnecessary border radius */

    /* FIX FOR LOGO WITH WHITE BACKGROUND: */
    /* 1. Grayscale ensures no color artifacts */
    /* 2. Invert turns White BG -> Black BG, Dark Text -> Light Text */
    /* 3. Screen blend mode hides the Black BG (transparent) */
    /* 4. Brightness/Contrast boosts the Light Text visibility */
    filter: grayscale(100%) invert(1) brightness(2) contrast(1.5) !important;
    mix-blend-mode: screen !important;

    opacity: 0.9 !important;
    /* Slightly soften for harmony */
}

.footer-brand p {
    font-size: 16px !important;
    /* Requested 16px */
    font-style: italic !important;
    /* Requested Italic */
    color: #cccccc !important;
    line-height: 1.6 !important;
    max-width: 300px !important;
}

/* Links Column */
.footer-links h4,
.footer-contact h4 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 24px !important;
    position: relative !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Add a small decorative line under headings */
.footer-links h4::after,
.footer-contact h4::after {
    content: '' !important;
    display: block !important;
    width: 40px !important;
    height: 2px !important;
    background-color: #004236 !important;
    /* Emerald */
    margin-top: 8px !important;
}

.footer-links ul {
    list-style: none !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    /* Requested 12px gap */
}

.footer-links a {
    color: #b0b0b0 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 0.95rem !important;
    display: inline-block !important;
}

.footer-links a:hover {
    color: #FF7F50 !important;
    /* Coral Orange Hover */
    transform: translateX(5px) !important;
    /* Micro-interaction */
}

/* Contact Column */
.footer-contact p {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: #b0b0b0 !important;
    margin-bottom: 15px !important;
    font-size: 0.95rem !important;
}

.contact-icon {
    width: 20px !important;
    height: 20px !important;
    color: #004236 !important;
    /* Emerald Icon */
    flex-shrink: 0 !important;
}

.whatsapp-highlight {
    font-weight: 700 !important;
    /* Bold WhatsApp */
    color: #ffffff !important;
}

/* Footer Bottom (Copyright + Trust) */
.footer-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.85rem !important;
    color: #666 !important;
    padding-top: 10px !important;
}

.developer-credit {
    font-size: 1.1rem !important;
    color: #b0b0b0 !important;
    margin-top: 5px !important;
    font-weight: 500 !important;
}

.developer-credit a {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.developer-credit a:hover {
    color: #004236 !important;
    /* Emerald */
}

.trust-badges {
    display: flex !important;
    gap: 15px !important;
    align-items: center !important;
}

.trust-badge {
    height: 30px !important;
    opacity: 0.6 !important;
    filter: grayscale(100%) !important;
    transition: all 0.3s !important;
}

.trust-badge:hover {
    opacity: 1 !important;
    filter: grayscale(0%) !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center !important;
    }

    .footer-brand {
        align-items: center !important;
    }

    .footer-links h4::after,
    .footer-contact h4::after {
        margin: 8px auto 0 auto !important;
        /* Center underlines */
    }

    .footer-contact p {
        justify-content: center !important;
    }

    .footer-bottom {
        flex-direction: column-reverse !important;
        gap: 20px !important;
        text-align: center !important;
    }
}