/* ===== Sticky Buttons Container ===== */
.sticky-buttons {
    position: fixed;
    /*right: 0;*/
    top: 100%;
    transform: translateY(-90%);
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 9999;
}

/* ===== Base Button Style ===== */
.sticky-btn {
    color: #ffffff;
    padding: 14px 7px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px !important;

    /*writing-mode: vertical-rl;*/
    text-orientation: mixed;

    animation: emergencyPulse 2s infinite;
}

/* Individual Colors */
.ambulance-btn {
    background-color: #e60023;
}

.blood-btn {
    background-color: #007b83;
}

.package-btn {
    background-color: #28a745;
}

.mbr-arrow-up{
    bottom: 50px !important;
}

.accr_logo:hover{
    transform: scale(1.1);
}

/* Pulse Animation */
@keyframes emergencyPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 0, 35, 0.7);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(230, 0, 35, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 0, 35, 0);
    }
}

.cid-s9jM5NKM37 .navbar-nav .nav-item a{
    margin: 0 .65rem!important;
}

@media (max-width: 991px) {
    .cid-s9jM5NKM37 .navbar-collapse.collapsing .navbar-buttons, .cid-s9jM5NKM37 .navbar-collapse.show .navbar-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }
}

/* Hover Effects */
.ambulance-btn:hover { background:#b8001c; color: white !important; }
.blood-btn:hover { background:#005f63; color: white !important; }
.package-btn:hover { background:#1e7e34; color: white !important; }

	.sl-sld {
	    height:100vh;
	    width:100%;
	    
	}
	
	@media( max-width: 768px) {
		.sl-sld {height: 510px;width: 100%}
	}
	
	/* ===== Mobile Optimization ===== */
@media (max-width: 768px) {

    .sticky-buttons {
        gap: 6px;
        right: 0;
        padding-right: 10px;
        padding-left: 10px;
    }

    .sticky-btn {
        font-size: 12px;
        padding: 8px 10px;
        border-radius: 6px 0 0 6px;
    }

}

/* ----------------------
       BASE STYLES (DESKTOP)m
       ---------------------- */
       
    /* Container class to replace inline styles, allowing responsive heights */
    .hero-container {
        position: relative;
        width: 100%;
        height: 750px;
        overflow: hidden;
        background-color: #000;
    }

    /* Iframe Cover Trick to remove black bars on load */
    .video-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 0;
    }
    .video-background iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100vw;
        height: 56.25vw; 
        min-height: 750px;  
        min-width: 1334px; 
        transform: translate(-50%, -50%) scale(1.02); 
        pointer-events: none;
    }

    /* Updated Text Styling */
    .text-bg {
        background: linear-gradient(31deg, rgba(0,0,0,0.9107843821122199) -10%, rgba(3,78,162,0.4906163148853291) 0%, rgba(225,27,35,0.5046219171262255) 100%);
        transition: all .5s;
        position: relative;
        z-index: 99;
        max-width: 550px;
        display: flex;
        flex-direction: column;
        top: 20vh;
        border-radius: 8px;
        left: 0; 
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        padding: 40px; 
    }
    .demo-2 .sl-slider h2 {
        /*font-size: 60px;*/
        line-height: 1.1;
        color: #ffffff;
        margin: 0 0 15px 0; 
        padding: 0; 
        font-weight: 400;
        /*font-family: inherit;*/
    }
    .demo-2 .sl-slider blockquote {
        line-height: 1.4;
        color: #ffffff;
        margin: 0;
        padding: 0; 
        border: none !important; 
        font-style: normal !important; 
        font-family: inherit;
    }
    .demo-2 .sl-slider blockquote p {
        font-style: normal !important; 
        margin: 0;
        font-size: 18px;
    }
    
    .sec-all-h .card{
        z-index: 10;
    }
    
    @media(min-width: 1024px){
        .sec-all-h{
            margin-top: 200px !important;
            background: #fff0;
            overflow: visible;
        }    
    }    
    

    /* ----------------------
       RESPONSIVE STYLES
       ---------------------- */
       
    /* Tablet */
    @media (max-width: 991px) {
        .hero-container {
            height: 600px;
        }
        .video-background iframe {
            min-height: 600px; 
            min-width: 1066px; 
        }
        .text-bg {
            max-width: 80%;
            padding: 30px;
            /*top: 15vh;*/
        }
        .demo-2 .sl-slider h2 {
            font-size: 46px;
        }
    }

    /* Mobile */
    @media (max-width: 767px) {
        .hero-container {
            height: 500px;
        }
        /*.video-background iframe {*/
        /*    min-height: 500px; */
        /*    min-width: 889px; */
        /*}*/
        .text-bg {
            max-width: 95%; /* Takes up most of the mobile screen */
            padding: 20px; /* Reduced padding for mobile */
            
        }
        .demo-2 .sl-slider h2 {
            font-size: 32px; /* Smaller font for mobile */
            margin: 0 0 10px 0;
        }
        .demo-2 .sl-slider blockquote p {
            font-size: 15px; /* Slightly smaller text for the quote */
        }
    }
    
    @media (max-width: 678px) {
        .accrd {
            top: 550px !important;
            right: 114px !important;
        }
    }
