/**
 * MedisoftQ Production Website Design System & Component Styles
 * Shared stylesheet ensuring 100% pixel-level visual parity between
 * the live public homepage and the Visual Page Builder preview canvas.
 */

:root {
    /* Brand Primary & Secondary Palette */
    --medq-primary: #0B2545;
    --medq-primary-hover: #071930;
    --medq-navy: #0B2545;
    --medq-teal: #00A896;
    --medq-teal-hover: #028090;
    --medq-secondary: #00A896;
    --medq-accent: #028090;
    --medq-accent-hover: #00A896;
    --medq-bg: #F4F7F9;
    --medq-surface: #FFFFFF;
    --medq-text: #1F2937;
    --medq-text-muted: #4B5563;
    --medq-border: #E2E8F0;
    --medq-btn: #00A896;
    --medq-header: #FFFFFF;
    --medq-sidebar: #0B2545;
    --medq-font-family: 'Inter', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Mediscan Specialized Brand Variables */
    --mediscan-navy: #0B2545;
    --mediscan-navy-dark: #071A31;
    --mediscan-teal: #00A896;
    --mediscan-teal-dark: #028090;
    --mediscan-teal-subtle: #E6F7F5;
    --mediscan-ice-bg: #F4F7F9;
    --mediscan-surface: #FFFFFF;
    --mediscan-text-dark: #1F2937;
    --mediscan-text-slate: #4B5563;
    --mediscan-border: #E2E8F0;
}

