/*
 * SV Ortho Care - Complete CSS Styles
 * Extracted from index.php
 * Comprehensive styling for SV Ortho Care website
 * Created: August 24, 2025
 */

/* ========================================
   CATEGORY TITLE STYLES
   ======================================== */
.category-title {
    font-size: 18px;
    font-weight: bold;
    color: rgb(250, 250, 250);
    margin-bottom: 10px;
    text-transform: capitalize;
}

/* ========================================
   COMPREHENSIVE MOBILE OPTIMIZATIONS
   ======================================== */

/* Touch-friendly interactions */
* {
    -webkit-tap-highlight-color: rgba(68, 28, 85, 0.3);
    -webkit-touch-callout: none;
}

a, button, input, textarea, select {
    -webkit-tap-highlight-color: rgba(68, 28, 85, 0.3);
    touch-action: manipulation;
}

/* Improved text readability on mobile */
body {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Enhanced mobile button targets */
.theme-btn, .theme-btn-two, .theme-btn-three, .theme-btn-four,
.btn, button, input[type="submit"], input[type="button"] {
    min-height: 44px !important;
    min-width: 44px !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(68, 28, 85, 0.3) !important;
}

/* Mobile-optimized typography */
@media (max-width: 768px) {
    h1 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
    
    h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }
    
    h4 {
        font-size: 18px !important;
        line-height: 1.4 !important;
    }
    
    p, li {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
    
    /* Mobile-friendly buttons */
    .theme-btn, .theme-btn-two, .theme-btn-three, .theme-btn-four {
        min-height: 48px !important;
        padding: 14px 24px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
        margin: 8px 4px !important;
        display: inline-block !important;
        text-align: center !important;
        width: auto !important;
        min-width: 120px !important;
    }
    
    /* Mobile navigation improvements */
    .main-header {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    }
    
    /* Mobile forms optimization */
    input, textarea, select {
        min-height: 48px !important;
        font-size: 16px !important;
        padding: 14px !important;
        border-radius: 8px !important;
        border: 2px solid #ddd !important;
        margin: 8px 0 !important;
    }
    
    input:focus, textarea:focus, select:focus {
        border-color: #DC9200 !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(220, 146, 0, 0.2) !important;
    }
    
    /* Mobile image optimization */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Mobile container adjustments */
    .container, .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Mobile section spacing */
    .sec-pad {
        padding: 40px 0 !important;
    }
    
    /* Mobile modal improvements */
    .modal-dialog {
        margin: 10px !important;
        max-width: calc(100vw - 20px) !important;
    }
    
    /* Mobile-specific service blocks */
    .service-block {
        margin-bottom: 24px !important;
        padding: 20px 15px !important;
    }
    
    .service-block .inner-box {
        padding: 24px 20px !important;
    }
    
    /* Mobile appointments section */
    .appointment-section .form-group {
        margin-bottom: 20px !important;
    }
    
    .appointment-section .theme-btn {
        width: 100% !important;
        margin: 16px 0 !important;
    }
}

/* Very small screens (portrait phones) */
@media (max-width: 480px) {
    h1 {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }
    
    /* Extra small button adjustments */
    .theme-btn, .theme-btn-two, .theme-btn-three, .theme-btn-four {
        font-size: 15px !important;
        padding: 12px 20px !important;
        min-width: 100px !important;
    }
    
    /* Tighter spacing for very small screens */
    .sec-pad {
        padding: 30px 0 !important;
    }
    
    .container, .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Mobile banner adjustments for small screens */
    .banner-carousel .content-box {
        padding: 20px 15px !important;
    }
    
    .banner-carousel .btn-box .theme-btn {
        width: calc(50% - 8px) !important;
        margin: 4px !important;
        font-size: 14px !important;
    }
}

/* Landscape mobile optimization */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .sec-pad {
        padding: 20px 0 !important;
    }
    
    .banner-carousel .slide-item {
        padding: 40px 0 60px 0 !important;
    }
    
    .modal-dialog {
        margin: 5px auto !important;
        max-height: calc(100vh - 10px) !important;
    }
}

/* Mobile carousel improvements */
@media (max-width: 768px) {
    .owl-carousel .owl-nav button {
        background: rgba(68, 28, 85, 0.8) !important;
        color: white !important;
        border: none !important;
        border-radius: 50% !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 16px !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10 !important;
        min-height: 44px !important;
        min-width: 44px !important;
        touch-action: manipulation !important;
    }
    
    .owl-carousel .owl-nav .owl-prev {
        left: 10px !important;
    }
    
    .owl-carousel .owl-nav .owl-next {
        right: 10px !important;
    }
    
    .owl-carousel .owl-dots {
        margin-top: 20px !important;
    }
    
    .owl-carousel .owl-dots .owl-dot {
        margin: 0 8px !important;
        width: 14px !important;
        height: 14px !important;
        min-height: 44px !important;
        min-width: 44px !important;
        padding: 15px !important;
        box-sizing: content-box !important;
    }
}

/* ========================================
   TREATMENTS LIST STYLES
   ======================================== */
.treatments_list .row.clearfix {
    display: flex;
    flex-wrap: nowrap;
    gap: 32px 24px;
    overflow-x: auto;
    justify-content: flex-start;
}

