@media (max-width: 991px) {
    .hero-content {
        padding: 10px;
    }

    .allocation-test {
        padding: 0 10px;
    }

    .no-therapist-message {
        font-size: 14px;
    }

    .allocation-button {
        width: 90%;
    }

    .hero-content {
        padding-right: 20px;
    }

    .hero-columns {
        flex-direction: column;
        align-items: stretch;
        gap: 0px;
    }

    .hero-image {
        margin-top: 31px;
    }

    .therapists-columns {
        flex-direction: column;
        align-items: stretch;
        gap: 0px;
    }

    .hero-text-container,
    .therapists-section,
    .therapists-text-container,
    .therapists-image {
        margin-top: 40px;
    }

    .header-content,
    .nav-container,
    .allocation-test,
    .filter-container,
    .footer-div {
        flex-wrap: wrap;
    }

    .filter-tag {
        padding-left: 20px;
    }

    .hero-description,
    .hero-link,
    .filter-clear {
        margin-right: 10px;
    }

    .card-content {
        margin-top: 24px;
    }

    .specialties {
        margin-right: 5px;
    }

    .specialties,
    .pagination,
    .specialty-tag,
    .pagination-number,
    .pagination-active,
    .pagination-link {
        white-space: initial;
    }


    .hero-section,
    .therapists-section,
    .filter-section,
    .footer-content {
        padding: 0 20px;
    }

    .therapist-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0px;
    }

    .pagination,
    .footer,
    .footer-icon,
    .footer-email,
    .footer-newsletter {
        margin-top: 40px;
    }

    .therapists-right-column,
    .therapist-card {
        width: 100%;
        max-width: 100%;
    }

    .no-therapist-message,
    .header,
    .header-content,
    .hero-section,
    .hero-title,
    .hero-left-column,
    .hero-text-container,
    .hero-description,
    .hero-link,
    .feature-title,
    .hero-right-column,
    .hero-image,
    .therapists-section,
    .filter-section,
    .therapists-left-column,
    .therapists-text-container,
    .therapist-list,
    .allocation-test,
    .filter-container,
    .footer,
    .footer-content,
    .footer-div,
    .footer-legal,
    .footer-links {
        max-width: 100%;
    }
}