/* Hide on Desktop and Tablet by default */
.custom-mobile-footer-accordion {
    display: none;
    width: 100%;
}

/* Show only on mobile (768px and below) */
@media (max-width: 768px) {
    .custom-mobile-footer-accordion {
        display: block;
    }


    /* Centered Header */
    .mfa-header {
        width: 100%;
        display: flex;
        justify-content: center; /* Changed to center */
        align-items: center;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        padding: 15px 0;
        color: #ffffff !important;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        outline: none !important;
        text-align: center; /* Changed to center */
        box-shadow: none !important;
        gap: 10px; /* Added gap between text and icon */
    }
    
    .mfa-header:hover, 
    .mfa-header:focus, 
    .mfa-header:active {
        background: transparent !important;
        background-color: transparent !important;
        outline: none !important;
        color: #ffffff !important;
    }

    .mfa-icon {
        transition: transform 0.3s ease;
        display: flex;
        align-items: center;
        color: #06D11B;
    }

    .mfa-item.active .mfa-icon {
        transform: rotate(180deg);
    }

    .mfa-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    /* Fixed List Dots Issue & Centered Items */
    .mfa-menu-list {
        list-style: none !important;
        list-style-type: none !important;
        padding: 0 !important;
        margin: 0 0 15px 0 !important;
    }

    .mfa-menu-list li {
        list-style: none !important;
        list-style-type: none !important;
        margin-bottom: 10px !important;
        padding-left: 0 !important;
        background: none !important;
        text-align: center !important; /* Added center alignment for list */
    }
    
    .mfa-menu-list li::before,
    .mfa-menu-list li::after {
        display: none !important;
        content: none !important;
    }

    .mfa-menu-list li a {
        color: #d1d5db !important;
        text-decoration: none !important;
        font-size: 14px;
        display: block;
        padding: 5px 0; /* Adjusted padding for centered text */
        text-align: center !important; /* Force center alignment */
        transition: color 0.2s ease;
    }

    .mfa-menu-list li a:hover {
        color: #06D11B !important;
    }
    
    .mfa-menu-list li a i {
        display: none !important;
    }
}