/* ==========================================================================
   Eunice Fenteng Health Centre (EFHC) - Modern Responsive Stylesheet
   ========================================================================== */

:root {
    --efhc-primary: #0284c7;
    --efhc-primary-dark: #0369a1;
    --efhc-primary-light: #e0f2fe;
    --efhc-secondary: #059669;
    --efhc-secondary-dark: #047857;
    --efhc-accent: #f59e0b;
    --efhc-dark: #0f172a;
    --efhc-gray-900: #1e293b;
    --efhc-gray-700: #334155;
    --efhc-gray-500: #64748b;
    --efhc-gray-200: #e2e8f0;
    --efhc-gray-100: #f8fafc;
    --efhc-white: #ffffff;
    --efhc-radius-sm: 8px;
    --efhc-radius-md: 12px;
    --efhc-radius-lg: 16px;
    --efhc-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --efhc-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
    --efhc-shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.12), 0 4px 10px rgba(15, 23, 42, 0.06);
    --efhc-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html, body {
    font-family: var(--efhc-font) !important;
    font-size: 15.5px !important;
    color: var(--efhc-gray-700);
    background-color: var(--efhc-gray-100);
    line-height: 1.65;
    overflow-x: clip !important;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--efhc-font) !important;
    font-weight: 700;
    color: var(--efhc-dark);
    letter-spacing: -0.02em;
}

p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

/* ==========================================================================
   Header & Topbar (Clean, High-Contrast Medical Navigation)
   ========================================================================== */
.efhc-header-wrapper {
    background: #ffffff !important;
    border-bottom: 2px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06) !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030 !important;
    transition: box-shadow 0.2s ease;
}

.efhc-header-wrapper.is-sticky {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1) !important;
    border-bottom: 2px solid #cbd5e1;
}

/* Deep Navy Medical Topbar */
.efhc-topbar {
    background: #0f1e36 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 9px 0;
    font-size: 13.5px;
    font-weight: 500;
    color: #cbd5e1;
    letter-spacing: -0.01em;
}

.efhc-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.efhc-topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.efhc-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.efhc-topbar .topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.efhc-topbar .topbar-divider {
    color: rgba(255, 255, 255, 0.25);
    font-size: 13px;
    user-select: none;
    margin: 0 4px;
}

.efhc-topbar a {
    color: #f1f5f9;
    text-decoration: none;
    transition: color 0.15s ease;
}

.efhc-topbar a:hover {
    color: #38bdf8;
    text-decoration: underline;
}

.efhc-topbar .topbar-label {
    color: #94a3b8;
    font-size: 13px;
}

.efhc-topbar .topbar-phone {
    color: #ffffff !important;
    font-weight: 700;
    margin-left: 4px;
}

/* Main Navbar */
.efhc-navbar {
    padding: 12px 0;
    background: #ffffff;
}

.efhc-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.efhc-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
}

.efhc-logo {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

/* Desktop Navigation Menu */
.efhc-desktop-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 4px;
}

.efhc-desktop-menu > li {
    position: relative;
}

.efhc-desktop-menu > li > a {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    padding: 8px 13px;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    letter-spacing: -0.01em;
    text-decoration: none !important;
    border-radius: 4px;
    transition: background 0.15s ease, color 0.15s ease;
}

.efhc-desktop-menu > li > a:hover {
    color: #0284c7 !important;
    background: #f1f5f9;
}

.efhc-desktop-menu > li.active > a {
    color: #0284c7 !important;
    background: #e2e8f0;
    font-weight: 700 !important;
}

.nav-caret {
    font-size: 11px;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

/* Dropdown Menu */
.efhc-dropdown:hover .nav-caret {
    transform: rotate(180deg);
}

.efhc-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
    min-width: 240px;
    list-style: none;
    padding: 6px 0;
    margin: 4px 0 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 100;
}

.efhc-dropdown:hover .efhc-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.efhc-dropdown-menu li a {
    display: block;
    padding: 9px 18px;
    font-size: 14.5px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s ease;
}

.efhc-dropdown-menu li a:hover {
    color: #0284c7;
    background: #f8fafc;
    padding-left: 22px;
}

/* Book Visit Action Button (Clean Healthcare Rectangular Button) */
.nav-book-visit-btn {
    background: #0284c7;
    color: #ffffff !important;
    border-radius: 5px;
    padding: 9px 18px !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
    transition: background 0.15s ease, box-shadow 0.15s ease;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    gap: 8px !important;
}

.nav-book-visit-btn i {
    margin-right: 6px !important;
    font-size: 14px;
}