.treatments_list .service-block {
    flex: 1 1 0;
    min-width: 220px;
    max-width: 33%;
    box-sizing: border-box;
    margin-bottom: 32px;
}

@media (max-width: 991px) {
    .treatments_list .row.clearfix {
        flex-direction: column;
    }

    .treatments_list .service-block {
        max-width: 100%;
    }
}

/* Center the Conditions & Treatments section */
.service-style-three .container-fluid.service-orth>.row.clearfix {
    justify-content: center;
}

.col-xl-7 {
    margin-left: auto;
    margin-right: auto;
    float: none;
}

.treatments_list .row.clearfix {
    justify-content: center;
}

/* ========================================
   DOCTOR PHOTOS STYLES
   ======================================== */
.project-block-three .image-box2 img,
.project-block-three .image-box img {
    transition: none !important;
    filter: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.project-block-three .image-box2:hover img,
.project-block-three .image-box:hover img {
    filter: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ========================================
   ABOUT CONTENT BOX STYLES
   ======================================== */
.ab-content-box {
    background: rgba(255, 255, 255, 0) !important;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    color: #fff;
}

.ab-content-box h2,
.ab-content-box h4,
.ab-content-box p {
    color: #fff !important;
}

.ab-content-area .container-fluid.no-pad {
    background: #fff !important;
}

.ab-content-area {
    background: #fff !important;
}

.col-xl-5 {
    color: #DC9200 !important;
}

/* ========================================
   CONDITIONS & TREATMENTS SECTION
   ======================================== */
.service-style-three {
    background: #441C55 !important;
}

.service-style-three .sec-title h2,
.service-style-three .category-title,
.service-style-three .list_style a {
    color: #DC9200 !important;
}

.service-style-three .service-block {
    background: rgba(10, 61, 98, 0.95);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(10, 61, 98, 0.18);
    padding: 18px 16px 12px 16px;
    margin-bottom: 32px;
}

.service-style-three .list_style a:hover {
    color: #441C55 !important;
    background: #DC9200 !important;
    border-radius: 6px;
    padding-left: 6px;
    transition: background 0.2s, color 0.2s;
}

.service-style-three .list_style li {
    margin-bottom: 8px;
}

/* ========================================
   TREATMENTS CAROUSEL NAVIGATION
   ======================================== */
.treatments-carousel {
    position: relative;
    padding: 0 70px;
}

.treatments-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% + 140px);
    left: -70px;
    pointer-events: none;
    z-index: 10;
}

.treatments-carousel .owl-nav button {
    position: absolute;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #441C55 0%, #DC9200 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(68, 28, 85, 0.4);
    outline: none;
    cursor: pointer;
}

.treatments-carousel .owl-nav button:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(68, 28, 85, 0.6);
    background: linear-gradient(135deg, #DC9200 0%, #441C55 100%);
}

.treatments-carousel .owl-nav .owl-prev {
    left: 0;
}

.treatments-carousel .owl-nav .owl-next {
    right: 0;
}

