  /* ========================================================
           --- STRICT SCROLL-TRIGGERED ENTRANCE EFFECTS ---
           ======================================================== */
        /* Hidden layout states before interaction triggers */
        .reveal-left, .reveal-right {
            opacity: 0 !important;
            visibility: hidden;
            transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
                        opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                        visibility 0.9s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: transform, opacity;
        }

        .reveal-left {
            transform: translateX(-50px);
        }

        .reveal-right {
            transform: translateX(50px);
        }

        /* Active entrance animation trigger */
        .reveal-left.active, .reveal-right.active {
            opacity: 1 !important;
            visibility: visible;
            transform: translateX(0);
        }

        /* Optional subtle hover states for items post-reveal */
        .floating-hero-card {
            transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                        box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
        }
        .floating-hero-card:hover {
            transform: scale(1.03) translateY(-4px) !important;
            box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12) !important;
        }

        /* ========================================================
           --- HERO LAYOUT GEOMETRY ---
           ======================================================== */
        .service-hero-section {
            padding: 8rem 0 6rem 0;
      background:
radial-gradient(circle at top left,
rgba(2, 132, 199, 0.18) 0%,
rgba(2, 132, 199, 0.08) 40%,
rgba(255,255,255,0) 75%),
#ffffff; overflow: hidden;
            position: relative;
            font-family: 'Inter', sans-serif;
        }

        .premium-eyebrow-light {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .eyebrow-line-blue {
            width: 30px;
            height: 3px;
            background-color: #0284c7;
            border-radius: 2px;
        }

        .eyebrow-text-dark {
            font-family: 'Outfit', sans-serif;
            color: #0f172a;
            font-weight: 700;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
        }

        .service-hero-title {
            font-family: 'Outfit', sans-serif;
            font-size: 3.5rem;
            font-weight: 800;
            line-height: 1.15;
            color: #0f172a;
            letter-spacing: -1.5px;
        }

        .text-gradient-blue { color: #0284c7; }
        .text-gradient-orange { color: #f59e0b; }

        .service-hero-description {
            font-size: 1.05rem;
            line-height: 1.75;
            color: #475569;
            max-width: 620px;
        }

        .academic-timeline-strip {
            display: flex;
            align-items: center;
            gap: 1rem;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            padding: 1.25rem;
            border-radius: 16px;
            max-width: 650px;
        }

        .timeline-step {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .step-dot {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #0284c7;
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: 700;
            flex-shrink: 0;
            box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
        }

        .step-info h6 {
            font-size: 0.85rem;
            font-weight: 700;
            color: #0f172a;
            margin: 0;
        }

        .step-info p {
            font-size: 0.75rem;
            color: #64748b;
            margin: 0;
            white-space: nowrap;
        }

        .timeline-connector {
            height: 2px;
            flex-grow: 1;
            background: #cbd5e1;
            border-style: dashed;
        }

        .btn-primary-blue {
            background: #0284c7;
            color: #ffffff !important;
            padding: 0.9rem 2rem;
            border-radius: 12px;
            font-weight: 600;
            text-decoration: none;
            box-shadow: 0 10px 20px rgba(2, 132, 199, 0.15);
            transition: all 0.25s ease;
        }

        .btn-primary-blue:hover {
            background: #0369a1;
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(2, 132, 199, 0.25);
        }

        .btn-secondary-outline {
            background: #ffffff;
            color: #0f172a !important;
            padding: 0.9rem 2rem;
            border-radius: 12px;
            font-weight: 600;
            text-decoration: none;
            border: 1px solid #cbd5e1;
            transition: all 0.25s ease;
        }

        .btn-secondary-outline:hover {
            border-color: #0f172a;
            background: #f8fafc;
            transform: translateY(-2px);
        }

        .service-hero-visual-wrapper {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 2rem;
        }

        .visual-image-frame {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 420px;
    border-radius: 24px;
    background: #fff;
    border: 8px solid #fff;
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.12);
}

.visual-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
}

        .radial-bg-glow {
            position: absolute;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
            z-index: 1;
        }

        .concentric-rings {
            position: absolute;
            width: 440px;
            height: 440px;
            border: 1px solid rgba(2, 132, 199, 0.08);
            border-radius: 50%;
            z-index: 2;
        }

        .concentric-rings::before {
            content: '';
            position: absolute;
            top: 30px; left: 30px; right: 30px; bottom: 30px;
            border: 1px dashed rgba(245, 158, 11, 0.1);
            border-radius: 50%;
        }

        .floating-hero-card {
            position: absolute;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(8px);
            border: 1px solid #e2e8f0;
            padding: 0.9rem 1.4rem;
            border-radius: 16px;
            display: flex;
            align-items: center;
            gap: 0.85rem;
            box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
            z-index: 10;
            width: max-content;
            max-width: 280px;
        }

        .card-top-left { top: 40px; left: -50px; }
        .card-bottom-right { bottom: 40px; right: -50px; }

        .card-icon-blue, .card-icon-orange {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            flex-shrink: 0;
        }

        .card-icon-blue { background: #e0f2fe; color: #0284c7; }
        .card-icon-orange { background: #fef3c7; color: #d97706; }

        .floating-hero-card h6 {
            font-size: 0.88rem;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 0.15rem;
        }

        .floating-hero-card p {
            font-size: 0.78rem;
            color: #64748b;
            line-height: 1.3;
            margin: 0;
        }

        /* ========================================================
           --- DIAGNOSTIC DATA & WORKFLOW SYSTEM ---
           ======================================================== */
        .clinical-details-section {
            padding: 6rem 0;
            background-color: #ffffff;
            font-family: 'Inter', sans-serif;
        }

        .scope-card {
            background: #ffffff;
            border: 1px solid #cbd5e1;
            border-radius: 20px;
            padding: 2.25rem;
            height: 100%;
            box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02);
            transition: border-color 0.25s ease, box-shadow 0.25s ease;
        }

        .scope-card:hover {
            border-color: #0284c7;
            box-shadow: 0 12px 20px -3px rgba(2, 132, 199, 0.06);
        }

        .scope-icon-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.25rem;
        }

        .scope-icon-header i { font-size: 1.75rem; color: #0284c7; }

        .scope-icon-header h3 {
            font-family: 'Outfit', sans-serif;
            font-size: 1.35rem;
            font-weight: 700;
            color: #0f172a;
            margin: 0;
        }

        .scope-card p {
            font-size: 0.95rem;
            line-height: 1.6;
            color: #475569;
            margin-bottom: 1.5rem;
        }

        .tech-tags-group {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .tech-tag {
            background: #f1f5f9;
            color: #334155;
            font-size: 0.8rem;
            font-weight: 600;
            padding: 0.4rem 0.85rem;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
        }

        .section-divider-light {
            border-color: #e2e8f0;
            opacity: 1;
        }

        .workflow-main-title {
            font-family: 'Outfit', sans-serif;
            font-size: 1.85rem;
            font-weight: 700;
            color: #0f172a;
        }

        .workflow-subtitle { font-size: 1rem; color: #64748b; }

        .clinical-steps-wrapper {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .clinical-step-node { display: flex; gap: 1.5rem; }

        .node-number-container {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .node-num {
            width: 44px;
            height: 44px;
            background: #f8fafc;
            border: 2px solid #cbd5e1;
            color: #475569;
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            font-size: 1.05rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            z-index: 2;
        }

        .node-line {
            width: 2px;
            flex-grow: 1;
            background: #cbd5e1;
            margin: 0.5rem 0;
        }

        .node-content-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            flex-grow: 1;
        }

        .node-content-card h5 {
            font-family: 'Outfit', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 0.5rem;
        }

        .node-content-card p {
            font-size: 0.925rem;
            line-height: 1.6;
            color: #475569;
            margin: 0;
        }

        .local-care-hub-card {
            background: #f8fafc;
            border: 1px solid #cbd5e1;
            border-radius: 24px;
            padding: 2rem;
            position: sticky;
            top: 100px;
        }

        .hub-badge {
            background: #e0f2fe;
            color: #0284c7;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 0.4rem 0.75rem;
            border-radius: 6px;
            border: 1px solid #bae6fd;
            display: inline-block;
            margin-bottom: 1rem;
        }

        .hub-header h4 {
            font-family: 'Outfit', sans-serif;
            font-size: 1.45rem;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 0.75rem;
        }

        .hub-header p {
            font-size: 0.9rem;
            line-height: 1.6;
            color: #475569;
            margin: 0;
        }

        .area-badges-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.75rem;
        }

        .area-badge {
            background: #ffffff;
            border: 1px solid #cbd5e1;
            padding: 0.7rem 1rem;
            border-radius: 12px;
            font-size: 0.88rem;
            font-weight: 600;
            color: #0f172a;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .area-badge i { color: #0284c7; font-size: 0.85rem; }

        .appointment-action-box {
            background: #ffffff;
            border: 1px solid #bae6fd;
            border-radius: 16px;
            padding: 1.25rem;
            box-shadow: 0 4px 12px rgba(2, 132, 199, 0.03);
        }

        .doctor-profile-mini {
            display: flex;
            align-items: center;
            gap: 0.85rem;
        }

        .doc-avatar {
            width: 42px;
            height: 42px;
            background: #e0f2fe;
            color: #0284c7;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-size: 1.15rem;
        }

        .doctor-profile-mini h6 {
            font-family: 'Outfit', sans-serif;
            font-size: 0.95rem;
            font-weight: 700;
            color: #0f172a;
            margin: 0;
        }

        .doctor-profile-mini p { font-size: 0.8rem; color: #64748b; margin: 0; }

        .hub-call-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            background: #0284c7;
            color: #ffffff !important;
            text-decoration: none;
            font-weight: 700;
            font-size: 1rem;
            padding: 0.85rem;
            border-radius: 12px;
            transition: background-color 0.2s ease, transform 0.2s ease;
            box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
        }

        .hub-call-btn:hover {
            background: #0369a1;
            transform: translateY(-2px);
        }

        /* Responsive Settings */
        @media (max-width: 991.98px) {
            .service-hero-section { padding: 6rem 0 4rem 0; text-align: center; }
            .premium-eyebrow-light { justify-content: center; }
            .service-hero-title { font-size: 2.5rem; }
            .service-hero-description { margin-left: auto; margin-right: auto; }
            .academic-timeline-strip { flex-direction: column; align-items: flex-start; gap: 1.5rem; max-width: 100%; }
            .timeline-connector { display: none; }
            .hero-action-cluster { justify-content: center; }
            .card-top-left { left: -10px; }
            .card-bottom-right { right: -10px; }
            .clinical-details-section { padding: 4rem 0; }
            .local-care-hub-card { position: relative; top: 0; margin-top: 2rem; }
        }

        @media (max-width: 575.98px) {
            .area-badges-grid { grid-template-columns: 1fr; }
        }
        
        @media (max-width: 767px){

    .hero-action-cluster{
        flex-direction: column;
        width: 100%;
    }

    .btn-primary-blue,
    .btn-secondary-outline{
        width: 100%;
        text-align: center;
    }

}
html,
body {
    overflow-x: hidden;
    width: 100%;
}

.service-hero-section,
.service-hero-visual-wrapper,
.visual-image-frame {
    max-width: 100%;
    overflow: hidden;
}