@media (max-width: 768px) {
    .medical-card .card-body {
        padding: 2rem 1.5rem;
    }
    
    .medical-card .card-title {
        font-size: 1.1rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .medical-cards-section {
        padding: 60px 0;
    }
  }
  @media (max-width: 576px) {
    .medical-card .card-body {
        padding: 1.5rem 1rem;
    }
}
@media (max-width: 1200px) {
            .doctor-image-container::before {
                width: 380px;
                height: 420px;
            }
            
            .main-heading {
                font-size: 2.2rem;
            }
        }
        
        @media (max-width: 992px) {
            .doctor-image-container::before {
                width: 320px;
                height: 360px;
            }
            
            .main-heading {
                font-size: 2rem;
            }
            
            .text-content {
                padding: 3rem 1.5rem;
            }
        }
        
        @media (max-width: 768px) {
            .doctor-section {
                min-height: auto;
            }
            
            .doctor-image-container {
                min-height: 400px;
                margin-bottom: 2rem;
            }
            
            .doctor-image-container::before {
                width: 280px;
                height: 320px;
                left: 50%;
                transform: translate(-50%, -50%);
            }
            
            .main-heading {
                font-size: 1.8rem;
                /* text-align: center; */
            }
            
            .text-content {
                padding: 2rem 1rem;
                /* text-align: center; */
            }
            
            .shape {
                font-size: 1.5rem;
            }
        }
        
        @media (max-width: 576px) {
            .doctor-image-container::before {
                width: 250px;
                height: 280px;
            }
            
            .main-heading {
                font-size: 1.6rem;
            }
            
            .content-text {
                font-size: 0.95rem;
            }
        }
        @media (max-width: 576px) {
            .appointment-card {
                padding: 1.25rem;
            }
            
            .doctor-profile {
                margin-bottom: 1.5rem;
            }
            
            .appointment-btn {
                padding: 0.65rem 1.5rem;
                font-size: 0.95rem;
            }
        }
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .appointment-card {
                padding: 1.5rem;
                margin-bottom: 2rem;
            }
            
            .doctor-image {
                width: 50px;
                height: 50px;
            }
            
            .doctor-info h5 {
                font-size: 1rem;
            }
            
            .doctor-info p {
                font-size: 0.85rem;
            }
            
            .card-header-text {
                font-size: 1rem;
                margin-bottom: 1.25rem;
            }
        }
        /* Responsive adjustments */
@media (max-width: 1200px) {
    .home-review-section .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .home-review-section .section-title {
        font-size: 2rem;
    }

    .home-review-section .review-card {
        height: 300px;
        margin: 0 5px;
    }
}