/* Mobile responsive navigation */
@media (max-width: 768px) {
    .treatments-carousel {
        padding: 0 60px;
    }

    .treatments-carousel .owl-nav {
        width: calc(100% + 120px);
        left: -60px;
    }

    .treatments-carousel .owl-nav button {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .treatments-carousel {
        padding: 0 50px;
    }

    .treatments-carousel .owl-nav {
        width: calc(100% + 100px);
        left: -50px;
    }

    .treatments-carousel .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* ========================================
   REDESIGNED CONDITIONS & TREATMENTS
   ======================================== */
.service-style-three {
    background: #441C55 !important;
    padding: 0;
}

.service-style-three .sec-title h2 {
    color: #DC9200 !important;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 32px;
    text-align: center;
    font-family: 'Oswald', Arial, sans-serif;
}

.service-style-three .treatments-carousel,
.service-style-three .treatments_list {
    display: flex !important;
    flex-wrap: wrap;
    gap: 36px 32px;
    justify-content: center;
    align-items: stretch;
}

.service-style-three .treatment-block-three {
    background: linear-gradient(145deg, #fff 0%, #f8f9ff 100%);
    border-radius: 28px;
    box-shadow: 0 6px 32px rgba(68, 28, 85, 0.13);
    border: 2px solid transparent;
    padding: 0;
    margin-bottom: 0;
    min-width: 260px;
    max-width: 300px;
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 400px;
    overflow: hidden;
}

.service-style-three .treatment-block-three::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(68, 28, 85, 0.02) 0%, rgba(220, 146, 0, 0.02) 100%);
    border-radius: 28px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-style-three .treatment-block-three:hover {
    box-shadow: 0 20px 60px rgba(68, 28, 85, 0.25);
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(220, 146, 0, 0.3);
}

.service-style-three .treatment-block-three:hover::before {
    opacity: 1;
}

.service-style-three .treatment-image-box,
.service-style-three .image-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 280px;
    border-radius: 28px 28px 0 0;
    overflow: hidden;
    background: linear-gradient(135deg, #441C55 0%, #6B2C91 100%);
    margin-bottom: 0;
    position: relative;
}

.service-style-three .treatment-image-box img,
.service-style-three .image-box img {
    width: 100% !important;
    height: 100% !important;
    min-height: 280px !important;
    max-height: 280px !important;
    object-fit: cover !important;
    object-position: center !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    transition: transform 0.3s ease !important;
}

/* Hover effect for images */
.service-style-three .treatment-block-three:hover .treatment-image-box img,
.service-style-three .treatment-block-three:hover .image-box img {
    transform: scale(1.1) !important;
}

.service-style-three .treatment-content-box {
    padding: 24px 24px 80px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    flex: 1;
    position: relative;
}

.service-style-three .treatment-content-box h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2340;
    margin: 0;
    text-align: left;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.service-style-three .treatment-view {
    position: absolute;
    right: 24px;
    bottom: 24px;
    margin: 0;
}

.service-style-three .treatment-view a,
.service-style-three .view-treatments-btn {
    width: 48px;
    height: 48px;
    background: #DC9200;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    box-shadow: 0 2px 8px rgba(220, 146, 0, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.service-style-three .treatment-view a:hover,
.service-style-three .view-treatments-btn:hover {
    background: #441C55;
    color: #DC9200;
    box-shadow: 0 4px 16px rgba(68, 28, 85, 0.3);
    transform: scale(1.1);
}

.service-style-three .treatment-view a::after,
.service-style-three .view-treatments-btn::after {
    content: "→";
    font-size: 1.2rem;
    font-weight: bold;
}

@media (max-width: 991px) {
    .service-style-three .treatments-carousel,
    .service-style-three .treatments_list {
        flex-direction: column !important;
        gap: 24px 0;
        align-items: center;
    }

    .service-style-three .treatment-block-three {
        max-width: 100%;
        width: 100%;
        min-width: unset;
        height: auto;
    }
}

/* ========================================
   ORTHOPAEDIC SPECIALISTS SECTION
   ======================================== */
.ortho-specialists,
.project-style-three.bg-color-3.ortho-specialists,
section.project-style-three.bg-color-3.ortho-specialists {
    background: linear-gradient(135deg, #441C55 0%, #6B2C91 30%, #8B4CAE 60%, #DC9200 90%, #F4A623 100%) !important;
    padding: 60px 0 40px 0 !important;
}

.ortho-specialists .sec-title h2 {
    color: #fff;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 2.3rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ortho-specialists .gallery-carousel,
.ortho-specialists .tabs-content>.tab {
    display: flex !important;
    flex-wrap: wrap;
    gap: 36px 32px;
    justify-content: center;
    align-items: stretch;
}

.ortho-specialists .project-block-three {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 6px 32px rgba(68, 28, 85, 0.13);
    border: 3px solid #DC9200;
    padding: 36px 22px 22px 22px;
    margin-bottom: 0;
    min-width: 260px;
    max-width: 300px;
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    position: relative;
    height: 100%;
}

.ortho-specialists .project-block-three:hover {
    box-shadow: 0 12px 40px rgba(68, 28, 85, 0.20);
    transform: translateY(-8px) scale(1.04);
    border-color: #441C55;
}

.ortho-specialists .image-box2,
.ortho-specialists .image-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.ortho-specialists .image-box2 img,
.ortho-specialists .image-box img {
    border-radius: 12px;
    width: 200px;
    height: 220px;
    object-fit: cover;
    border: 5px solid #DC9200;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(68, 28, 85, 0.10);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.ortho-specialists .ortho-doc-box h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    color: #441C55;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: 0.5px;
}

.ortho-specialists .ortho-view {
    margin-bottom: 8px;
    text-align: center;
}

.ortho-specialists .ortho-view a {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #DC9200;
    border-radius: 24px;
    padding: 10px 28px;
    text-decoration: none;
    display: inline-block;
    margin: 0 4px 6px 4px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s;
    box-shadow: 0 2px 8px rgba(68, 28, 85, 0.08);
    border: 2px solid #DC9200;
    letter-spacing: 0.5px;
}

.ortho-specialists .ortho-view a:hover {
    background: #441C55;
    color: #DC9200;
    border-color: #DC9200;
    box-shadow: 0 4px 16px rgba(68, 28, 85, 0.14);
}

.ortho-specialists .tab-btns {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
    gap: 16px;
}

.ortho-specialists .tab-btn {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    color: #DC9200;
    background: #441C55;
    border: 2px solid #DC9200;
    border-radius: 24px;
    padding: 10px 36px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    letter-spacing: 0.5px;
}

.ortho-specialists .tab-btn.active-btn,
.ortho-specialists .tab-btn:hover {
    background: #DC9200;
    color: #441C55;
    border-color: #441C55;
}

@media (max-width: 991px) {
    .treatments_list .row.clearfix {
        flex-direction: column;
        gap: 24px 0;
        align-items: center;
    }

    .treatment-card {
        max-width: 100%;
        width: 100%;
    }

    .ortho-specialists .gallery-carousel,
    .ortho-specialists .tabs-content>.tab {
        flex-direction: column !important;
        gap: 24px 0;
        align-items: center;
    }

    .ortho-specialists .project-block-three {
        max-width: 100%;
        width: 100%;
        min-width: unset;
        height: auto;
    }
}

/* ========================================
   BANNER SECTION STYLES
   ======================================== */
.banner-section.style-one {
    position: relative;
    overflow: hidden;
}

.banner-section.style-one .top-box1 {
    position: absolute;
    top: 15%;
    left: 60%;
    width: 140px;
    height: 140px;
    z-index: 2;
    transform: none;
}

.banner-section.style-one .top-box2 {
    position: absolute;
    top: 38%;
    left: 70%;
    right: 15px;
    width: 120px;
    height: 120px;
    z-index: 1;
    transform: rotate(40deg);
}

.banner-section.style-one .top-box3 {
    position: absolute;
    bottom: 60%;
    top: 11%;
    left: 45%;
    transform: translateX(-50%) rotate(265deg);
    width: 80px;
    height: 80px;
    z-index: 0;
}

.banner-section.style-one .top-box4 {
    position: absolute;
    top: 59%;
    left: 32%;
    width: 120px;
    height: 120px;
    z-index: 1;
    transform: rotate(70deg);
}

.banner-section.style-one .top-box5 {
    position: absolute;
    top: 30%;
    left: 20%;
    width: 120px;
    height: 120px;
    z-index: 1;
    transform: rotate(70deg);
    border: 4px solid #ffff;
}

/* Responsive Banner Section - Unified for all .top-box elements */
.banner-section.style-one .top-box1,
.banner-section.style-one .top-box2,
.banner-section.style-one .top-box3,
.banner-section.style-one .top-box4,
.banner-section.style-one .top-box5 {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle, rgba(252, 252, 252, 0) 0%, rgba(255, 255, 255, 0) 80%);
    transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
    min-width: unset;
    min-height: unset;
    max-width: unset;
    max-height: unset;
    width: unset;
    height: unset;
}

/* Desktop positions (default) */
.banner-section.style-one .top-box1 {
    top: 15%;
    left: 60%;
    width: 140px;
    height: 140px;
    z-index: 2;
    transform: none;
}

.banner-section.style-one .top-box2 {
    top: 38%;
    left: 70%;
    width: 120px;
    height: 120px;
    z-index: 1;
    transform: rotate(40deg);
}

.banner-section.style-one .top-box3 {
    top: 11%;
    left: 47%;
    width: 80px;
    height: 80px;
    z-index: 0;
    transform: translateX(-50%) rotate(265deg);
}

.banner-section.style-one .top-box4 {
    top: 59%;
    left: 32%;
    width: 120px;
    height: 120px;
    z-index: 1;
    transform: rotate(70deg);
}

.banner-section.style-one .top-box5 {
    top: 69%;
    left: 50%;
    width: 125px;
    height: 125px;
    z-index: 1;
    transform: rotate(38deg);
}

/* Tablet */
@media (max-width: 991px) {
    .banner-section.style-one .top-box1 {
        top: 10%;
        left: 60%;
        width: 90px;
        height: 90px;
        z-index: 2;
        transform: none;
    }

    .banner-section.style-one .top-box2 {
        top: 30%;
        left: 75%;
        width: 70px;
        height: 70px;
        z-index: 1;
        transform: rotate(40deg);
    }

    .banner-section.style-one .top-box3 {
        top: 8%;
        left: 40%;
        width: 50px;
        height: 50px;
        z-index: 0;
        transform: none;
    }

    .banner-section.style-one .top-box4 {
        top: 65%;
        left: 20%;
        width: 60px;
        height: 60px;
        z-index: 1;
        transform: rotate(70deg);
    }

    .banner-section.style-one .top-box5 {
        top: 40%;
        left: 10%;
        width: 50px;
        height: 50px;
        z-index: 1;
        transform: rotate(20deg);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .banner-section.style-one .top-box1 {
        top: 8%;
        left: 60%;
        width: 48px;
        height: 48px;
        z-index: 2;
        transform: none;
    }

    .banner-section.style-one .top-box2 {
        top: 28%;
        left: 75%;
        width: 36px;
        height: 36px;
        z-index: 1;
        transform: rotate(40deg);
    }

    .banner-section.style-one .top-box3 {
        top: 6%;
        left: 40%;
        width: 28px;
        height: 28px;
        z-index: 0;
        transform: none;
    }

    .banner-section.style-one .top-box4 {
        top: 70%;
        left: 10%;
        width: 32px;
        height: 32px;
        z-index: 1;
        transform: rotate(70deg);
    }

    .banner-section.style-one .top-box5 {
        top: 50%;
        left: 5%;
        width: 24px;
        height: 24px;
        z-index: 1;
        transform: rotate(20deg);
    }
}

.banner-section.style-one .top-box5 img {
    opacity: 0.00;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    transition: opacity 0.3s cubic-bezier(.4, 0, .2, 1);
}

.banner-section.style-one .top-box5:hover img {
    opacity: 1.0;
}

/* ========================================
   BANNER TEXT OVERLAY ANIMATIONS
   ======================================== */
.banner-text-overlay {
    animation: fadeInLeft 1s ease-out;
}

.banner-text-overlay-bottom {
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Tablet responsive for banner text */
@media (max-width: 991px) {
    .banner-text-overlay {
        top: 80px !important;
        left: 30px !important;
        padding: 20px 25px !important;
        min-width: 400px !important;
    }
    
    .banner-text-overlay h1 {
        font-size: 1.8rem !important;
    }
    
    .banner-text-overlay-bottom {
        bottom: 40px !important;
        right: 30px !important;
        padding: 20px 25px !important;
    }
    
    .banner-text-overlay-bottom h2 {
        font-size: 1.8rem !important;
    }
    
    /* Hero Images Tablet Responsive */
    .hero-image-left {
        left: 0px !important;
        width: 100px !important;
    }
    
    .hero-image-right {
        right: 0px !important;
        width: 100px !important;
    }
    
    .hero-image-left img,
    .hero-image-right img {
        width: 100% !important;
        height: 100% !important;
        border-width: 3px !important;
    }
}

/* Mobile responsive for banner text */
@media (max-width: 600px) {
    .banner-text-overlay {
        top: 60px !important;
        left: 15px !important;
        right: 15px !important;
        padding: 15px 20px !important;
        border-left: 4px solid #DC9200 !important;
        min-width: auto !important;
        white-space: normal !important;
    }
    
    .banner-text-overlay h1 {
        font-size: 1.4rem !important;
        letter-spacing: 0.5px !important;
        white-space: normal !important;
    }
    
    .banner-text-overlay-bottom {
        bottom: 20px !important;
        right: 15px !important;
        left: 15px !important;
        padding: 15px 20px !important;
        border-right: 4px solid #DC9200 !important;
        text-align: center !important;
    }
    
    .banner-text-overlay-bottom h2 {
        font-size: 1.4rem !important;
        letter-spacing: 0.5px !important;
    }
}

/* ========================================
   QUICK GALLERY STYLES
   ======================================== */
.quick-gallery-title {
    text-align: center;
    color: #441C55 !important;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    margin-top: 0;
    text-shadow: 0 2px 8px rgba(220, 146, 0, 0.08);
}

.premium-gallery-img {
    width: 320px;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    transition: filter 0.22s, transform 0.22s;
    filter: grayscale(20%) contrast(1.08);
    margin: 0 auto;
}

@media (max-width: 600px) {
    .premium-gallery {
        padding: 0 8px;
    }
    .premium-gallery-slider {
        max-width: 98vw !important;
        margin: 0 auto !important;
    }
    .premium-gallery-img {
        width: 98vw !important;
        max-width: 98vw !important;
        height: 120px !important;
        border-radius: 10px !important;
    }
    .premium-gallery-overlay {
        font-size: 0.95rem;
        padding: 4px 0;
    }
    .quick-gallery-title {
        font-size: 1.1rem !important;
        margin-bottom: 10px !important;
    }
    .premium-gallery-item {
        width: 100% !important;
        max-width: 98vw !important;
        min-width: 120px !important;
        margin: 0 2px !important;
    }
    .ab-extra-box {
        padding: 0 2px !important;
        margin-top: 0 !important;
    }
    .col-xl-5 {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    .ab-content-box {
        margin-bottom: 0 !important;
        padding-bottom: 12px !important;
    }
    .ab-content-area .row {
        align-items: flex-start !important;
    }
    
    /* Hero Images Mobile Responsive */
    .hero-image-left,
    .hero-image-right {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        display: inline-block !important;
        margin: 0 5px 10px 5px !important;
        width: 80px !important;
        height: 80px !important;
    }
    
    .hero-image-left img,
    .hero-image-right img {
        width: 100% !important;
        height: 100% !important;
        border-radius: 15px !important;
        border: 3px solid #DC9200 !important;
    }
    
    .about-hero-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .hero-image-left {
        order: 1 !important;
    }
    
    .hero-image-right {
        order: 1 !important;
    }
    
    .ab-content-box {
        padding-bottom: 8px !important;
        margin-bottom: 0 !important;
    }
    .col-xl-5 {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    .ab-extra-box {
        margin-top: 0 !important;
    }
    .ab-content-area .row {
        align-items: flex-start !important;
    }
}

.premium-gallery-slider .owl-nav,
.premium-gallery-slider .owl-dots {
    display: none !important;
}

.premium-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(68,28,85,0.7);
    color: #fff;
    text-align: center;
    border-radius: 0 0 10px 10px;
    padding: 6px 0 2px 0;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    z-index: 2;
}

.premium-gallery-item {
    position: relative;
    margin: 0 2px;
}

.premium-gallery-img {
    display: block;
    width: 320px;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 auto;
    transition: filter 0.22s, transform 0.22s;
    filter: grayscale(20%) contrast(1.08);
}

/* ========================================
   BACKGROUND ANIMATIONS FOR SECTIONS
   ======================================== */
.service-style-three {
    background-attachment: fixed !important;
    position: relative;
    overflow: hidden;
}

.service-style-three::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.02) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite alternate;
    pointer-events: none;
}

.ortho-specialists {
    background-attachment: fixed !important;
    position: relative;
    overflow: hidden;
}

.ortho-specialists::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.03) 0%, transparent 50%), 
                radial-gradient(circle at 70% 30%, rgba(255,255,255,0.02) 0%, transparent 50%);
    animation: pulse-glow 4s ease-in-out infinite alternate;
    pointer-events: none;
}

.modern-banner-section {
    position: relative;
    overflow: hidden;
}

.modern-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 30%, rgba(255,255,255,0.02) 70%, transparent 100%);
    animation: flow 6s ease-in-out infinite;
    pointer-events: none;
}

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    --primary-purple: #441C55;
    --primary-gold: #DC9200;
    --accent-purple: #6B2C91;
    --accent-gold: #F4A623;
    --light-purple: #8B4CAE;
    --deep-purple: #2E1340;
    --warm-gold: #E6B800;
    --copper: #B87333;
}