.nav-book-visit-btn:hover {
    background: #0369a1;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
    color: #ffffff !important;
}

/* Mobile Nav Controls - HIDDEN ON DESKTOP */
.efhc-mobile-nav-controls {
    display: none !important;
}

@media (max-width: 991px) {
    .efhc-mobile-nav-controls {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }
}

/* Hamburger Button */
.efhc-hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    cursor: pointer;
    padding: 0;
}

.efhc-hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #0f172a;
    border-radius: 2px;
    transition: all 0.2s ease;
}

/* ==========================================================================
   Off-Canvas Mobile Navigation Drawer
   ========================================================================== */
.efhc-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10050;
}

.efhc-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.efhc-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    z-index: 10060;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.efhc-mobile-drawer.open {
    transform: translateX(0);
}

.efhc-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.efhc-drawer-close {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    line-height: 36px;
    text-align: center;
    color: #475569;
    cursor: pointer;
    transition: background 0.2s;
}

.efhc-drawer-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.efhc-drawer-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.efhc-drawer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.efhc-drawer-links > li {
    border-bottom: 1px solid #f1f5f9;
}

.efhc-drawer-links > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 8px;
    font-size: 15.5px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.efhc-drawer-links > li.active > a,
.efhc-drawer-links > li > a:hover {
    color: var(--efhc-primary);
}

.drawer-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.drawer-dropdown-toggle .sub-arrow {
    font-size: 12px;
    transition: transform 0.2s;
}

.drawer-dropdown.open .drawer-dropdown-toggle .sub-arrow {
    transform: rotate(180deg);
}

.drawer-submenu {
    list-style: none;
    padding: 0 0 8px 30px;
    margin: 0;
    display: none;
}

.drawer-dropdown.open .drawer-submenu {
    display: block;
}

.drawer-submenu li a {
    display: block;
    padding: 7px 0;
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
}

.drawer-submenu li a:hover {
    color: var(--efhc-primary);
}

.efhc-drawer-actions {
    margin-top: auto;
    padding-top: 15px;
}

.efhc-drawer-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    font-size: 12px;
    line-height: 1.5;
    color: #94a3b8;
    text-align: center;
}

/* ==========================================================================
   Hero Video (Full Width, Managed Cinematic Height)
   ========================================================================== */
.hero-video-section {
    width: 100%;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.hero-video-section .video-container {
    position: relative;
    width: 100%;
    height: 480px; /* Managed cinematic height on desktop */
    max-height: 55vh;
    padding-bottom: 0 !important;
    overflow: hidden;
    background: #000000;
}

.hero-video-section .video-container iframe,
.hero-video-section .video-container #player {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw !important;
    height: 56.25vw !important;
    min-height: 100% !important;
    min-width: 177.77vh !important;
    transform: translate(-50%, -50%);
    border: 0;
}

@media (max-width: 767px) {
    .hero-video-section .video-container {
        height: auto;
        max-height: none;
        padding-bottom: 56.25% !important;
    }
    .hero-video-section .video-container iframe,
    .hero-video-section .video-container #player {
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        min-height: auto !important;
        min-width: auto !important;
        transform: none;
    }
}

/* ==========================================================================
   Intro Cards Section (Desktop Grid / Mobile Sliding Cards)
   ========================================================================== */
.intro-area {
    position: relative;
    z-index: 10;
    margin-top: 0;
    padding: 24px 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #e2e8f0;
    border: 1px solid #e2e8f0;
    border-radius: var(--efhc-radius-md);
    overflow: hidden;
    box-shadow: var(--efhc-shadow-sm);
}

.intro-card {
    background: #ffffff;
    padding: 24px 20px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.intro-card:hover {
    background: #f0f9ff;
}

.intro-card i {
    font-size: 32px;
    color: var(--efhc-primary);
    margin-bottom: 10px;
}

.intro-card h3 {
    font-size: 16.5px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #0f172a;
}

.intro-card p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Sliding Cards on Mobile */
@media (max-width: 767px) {
    .intro-area {
        padding: 16px 0;
        background: #f8fafc;
    }
    .intro-area .container {
        padding-left: 0;
        padding-right: 0;
    }
    .intro-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 12px !important;
        padding: 4px 15px 12px 15px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        scrollbar-width: none;
    }
    .intro-grid::-webkit-scrollbar {
        display: none;
    }
    .intro-card {
        flex: 0 0 250px !important;
        scroll-snap-align: start !important;
        border-radius: 14px !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
        padding: 20px 18px !important;
    }
}

/* ==========================================================================
   Services Grid & Cards (Desktop Grid / Mobile 2-Columns)
   ========================================================================== */