@media (max-width: 768px) {
    .home-review-section .reviews-section {
        padding: 40px 0;
    }

    .home-review-section .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .home-review-section .review-card {
        height: 280px;
        padding: 1.25rem;
    }

    .home-review-section .owl-nav button {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .home-review-section .review-card {
        height: 260px;
        padding: 1rem;
    }

    .home-review-section .reviewer-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .home-review-section .section-title {
        font-size: 1.6rem;
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .contactus-section .location-card {
        margin-bottom: 3rem;
    }

    .contactus-section .main-heading {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 767px) {
    .contactus-section .contact-section {
        padding: 40px 0;
    }

    .contactus-section .main-heading {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .contactus-section .location-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .contactus-section .main-heading {
        font-size: 1.8rem;
    }

    .contactus-section .hours-table td {
        font-size: 0.85rem;
    }

    .contactus-section .call-btn {
        padding: 0.7rem 2rem;
        font-size: 0.95rem;
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .contactus-section-form .form-container {
        padding: 2.5rem;
    }
}

@media (max-width: 767px) {
    .contactus-section-form .contact-form-section {
        padding: 40px 0;
    }

    .contactus-section-form .form-container {
        padding: 2rem;
        margin: 0 1rem;
    }

    .contactus-section-form .form-control {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .contactus-section-form textarea.form-control {
        padding: 1.2rem 1.5rem;
        min-height: 120px;
    }

    .contactus-section-form .submit-btn {
        padding: 1rem 2.5rem;
        font-size: 0.95rem;
    }

    .contactus-section-form .form-check-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .contactus-section-form .form-container {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .contactus-section-form .form-container::before,
    .contactus-section-form .form-container::after {
        display: none;
    }

    .contactus-section-form .form-control {
        padding: 0.9rem 1.3rem;
    }
}
@media (max-width: 991px) {
    .contactus-section-map .maps-container {
        height: 800px;
    }

    .contactus-section-map .location-info {
        max-width: 280px;
        padding: 1.2rem;
    }

    .contactus-section-map .practice-name {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .contactus-section-map .maps-container {
        height: 1000px;
    }

    .contactus-section-map .map-col {
        height: 50%;
    }

    .contactus-section-map .location-info {
        position: relative;
        top: auto;
        left: auto;
        margin: 1rem auto;
        max-width: 90%;
    }
}

@media (max-width: 576px) {
    .contactus-section-map .location-info {
        padding: 1rem;
        margin: 0.5rem auto;
    }

    .contactus-section-map .practice-name {
        font-size: 0.95rem;
    }

    .contactus-section-map .practice-address {
        font-size: 0.8rem;
    }

    .contactus-section-map .map-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}
/* Responsive adjustments */
@media (max-width: 991px) {
    .call-to-action.after-hours-section {
        padding: 30px 0;
    }
    .call-to-action.after-hours-content {
        flex-direction: column;
        text-align: center;
    }
    .call-to-action .phone-icon-wrapper {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .call-to-action .contact-text {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .call-to-action .contact-text p {
        /* font-size: 1rem; */
    }
    .call-to-action .contact-text .call-number {
        /* font-size: 1.2rem; */
    }
    .call-to-action .contact-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .call-to-action.after-hours-section {
        padding: 25px 0;
    }
    .call-to-action .phone-icon {
        width: 50px;
        height: 50px;
    }
    .call-to-action .phone-icon svg {
        width: 25px;
        height: 25px;
    }
    .call-to-action .contact-text p {
        /* font-size: 0.9rem; */
    }
    .call-to-action .contact-text .call-number {
        /* font-size: 1.1rem; */
    }
    .call-to-action .contact-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}
/* Responsive adjustments */
@media (max-width: 991px) {
    .footer-section.md-footer-cls {
        padding: 40px 0;
    }

    .md-footer-cls .footer-heading {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .md-footer-cls .footer-heading::after {
        /* left: 50%; */
        /* transform: translateX(-50%); */
    }
    .md-footer-cls .footer-heading::after{
        width: 30%;
    }

    .md-footer-cls .company-info,
    .md-footer-cls .footer-links,
    .md-footer-cls .footer-services,
    .md-footer-cls .footer-contact {
        /* text-align: center; */
        /* margin-bottom: 2rem; */
    }

    .md-footer-cls .company-info .logo-container {
        justify-content: center;
    }

    .md-footer-cls .footer-links ul,
    .md-footer-cls .footer-services ul {
        display: inline-block;
        text-align: left;
    }

    .md-footer-cls .footer-contact .contact-item {
        justify-content: left;
    }
}

@media (max-width: 767px) {
    .footer-section.md-footer-cls {
        padding: 30px 0;
    }

    .md-footer-cls .footer-heading {
        font-size: 1.3rem;
    }

    .md-footer-cls .company-info p,
    .md-footer-cls .footer-links ul li a,
    .md-footer-cls .footer-services ul li a,
    .md-footer-cls .footer-contact .contact-item p {
        /* font-size: 0.85rem; */
    }
}
@media (max-width: 991px) {
    .blog-section.md-blog-section {
        padding: 40px 0;
    }

    .md-blog-section .article-image {
        height: 220px;
    }

    .md-blog-section .article-title {
        font-size: 1.25rem;
    }

    .md-blog-section .article-content {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .md-blog-section .article-image {
        height: 200px;
    }

    .md-blog-section .article-title {
        font-size: 1.15rem;
    }

    .md-blog-section .article-content {
        padding: 18px;
    }

    .md-blog-section .article-date {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 576px) {
    .blog-section.md-blog-section {
        padding: 30px 0;
    }

    .md-blog-section .article-card {
        margin-bottom: 25px;
    }
}
/* Responsive adjustments */
@media (max-width: 767px) {
    .ds-modal-cl2 .modal-dialog {
        margin: 10px;
        max-width: none;
    }

    .ds-modal-cl2 .modal-body {
        padding: 10px 20px 20px;
    }

    .ds-modal-cl2 .modal-header {
        padding: 15px 20px 5px;
    }
}
/* Responsive adjustments */
@media (max-width: 991px) {
    .cs-faq-accordian .faq-section {
        padding: 25px 20px;
    }

    .cs-faq-accordian .accordion-button {
        font-size: 1rem;
        padding: 18px 0;
    }
}

@media (max-width: 767px) {
    .cs-faq-accordian .faq-section {
        padding: 20px 15px;
    }

    .cs-faq-accordian .accordion-button {
        font-size: 0.95rem;
        padding: 15px 0;
    }

    .cs-faq-accordian .accordion-body {
        font-size: 0.9rem;
        padding-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .cs-faq-accordian .accordion-button {
        font-size: 0.9rem;
    }

    .cs-faq-accordian .accordion-body {
        font-size: 0.85rem;
    }
}
@media (max-width: 992px) {
    footer .call-to-action{
        padding-top: 60px;
        padding-bottom: 50px;
    }
    .contactus-section .location-address{

    }
}