/* ========================================
   KEYFRAME ANIMATIONS
   ======================================== */
@keyframes shimmer {
    0% { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(100%) skewX(-15deg); }
}

@keyframes pulse-glow {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.02); }
}

@keyframes flow {
    0% { transform: translateX(-100%) translateY(-50%); }
    50% { transform: translateX(0%) translateY(0%); }
    100% { transform: translateX(100%) translateY(50%); }
}

/* ========================================
   DOCTOR CARD HOVER EFFECTS
   ======================================== */
.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(68,28,85,0.18);
}

.doctor-card:hover .doctor-image-container img {
    transform: scale(1.05);
}

.doctor-card:hover .doctor-overlay {
    opacity: 1;
}

.doctor-actions a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(68,28,85,0.3);
}

@media (max-width: 768px) {
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .doctor-actions {
        flex-direction: column;
    }
    
    .doctor-actions a {
        min-width: auto;
    }
}

/* ========================================
   SURGICAL TREATMENTS SECTION
   ======================================== */
.surgical-treatments-section {
    background: linear-gradient(135deg, #2C1810 0%, #441C55 50%, #DC9200 100%) !important;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.surgical-treatments-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(220, 146, 0, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.surgical-treatments-section .sec-title h2 {
    color: #DC9200 !important;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.surgical-treatments-section .treatment-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    padding: 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.surgical-treatments-section .treatment-card-clickable {
    cursor: pointer;
}

.surgical-treatments-section .treatment-card-clickable:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(68, 28, 85, 0.3);
}

