@media (max-width: 991px) {

    .cta-section {
        padding: 80px 0;
    }

    .cta-content h2 {
        font-size: 36px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .contact-info {
        margin-top: 30px;
    }

    .map-container {
        min-height: 250px;
    }

    .doctor-image {
        min-height: 250px;
    }

    .doctor-info {
        padding: 20px;
    }

    .doctor-name {
        font-size: 20px;
    }

    .facilities {
        padding: 60px 0;
    }

    .facilities .section-header {
        text-align: center;
    }

    .facilities .facilities-gallery {
        gap: 12px;
    }

    .facility-card.card-medium,
    .facility-card.card-large {
        flex-basis: 48%;
    }

    .banner-section {
        padding: 80px 0;
    }

    .banner-content .heading {
        font-size: 36px;
    }

    .clinic-snapshot {
        padding: 60px 0;
    }

    .clinic-content {
        padding-left: 0;
        margin-top: 50px;
    }

    .clinic-content h2 {
        font-size: 36px;
    }

    .hours-badge {
        left: 0;
    }

    .faq-section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }

    .stat-number {
        font-size: 28px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .certificate-image {
        transform: none;
    }
}

@media (max-width: 767px) {

    .mobileFooter {
        z-index: 1111;
        position: relative;
    }

    .stat-box {
        text-align: center;
        padding: 20px 10px;
        background: #eaeaea;
        margin-bottom: 20px;
        border-radius: 10px;
    }

    .page-template-pagesabout-us-php .banner-section {
        padding-top: 120px !important;
        padding-bottom: 40px !important;
    }

    .banner-section.facilities-page {
        height: 100% !important;
    }

    .page-template-pagesabout-us-php .banner-content {
        padding: 0;
    }

    .page-template-pagesabout-us-php .banner-content .banner-actions {
        justify-content: start;
    }

    .page-template-pagesabout-us-php .banner-content .heading {
        margin-bottom: 20px;
    }

    .footer-section {
        margin-bottom: 70px;
    }

    section[class]:not([id]) {
        padding: 50px 0;
        position: relative;
    }

    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        padding-right: calc(var(--bs-gutter-x) * 0.8);
        padding-left: calc(var(--bs-gutter-x) * 0.8);
    }

    section.banner-section {
        padding: 80px 0 0 0 !important;
        background: #f3e7d8;
    }

    .banner-content .feature-boxes {
        margin-bottom: 30px;
    }

    .banner-content .banner-actions {
        display: flex;
        gap: 10px !important;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .banner-actions {
        display: flex;
        gap: 20px !important;
        flex-wrap: wrap;
        justify-content: center;
    }

    .banner-actions .btn span {
        font-size: 12px;
    }

    .banner-actions .btn {
        padding: 14px 12px;
        text-wrap-mode: nowrap;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .cta-buttons .btn {
        padding: 14px 12px;
        font-size: 12px;
        text-wrap-mode: nowrap;
        gap: 0px;

    }

    .clinic-snapshot .clinic-content {
        padding-left: 0;
        margin-top: 0;
    }

    .doctor-image {
        min-height: 200px;
    }

    .specialty-badge {
        font-size: 10px;
        padding: 4px 10px;
    }

    .doctor-info {
        padding: 0;
    }

    .clinic-content h2,
    .section-header h2 {
        font-size: 24px;
        margin: 10px 0;
        line-height: 1.4;
    }

    .facility-image {
        width: 50%;
    }

    .banner-section {
        padding: 60px 0;
    }

    .banner-content .heading {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .feature-box {
        flex-direction: row;
        border-radius: 10px;
    }

    .accordion-button {
        font-size: 15px;
        padding: 15px 20px;
    }

    .accordion-body {
        padding: 15px 20px;
    }

    .cta-bg {
        background: none;
        width: 100%;
    }

    .cta-bg::after {


        border-radius: 10px;

    }

    .section-header {
        margin-bottom: 20px;
    }

    .process-item .count {
        top: 4%;
        left: 4%;
    }

    .whychoose-section .whychoose-closing-box {
        padding: 20px;
    }

    .conditionsAbout .condition_content {
        padding: 15px;
        margin-bottom: 10px;
    }

    .conditions-sec .condition-img {
        margin-bottom: 20px;
    }

    .page-template-service-single .banner-content .banner-actions {
        justify-content: start;
    }

    .page-template-service-single .clinic-snapshot.overview-sec .image-grid,
    .page-template-service-single .clinic-snapshot.overview-sec .image-grid .main-image {
        height: 250px;
    }

    .page-template-service-single .clinic-snapshot.overview-sec .image-grid img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .page-template-doctor-single .banner-section {
        padding-top: 40px;
        min-height: 100% !important;
        height: 100% !important;
    }

    .page-template-doctor-single .banner-content .heading {
        margin-bottom: 20px;
    }

    .doctors-section .cta-buttons {
        flex-direction: row;
    }

    .trust-section a.btn-direction {
        justify-content: center;
    }

    .trust-section a.btn-direction img {
        width: auto;
    }

    .banner-section {
        min-height: 100% !important;
    }

    .page-template-pagesdoctor-single-php .nav-tabs {
        display: -webkit-box;
        margin-top: 40px !important;
        overflow: scroll;
        scroll-behavior: smooth;
    }

    .blog-section {
        padding: 40px 0 !important;
    }

    .page-template-pagescontact-us-php .banner-section.blogs-page {
        min-height: 100% !important;
        height: 100% !important;
    }

    .page-template-pagescontact-us-php .contact-form {
        padding: 0;
    }

    .banner-content .heading {
        margin-bottom: 20px;
    }

    .availability-calendar {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {

    .contact-section {
        padding: 50px 0;
    }

    .quick-contact h3,
    .office-info h3 {
        font-size: 20px;
    }

    .contact-button {
        padding: 12px 15px;
    }

    .contact-button .icon {
        width: 32px;
        height: 32px;
    }

    .contact-button span {
        font-size: 14px;
    }

    .contact-button small {
        font-size: 12px;
    }

    .facilities {
        padding: 40px 0;
    }

    .facilities .feature-item {
        align-items: flex-start;
        gap: 12px;
    }

    .facility-card.card-medium,
    .facility-card.card-large {
        flex-basis: 100%;
    }

    .facilities .col-lg-5,
    .facilities .col-lg-7 {
        width: 100%;
        display: block;
    }
}