 /* Hero Section Base */
    .hero-section {
        position: relative;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }

    /* Animated Background */
    .hero-background {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
    }

    .hero-gradient {
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 50%, #f1f8f4 100%);
    }

    .hero-pattern {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0.03;
        background-image: 
            repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(0,0,0,.05) 35px, rgba(0,0,0,.05) 70px);
    }

    .hero-orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(100px);
        opacity: 0.4;
        animation: float-orb 20s ease-in-out infinite;
    }

    .hero-orb-1 {
        width: 500px;
        height: 500px;
        background: linear-gradient(135deg, #198754 0%, #20c997 100%);
        top: -250px;
        right: -100px;
    }

    .hero-orb-2 {
        width: 400px;
        height: 400px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        bottom: -200px;
        left: -100px;
        animation-delay: -10s;
    }

    .hero-orb-3 {
        width: 350px;
        height: 350px;
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        top: 50%;
        left: 30%;
        animation-delay: -5s;
    }

    @keyframes float-orb {
        0%, 100% { transform: translate(0, 0) scale(1); }
        33% { transform: translate(50px, -80px) scale(1.1); }
        66% { transform: translate(-30px, 40px) scale(0.9); }
    }

    /* Hero Badge */
    .hero-badge {
        display: inline-flex;
        align-items: center;
        background: linear-gradient(135deg, #198754 0%, #20c997 100%);
        color: white;
        padding: 0.6rem 1.5rem;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
        box-shadow: 0 8px 24px rgba(25, 135, 84, 0.25);
        animation: pulse-badge 2s ease-in-out infinite;
    }

    @keyframes pulse-badge {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }

    /* Hero Title */
    .hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
        line-height: 1.2;
        color: #1a1a1a;
        margin-bottom: 1.5rem;
    }

    .text-gradient {
        background: linear-gradient(135deg, #198754 0%, #20c997 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        display: inline-block;
    }

    /* Hero Subtitle */
    .hero-subtitle {
        font-size: 1.25rem;
        color: #4a5568;
        max-width: 540px;
    }

    /* Feature Pills */
    .feature-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .feature-pill {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: white;
        padding: 0.5rem 1.25rem;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 600;
        color: #2d3748;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
    }

    .feature-pill:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    }

    /* Hero Buttons */
    .btn-hero-primary {
        position: relative;
        background: linear-gradient(135deg, #198754 0%, #20c997 100%);
        border: none;
        border-radius: 50px;
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
        font-weight: 700;
        color: white;
        cursor: pointer;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 12px 35px rgba(25, 135, 84, 0.3);
    }

    .btn-hero-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 45px rgba(25, 135, 84, 0.4);
    }

    .btn-content {
        position: relative;
        z-index: 2;
    }

    .btn-shimmer {
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
        transform: rotate(45deg);
        animation: shimmer 3s infinite;
    }

    @keyframes shimmer {
        0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
        100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    }

    .btn-hero-secondary {
        background: white;
        border: 2px solid #198754;
        border-radius: 50px;
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
        font-weight: 700;
        color: #198754;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .btn-hero-secondary:hover {
        background: #198754;
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(25, 135, 84, 0.25);
    }

    /* Hero Stats */
    .stat-item {
        text-align: left;
        border-left: 3px solid #198754;
        padding-left: 1rem;
    }

    .stat-number {
        font-size: 2rem;
        font-weight: 800;
        background: linear-gradient(135deg, #198754 0%, #20c997 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .stat-label {
        font-size: 0.85rem;
        color: #6c757d;
        font-weight: 600;
    }

    /* Illustration Wrapper */
    .illustration-wrapper {
        position: relative;
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
        aspect-ratio: 1;
    }

    /* Decorative Rings */
    .deco-ring {
        position: absolute;
        border-radius: 50%;
        border: 2px dashed rgba(25, 135, 84, 0.2);
        animation: rotate-ring 20s linear infinite;
    }

    .deco-ring-1 {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }

    .deco-ring-2 {
        width: 85%;
        height: 85%;
        top: 7.5%;
        left: 7.5%;
        animation-direction: reverse;
        animation-duration: 15s;
    }

    .deco-ring-3 {
        width: 70%;
        height: 70%;
        top: 15%;
        left: 15%;
        animation-duration: 25s;
    }

    @keyframes rotate-ring {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    /* Hero Photo */
    .hero-photo-container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 65%;
        height: 65%;
    }

    .hero-photo {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        overflow: hidden;
        box-shadow: 
            0 30px 60px rgba(0,0,0,0.15),
            0 0 0 10px rgba(255,255,255,0.9),
            0 0 0 20px rgba(25, 135, 84, 0.1);
        position: relative;
        animation: float-photo 6s ease-in-out infinite;
    }

    .hero-photo img {
        object-fit: cover;
    }

    .photo-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, transparent 100%);
    }

    @keyframes float-photo {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-15px); }
    }

    /* Floating Cards */
    .floating-card {
        position: absolute;
        z-index: 10;
        animation: float-card 4s ease-in-out infinite;
    }

    .floating-card-inner {
        background: white;
        border-radius: 16px;
        padding: 1rem 1.25rem;
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        display: flex;
        align-items: center;
        gap: 1rem;
        min-width: 160px;
        transition: all 0.3s ease;
    }

    .floating-card:hover .floating-card-inner {
        transform: translateY(-5px);
        box-shadow: 0 20px 45px rgba(0,0,0,0.2);
    }

    .card-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: white;
        flex-shrink: 0;
    }

    .gradient-1 { background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); }
    .gradient-2 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
    .gradient-3 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
    .gradient-4 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }

    .card-content {
        display: flex;
        flex-direction: column;
    }

    .card-label {
        font-size: 0.75rem;
        color: #6c757d;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .card-value {
        font-size: 1.25rem;
        font-weight: 800;
        color: #1a1a1a;
    }

    /* Card Positions */
    .card-1 {
        top: 5%;
        left: -5%;
        animation-delay: 0s;
    }

    .card-2 {
        bottom: 15%;
        left: -8%;
        animation-delay: 0.5s;
    }

    .card-3 {
        top: 30%;
        right: -10%;
        animation-delay: 1s;
    }

    .card-4 {
        top: 8%;
        right: -5%;
        animation-delay: 1.5s;
    }

    @keyframes float-card {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-15px); }
    }

    /* Scroll Indicator */
    .scroll-indicator {
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        z-index: 10;
        animation: fade-in-out 2s ease-in-out infinite;
    }

    .scroll-mouse {
        width: 28px;
        height: 45px;
        border: 2px solid #198754;
        border-radius: 20px;
        position: relative;
    }

    .scroll-wheel {
        width: 4px;
        height: 8px;
        background: #198754;
        border-radius: 2px;
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        animation: scroll-wheel 2s ease-in-out infinite;
    }

    @keyframes scroll-wheel {
        0%, 100% { opacity: 1; top: 8px; }
        50% { opacity: 0.5; top: 20px; }
    }

    .scroll-text {
        font-size: 0.75rem;
        color: #6c757d;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    @keyframes fade-in-out {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.4; }
    }

    /* Responsive Design */
    @media (max-width: 992px) {
        .hero-section {
            min-height: auto;
        }

        .min-vh-100 {
            min-height: auto !important;
        }

        .hero-title {
            font-size: 2.5rem;
        }

        .illustration-wrapper {
            max-width: 400px;
        }

        .floating-card {
            display: none;
        }

        .card-1, .card-2 {
            display: flex;
        }

        .scroll-indicator {
            display: none;
        }
    }

    @media (max-width: 768px) {
        .hero-badge {
            font-size: 0.8rem;
            padding: 0.5rem 1.2rem;
        }

        .hero-title {
            font-size: 2rem;
        }

        .hero-subtitle {
            font-size: 1rem;
        }

        .btn-hero-primary,
        .btn-hero-secondary {
            width: 100%;
            padding: 0.875rem 2rem;
            font-size: 1rem;
        }

        .hero-stats {
            margin-top: 3rem !important;
        }

        .stat-number {
            font-size: 1.5rem;
        }

        .illustration-wrapper {
            max-width: 320px;
        }

        .floating-card-inner {
            padding: 0.75rem 1rem;
            min-width: 140px;
        }

        .card-icon {
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
        }
    }


  /* ========================================
       Overview Section Styles
    ======================================== */
    .overview-section {
        background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    }

    .overview-background {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
    }

    .overview-gradient {
        position: absolute;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 30% 50%, rgba(25, 135, 84, 0.05) 0%, transparent 50%);
    }

    .floating-shape {
        position: absolute;
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        opacity: 0.1;
        animation: morph-shape 15s ease-in-out infinite;
    }

    .shape-1 {
        width: 300px;
        height: 300px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        top: 10%;
        left: 5%;
    }

    .shape-2 {
        width: 250px;
        height: 250px;
        background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        bottom: 10%;
        right: 10%;
        animation-delay: -7s;
    }

    @keyframes morph-shape {
        0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
        25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
        50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
        75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    }

    .section-badge-small {
        display: inline-flex;
        align-items: center;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 0.6rem 1.5rem;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
        box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
    }

    .overview-title {
        color: #1a1a1a;
        line-height: 1.3;
    }

    .text-gradient-alt {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .overview-description {
        color: #4a5568;
        line-height: 1.8;
        font-size: 1.15rem;
    }

    /* Quick Stats */
    .stat-box {
        background: white;
        padding: 2rem 1.5rem;
        border-radius: 20px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }

    .stat-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 40px rgba(0,0,0,0.12);
        border-color: #198754;
    }

    .stat-icon {
        font-size: 2.5rem;
        background: linear-gradient(135deg, #198754 0%, #20c997 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .stat-value {
        font-size: 2.5rem;
        font-weight: 800;
        background: linear-gradient(135deg, #198754 0%, #20c997 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .stat-label {
        color: #6c757d;
        font-weight: 600;
        font-size: 1rem;
    }

    /* ========================================
       Patient Connect Section Styles
    ======================================== */
    .patient-connect-section {
        padding: 6rem 0;
        background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    }

    .connect-background {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
    }

    .connect-gradient {
        position: absolute;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 70% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 60%);
    }

    .connect-pattern {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0.02;
        background-image: 
            repeating-linear-gradient(0deg, transparent, transparent 35px, rgba(0,0,0,.1) 35px, rgba(0,0,0,.1) 70px);
    }

    .connect-orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.3;
        animation: float-orb 20s ease-in-out infinite;
    }

    .orb-1 {
        width: 400px;
        height: 400px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        top: 10%;
        left: 10%;
    }

    .orb-2 {
        width: 350px;
        height: 350px;
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        bottom: 20%;
        right: 15%;
        animation-delay: -10s;
    }

    /* Illustration Wrapper */
    .connect-illustration-wrapper {
        position: relative;
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
        aspect-ratio: 1;
    }

    /* Decorative Circles */
    .deco-circle {
        position: absolute;
        border-radius: 50%;
        border: 2px solid;
        animation: pulse-circle 4s ease-in-out infinite;
    }

    .circle-1 {
        width: 100%;
        height: 100%;
        border-color: rgba(102, 126, 234, 0.2);
        top: 0;
        left: 0;
    }

    .circle-2 {
        width: 85%;
        height: 85%;
        border-color: rgba(25, 135, 84, 0.2);
        top: 7.5%;
        left: 7.5%;
        animation-delay: -1s;
    }

    .circle-3 {
        width: 70%;
        height: 70%;
        border-color: rgba(79, 172, 254, 0.2);
        top: 15%;
        left: 15%;
        animation-delay: -2s;
    }

    @keyframes pulse-circle {
        0%, 100% { transform: scale(1); opacity: 0.5; }
        50% { transform: scale(1.05); opacity: 0.8; }
    }

    /* Photo Container */
    .connect-photo-container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 65%;
        height: 65%;
    }

    .connect-photo {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        overflow: hidden;
        box-shadow: 
            0 30px 60px rgba(0,0,0,0.2),
            0 0 0 15px rgba(255,255,255,1),
            0 0 0 16px rgba(102, 126, 234, 0.2);
        position: relative;
        animation: float-photo 6s ease-in-out infinite;
    }

    .connect-photo img {
        object-fit: cover;
        /* filter: brightness(1.05) contrast(1.1); */
    }

    .photo-gradient-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, transparent 50%, rgba(25, 135, 84, 0.1) 100%);
    }

    /* Floating Icon Cards */
    .floating-icon-card {
        position: absolute;
        z-index: 10;
    }

    .icon-card-inner {
        width: 70px;
        height: 70px;
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        color: white;
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
        position: relative;
        z-index: 2;
        animation: float-icon 3s ease-in-out infinite;
    }

    .gradient-purple { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
    .gradient-blue { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
    .gradient-green { background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); }

    .icon-card-pulse {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70px;
        height: 70px;
        border-radius: 18px;
        animation: pulse-glow 2s ease-in-out infinite;
        z-index: 1;
    }

    .card-top .icon-card-pulse { background: rgba(102, 126, 234, 0.4); }
    .card-bottom .icon-card-pulse { background: rgba(79, 172, 254, 0.4); }
    .card-right .icon-card-pulse { background: rgba(37, 211, 102, 0.4); }

    @keyframes pulse-glow {
        0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
        50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
    }

    @keyframes float-icon {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-15px); }
    }

    /* Card Positions */
    .card-top {
        top: 8%;
        left: -5%;
        animation-delay: 0s;
    }

    .card-bottom {
        bottom: 10%;
        left: -8%;
        animation-delay: 1s;
    }

    .card-right {
        top: 20%;
        right: -5%;
        animation-delay: 0.5s;
    }

    /* Content Styles */
    .section-label {
        display: inline-flex;
        align-items: center;
        background: rgba(102, 126, 234, 0.1);
        color: #667eea;
        padding: 0.5rem 1.25rem;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.9rem;
        border: 2px dashed #667eea;
    }

    .connect-heading {
        color: #1a1a1a;
        line-height: 1.3;
    }

    .text-gradient-connect {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .connect-description {
        color: #4a5568;
        line-height: 1.8;
    }

    /* Features List */
    .features-list {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .feature-item {
        display: flex;
        gap: 1.5rem;
        align-items: flex-start;
        padding: 1.5rem;
        background: white;
        border-radius: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.06);
        border: 2px solid transparent;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .feature-item:hover {
        transform: translateX(10px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.12);
        border-color: rgba(102, 126, 234, 0.3);
    }

    .feature-icon-wrapper {
        position: relative;
        flex-shrink: 0;
    }

    .feature-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.75rem;
        color: white;
        position: relative;
        z-index: 2;
        transition: transform 0.3s ease;
    }

    .feature-item:hover .feature-icon {
        transform: scale(1.1) rotate(5deg);
    }

    .gradient-icon-1 { background: linear-gradient(135deg, #198754 0%, #20c997 100%); }
    .gradient-icon-2 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
    .gradient-icon-3 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }

    .feature-icon-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 64px;
        height: 64px;
        border-radius: 16px;
        filter: blur(15px);
        opacity: 0.3;
        z-index: 1;
    }

    .feature-item:nth-child(1) .feature-icon-bg { background: linear-gradient(135deg, #198754 0%, #20c997 100%); }
    .feature-item:nth-child(2) .feature-icon-bg { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
    .feature-item:nth-child(3) .feature-icon-bg { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }

    .feature-content {
        flex: 1;
    }

    .feature-title {
        font-size: 1.15rem;
        font-weight: 700;
        color: #1a1a1a;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .verified-badge {
        color: #198754;
        font-size: 1rem;
    }

    .feature-text {
        color: #6c757d;
        line-height: 1.7;
        font-size: 0.95rem;
    }

    /* CTA Button */
    .btn-connect-cta {
        display: inline-flex;
        align-items: center;
        gap: 1rem;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        border-radius: 50px;
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
        font-weight: 700;
        color: white;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 12px 35px rgba(102, 126, 234, 0.3);
        position: relative;
        overflow: hidden;
    }

    .btn-connect-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 45px rgba(102, 126, 234, 0.4);
        gap: 1.5rem;
    }

    .btn-cta-text {
        position: relative;
        z-index: 2;
    }

    .btn-cta-arrow {
        position: relative;
        z-index: 2;
        transition: transform 0.3s ease;
    }

    .btn-connect-cta:hover .btn-cta-arrow {
        transform: translateX(5px);
    }

    .btn-connect-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s ease;
    }

    .btn-connect-cta:hover::before {
        left: 100%;
    }

    /* Responsive Design */
    @media (max-width: 992px) {
        .patient-connect-section {
            padding: 4rem 0;
        }

        .connect-illustration-wrapper {
            max-width: 400px;
        }

        .card-right {
            display: none;
        }

        .connect-heading {
            font-size: 2rem;
        }
    }

    @media (max-width: 768px) {
        .overview-section {
            padding: 3rem 0 !important;
        }

        .overview-title {
            font-size: 1.75rem;
            line-height: 1.3;
        }

        .overview-description {
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .stat-box {
            padding: 1.5rem 1rem;
        }

        .stat-icon {
            font-size: 2rem;
        }

        .stat-value {
            font-size: 2rem;
            line-height: 1.2;
        }
        
        .stat-label {
            font-size: 1rem;
            line-height: 1.4;
        }

        .connect-illustration-wrapper {
            max-width: 320px;
        }

        .icon-card-inner {
            width: 55px;
            height: 55px;
            font-size: 1.4rem;
        }

        .icon-card-pulse {
            width: 55px;
            height: 55px;
        }

        .connect-heading {
            font-size: 1.75rem;
            line-height: 1.3;
        }
        
        .connect-description {
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .feature-item {
            padding: 1.25rem;
            gap: 1rem;
        }

        .feature-icon {
            width: 50px;
            height: 50px;
            font-size: 1.4rem;
        }

        .feature-icon-bg {
            width: 50px;
            height: 50px;
        }
        
        .feature-title {
            font-size: 1.1rem;
            line-height: 1.4;
        }
        
        .feature-text {
            font-size: 1rem;
            line-height: 1.6;
        }

        .btn-connect-cta {
            width: 100%;
            justify-content: center;
            padding: 0.875rem 2rem;
            font-size: 1rem;
        }
        
        /* Hero Section Mobile Typography */
        .hero-title {
            font-size: 2rem;
            line-height: 1.2;
        }
        
        .hero-subtitle {
            font-size: 1.1rem;
            line-height: 1.6;
        }
        
        .hero-badge {
            font-size: 0.9rem;
        }
        
        .feature-pill {
            font-size: 0.9rem;
        }
    }

 .services-badge {
        background: linear-gradient(135deg, #198754 0%, #20c997 100%);
        padding: 1rem 2.5rem;
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(25, 135, 84, 0.3);
        position: relative;
        overflow: hidden;
    }
    
    .services-badge::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
        transform: rotate(45deg);
        animation: shine 3s infinite;
    }
    
    @keyframes shine {
        0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
        50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    }
    
    .badge-icon {
        display: inline-block;
        margin-right: 0.5rem;
        font-size: 1.2rem;
        color: rgba(255,255,255,0.9);
    }
    
    .badge-text {
        font-size: 1.5rem;
        font-weight: 700;
        color: white;
        text-transform: uppercase;
        letter-spacing: 2px;
        position: relative;
    }

    
    /* Feature Cards */
    .feature-card {
        background: #fff;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid rgba(0,0,0,0.05) !important;
    }
    
    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
    }
    
    .gradient-border {
        height: 4px;
        width: 100%;
    }
    
    .icon-wrapper {
        width: fit-content;
    }
    
    .icon-gradient {
        position: relative;
        z-index: 2;
        transition: transform 0.3s ease;
    }
    
    .feature-card:hover .icon-gradient {
        transform: scale(1.05) rotate(5deg);
    }
    
    .icon-blur {
        position: absolute;
        width: 70px;
        height: 70px;
        border-radius: 1rem;
        top: 0;
        left: 0;
        filter: blur(20px);
        opacity: 0.3;
        z-index: 1;
    }
    
    .read-more-btn {
        transition: all 0.3s ease;
        position: relative;
    }
    
    .read-more-btn:hover {
        gap: 0.5rem;
        transform: translateX(5px);
    }
    
    .read-more-btn i {
        transition: transform 0.3s ease;
    }
    
    .read-more-btn:hover i {
        transform: translateX(5px);
    }
    
    /* Modal Styles */
    .modal-content {
        border-radius: 1rem !important;
        overflow: hidden;
    }
    
    .modal-header {
        padding: 2rem;
    }
    
    .modal-header-gradient {
        top: 0;
        left: 0;
        z-index: 0;
        opacity: 0.95;
    }
    
    .intro-section {
        padding: 1.5rem;
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        border-radius: 1rem;
        border-left: 4px solid #198754;
    }
    
    .benefit-card {
        background: #fff;
        border: 1px solid rgba(0,0,0,0.08);
        border-radius: 1rem;
        padding: 1.5rem;
        transition: all 0.3s ease;
        height: 100%;
    }
    
    .benefit-card:hover {
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-3px);
        border-color: #198754;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #198754 0%, #20c997 100%);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .benefit-card h6 {
        color: #1a1a1a;
        font-size: 1.1rem;
    }
    
    .benefit-card p {
        color: #6c757d;
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .modal.show .benefit-card {
        animation: fadeInUp 0.5s ease forwards;
    }
    
    .modal.show .benefit-card:nth-child(1) { animation-delay: 0.1s; }
    .modal.show .benefit-card:nth-child(2) { animation-delay: 0.2s; }
    .modal.show .benefit-card:nth-child(3) { animation-delay: 0.3s; }
    .modal.show .benefit-card:nth-child(4) { animation-delay: 0.4s; }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
        .modal-header {
            padding: 1.5rem;
        }
        
        .modal-body {
            padding: 1.5rem !important;
        }
        
        .intro-section {
            padding: 1rem;
        }
    }



/* Scroller Container */
 /* Integrations Badge */
    .integrations-badge {
        display: inline-flex;
        align-items: center;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        font-size: 1.0rem;
        font-weight: 900;
        padding: 1rem 2rem;
        border-radius: 60px;
        text-transform: uppercase;
        letter-spacing: 4px;
        box-shadow: 
            0 20px 40px rgba(102, 126, 234, 0.3),
            0 0 0 1px rgba(255,255,255,0.1) inset;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .integrations-badge:hover {
        transform: translateY(-3px);
        box-shadow: 
            0 25px 50px rgba(102, 126, 234, 0.4),
            0 0 0 1px rgba(255,255,255,0.1) inset;
    }
    
    .integrations-badge i {
        font-size: 2rem;
        animation: pulse-icon 2s ease-in-out infinite;
    }
    
    @keyframes pulse-icon {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.8; transform: scale(1.1); }
    }
    
    /* Connect Tag */
    .connect-tag {
        display: inline-block;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 3px;
        color: #667eea;
        background: rgba(102, 126, 234, 0.1);
        padding: 0.4rem 1.5rem;
        border-radius: 30px;
        border: 1px dashed #667eea;
    }
    
    /* Responsive */
    @media (max-width: 768px) {
        .integrations-badge {
            font-size: 1.8rem;
            padding: 1rem 2.5rem;
            letter-spacing: 2px;
        }
        
        .integrations-badge i {
            font-size: 1.5rem;
        }
    }
.scroll-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
  mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

/* The element that contains the logos and moves */
.scroll-content {
  display: flex;
  align-items: center;
  gap: 100px;
  width: max-content;
  /* Apply the animation by default */
  animation: scrollLoop 30s linear infinite;
}

/* Pause the animation on hover so users can inspect logos */
.scroll-wrapper:hover .scroll-content {
  animation-play-state: paused;
}

/* Logo Styling */
.scroll-content img {
  height: 60px;
  object-fit: contain;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.scroll-content img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* The Animation Itself */
@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*
  ACCESSIBILITY ENHANCEMENT:
  If a user has 'prefers-reduced-motion' enabled in their OS,
  we stop the animation entirely.
*/
@media (prefers-reduced-motion: reduce) {
  .scroll-content {
    animation: none;
    /* Optional: Center the logos if they don't fill the screen */
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }
}


  /* Section Background */
    .cta-section {
        background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
        min-height: 100vh;
        display: flex;
        align-items: center;
    }

    .cta-background {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
        z-index: 1;
    }

    .gradient-orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.3;
        animation: float 20s ease-in-out infinite;
    }

    .orb-1 {
        width: 400px;
        height: 400px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        top: -200px;
        left: -100px;
    }

    .orb-2 {
        width: 500px;
        height: 500px;
        background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        bottom: -250px;
        right: -150px;
        animation-delay: -10s;
    }

    .orb-3 {
        width: 300px;
        height: 300px;
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        top: 50%;
        right: 10%;
        animation-delay: -5s;
    }

    @keyframes float {
        0%, 100% { transform: translate(0, 0) scale(1); }
        33% { transform: translate(30px, -50px) scale(1.1); }
        66% { transform: translate(-20px, 20px) scale(0.9); }
    }

   

    /* Patient Connect specific styles */
    .pc-illustration { max-width:520px; display:flex; align-items:center; justify-content:center; }
    .pc-photo { width:420px; height:420px; margin-left: -28px; }
    .pc-photo img { width:100%; height:100%; display:block; }

    /* gradient icon circles that overlap the main photo */
    .pc-icon { width:120px; height:120px; border-radius:50%; position:absolute; background: linear-gradient(135deg,#3bb06b 0%, #2b7fb8 100%); box-shadow: 0 10px 30px rgba(43,127,184,0.18); }
    .pc-icon .pc-icon-inner { transform: translateY(2px); }
    .pc-icon-top { left:-56px; top:8px; }
    .pc-icon-bottom { left:-56px; bottom:8px; }

    .pc-heading { color:#1f4ea3; font-size:2.6rem; line-height:1.02; }

    /* decorative right-side lines removed per request */

    @media (max-width: 991.98px) {
        .pc-photo { width:320px; height:320px; margin-left: 0; }
        .pc-icon { width:96px; height:96px; }
        .pc-icon-top { left:-36px; top:0; }
        .pc-icon-bottom { left:-36px; bottom:0; }
        .pc-heading { font-size:1.8rem; line-height: 1.3; }
    }

/* ========================================
   MOBILE TYPOGRAPHY IMPROVEMENTS
======================================== */

/* General mobile typography enhancements for Patient Connect pages */
@media (max-width: 768px) {
    /* Section headings */
    .section-badge, .section-badge-small {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
    }
    
    /* Main section titles */
    .section-title, .overview-title, .connect-heading {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    /* Descriptions and subtitles */
    .section-subtitle, .overview-description, .connect-description {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    /* CTA and form improvements */
    .cta-badge .badge-text {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    /* Modal typography */
    .modal-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .modal-body p, .modal-body .text-muted {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Form labels and inputs */
    .form-label, .premium-form-label {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .form-control, .premium-form-input {
        font-size: 1.1rem;
        line-height: 1.5;
        min-height: 44px;
    }
    
    /* Button improvements for better touch targets */
    .btn-hero-primary, .btn-hero-secondary, .btn-connect-cta {
        font-size: 1rem;
        line-height: 1.4;
        min-height: 44px;
        padding: 0.875rem 2rem;
    }
    
    /* Trust indicators and small text */
    .trust-badge small, .footer-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    /* Extra small devices - maximum readability */
    .hero-title, .main-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-subtitle, .lead-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Feature cards */
    .feature-heading, .feature-title {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .feature-desc, .feature-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Statistics and metrics */
    .stat-value, .metric-value {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .stat-label, .metric-label {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Ensure proper font rendering on high-DPI mobile screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-title, .main-title, .section-title {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}