/* Base Healthcare Typography & Reset */
body {
    background-color: var(--medq-bg, #F4F7F9);
    color: var(--medq-text, #1F2937);
    font-family: var(--medq-font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.5;
}

/* Brand Utility Classes */
.text-teal { color: #00A896 !important; }
.bg-teal { background-color: #00A896 !important; color: #ffffff !important; }
.bg-navy { background-color: #0B2545 !important; color: #ffffff !important; }
.border-teal { border-color: #00A896 !important; }
.btn-medq-primary {
    background-color: var(--medq-primary, #0B2545) !important;
    border-color: var(--medq-primary, #0B2545) !important;
    color: #ffffff !important;
}
.btn-medq-primary:hover {
    background-color: var(--medq-primary-hover, #071930) !important;
    border-color: var(--medq-primary-hover, #071930) !important;
    color: #ffffff !important;
}
.btn-mediscan-teal {
    background-color: #00A896 !important;
    border-color: #00A896 !important;
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 50px;
    padding: 0.55rem 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
}
.btn-mediscan-teal:hover {
    background-color: #028090 !important;
    border-color: #028090 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 168, 150, 0.4);
}

/* =========================================================================
   HEADER NAVIGATION, BRAND IDENTITY & TOPBAR
   ========================================================================= */
/* Dynamic Emergency / Promotional Announcement Bar */
.announcement-bar {
    font-size: 0.88rem;
    line-height: 1.4;
    transition: all 0.2s ease;
}

/* Top Notification / Contact Bar */
.top-healthcare-bar {
    background-color: #071A31;
    font-size: 0.84rem;
    min-height: 42px;
    padding: 6px 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.5;
    display: flex;
    align-items: center;
}
.top-nav-outline-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF !important;
    padding: 3px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.top-nav-outline-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

/* Main Navigation Header */
.navbar-medq {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.05);
    min-height: 80px;
    padding-top: 8px;
    padding-bottom: 8px;
    z-index: 1030;
}
.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 1.25rem;
    flex-shrink: 0;
    max-width: 290px;
}
.brand-logo-img {
    height: 52px;
    max-height: 58px;
    max-width: 280px;
    width: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.brand-logo-img:hover {
    transform: scale(1.02);
}
.brand-fallback-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--medq-primary, #0B2545) 0%, #00A896 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.brand-text-primary {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.5px;
    color: var(--medq-primary, #0B2545);
}
.brand-text-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--medq-text-muted, #64748b);
    letter-spacing: 0.2px;
}

/* Dynamic Navigation Menu Pill Links */
.nav-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1.05rem;
    border-radius: 50px;
    font-size: 0.94rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-pill-link:hover {
    background-color: #f1f5f9;
    color: #048abd;
}
.nav-pill-link.active {
    background-color: #d9effa;
    color: #048abd !important;
    font-weight: 700;
}
.nav-pill-link .nav-pill-icon {
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    color: #334155;
    transition: color 0.2s ease;
}
.nav-pill-link:hover .nav-pill-icon,
.nav-pill-link.active .nav-pill-icon {
    color: #048abd;
}

/* Diagnostic Services Dropdown Menu */
.dropdown-menu-diagnostic {
    min-width: 295px;
    border: 1px solid rgba(11, 37, 69, 0.1) !important;
    box-shadow: 0 15px 35px -5px rgba(11, 37, 69, 0.15), 0 0 1px 1px rgba(11, 37, 69, 0.05);
    background: #ffffff;
    margin-top: 6px !important;
    z-index: 1050;
}
.dropdown-menu-diagnostic .dropdown-item {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    color: #1e293b;
}
.dropdown-menu-diagnostic .dropdown-item:hover {
    background-color: #f8fafc;
    transform: translateX(4px);
}
.dropdown-menu-diagnostic .dropdown-item.active {
    background-color: #e6f7f5;
    color: #00A896 !important;
}
@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover .dropdown-menu-diagnostic {
        display: block;
        animation: navDropdownFade 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    }
}
@keyframes navDropdownFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Online Report Navigation Button */
.btn-online-report-nav {
    background: linear-gradient(135deg, #00A896 0%, #028090 100%) !important;
    border: 1.5px solid #00A896 !important;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 10px !important;
    padding: 0.55rem 1.35rem;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 168, 150, 0.28) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-online-report-nav i {
    transition: transform 0.25s ease;
}
.btn-online-report-nav:hover {
    background: linear-gradient(135deg, #028090 0%, #0B2545 100%) !important;
    border-color: #38BDF8 !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 6px 18px rgba(0, 168, 150, 0.45), 0 2px 6px rgba(2, 132, 199, 0.25) !important;
}
.btn-online-report-nav:hover i {
    transform: scale(1.18) rotate(-4deg);
}
.btn-online-report-nav:active {
    transform: translateY(0) scale(0.99) !important;
    box-shadow: 0 2px 6px rgba(0, 168, 150, 0.3) !important;
}

/* User Avatar & Profile Dropdown */
.profile-avatar-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: 1;
}
.profile-avatar-btn.dropdown-toggle::after {
    display: none !important;
}
.user-avatar-circle {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--medq-primary, #0B2545);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--medq-primary, #0B2545), #0284c7);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    flex-shrink: 0;
}
.profile-avatar-btn:hover .user-avatar-circle {
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.3);
}
.user-status-indicator {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #10b981;
    border: 2px solid #ffffff;
    z-index: 2;
}
.profile-dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    margin-top: 0.5rem;
}
.user-dropdown-header {
    background-color: #f8fafc;
}

/* Responsive Navigation Bar Breakpoints */
@media (max-width: 991.98px) {
    .navbar-medq {
        min-height: 64px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .brand-logo-img {
        height: 42px;
        max-height: 46px;
        max-width: 185px;
    }
    .navbar-medq .navbar-collapse {
        background: #ffffff;
        border-radius: 18px;
        padding: 1.25rem;
        margin-top: 0.75rem;
        box-shadow: 0 14px 35px -8px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(0, 0, 0, 0.08);
    }
    .nav-pill-link {
        width: 100%;
        padding: 0.65rem 1rem;
        border-radius: 12px;
    }
    .btn-online-report-nav {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
}
@media (max-width: 575.98px) {
    .brand-logo-img {
        height: 38px;
        max-width: 150px;
    }
    .top-healthcare-bar {
        display: none !important;
    }
}

/* =========================================================================
   1. PANORAMIC CLINICAL HERO SECTION
   ========================================================================= */
.mediscan-panoramic-hero {
    position: relative;
    width: 100%;
    background-color: #FFFFFF;
    background-image: 
        radial-gradient(circle at 50% 35%, rgba(0, 168, 150, 0.05) 0%, rgba(255, 255, 255, 0) 70%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50 0l25 14.43v28.87L50 57.74 25 43.3V14.43zm0 57.74l25 14.43v28.87L50 115.47 25 101.04V72.17z' fill='%2300A896' fill-opacity='0.03' stroke='%230284C7' stroke-width='0.5' stroke-opacity='0.08'/%3E%3C/svg%3E");
    background-repeat: repeat;
    padding-top: 1.8rem;
    padding-bottom: 5.5rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 168, 150, 0.15);
}

/* Hero Interactive Medical Particle Canvas */
.hero-particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.9;
}

/* Ambient ECG Heartbeat Waveform Line */
.hero-ecg-bg-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    height: 120px;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.22;
    z-index: 1;
}

/* Left Arched Portal (Siemens 3 Tesla MRI) */
.hero-portal-left {
    position: relative;
    height: 460px;
    border-radius: 0 280px 280px 0;
    overflow: hidden;
    border: 4.5px solid #00A896;
    border-left: none;
    box-shadow: 0 16px 42px rgba(0, 168, 150, 0.25);
    background: #f1f7fd;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero-portal-left:hover {
    transform: scale(1.015);
    box-shadow: 0 20px 48px rgba(0, 168, 150, 0.35);
}
.hero-portal-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-portal-left:hover img {
    transform: scale(1.05);
}

.portal-tag-badge {
    position: absolute;
    bottom: 18px;
    background: rgba(11, 37, 69, 0.88);
    color: #ffffff;
    backdrop-filter: blur(8px);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 700;
    border: 1px solid rgba(0, 168, 150, 0.5);
    letter-spacing: 0.3px;
    z-index: 2;
}
.portal-tag-badge-left {
    left: 20px;
}
.portal-tag-badge-right {
    right: 20px;
}

/* Right Arched Portal (4-Quadrant Clinical Mosaic) */
.hero-portal-right {
    position: relative;
    height: 460px;
    border-radius: 280px 0 0 280px;
    overflow: hidden;
    border: 4.5px solid #00A896;
    border-right: none;
    box-shadow: 0 16px 42px rgba(0, 168, 150, 0.25);
    background: #0f172a;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero-portal-right:hover {
    transform: scale(1.015);
    box-shadow: 0 20px 48px rgba(0, 168, 150, 0.35);
}
.mosaic-top-slot {
    height: 38%;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.mosaic-middle-slot {
    height: 30%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    overflow: hidden;
}
.mosaic-bottom-slot {
    height: 32%;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.mosaic-tile {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.mosaic-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.mosaic-tile:hover img {
    transform: scale(1.09);
}

/* Center Column Branding & Typography */
.hero-center-column {
    position: relative;
    z-index: 3;
}
.hero-brand-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero-center-logo {
    height: 52px;
    max-height: 58px;
    max-width: 290px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.2s ease;
}
.hero-center-logo:hover {
    transform: scale(1.02);
}
.hero-tagline-curve {
    font-size: 0.90rem;
    font-weight: 700;
    color: #00A896;
    letter-spacing: 0.5px;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Main Bengali Headline Group */
.hero-lead-text {
    font-family: 'Hind Siliguri', 'Inter', sans-serif;
    font-size: clamp(1.4rem, 2.3vw, 2.1rem);
    font-weight: 800;
    color: #0c3762;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}
.hero-focus-accent {
    font-family: 'Hind Siliguri', 'Inter', sans-serif;
    font-size: clamp(1.85rem, 3.2vw, 2.85rem);
    font-weight: 900;
    color: #0084a8;
    line-height: 1.15;
    letter-spacing: -0.02em;
    display: inline-block;
}
.hero-secondary-title {
    font-family: 'Hind Siliguri', 'Inter', sans-serif;
    font-size: clamp(1.65rem, 2.8vw, 2.5rem);
    font-weight: 800;
    color: #0c3762;
    line-height: 1.2;
    letter-spacing: -0.01em;
    display: block;
    margin-top: 2px;
}
.hero-supporting-desc {
    font-family: 'Hind Siliguri', 'Inter', sans-serif;
    font-size: 0.98rem;
    color: #334155;
    max-width: 660px;
    line-height: 1.6;
    margin: 0.6rem auto 0.35rem;
    font-weight: 500;
}

/* 6 Modality Badges Ribbon */
.modality-badge-ribbon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 1.05rem 0;
}
.modality-badge-item {
    background: #FFFFFF;
    border: 1.5px solid #dbeafe;
    border-radius: 14px;
    padding: 6px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 102px;
    box-shadow: 0 4px 12px rgba(12, 55, 98, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.modality-badge-item:hover {
    transform: translateY(-3px);
    border-color: #00A896;
    box-shadow: 0 8px 18px rgba(0, 168, 150, 0.15);
}
.modality-circle-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f0fdfa;
    border: 2px solid #00A896;
    color: #00A896;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 4px;
    flex-shrink: 0;
}
.modality-brand-text {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 0.2px;
}
.modality-model-text {
    font-size: 0.74rem;
    font-weight: 800;
    color: #0c3762;
    line-height: 1.2;
    margin-top: 1px;
}

/* Bottom Hotline Callout Strip */
.hero-hotline-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 0.6rem;
    padding: 8px 18px;
    background: rgba(240, 249, 255, 0.85);
    border: 1px solid rgba(2, 132, 199, 0.2);
    border-radius: 50px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.hotline-lead-label {
    font-family: 'Hind Siliguri', 'Inter', sans-serif;
    font-size: 0.94rem;
    font-weight: 700;
    color: #0c3762;
    margin-bottom: 0;
}
.hotline-navy-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #0B2545;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(11, 37, 69, 0.25);
}
.hotline-links-column {
    display: flex;
    flex-direction: column;
    line-height: 1.18;
}
.hotline-link-number {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: #0c3762;
    text-decoration: none;
    font-size: 1.14rem;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}
.hotline-link-number:hover {
    color: #00A896;
}
.hotline-link-sub {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: #0c3762;
    text-decoration: none;
    font-size: 1.04rem;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}
.hotline-link-sub:hover {
    color: #00A896;
}

/* Interactive Action CTA Buttons */
.hero-interactive-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 1.1rem;
}
.btn-pill-action-primary {
    background: linear-gradient(135deg, #0B2545 0%, #005b82 100%);
    color: #FFFFFF !important;
    border: 1.5px solid #00A896;
    border-radius: 50px;
    padding: 0.65rem 1.6rem;
    font-weight: 700;
    font-size: 0.94rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(11, 37, 69, 0.25), 0 0 10px rgba(0, 168, 150, 0.2);
    transition: all 0.25s ease;
}
.btn-pill-action-primary:hover {
    background: #00A896;
    border-color: #00A896;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 168, 150, 0.45);
}
.btn-pill-action-secondary {
    background: #FFFFFF;
    color: #0c3762 !important;
    border: 1.5px solid #0284c7;
    border-radius: 50px;
    padding: 0.65rem 1.5rem;
    font-weight: 700;
    font-size: 0.94rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12);
    transition: all 0.25s ease;
}
.btn-pill-action-secondary:hover {
    background: #0284c7;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

/* =========================================================================
   2. FLOATING DOCTOR SEARCH & CHAMBER BOOKING WIDGET
   ========================================================================= */
.search-widget-wrapper {
    margin-top: -52px;
    position: relative;
    z-index: 25;
}
.search-widget-card {
    background: #FFFFFF;
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 20px 45px -10px rgba(11, 37, 69, 0.15), 0 0 1px 1px rgba(11, 37, 69, 0.05);
    padding: 1.6rem 2rem;
    transition: all 0.25s ease;
}
.search-widget-title {
    color: var(--mediscan-navy, #0B2545);
    font-weight: 700;
    font-size: 1.18rem;
}
.search-field-label {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--mediscan-text-slate, #4B5563);
    margin-bottom: 0.35rem;
}
.search-input-group .form-control {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border: 1px solid var(--mediscan-border, #E2E8F0);
    border-right: none;
    padding: 0.65rem 1rem;
    font-size: 0.92rem;
    background-color: #F8FAFC;
}
.search-input-group .form-control:focus {
    border-color: var(--mediscan-teal, #00A896);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.15);
}
.search-input-group .btn-search-integrated {
    background-color: var(--mediscan-navy, #0B2545);
    border: 1px solid var(--mediscan-navy, #0B2545);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.65rem 1.4rem;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
}
.search-input-group .btn-search-integrated:hover {
    background-color: var(--mediscan-teal, #00A896);
    border-color: var(--mediscan-teal, #00A896);
    color: #FFFFFF;
}
.search-select-field {
    border-radius: 12px;
    border: 1px solid var(--mediscan-border, #E2E8F0);
    padding: 0.65rem 1rem;
    font-size: 0.92rem;
    background-color: #F8FAFC;
}
.search-select-field:focus {
    border-color: var(--mediscan-teal, #00A896);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.15);
}

/* =========================================================================
   3. CLINICAL SERVICES GRID & FEATURE CARDS
   ========================================================================= */
.service-feature-card {
    background: #FFFFFF;
    border: 1px solid var(--mediscan-border, #E2E8F0);
    border-radius: 18px;
    padding: 1.5rem 1.25rem;
    height: 100%;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(11, 37, 69, 0.04);
    display: flex;
    flex-direction: column;
}
.service-feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--mediscan-teal, #00A896);
    box-shadow: 0 12px 28px -4px rgba(0, 168, 150, 0.15);
}
.service-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: var(--mediscan-teal-subtle, #E6F7F5);
    color: var(--mediscan-teal, #00A896);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.25s ease;
}
.service-feature-card:hover .service-icon-circle {
    background-color: #00A896;
    color: #FFFFFF;
    transform: scale(1.06);
}
.service-card-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--mediscan-text-dark, #1F2937);
    margin-bottom: 0.45rem;
}
.service-card-desc {
    font-size: 0.86rem;
    color: var(--mediscan-text-slate, #4B5563);
    line-height: 1.55;
    margin-bottom: 0;
}

/* =========================================================================
   4. WORKFLOW GUIDE & ONLINE REPORT LOOKUP BOXES
   ========================================================================= */
.report-lookup-box, .workflow-guide-box {
    background: #FFFFFF;
    border: 1px solid var(--mediscan-border, #E2E8F0);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(11, 37, 69, 0.05);
    height: 100%;
}
.step-number-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--mediscan-teal-subtle, #E6F7F5);
    color: #00A896;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Emergency Helpline Banner */
.emergency-banner-card {
    background: var(--mediscan-navy, #0B2545);
    border-radius: 20px;
    border: 1px solid rgba(0, 168, 150, 0.25);
    color: #FFFFFF;
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.15);
}

/* =========================================================================
   5. RESPONSIVE BREAKPOINTS (Desktop, Tablet, Mobile)
   ========================================================================= */
@media (max-width: 1199.98px) {
    .hero-portal-left,
    .hero-portal-right {
        height: 400px;
    }
    .modality-badge-item {
        min-width: 88px;
        padding: 5px 8px;
    }
}

@media (max-width: 991.98px) {
    .mediscan-panoramic-hero {
        padding-top: 1.5rem;
        padding-bottom: 4rem;
    }
    .hero-portal-left,
    .hero-portal-right {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .search-widget-wrapper {
        margin-top: -24px;
    }
    .search-widget-card {
        padding: 1.25rem 1rem !important;
        border-radius: 18px !important;
    }
    .hero-hotline-strip {
        border-radius: 20px;
        padding: 12px 14px;
    }
    .hero-interactive-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn-pill-action-primary,
    .btn-pill-action-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================================
   6. DARK MODE STYLES
   ========================================================================= */
[data-bs-theme="dark"] .mediscan-panoramic-hero {
    background-color: #0b1329 !important;
    background-image: 
        radial-gradient(circle at 50% 35%, rgba(2, 132, 199, 0.08) 0%, rgba(11, 19, 41, 0) 70%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50 0l25 14.43v28.87L50 57.74 25 43.3V14.43zm0 57.74l25 14.43v28.87L50 115.47 25 101.04V72.17z' fill='%2300A896' fill-opacity='0.05' stroke='%2338bdf8' stroke-width='0.5' stroke-opacity='0.15'/%3E%3C/svg%3E") !important;
    border-bottom-color: #1e293b !important;
}
[data-bs-theme="dark"] .hero-lead-text,
[data-bs-theme="dark"] .hero-secondary-title {
    color: #f8fafc !important;
}
[data-bs-theme="dark"] .hero-focus-accent {
    color: #38bdf8 !important;
}
[data-bs-theme="dark"] .hero-supporting-desc {
    color: #94a3b8 !important;
}
[data-bs-theme="dark"] .modality-badge-item {
    background: #1e293b !important;
    border-color: #334155 !important;
}
[data-bs-theme="dark"] .modality-circle-icon {
    background: #0f172a !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}
[data-bs-theme="dark"] .modality-brand-text {
    color: #94a3b8 !important;
}
[data-bs-theme="dark"] .modality-model-text {
    color: #f8fafc !important;
}
[data-bs-theme="dark"] .hero-hotline-strip {
    background: #1e293b !important;
    border-color: #334155 !important;
}
[data-bs-theme="dark"] .hotline-lead-label,
[data-bs-theme="dark"] .hotline-link-number,
[data-bs-theme="dark"] .hotline-link-sub {
    color: #38bdf8 !important;
}
[data-bs-theme="dark"] .search-widget-card,
[data-bs-theme="dark"] .service-feature-card,
[data-bs-theme="dark"] .report-lookup-box,
[data-bs-theme="dark"] .workflow-guide-box {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.5) !important;
}
[data-bs-theme="dark"] .search-widget-title,
[data-bs-theme="dark"] .service-card-title {
    color: #F8FAFC !important;
}

/* =========================================================================
   Mediscan Specialized Doctors & Healthcare Shared Styles
   Ensures 100% pixel parity between live site & Visual Page Builder preview
   ========================================================================= */
:root {
    --mediscan-ice-bg: #EBF5FA;
    --mediscan-card-bg: #FFFFFF;
    --mediscan-border-cyan: rgba(186, 230, 253, 0.85);
    --mediscan-navy: #0B2545;
    --mediscan-teal: #00A896;
}

.doctors-hero-section {
    background: radial-gradient(circle at 50% 20%, #E0F2FE 0%, #BAE6FD 35%, #7DD3FC 70%, #38BDF8 100%);
    padding: 2.2rem 1rem 3.2rem 1rem;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(186, 230, 253, 0.7);
}

.hero-particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-feature-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(186, 230, 253, 0.9);
    border-radius: 14px;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.08);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.15);
}
.hero-feature-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.doctors-main-wrapper {
    background: #EBF5FA;
    min-height: calc(100vh - 420px);
    padding: 1.5rem 0 3.5rem 0;
}

.mediscan-white-card {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1.5px solid var(--mediscan-border-cyan);
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.06);
    padding: 1.4rem 1.6rem;
}

.mediscan-input-group {
    position: relative;
    display: flex;
    align-items: center;
}
.mediscan-input-icon {
    position: absolute;
    left: 14px;
    color: #0284C7;
    font-size: 1rem;
    z-index: 4;
    pointer-events: none;
}
.mediscan-form-control {
    background: #F8FAFC !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 10px !important;
    padding: 0.65rem 1rem 0.65rem 2.45rem !important;
    font-size: 0.92rem !important;
    color: #1E293B !important;
    transition: all 0.2s ease !important;
    width: 100%;
}
.mediscan-form-control:focus {
    background: #FFFFFF !important;
    border-color: #00A896 !important;
    box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.15) !important;
    outline: none !important;
}

.btn-mediscan-submit {
    background: linear-gradient(135deg, #00A896 0%, #028090 100%);
    border: none;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.96rem;
    border-radius: 50px;
    padding: 0.65rem 2rem;
    box-shadow: 0 4px 14px rgba(0, 168, 150, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}
.btn-mediscan-submit:hover {
    background: linear-gradient(135deg, #028090 0%, #0B2545 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 150, 0.45);
}

.doctor-card-item {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1.5px solid var(--mediscan-border-cyan);
    box-shadow: 0 6px 24px rgba(2, 132, 199, 0.05);
    padding: 1.5rem 1.6rem;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.doctor-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.14);
    border-color: #00A896;
}
.doctor-avatar-img {
    width: 82px;
    height: 82px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid var(--mediscan-border-cyan);
    flex-shrink: 0;
}
.doctor-avatar-placeholder {
    width: 82px;
    height: 82px;
    border-radius: 16px;
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    color: #0284C7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    border: 2px solid var(--mediscan-border-cyan);
    flex-shrink: 0;
}
.doctor-schedule-box {
    background: #F3F9FD;
    border: 1.5px dashed #CFE6F5;
    border-radius: 14px;
    padding: 0.85rem 1rem;
}

/* Builder Canvas Drag-and-Drop Enhancements for Doctor Cards */
.doctor-card-col[draggable="true"] {
    cursor: grab;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.doctor-card-col[draggable="true"]:active {
    cursor: grabbing;
}