.surgical-treatments-section .treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #441C55, #DC9200);
}

.surgical-treatments-section .treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(68, 28, 85, 0.3);
}

.surgical-treatments-section .treatment-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    transition: transform 0.3s ease;
}

.surgical-treatments-section .treatment-card:hover .treatment-image {
    transform: scale(1.05);
}

.surgical-treatments-section .treatment-content {
    padding: 25px 20px;
}

.surgical-treatments-section .treatment-card h4 {
    color: #441C55;
    font-weight: 700;
    margin: 20px 0 25px;
    font-size: 1.4rem;
}

.surgical-treatments-section .treatment-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.surgical-treatments-section .learn-more-btn {
    background: linear-gradient(135deg, #441C55 0%, #DC9200 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.surgical-treatments-section .learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(68, 28, 85, 0.4);
    color: white;
    text-decoration: none;
}

/* Surgical Treatments Carousel Navigation - Custom Arrows */
.surgical-treatments-carousel {
    position: relative;
    padding: 0 20px;
}

/* Hide default owl navigation completely */
.surgical-treatments-carousel .owl-nav {
    display: none !important;
}

/* Custom Navigation Arrows - Desktop Only */
.surgical-custom-nav {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #441C55 0%, #DC9200 100%);
    border: 3px solid #fff;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(68, 28, 85, 0.4);
    outline: none;
    z-index: 1000;
}

.surgical-custom-nav:hover {
    transform: scale(1.15) translateY(-50%);
    box-shadow: 0 8px 25px rgba(68, 28, 85, 0.6);
    background: linear-gradient(135deg, #DC9200 0%, #441C55 100%);
    color: white;
}

.surgical-custom-nav:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 146, 0, 0.3);
}

