/* Footer Responsive Styles */

/* Footer titles styling */
.footer h5 {
    font-weight: 700;
    font-size: 18px;
}

/* Footer mobile dropdown styles */
.footer-mobile-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.2s;
}

.footer-mobile-toggle:hover {
    opacity: 0.8;
}

.footer-mobile-toggle h5 {
    margin-bottom: 0 !important;
}

.footer-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.footer-mobile-toggle[aria-expanded="true"] .footer-arrow {
    transform: rotate(180deg);
}

/* Ensure collapse content is hidden by default on mobile, always visible on desktop */
.footer .collapse:not(.show) {
    display: none;
}

@media (min-width: 768px) {
    .footer .collapse {
        display: block !important;
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .footer {
        padding: 60px 0 20px 0 !important;
    }

    .footer .logo {
        max-height: 180px !important;
        height: auto !important;
        width: auto !important;
        margin: 0 auto;
    }

    .footer .connect-with-us h6 {
        font-size: 12px;
        margin-top: 1.5rem !important;
        text-align: center;
    }

    .footer .social-icons-group {
        gap: 1.5rem !important;
        margin-top: 1rem !important;
        justify-content: center;
    }

    .footer .social-icon {
        height: 16px !important;
    }

    .footer .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .footer h5 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .footer-mobile-toggle h5 {
        font-size: 18px;
        font-weight: 700;
    }

    .footer .collapse:not(.show) {
        display: none;
    }

    .footer .list-unstyled {
        margin-top: 1rem !important;
    }

    .footer .list-unstyled li {
        margin-bottom: 0.5rem;
        font-size: 14px;
    }

    .footer .contact-info {
        margin-top: 1rem !important;
        font-size: 14px;
    }

    .footer .contact-info p {
        margin-bottom: 0.5rem !important;
    }

    .footer .reviews {
        margin-top: 1rem !important;
    }

    .footer .row.text-center {
        margin-top: 2rem !important;
    }

    .footer .row.text-center .small {
        font-size: 12px;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991px) {
    .footer {
        padding: 80px 0 15px 0 !important;
    }

    .footer .logo {
        max-height: 150px !important;
        height: auto !important;
    }

    .footer .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

