/* 2200px (ultra-wide / large desktop) */
@media (max-width: 2200px) { /* styles */ }

/* 1920px (Full HD widescreen) */
@media (max-width: 1920px) { /* styles */ }

/* 1600px (large laptop / small desktop) */
@media (max-width: 1699px) {
    .card-item .office-location-content {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .card-item .office-details.office-call {
        line-height: normal;
    }
    .card-item.office-contact-box {
        margin-top: 10px;
    }
    .card-item .office-location-content h3 {
        font-size: 20px;
        margin-bottom: 5px;
    }
    .card-item .office-location-content a {
        font-size: 15px;
    }
    .dsvy-header-style-4 .dsvy-navbar div>ul>li>a {
        margin: 0 8px;
        font-size: 16px;
    }
    .dsvy-header-style-4 .dsvy-header-button a {
        font-size: 18px;
        padding: 0 30px;
    }
    .dsvy-header-style-4 .dsvy-header-button:last-child a {
        font-size: 17px;
    }
    .office-grid-slider.owl-carousel .owl-nav,
    .testimonials .testimonial-grid-container .owl-carousel .owl-nav {
        z-index: 1;
    }

    .office-grid-slider.owl-carousel .owl-nav button.owl-next,
    .office-grid-slider.owl-carousel .owl-nav button.owl-prev,
    .testimonials .testimonial-grid-container .owl-carousel .owl-nav button.owl-prev,
    .testimonials .testimonial-grid-container .owl-carousel .owl-nav button.owl-next {
        position: absolute;
    }
    .office-grid-slider.owl-carousel .owl-nav button.owl-next,
    .testimonials .testimonial-grid-container .owl-carousel .owl-nav button.owl-next {
        right: -35px;
    }
    .office-grid-slider.owl-carousel .owl-nav button.owl-prev,
    .testimonials .testimonial-grid-container .owl-carousel .owl-nav button.owl-prev {
        left: -35px;
    }
    .dsvy-header-style-4 .dsvy-navbar div>ul>li>a::after {
        display: none;
    }
}
@media (max-width: 1601px) {
    .card-item .office-location-content h3 {
        font-size: 25px;
    }
    .card-item .office-location-content a {
        font-size: 16px;
        line-height: 28px;
    }
    .card-item .office-contact-box {
        margin-top: 15px;
    }
}
@media (max-width: 1600px) { /* styles */ }

/* 1440px (typical desktop) */
@media (max-width: 1440px) {}

/* 1366px (common laptop resolution) */
@media (max-width: 1366px) {
    .testimonials .testimonial-grid-container,
    .office-grid-container {
        padding-left: 25px;
        padding-right: 25px;
    }
}

/* 1280px (standard laptop / small desktop) */
@media (max-width: 1280px) {
    img.prime-logo {
        max-width: 65%;
    }
    .sticky-bill-btn {
        padding: 15px 5px;
    }
    .sticky-bill-btn span {
        font-size: 14px;
    }
    .sticky-bill-btn .bill-icon {
        margin-top: 10px;
        width: 30px;
        height: 30px;
    }
    .sticky-bill-btn svg {
        width: 15px;
        height: 15px;
    }    
    .dsvy-title-bar-content,
    .dsvy-title-bar-wrapper {
        min-height: inherit;
    }
}

/* 1200px (large tablet landscape / small laptop) */
@media (max-width: 1200px) { /* styles */ }

/* 1024px (tablet landscape / small desktop) */
@media (max-width: 1024px) { /* styles */ 
.error404 h2.page-title {
    font-size: 200px;
    line-height: 250px;
}}

/* 992px (small laptop / large tablet) */
@media (max-width: 992px) {
    .dsvy-heading-subheading .dsvy-element-title {
        font-size: 40px;
        line-height: 50px;
    }
    .health-appointment .schedule-info,
    .health-appointment .schedule-form {
        width: 100%!important;
    }
    .health-appointment .schedule-form > .elementor-element-populated {
        margin-bottom: 80px!important;
    }
    .health-appointment .schedule-info figure {
        text-align: center;
        margin-bottom: 20px!important;
        width: 100%!important;
    }
    .health-appointment .schedule-info figure img {
        width: 100%;
        display: inline-block;
    }
    .health-appointment .schedule-info .dsvy-heading-subheading .dsvy-element-title {
        font-size: 40px!important;
        line-height: 50px!important;
        text-align: center!important;
    }
    .health-appointment .health-appointment-schedule p {
        margin-bottom: 20px!important;
    }
    .dsvy-footer-section .dsvy-footer-copyright-text-area {
        margin-bottom: 0!important;
        padding: 0;
    }
    /* .testimonials .testimonial-grid-container .owl-carousel .owl-nav button.owl-prev {
        left: 0;
    } */
    .health-appointment .schedule-info .dsvy-heading-subheading {
        margin-bottom: 5px;
    }
    .schedule-bottom > .elementor-column-gap-no {
        justify-content: center;
    }
    .schedule-bottom > .elementor-column-gap-no .msg,
    .schedule-bottom > .elementor-column-gap-no .call {
        width: 50%!important;
    }
    .schedule-bottom .no-display {
        display: none!important;
        visibility: hidden;
    }
    .health-appointment-schedule .elementor-image-box-wrapper {
        margin-bottom: 30px!important;
    }    
    .designervily-element-inner .dsvy-ele-service .designervily-box-content-inner .dsvy-service-title {
        margin-top: 28px !important;
        font-size: 22px;
        min-height: inherit;
    }
    .single-dsvy-team-member .tab-pane {
        flex-direction: column;
    }
    .details-section,
    .office-location-map,
    .location-image,
    .single-dsvy-team-member .tab-pane.active.item-two .office-location-map,
    .single-dsvy-team-member .tab-pane.active.item-two .location-image {
        width: 100%!important;
    }
}

/* 960px (legacy breakpoint, useful for grid tweaks) */
@media (max-width: 960px) { /* styles */ }

/* 900px (intermediate tablet) */
@media (max-width: 900px) {
    .designervily-element-inner .dsvy-ele-service {
        flex: 0 0 100%!important;
        max-width: 100%!important;
        padding-right: 15px !important;
        padding-left: 15px !important;
    }
    .custom-testimonial-card {
        min-width: 100%;
    }
}

/* 834px (iPad Pro / large tablet) */
@media (max-width: 834px) { /* styles */ }

/* 820px (iPad portrait threshold) */
@media (max-width: 820px) { /* styles */ }

/* 768px (tablet portrait / small tablet) */
@media (max-width: 768px) {
    .error404 h2.page-title {
    font-size: 100px;
    line-height: 150px;
}
footer .dsvy-footer-widget.dsvy-footer-widget-col-1{
    flex: 0 0 100%!important;
    max-width: 100%!important;
}
}

/* 720px (large mobile / phablet) */
@media (max-width: 720px) { /* styles */ }

/* 640px (small tablet / large phone) */
@media (max-width: 640px) {
    .dsvy-heading-subheading .dsvy-element-title {
        font-size: 35px;
        line-height: 45px;
    }
    .dsvy-element-title::before,
    .dsvy-element-title::after {
        display: none;
    }
    .health-appointment .schedule-info .dsvy-heading-subheading .dsvy-element-title {
        font-size: 35px!important;
        line-height: 45px!important;
    }
    .schedule-bottom > .elementor-column-gap-no .msg,
    .schedule-bottom > .elementor-column-gap-no .call {
        width: 100%!important;
    }
    .site-footer ul.dsvy-timelist-list li {
        display: flex;
        flex-direction: column;
    }
    .single-dsvy-team-member .tab-container {
        flex-direction: column;
        padding: 15px;
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    }
    .single-dsvy-team-member .tab-button {
        border-radius: 10px
    }
    .single-dsvy-team-member .tab-button.active:after {
        top: auto;
        right: auto;
        left: 50%;
        bottom: -35px;
        transform: translateY(0) translateX(-50%) rotate(90deg);
        display: none;
    }
    .single-dsvy-team-member .details-section {
        border-radius: 10px 10px 0px 0px;
        position: relative;
    }
    .single-dsvy-team-member .location-image {
        border-radius: 0px 0px 10px 10px
    }
    .single-dsvy-team-member .location-image img {
        border-radius: 0px;
    }
    .single-dsvy-team-member .tab-pane.active .details-section:before {
        width: 0;
        height: 0px;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
        border-right: 22px solid #c3473f;
        content: " ";
        position: absolute;
        top: -25px;
        left: 50%;
        transform: translateX(-50%) rotate(90deg);
    }
    .error404 h2.page-title {
    font-size: 130px;
    line-height: 170px;
}
footer .dsvy-footer-widget.dsvy-footer-widget-col-1 .menu-information-container ul li a{
    font-size: 16px!important;
}
}

/* 428px (large phones e.g., Pixel 2 XL / iPhone 12 Pro Max narrow edge cases) */
@media (max-width: 480px) {
    .dsvy-heading-subheading .dsvy-element-title {
        font-size: 28px;
        line-height: 38px;
    }
    .health-appointment .schedule-info .dsvy-heading-subheading .dsvy-element-title {
        font-size: 28px!important;
        line-height: 38px!important;
    }
    .error404 h2.page-title {
        font-size: 70px;
        line-height: 100px;
    }
}

/* 414px (iPhone Plus/Max / many modern phones) */
@media (max-width: 414px) { /* styles */ }

/* 412px (some Android devices) */
@media (max-width: 412px) { /* styles */ }

/* 390px (iPhone 12/13/14 standard width) */
@media (max-width: 390px) { /* styles */ }

/* 388px (edge-case phones) */
@media (max-width: 388px) { /* styles */ }

/* 375px (iPhone X/11/12/13/14 mini widths, common) */
@media (max-width: 375px) { /* styles */ }

/* 360px (typical small Android phones and some manufacturers use 360dp logical width) */
@media (max-width: 360px) { /* styles */ }

/* 340px (very small phones / compact devices) */
@media (max-width: 340px) { /* styles */ }

/* 320px (legacy small phones) */
@media (max-width: 320px) { /* styles */ }

/* 300px (ultra-compact / edge-case UIs) */
@media (max-width: 300px) { /* styles */ }