/* Show custom arrows only on desktop */
@media (min-width: 992px) {
    .surgical-treatments-carousel {
        padding: 0 80px;
    }
    
    .surgical-custom-nav {
        display: flex !important;
    }
    
    .surgical-prev-custom {
        left: 10px !important;
    }
    
    .surgical-next-custom {
        right: 10px !important;
    }
}

/* Hide dots for surgical treatments carousel */
.surgical-treatments-carousel .owl-dots {
    display: none !important;
}

/* Hide any stray navigation text completely for surgical treatments */
.surgical-treatments-carousel .owl-nav,
.surgical-treatments-carousel .owl-prev,
.surgical-treatments-carousel .owl-next {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

/* Specifically hide any button or span with prev/next text for surgical treatments */
.surgical-treatments-carousel button:not(.surgical-custom-nav),
.surgical-treatments-carousel span:empty,
.surgical-treatments-carousel .owl-stage + *,
.surgical-treatments-carousel *:contains('prev'),
.surgical-treatments-carousel *:contains('next'),
.surgical-treatments-carousel *:contains('prevnext') {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    font-size: 0 !important;
    overflow: hidden !important;
}

/* Force hide any text nodes containing navigation text */
.surgical-treatments-carousel * {
    white-space: nowrap;
}

.surgical-treatments-carousel *::before,
.surgical-treatments-carousel *::after {
    content: none !important;
}

/* ========================================
   ADDITIONAL MOBILE OPTIMIZATIONS
   ======================================== */
/* Mobile footer improvements */
@media (max-width: 768px) {
    .main-footer {
        text-align: center !important;
        padding: 40px 0 20px !important;
    }
    
    .footer-widget {
        margin-bottom: 35px !important;
    }
    
    .footer-widget h3 {
        margin-bottom: 20px !important;
        font-size: 18px !important;
    }
    
    .footer-widget ul li {
        margin-bottom: 12px !important;
    }
    
    .footer-widget ul li a {
        font-size: 15px !important;
        padding: 8px 0 !important;
        display: block !important;
        min-height: 44px !important;
        line-height: 28px !important;
    }
}

/* Mobile banner section improvements */
@media (max-width: 768px) {
    .banner-carousel .content-box {
        text-align: center !important;
        padding: 30px 20px !important;
    }
    
    .banner-carousel .content-box h2 {
        margin-bottom: 20px !important;
    }
    
    .banner-carousel .content-box p {
        margin-bottom: 25px !important;
        font-size: 15px !important;
    }
    
    .banner-carousel .btn-box {
        text-align: center !important;
    }
    
    .banner-carousel .btn-box .theme-btn {
        margin: 8px 4px !important;
        width: auto !important;
        min-width: 140px !important;
    }
}

/* Mobile service blocks improvements */
@media (max-width: 768px) {
    .service-block {
        margin-bottom: 25px !important;
        text-align: center !important;
    }
    
    .service-block .inner-box {
        padding: 25px 20px !important;
    }
    
    .service-block .icon-box {
        margin-bottom: 18px !important;
    }
    
    .service-block h4 {
        margin-bottom: 15px !important;
        font-size: 18px !important;
    }
    
    .service-block p {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
}

/* Sticky elements mobile optimization */
@media (max-width: 768px) {
    .sticky-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        background: white !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }
}

/* Mobile contact section improvements */
@media (max-width: 768px) {
    .contact-form .form-group {
        margin-bottom: 20px !important;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .contact-info .info-block {
        margin-bottom: 25px !important;
        text-align: center !important;
        padding: 20px !important;
        background: #f8f9fa !important;
        border-radius: 12px !important;
    }
    
    .contact-info .info-block .icon {
        margin-bottom: 15px !important;
        font-size: 24px !important;
        color: #DC9200 !important;
    }
    
    .contact-info .info-block h4 {
        color: #441C55 !important;
        margin-bottom: 10px !important;
    }
    
    .contact-info .info-block p {
        color: #666 !important;
        margin: 0 !important;
    }
    
    .contact-info .info-block a {
        color: #DC9200 !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        min-height: 44px !important;
        display: inline-block !important;
        line-height: 44px !important;
    }
}

/* ========================================
   MOBILE BANNER OPTIMIZATIONS
   ======================================== */
@media (max-width: 768px) {
    .doctor-banner-section {
        padding: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .doctor-banner-section .container-fluid {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .doctor-banner-section .row {
        margin: 0 !important;
        flex-direction: column !important;
    }
    
    .doctor-banner-section .banner-visual {
        padding: 15px !important;
        min-height: auto !important;
        order: 1;
    }
    
    .doctor-banner-section .banner-image-container {
        width: 100% !important;
        min-height: 250px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .doctor-banner-section .banner-image-container img {
        width: 100% !important;
        height: 250px !important;
        min-height: 250px !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 16px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .doctor-banner-section .about-content {
        padding: 15px !important;
        min-height: auto !important;
        order: 2;
    }
    
    .doctor-banner-section .about-content-box {
        height: auto !important;
        min-height: 300px !important;
        padding: 24px 20px !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .doctor-banner-section .banner-visual {
        padding: 10px !important;
    }
    
    .doctor-banner-section .banner-image-container {
        min-height: 200px !important;
    }
    
    .doctor-banner-section .banner-image-container img {
        height: 200px !important;
        min-height: 200px !important;
        border-radius: 12px !important;
    }
    
    .doctor-banner-section .about-content {
        padding: 10px !important;
    }
    
    .doctor-banner-section .about-content-box {
        padding: 20px 16px !important;
        min-height: 280px !important;
    }
    
    .doctor-banner-section .about-content-box h2 {
        font-size: 1.6rem !important;
    }
    
    .doctor-banner-section .about-content-box h4 {
        font-size: 1rem !important;
    }
    
    .doctor-banner-section .about-content-box p {
        font-size: 0.95rem !important;
    }
}

/* ========================================
   VIDEO SECTION MOBILE OPTIMIZATIONS
   ======================================== */
@media (max-width: 768px) {
    .video-section-hero {
        padding: 15px !important;
        margin-top: -10px !important;
        margin-bottom: 0 !important;
    }
    
    .video-section-hero .container-fluid {
        padding: 0 !important;
        max-width: 100% !important;
    }
    
    .video-section-hero .video-hero-wrapper {
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 16px !important;
        box-shadow: 0 2px 16px rgba(68,28,85,0.08) !important;
    }
    
    .video-section-hero .about-hero-video {
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        max-height: 250px !important;
        object-fit: cover !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 480px) {
    .video-section-hero {
        padding: 10px !important;
        margin-top: -5px !important;
    }
    
    .video-section-hero .video-hero-wrapper {
        border-radius: 12px !important;
        box-shadow: 0 2px 12px rgba(68,28,85,0.06) !important;
    }
    
    .video-section-hero .about-hero-video {
        min-height: 180px !important;
        max-height: 220px !important;
        border-radius: 12px !important;
    }
}

/* ========================================
   CUSTOM SLIDE NAVIGATION BUTTONS
   ======================================== */
.custom-nav-container {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
    z-index: 10;
}

.custom-nav-btn {
    background: linear-gradient(135deg, #DC9200, #441C55);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(68,28,85,0.3);
    position: relative;
    overflow: hidden;
}

.custom-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(68,28,85,0.4);
    background: linear-gradient(135deg, #441C55, #DC9200);
}

.custom-nav-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(68,28,85,0.3);
}

.custom-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.custom-nav-btn:hover::before {
    left: 100%;
}

.custom-nav-btn i {
    z-index: 1;
    position: relative;
}

.custom-nav-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Position buttons absolutely for better control */
.treatments_list {
    position: relative;
}

.custom-nav-container {
    position: absolute;
    top: -70px;
    right: 20px;
    z-index: 15;
    margin-bottom: 0;
    display: block; /* Show on desktop by default */
}

/* Hide navigation buttons on mobile and tablet */
@media (max-width: 991px) {
    .custom-nav-container {
        display: none !important;
    }
}

/* Desktop only - ensure buttons are visible on large screens */
@media (min-width: 992px) {
    .custom-nav-container {
        display: block !important;
    }
}

/* Remove old mobile responsive styles since buttons are hidden on mobile */
/* Mobile responsive for navigation buttons */
@media (max-width: 768px) {
    .custom-nav-container {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .custom-nav-container {
        display: none !important;
    }
}

/* Hide default owl navigation */
.treatments-carousel .owl-nav {
    display: none !important;
}

.treatments-carousel .owl-dots {
    display: none !important;
}

/* ========================================
   TREATMENT CARDS IMAGE STANDARDIZATION
   ======================================== */
/* Ensure consistent image sizing across all devices */
.treatment-block-three .treatment-image-box,
.treatment-block-three .image-box {
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
}

.treatment-block-three .treatment-image-box img,
.treatment-block-three .image-box img {
    width: 100% !important;
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
}

/* Mobile responsive image sizing */
@media (max-width: 768px) {
    .treatment-block-three .treatment-image-box,
    .treatment-block-three .image-box {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
    }
    
    .treatment-block-three .treatment-image-box img,
    .treatment-block-three .image-box img {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
    }
    
    .service-style-three .treatment-block-three {
        height: auto !important;
        min-height: 350px !important;
    }
}

@media (max-width: 480px) {
    .treatment-block-three .treatment-image-box,
    .treatment-block-three .image-box {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }
    
    .treatment-block-three .treatment-image-box img,
    .treatment-block-three .image-box img {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }
    
    .service-style-three .treatment-block-three {
        min-height: 320px !important;
    }
}

/* Force consistency for any potential overrides */
.treatments-carousel .treatment-block-three .treatment-image-box img,
.treatments-carousel .treatment-block-three .image-box img,
.treatments_list .treatment-block-three .treatment-image-box img,
.treatments_list .treatment-block-three .image-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ========================================
   SURGICAL TREATMENTS MOBILE OPTIMIZATION
   ======================================== */
/* Mobile responsive for surgical treatments images */
@media (max-width: 768px) {
    .surgical-treatments-section .treatment-card {
        margin-bottom: 20px !important;
        height: auto !important;
        min-height: 350px !important;
    }
    
    .surgical-treatments-section .treatment-image {
        width: 100% !important;
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 18px 18px 0 0 !important;
    }
    
    .surgical-treatments-section .treatment-content {
        padding: 20px 15px !important;
    }
    
    .surgical-treatments-section .treatment-card h4 {
        font-size: 1.2rem !important;
        margin: 15px 0 20px !important;
    }
    
    .surgical-treatments-carousel {
        padding: 0 10px !important;
    }
}

@media (max-width: 480px) {
    .surgical-treatments-section .treatment-card {
        min-height: 320px !important;
    }
    
    .surgical-treatments-section .treatment-image {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
        border-radius: 16px 16px 0 0 !important;
    }
    
    .surgical-treatments-section .treatment-content {
        padding: 18px 12px !important;
    }
    
    .surgical-treatments-section .treatment-card h4 {
        font-size: 1.1rem !important;
        margin: 12px 0 18px !important;
    }
    
    .surgical-treatments-carousel {
        padding: 0 5px !important;
    }
}

/* Force consistency for surgical treatment images across all selectors */
.surgical-treatments-carousel .treatment-card .treatment-image,
.surgical-treatments-section .treatment-item .treatment-image,
.surgical-treatments-section .owl-item .treatment-image {
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
}

/* ========================================
   END OF CSS FILE
   ======================================== */
