/* Mobile optimizations for footer */
@media (max-width: 768px) {
    .footer-top-section .col-md-2 {
        text-align: center;
    }
    
    /* Reduce padding on mobile */
    .footer-top-section {
        padding-top: 2rem !important;
    }
    
    .footer-top-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Reduce margins and padding for mobile */
    .footer-top-section .row {
        margin-bottom: 2rem !important;
    }
    
    .footer-top-section h4 {
        margin-bottom: 1.5rem !important;
        font-size: 1.25rem !important;
    }
    
    .footer-top-section .mb-4 {
        margin-bottom: 1rem !important;
    }
    
    /* Optimize newsletter section */
    .footer-top-section .col-md-4 {
        margin-bottom: 1.5rem !important;
    }
    
    /* Reduce accordion spacing */
    .accordion-item {
        margin-bottom: 0.5rem !important;
    }
    
    .accordion-button {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 0.75rem 1rem !important;
    }
    
    /* Middle section mobile optimization */
    .footer-middle-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .footer-middle-section h4 {
        margin-bottom: 1.5rem !important;
        font-size: 1.25rem !important;
    }
    
    /* Bottom section mobile optimization */
    .footer-bottom-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .footer-bottom-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Reduce gap between elements */
    .footer-bottom-section .gap-5 {
        gap: 1.5rem !important;
    }
    
    .footer-bottom-section .gap-3 {
        gap: 1rem !important;
    }
    
    /* Optimize blog slider for mobile */
    .blogSwiper {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .blogSwiper h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .blogSwiper .lead {
        font-size: 0.9rem;
        margin-bottom: 1.5rem !important;
    }
    
    /* Additional mobile optimizations */
    .footer-top-section .newsletter-column {
        margin-top: 1rem !important;
    }
    
    .footer-top-section .ms-3 {
        margin-left: 0.5rem !important;
    }
    
    /* Reduce form spacing */
    .footer-email-form {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Optimize logo spacing */
    .footer-logo-img {
        margin-top: 1rem !important;
    }
    
    /* Reduce region accordion spacing */
    .footer-middle-section .accordion-item {
        margin-bottom: 0.5rem !important;
    }
    
    /* Optimize footer bottom section */
    .footer-bottom-section .gap-5 {
        gap: 1rem !important;
    }
    
    .footer-bottom-section .small {
        font-size: 0.8rem;
    }
    
    /* Ensure no horizontal overflow */
    .footer-top-section,
    .footer-middle-section,
    .footer-bottom-section {
        overflow-x: hidden;
    }
}
