/* ==========================================================================
   AROGYA DENTAL CARE - GLOBAL CORPORATE STYLE SHEET
   ========================================================================== */

/* --- CSS Variables & Design System --- */
:root {
    --primary-teal: #008080;       /* Core corporate brand color */
    --mint-green: #2ecc71;         /* Accent color for successful actions */
    --dark-slate: #1a252f;         /* Deep tone for headers/dark sections */
    --light-bg: #f8f9fa;           /* Off-white for section backgrounds */
    --text-color: #333333;         /* Standard body text color */
    --font-stack: 'Poppins', sans-serif;
}

/* --- Global Resets & Typography --- */
body {
    font-family: var(--font-stack);
    color: var(--text-color);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Utility Classes --- */
.bg-teal { background-color: var(--primary-teal); }
.text-teal { color: var(--primary-teal); }

.btn-teal {
    background-color: var(--primary-teal);
    color: #ffffff;
    border: none;
    transition: all 0.3s ease-in-out;
}

.btn-teal:hover {
    background-color: #006666;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 128, 128, 0.2);
}

/* --- Header / Navigation --- */
.navbar-brand span {
    letter-spacing: 1px;
}

.nav-link.active.text-teal {
    border-bottom: 2px solid var(--primary-teal);
}

/* --- Advanced Video Hero Layout --- */
.video-hero {
    position: relative;
    background-color: var(--dark-slate);
    height: 85vh;
    min-height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.video-hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 80, 80, 0.85), rgba(26, 37, 47, 0.9));
    z-index: 2;
}

.video-hero .container {
    position: relative;
    z-index: 3;
}

/* --- Responsive Cards (Services & Facilities) --- */
.service-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    height: 100%;
    background-color: #ffffff;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 128, 128, 0.15);
}

.service-icon {
    font-size: 2.2rem;
    color: var(--primary-teal);
    margin-bottom: 15px;
}

.booking-box {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

/* Facility Gallery Elements */
.facility-img {
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease-in-out;
}

.facility-img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Doctor Biographies Area */
.doctor-card img {
    height: 380px;
    object-fit: cover;
    width: 100%;
}

/* --- Dynamic Interactive Slots (Patient Booking Interface) --- */
.slot-badge-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.slot-badge-wrapper input[type="radio"] {
    display: none; /* Hide standard system radio inputs entirely */
}

/* Interactive Badge Button Labels */
.slot-badge-wrapper label {
    display: inline-block;
    padding: 12px 20px;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    flex: 1 1 calc(25% - 10px);
    text-align: center;
    min-width: 100px;
}

/* Highlight Selected Active State */
.slot-badge-wrapper input[type="radio"]:checked + label {
    background-color: var(--primary-teal);
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 128, 128, 0.2);
}

/* Booked / Deactivated Slot UI */
.slot-badge-wrapper input[type="radio"]:disabled + label,
.slot-badge-wrapper label.disabled {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #a8b2b9;
    cursor: not-allowed;
    text-decoration: line-through;
}

.hover-white:hover {
    color: #ffffff !important;
    transition: color 0.2s ease-in-out;
}

/* --- Mobile Responsiveness Adjustments --- */
@media (max-width: 768px) {
    .video-hero {
        height: auto;
        padding: 80px 0;
    }
    
    .slot-badge-wrapper label {
        flex: 1 1 calc(50% - 10px); /* 2 columns on mobile viewports */
    }
}

/* Floating WhatsApp Button Styling */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #FFF !important;
    transform: scale(1.1);
}

/* Optional gentle pulse effect */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse-whatsapp 2s infinite;
}