/* --- SCOPED HOME SECTION STYLES --- */

.home-hero-section {
    background-color: #000; /* Fallback for video load */
}

/* Video Styling */
.bg-video {
    object-fit: cover;
    z-index: 1;
}

/* Hide mobile video by default */
.mobile-video {
    display: none;
}

/* Semi-transparent Overlay */
.home-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15); 
    z-index: 2;
    pointer-events: none;
}

/* --- BUTTON CONTAINER - POSITIONING --- */
.bottom-action-container {
    bottom: 50px !important; 
    z-index: 3;
    transition: all 0.3s ease;
}

/* --- BUTTON STYLING --- */
.btn-book-appointment {
    gap: 15px;
    background-color: #ffffff;
    color: #002e5b;
    padding: 12px 25px 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-book-appointment:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    border-radius: 50%;
    border: 1.2px solid #002e5b;

    color: #002e5b;
}

/* ICON FIX */
.btn-icon i {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-book-appointment:hover .btn-icon {
    background-color: #002e5b;
    color: #ffffff;
}

/* --- RESPONSIVE ADJUSTMENTS --- */

@media (max-width: 991px) {
    .home-hero-section {
        height: 100svh !important;
    }

    .bottom-action-container {
        bottom: 60px !important; 
    }
}

@media (max-width: 768px) {

    /* Switch videos */
    .desktop-video {
        display: none;
    }

    .mobile-video {
        display: block;
        object-fit: cover;
        object-position: center center;
    }

    /* Button adjustments */
    .btn-book-appointment {
        padding: 10px 20px 10px 28px;
        font-size: 14px;
        gap: 12px;
    }

    .btn-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
}

/* Small Phones */
@media (max-width: 480px) {
    .bottom-action-container {
        bottom: 80px !important;
    }
}