/* Medical Equipment Slider Styles */
:root {
    --primary-green: #2c5530;
    --dark-green: #4a7c59;
    --light-green: #d4edda;
    --accent-color: #6ab04c;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.7);
}



/* Slider Container */
.medical-slider-section {
    position: relative;
    height: 95vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
    padding-top: 20px;

}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.slide.prev {
    transform: translateX(-100%);
}

/* Background Images for Each Category */
/* .slide[data-category="surgical-instruments"] .slide-background {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(30, 126, 52, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23f8f9fa" width="1200" height="800"/><g fill="%2328a745" opacity="0.1"><circle cx="200" cy="200" r="100"/><circle cx="800" cy="300" r="150"/><circle cx="1000" cy="600" r="120"/><rect x="300" y="400" width="200" height="100" rx="20"/><rect x="600" y="100" width="150" height="200" rx="15"/></g></svg>') center/cover;
}

.slide[data-category="ot-tables"] .slide-background {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(30, 126, 52, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23f8f9fa" width="1200" height="800"/><g fill="%2328a745" opacity="0.1"><rect x="100" y="300" width="300" height="200" rx="20"/><rect x="500" y="200" width="200" height="400" rx="15"/><rect x="800" y="350" width="250" height="150" rx="25"/><circle cx="300" cy="150" r="80"/><circle cx="900" cy="650" r="100"/></g></svg>') center/cover;
}

.slide[data-category="hospital-equipments"] .slide-background {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(30, 126, 52, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23f8f9fa" width="1200" height="800"/><g fill="%2328a745" opacity="0.1"><rect x="150" y="150" width="200" height="300" rx="30"/><rect x="400" y="250" width="150" height="200" rx="20"/><rect x="600" y="100" width="180" height="350" rx="25"/><rect x="850" y="200" width="200" height="250" rx="35"/><circle cx="300" cy="600" r="90"/></g></svg>') center/cover;
}

.slide[data-category="hospital-ware"] .slide-background {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(30, 126, 52, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23f8f9fa" width="1200" height="800"/><g fill="%2328a745" opacity="0.1"><rect x="100" y="200" width="150" height="150" rx="15"/><rect x="300" y="150" width="120" height="200" rx="12"/><rect x="500" y="250" width="180" height="120" rx="18"/><rect x="750" y="180" width="140" height="180" rx="14"/><rect x="950" y="300" width="160" height="140" rx="16"/></g></svg>') center/cover;
}

.slide[data-category="furniture-booklet"] .slide-background {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(30, 126, 52, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23f8f9fa" width="1200" height="800"/><g fill="%2328a745" opacity="0.1"><rect x="150" y="300" width="200" height="100" rx="20"/><rect x="400" y="250" width="150" height="150" rx="25"/><rect x="600" y="200" width="180" height="120" rx="15"/><rect x="850" y="280" width="160" height="140" rx="30"/><circle cx="250" cy="150" r="70"/><circle cx="950" cy="600" r="85"/></g></svg>') center/cover;
} */
.slide[data-category="surgical-instruments"] .slide-background {
    background-image: url('https://images.stockcake.com/public/3/b/c/3bcfd69d-05b3-4d04-ba24-6bb538c9c18a_large/precision-surgical-preparation-stockcake.jpg');
}

.slide[data-category="ot-tables"] .slide-background {
    background-image: url('https://images.stockcake.com/public/7/5/9/759e9dec-f92b-47b5-a33e-5b83db763e96_large/modern-surgical-suite-stockcake.jpg');
}

.slide[data-category="hospital-equipment"] .slide-background {
    background-image: url('https://images.stockcake.com/public/7/1/e/71e35bb1-a987-447f-a4b3-2e44fc36201c_large/endless-blue-corridor-stockcake.jpg');
}


/* .slide[data-category="hospital"] .slide-background {
    background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
} */

.slide[data-category="hospital-ware"] .slide-background {
    background-image: url('https://images.stockcake.com/public/9/4/b/94b8ae8d-7de6-4ca1-9fbe-09b991d19d44_large/urgent-medical-team-stockcake.jpg');
}

.slide[data-category="hospital-furniture"] .slide-background {
    background-image: url('https://images.stockcake.com/public/8/6/a/86a90cac-316e-4082-869f-d98d04c5e284_large/healing-hospital-room-stockcake.jpg');
}

.slide {
    position: absolute;
    z-index: 100;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.slide-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5) ;
    z-index: 1;
    pointer-events: none;
}




.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 5;
    height: 100%;

}



/* Button Styling */
/* .btn-primary {
    background: var(--primary-green);
    border-color: var(--primary-green);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Feature Cards */
.feature-card,
.main-feature-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover,
.main-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

*/

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.nav-dot.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    transform: scale(1.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-down {
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    text-decoration: none;
    animation: bounce 2s infinite;
    transition: color 0.3s ease;
}

.scroll-down:hover {
    color: var(--primary-green);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Modal Styling */
.modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}



.form-control:focus,
.form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* .btn-success {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-success:hover {
    background: var(--dark-green);
    border-color: var(--dark-green);
} */

/* Responsive Design */
@media (max-width: 1000px) {
    /* .medical-slider-section {
        height: 120vh;
    } */
}

@media (max-width: 768px) {

    .hero-title {
        font-size: 2.5rem !important;
    }

    .lead {
        font-size: 1.1rem !important;
    }

    .feature-card,
    .main-feature-card {
        padding: 1rem !important;
    }

    .slider-nav {
        bottom: 20px;
    }

    .scroll-indicator {
        bottom: 60px;
    }

    .nav-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    /* .medical-slider-section {
        height: 180vh;
    } */

    .hero-title {
        font-size: 2rem !important;
    }

    .btn-lg {
        padding: 0.75rem 2rem !important;
        font-size: 1rem !important;
    }

    .hero-stats .col-4 {
        margin-bottom: 1rem;
    }
}

/* Loading Animation */
.slide-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Smooth Transitions */
.slide * {
    transition: all 0.3s ease;
}

/* Backdrop Blur Support */
@supports (backdrop-filter: blur(10px)) {
    .backdrop-blur {
        backdrop-filter: blur(10px);
    }
}

@supports not (backdrop-filter: blur(10px)) {
    .backdrop-blur {
        background: rgba(255, 255, 255, 0.15) !important;
    }
}