.services-box {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 20px !important;
    margin-top: 35px !important;
}

.services-box .per-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: var(--efhc-radius-md) !important;
    padding: 24px 18px !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
    transition: all 0.25s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.services-box .per-box:hover {
    border-color: var(--efhc-primary) !important;
    box-shadow: var(--efhc-shadow-md) !important;
    transform: translateY(-4px) !important;
}

.services-box .per-box img {
    max-height: 55px !important;
    margin-bottom: 14px !important;
}

.services-box .per-box h3 {
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
}

/* Mobile 2-Column Services Grid */
@media (max-width: 767px) {
    .services-box {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-top: 20px !important;
    }
    .services-box .per-box {
        padding: 16px 10px !important;
        border-radius: 12px !important;
    }
    .services-box .per-box img {
        max-height: 42px !important;
        margin-bottom: 8px !important;
    }
    .services-box .per-box h3 {
        font-size: 13.5px !important;
        line-height: 1.3 !important;
    }

    /* Subpage 2-Column Services */
    .skin-area .row {
        display: flex;
        flex-wrap: wrap;
    }
    .skin-area .col-sm-6, .skin-area .col-md-6 {
        width: 50% !important;
        padding-left: 6px;
        padding-right: 6px;
        margin-bottom: 12px !important;
    }
    .single-card {
        border-radius: 12px;
        overflow: hidden;
    }
}

/* Department Portfolio Cards */
.port-wrapper {
    background: #ffffff;
    border-radius: var(--efhc-radius-md);
    overflow: hidden;
    box-shadow: var(--efhc-shadow-sm);
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.port-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: var(--efhc-shadow-md);
}

.port-wrapper .port-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.port-wrapper .port-plus {
    padding: 18px 20px;
}

.port-wrapper .port-plus h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #0f172a;
}

/* ==========================================================================
   Forms & Buttons
   ========================================================================== */
.form-control {
    font-family: var(--efhc-font) !important;
    height: 48px;
    border-radius: var(--efhc-radius-sm) !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 10px 14px !important;
    font-size: 14.5px !important;
    color: #0f172a !important;
    box-shadow: none !important;
}

.form-control:focus {
    border-color: var(--efhc-primary) !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

textarea.form-control {
    height: auto !important;
}

.team-1, .btn-submit {
    background: linear-gradient(135deg, #0284c7, #0369a1) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    border-radius: var(--efhc-radius-sm) !important;
    padding: 12px 26px !important;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25) !important;
    transition: all 0.2s ease !important;
}

.team-1:hover, .btn-submit:hover {
    background: linear-gradient(135deg, #0369a1, #075985) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35) !important;
}

.alert-efhc-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: var(--efhc-radius-sm);
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14.5px;
    font-weight: 600;
}

.alert-efhc-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: var(--efhc-radius-sm);
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14.5px;
    font-weight: 600;
}

/* ==========================================================================
   Clinical Departments Cards (Solid Image + Description Beneath)
   ========================================================================== */
.efhc-dept-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.efhc-dept-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.efhc-dept-img {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #0f172a;
}

.efhc-dept-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.efhc-dept-card:hover .efhc-dept-img img {
    transform: scale(1.04);
}

.efhc-dept-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.02em;
}

.efhc-dept-body {
    padding: 22px 20px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.efhc-dept-body h3 {
    font-size: 18.5px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.35;
}

.efhc-dept-body p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.efhc-dept-footer {
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.efhc-dept-link {
    color: #0284c7 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.efhc-dept-link:hover {
    color: #0369a1 !important;
    gap: 10px;
}

/* ==========================================================================
   Contact Page Hierarchy & Layout
   ========================================================================== */
.efhc-contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 22px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.efhc-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.09);
    border-color: #cbd5e1;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-card-icon.emergency {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
}

.contact-card-icon.location {
    background: #f0f9ff;
    color: #0284c7;
    border: 1px solid #e0f2fe;
}

.contact-card-icon.whatsapp {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #dcfce7;
}

.contact-card-content {
    flex-grow: 1;
}

.contact-card-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 4px;
}

