
/* Enhanced Footer Styles */
footer {
    background: #000000 !important;
    color: #ffffff !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Desktop Footer */
@media (min-width: 768px) {
    footer {
        display: block !important;
    }
    
    .md\:block {
        display: block !important;
    }
    
    .hidden.md\:block {
        display: block !important;
    }
    
    /* Footer content styling */
    footer h3 {
        color: #ffffff !important;
        font-weight: 600 !important;
    }
    
    footer .text-gray-300 {
        color: #d1d5db !important;
    }
    
    footer .text-gray-400 {
        color: #9ca3af !important;
    }
    
    /* Green accent colors */
    footer .bg-green-500 {
        background-color: #10b981 !important;
    }
    
    footer .hover\:text-green-500:hover {
        color: #10b981 !important;
    }
    
    footer .border-gray-800 {
        border-color: #1f2937 !important;
    }
}

/* Mobile Footer */
@media (max-width: 767px) {
    footer {
        display: block !important;
        padding: 1rem 0 !important;
    }
    
    .md\:hidden {
        display: block !important;
    }
    
    /* Mobile footer content */
    footer .text-center {
        text-align: center !important;
    }
    
    footer .grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    
    /* Mobile spacing */
    footer .space-y-4 > * + * {
        margin-top: 1rem !important;
    }
    
    footer .space-y-3 > * + * {
        margin-top: 0.75rem !important;
    }
    
    footer .space-y-2 > * + * {
        margin-top: 0.5rem !important;
    }
    
    footer .space-y-1 > * + * {
        margin-top: 0.25rem !important;
    }
    
    /* Mobile text sizes */
    footer .text-xs {
        font-size: 0.75rem !important;
        line-height: 1rem !important;
    }
    
    footer .text-sm {
        font-size: 0.875rem !important;
        line-height: 1.25rem !important;
    }
    
    footer .text-lg {
        font-size: 1.125rem !important;
        line-height: 1.75rem !important;
    }
    
    /* Mobile badges */
    footer .bg-white {
        background-color: #ffffff !important;
    }
    
    footer .shadow-sm {
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    }
    
    /* Mobile social media icons */
    footer .space-x-4 > * + * {
        margin-left: 1rem !important;
    }
    
    footer .space-x-3 > * + * {
        margin-left: 0.75rem !important;
    }
    
    /* Mobile flex layouts */
    footer .flex {
        display: flex !important;
    }
    
    footer .justify-center {
        justify-content: center !important;
    }
    
    footer .items-center {
        align-items: center !important;
    }
    
    footer .flex-wrap {
        flex-wrap: wrap !important;
    }
    
    /* Mobile badge sizing */
    footer .w-5 {
        width: 1.25rem !important;
    }
    
    footer .h-5 {
        height: 1.25rem !important;
    }
    
    footer .w-4 {
        width: 1rem !important;
    }
    
    footer .h-4 {
        height: 1rem !important;
    }
    
    /* Mobile padding and margins */
    footer .px-2 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    footer .py-1 {
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }
    
    footer .mt-1 {
        margin-top: 0.25rem !important;
    }
    
    footer .mt-2 {
        margin-top: 0.5rem !important;
    }
    
    footer .mt-3 {
        margin-top: 0.75rem !important;
    }
    
    footer .mb-2 {
        margin-bottom: 0.5rem !important;
    }
    
    footer .mb-3 {
        margin-bottom: 0.75rem !important;
    }
    
    footer .mb-4 {
        margin-bottom: 1rem !important;
    }
}

/* Ensure footer is always visible */
footer.hidden.md\:block {
    display: block !important;
}

/* Fallback for footer visibility */
@media (min-width: 768px) {
    footer {
        display: block !important;
    }
}

/* Footer link hover effects */
footer a:hover {
    transition: color 0.3s ease !important;
}

/* Footer form styling */
footer input[type="email"] {
    background-color: #1f2937 !important;
    border-color: #374151 !important;
    color: #ffffff !important;
}

footer input[type="email"]:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

footer button[type="submit"] {
    background-color: #10b981 !important;
    color: #ffffff !important;
}

footer button[type="submit"]:hover {
    background-color: #059669 !important;
}

/* Social media icons */
footer .fab {
    font-size: 1.25rem !important;
}

/* Newsletter form mobile */
@media (max-width: 767px) {
    footer .max-w-xs {
        max-width: 20rem !important;
    }
    
    footer .mx-auto {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Copyright section */
footer .border-t {
    border-top-width: 1px !important;
}

footer .border-gray-800 {
    border-color: #1f2937 !important;
}

/* Policy links */
footer .space-x-2 > * + * {
    margin-left: 0.5rem !important;
}

footer .space-x-4 > * + * {
    margin-left: 1rem !important;
}

/* Ensure proper spacing */
footer .mt-6 {
    margin-top: 1.5rem !important;
}

footer .pt-4 {
    padding-top: 1rem !important;
}

footer .py-8 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

/* Mobile specific spacing */
@media (max-width: 767px) {
    footer .mt-6 {
        margin-top: 1.5rem !important;
    }
    
    footer .pt-4 {
        padding-top: 1rem !important;
    }
    
    footer .space-y-3 > * + * {
        margin-top: 0.75rem !important;
    }
    
    footer .space-y-4 > * + * {
        margin-top: 1rem !important;
    }
}