.contact-card-tag.emergency { color: #dc2626; }
.contact-card-tag.location { color: #0284c7; }
.contact-card-tag.whatsapp { color: #16a34a; }

.contact-card-content h4 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.3;
}

.contact-card-content p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 12px;
}

.contact-card-link {
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.15s ease;
}

.contact-card-link:hover {
    gap: 10px;
}

/* Contact Form Box */
.efhc-contact-form-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 36px 32px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.efhc-contact-form-box .form-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.efhc-contact-form-box .form-header p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

.efhc-form-label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.efhc-input {
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    font-size: 14.5px !important;
    color: #0f172a !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.efhc-input:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

.efhc-btn-primary {
    background: #0284c7 !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 15.5px !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25) !important;
    transition: all 0.2s ease !important;
}

.efhc-btn-primary:hover {
    background: #0369a1 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35) !important;
}

/* Facility Operating Hours Box */
.efhc-hours-box {
    background: #0f172a;
    color: #ffffff;
    border-radius: 14px;
    padding: 34px 28px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    border: 1px solid #1e293b;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hours-header .hours-badge {
    display: inline-block;
    background: rgba(2, 132, 199, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.hours-header h3 {
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.hours-header p {
    font-size: 13.5px;
    color: #94a3b8;
    margin-bottom: 22px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
    margin-bottom: 24px;
}

.hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #1e293b;
}

.hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-dept {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hours-dept strong {
    display: block;
    font-size: 14px;
    color: #f1f5f9;
    font-weight: 700;
}

.hours-dept small {
    display: block;
    font-size: 12px;
    color: #64748b;
}

.hours-time {
    font-size: 12.5px;
    font-weight: 600;
    color: #38bdf8;
    text-align: right;
    white-space: nowrap;
}

.hours-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
}

.hours-actions .btn {
    flex: 1;
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: #0f172a !important;
    color: #94a3b8;
}

footer .footer-box h1 {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    margin-bottom: 18px !important;
}

footer .text-foot li {
    margin-bottom: 10px;
    font-size: 14px;
}

footer .text-foot li a {
    color: #94a3b8 !important;
    text-decoration: none;
    transition: color 0.2s;
}

footer .text-foot li a:hover {
    color: #38bdf8 !important;
}

footer,
.footer-area,
.footer-bottom {
    float: none !important;
    clear: both !important;
    display: block !important;
    width: 100% !important;
}

footer .footer-bottom {
    background: #020617 !important;
    padding: 20px 0 !important;
    margin-top: 0 !important;
    border-top: 1px solid #1e293b !important;
    text-align: center !important;
    position: relative !important;
    z-index: 10;
}

footer .footer-bottom p {
    font-size: 13.5px !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

footer .footer-bottom a {
    color: #38bdf8 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

footer .footer-bottom a:hover {
    color: #0284c7 !important;
    text-decoration: underline !important;
}

.efhc-footer-mobile-spacer {
    display: none;
    height: 70px;
    width: 100%;
}

/* ==========================================================================
   CTA / Call-Time Area (Clean, Responsive, High Contrast)
   ========================================================================== */
.call-time-area {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    padding: 38px 0 !important;
    height: auto !important;
    position: relative !important;
    margin: 0 !important;
}

.call-time-info {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    width: 100% !important;
}

.call-time-text {
    flex: 1 1 500px !important;
}

.call-time-text p {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #e0f2fe !important;
    margin-bottom: 6px !important;
    font-style: normal !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.call-time-text h3 {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

.time-button {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    flex-shrink: 0 !important;
}

.time-button .call-box {
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 11px 22px !important;
    border-radius: 5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    transition: all 0.2s ease !important;
}

.time-button .call-box-primary {
    background: #dc2626 !important;
    color: #ffffff !important;
    border: 1px solid #b91c1c !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
}

.time-button .call-box-primary:hover {
    background: #b91c1c !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4) !important;
    color: #ffffff !important;
}

.time-button .call-box-outline {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
}

.time-button .call-box-outline:hover {
    background: #ffffff !important;
    color: #0369a1 !important;
    border-color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   Floating WhatsApp & Scroll To Top (Stacked & Non-Overlapping)
   ========================================================================== */
.efhc-whatsapp-float {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    width: 52px !important;
    height: 52px !important;
    background: #25d366 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    font-size: 28px !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4) !important;
    z-index: 9990 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.efhc-whatsapp-float:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.55) !important;
    color: #ffffff !important;
}

.go-top {
    position: fixed !important;
    bottom: 86px !important;
    right: 28px !important;
    width: 42px !important;
    height: 42px !important;
    background-color: #0f172a !important;
    color: #ffffff !important;
    font-size: 16px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    z-index: 9989 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.go-top:hover {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.efhc-mobile-quickbar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.1);
    z-index: 9980;
    border-top: 1px solid #e2e8f0;
}

.efhc-mobile-quickbar .quickbar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
}

.efhc-mobile-quickbar .quickbar-item {
    padding: 8px 4px;
    color: var(--efhc-dark);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    border-right: 1px solid #e2e8f0;
}

.efhc-mobile-quickbar .quickbar-item:last-child {
    border-right: none;
}

.efhc-mobile-quickbar .quickbar-item i {
    font-size: 18px;
}

.efhc-mobile-quickbar .quickbar-item.call { color: #dc2626; }
.efhc-mobile-quickbar .quickbar-item.whatsapp { color: #16a34a; }
.efhc-mobile-quickbar .quickbar-item.maps { color: #0284c7; }

@media (max-width: 767px) {
    .efhc-mobile-quickbar {
        display: block;
    }
    /* Hide floating WhatsApp on mobile since bottom quickbar has direct WhatsApp button */
    .efhc-whatsapp-float {
        display: none !important;
    }
    .go-top {
        bottom: 72px !important;
        right: 14px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 13px !important;
        opacity: 0.85;
    }
    body {
        padding-bottom: 0 !important;
    }
    footer {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    footer .footer-bottom {
        padding: 16px 0 0 0 !important;
        margin-bottom: 0 !important;
    }
    footer .footer-bottom p {
        margin-bottom: 0 !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
        padding: 0 10px !important;
    }
    .efhc-footer-mobile-spacer {
        display: block !important;
        height: 70px !important;
        width: 100% !important;
        clear: both !important;
    }
    .advanced-area {
        padding: 32px 0 16px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        float: none !important;
        clear: both !important;
    }
    .advanced-area .adv-detail {
        padding: 15px 0 0 0 !important;
        margin: 0 !important;
    }
    .advanced-area .adv-link {
        margin: 15px 0 !important;
    }
    .services-area {
        padding: 28px 0 !important;
        margin-top: 0 !important;
        float: none !important;
        clear: both !important;
    }
    .advanced-area h1 {
        font-size: 24px !important;
        margin-bottom: 16px !important;
        padding-bottom: 0 !important;
    }
    .services-area h1 {
        font-size: 24px !important;
        margin-bottom: 10px !important;
    }
}

/* ==========================================================================
   Compact, Balanced Page Section Spacing & Margins
   ========================================================================== */
.advanced-area,
.services-area,
.portfolio-area,
.experience-area,
.doctor-area,
.contact-area,
.faq-area,
.about-area,
.department-area,
.section-padding {
    padding: 48px 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    float: none !important;
    clear: both !important;
}

.advanced-area .adv-detail {
    padding: 0 !important;
    margin: 0 !important;
}

/* ==========================================================================
   Inner Page Hero Banners (High Contrast, Deep Medical Theme & Crisp Typography)
   ========================================================================== */
.hero-about-area {
    padding: 48px 0 42px !important;
    margin-top: 0 !important;
    background: linear-gradient(135deg, rgba(11, 23, 39, 0.92) 0%, rgba(15, 43, 72, 0.88) 50%, rgba(2, 132, 199, 0.82) 100%), url(../img/banner/inner-banner-1.png) center center / cover no-repeat !important;
    position: relative !important;
    border-bottom: 3px solid #0284c7;
}

.banner-2 {
    padding: 48px 0 42px !important;
    margin-top: 0 !important;
    background: linear-gradient(135deg, rgba(11, 23, 39, 0.92) 0%, rgba(15, 43, 72, 0.88) 50%, rgba(3, 105, 161, 0.82) 100%), url(../img/banner/inner-banner-2.jpg) center center / cover no-repeat !important;
    position: relative !important;
    border-bottom: 3px solid #0284c7;
}

.hero-about-text {
    position: relative;
    z-index: 2;
}

.hero-about-text h2 {
    color: #ffffff !important;
    font-size: 36px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 10px 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
    line-height: 1.25 !important;
}

.hero-about-text h4 {
    color: #38bdf8 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
}

.hero-about-text p {
    color: #e0f2fe !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    margin: 0 auto !important;
    max-width: 680px !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
}

@media (max-width: 767px) {
    .hero-about-area,
    .banner-2 {
        padding: 34px 0 28px !important;
    }
    .hero-about-text h2 {
        font-size: 26px !important;
        margin-bottom: 8px !important;
    }
    .hero-about-text p {
        font-size: 14px !important;
        padding: 0 10px !important;
    }
}

.advanced-area h1,
.services-area h1,
.portfolio-area h1,
.faq-area h1 {
    margin-bottom: 24px !important;
    padding-bottom: 0 !important;
    font-size: 30px !important;
}

.intro-area {
    padding: 20px 0 !important;
    margin-top: 0 !important;
}

.footer-area {
    padding: 48px 0 20px !important;
}

