
        :root {
            --primary: #051024;
            /* Very Dark Navy */
            --accent: #ff2a75;
            /* Vibrant Medical Pink */
            --accent-glow: rgba(255, 42, 117, 0.6);
            --bg-light: #f8f9fa;
            --text-dark: #1e272e;
            --text-muted: #808e9b;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            background-color: #cbd5e1;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            padding: 10px;
        }

        /* Card Container */
        .digital-card {
            width: 100%;
            max-width: 400px;
            background-color: #ffffff;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
            position: relative;
        }

        /* =========================================
           ULTRA PREMIUM HEADER
           ========================================= */
        .profile-header {
            background: var(--primary);
            color: white;
            padding: 16px 18px;
            border-bottom-left-radius: 40px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 15px 30px rgba(5, 16, 36, 0.4);
        }

        /* Background Glow Effect - Fixed Blur */
        .profile-header::before {
            /* content: ''; */
            position: absolute;
            top: -80px;
            right: -80px;
            width: 200px;
            height: 200px;
            background: var(--accent);
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.3;
            z-index: 0;
            pointer-events: none;
        }

        .header-content {
            display: flex;
            align-items: center;
            gap: 14px;
            position: relative;
            z-index: 2;
            justify-content: center;
            flex-direction: row;
        }

        /* --- Left Side: Animated Photo --- */
        .photo-wrapper {
            position: relative;
            width: 100px;
            height: 100px;
            flex-shrink: 0;
        }

        /* Rotating Border Animation */
        .animated-ring {
            position: absolute;
            top: -6px;
            left: -6px;
            right: -6px;
            bottom: -6px;
            border: 2px dashed var(--accent);
            border-radius: 50%;
            animation: spin 10s linear infinite;
            z-index: 1;
        }

        @keyframes spin {
            100% {
                transform: rotate(360deg);
            }
        }

        .profile-img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #ffffff;
            background-color: #fff;
            position: relative;
            z-index: 2;
            box-shadow: 0 0 20px var(--accent-glow);
        }

        /* --- Right Side: Text & Glass Dock --- */
        .header-text {
            flex-grow: 1;
            /* min-width: 160px; */
        }

        .name {
            font-size: 25px;
            font-weight: 800;
            letter-spacing: 0.5px;
            margin-bottom: 2px;
            line-height: 1.2;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        /* Gradient Text for Title */
        .service-title {
            color: pink;
            font-weight: 700;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 14px;
        }

        /* --- Glassmorphism Icon Dock (iOS Style) --- */
        .glass-dock {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            padding: 0px;
            border-radius: 20px;
            gap: 25px;
            margin-top: 5px;
        }

        .dock-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: white;
            transition: all 0.3s ease;
            position: relative;
            padding: 2px 4px;
        }

        .dock-item i {
            font-size: 16px;
            margin-bottom: 2px;
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .dock-item span {
            font-size: 10px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .dock-item:hover i {
            transform: translateY(-4px) scale(1.1);
        }

        .dock-item:hover span {
            opacity: 1;
        }

        /* Custom Colors for Icons on Hover */
        .dock-item.call:hover i {
            color: #fff;
            text-shadow: 0 0 10px #4facfe;
        }
        .dock-item.wa:hover i {
            color: #25D366;
            text-shadow: 0 0 10px #25D366;
        }
        .dock-item.pdf:hover i {
            color: #ff4757;
            text-shadow: 0 0 10px #ff4757;
        }
        .dock-item.save:hover i {
            color: #feca57;
            text-shadow: 0 0 10px #feca57;
        }

        /* =========================================
           DETAILS SECTION 
           ========================================= */
        .card-body {
            padding: 16px 18px;
            background: url('https://www.transparenttextures.com/patterns/cubes.png');
        }

        .anm-badge {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            color: var(--primary);
            font-size: 12px;
            font-weight: 600;
            background: #f1f2f6;
            padding: 10px 12px;
            border-radius: 12px;
            margin-bottom: 14px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
            border-left: 4px solid var(--accent);
        }

        .anm-badge i {
            color: var(--accent);
            font-size: 16px;
        }

        /* Info List */
        .info-list {
            list-style: none;
            margin-bottom: 20px;
        }

        .info-item {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
            padding-bottom: 8px;
            border-bottom: 1px dashed #dfe4ea;
        }
        .info-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .info-icon {
            width: 30px;
            height: 30px;
            background: rgba(232, 28, 98, 0.08);
            color: var(--accent);
            border-radius: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 13px;
            margin-right: 12px;
            flex-shrink: 0;
        }

        .info-text h4 {
            font-size: 10px;
            text-transform: uppercase;
            color: var(--text-muted);
            font-weight: 600;
            margin-bottom: 1px;
            letter-spacing: 0.5px;
        }

        .info-text p {
            font-size: 13px;
            color: var(--text-dark);
            font-weight: 700;
            word-break: break-word;
        }

        /* Services Grid */
        .section-title {
            font-size: 16px;
            font-weight: 800;
            color: var(--primary);
            margin: 20px 0 12px 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .section-title::after {
            content: '';
            flex-grow: 1;
            height: 2px;
            background: var(--accent);
            border-radius: 2px;
        }

        .services-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
            margin-bottom: 12px;
        }

        .service-box {
            display: flex;
            align-items: center;
            background: #ffffff;
            padding: 12px 14px;
            border-radius: 12px;
            border: 1px solid #f1f2f6;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
            position: relative;
            overflow: hidden;
        }

        .service-box::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 4px;
            background: var(--accent);
            transition: width 0.3s ease;
        }

        .service-box:hover::before {
            width: 8px;
        }

        .service-box i {
            color: var(--primary);
            font-size: 17px;
            margin-right: 12px;
            margin-left: 4px;
            flex-shrink: 0;
        }

        .service-box span {
            color: var(--text-dark);
            font-weight: 600;
            font-size: 13px;
        }

        /* Prescription Required Box */
        .warning-box {
            background: #fff0f3;
            color: var(--accent);
            padding: 10px;
            border-radius: 12px;
            text-align: center;
            font-size: 12px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            border: 1px dashed rgba(232, 28, 98, 0.4);
            box-shadow: 0 5px 15px rgba(232, 28, 98, 0.1);
            flex-wrap: wrap;
        }

        /* =========================================
               RESPONSIVE FIXES FOR 320px
               ========================================= */
        @media (max-width: 380px) {
            body {
                padding: 6px;
            }

            .digital-card {
                max-width: 100%;
                border-radius: 18px;
            }

            .profile-header {
                padding: 14px 14px;
                border-bottom-left-radius: 30px;
            }

            .header-content {
                /* gap: 10px; */
                /* flex-wrap: nowrap; */
            }

            .photo-wrapper {
                /* width: 65px; */
                /* height: 65px; */
                /* flex-shrink: 0; */
            }

            .animated-ring {
                top: -4px;
                left: -4px;
                right: -4px;
                bottom: -4px;
                border-width: 1.5px;
            }

            .profile-img {
                border-width: 2px;
            }

            .header-text {
            }

            .name {
                /* font-size: 15px; */
            }

            .service-title {
                font-size: 10px;
                margin-bottom: 4px;
            }

            .glass-dock {
            }

            .dock-item {
                /* padding: 2px 2px; */
            }

            .dock-item i {
                font-size: 13px;
            }

            .dock-item span {
            }

            .card-body {
                padding: 12px 14px;
            }

            .anm-badge {
                font-size: 10px;
                padding: 8px 10px;
                gap: 6px;
            }

            .anm-badge i {
                font-size: 14px;
            }

            .info-item {
                margin-bottom: 6px;
                padding-bottom: 6px;
            }

            .info-icon {
                width: 26px;
                height: 26px;
                font-size: 11px;
                margin-right: 10px;
                border-radius: 8px;
            }

            .info-text p {
                font-size: 12px;
            }

            .info-text h4 {
                font-size: 9px;
            }

            .section-title {
                font-size: 14px;
                margin: 16px 0 10px 0;
            }

            .services-container {
                gap: 8px;
            }

            .service-box {
                padding: 10px 12px;
            }

            .service-box i {
                font-size: 15px;
                margin-right: 10px;
            }

            .service-box span {
                font-size: 11px;
            }

            .warning-box {
                font-size: 10px;
                padding: 8px;
                gap: 4px;
            }
        }

        /* Extra small fix for 320px exactly */
        @media (max-width: 325px) {
            .header-content {
                /* flex-wrap: wrap; */
                /* justify-content: center; */
                /* text-align: center; */
            }

            .photo-wrapper {
                /* width: 60px; */
                /* height: 60px; */
            }

            .header-text {
            }

            .glass-dock {
            }

            .dock-item {
                padding: 4px 8px;
            }

            .name {
                /* font-size: 14px; */
            }
        }
    
        @media print {
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    html,
    body {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        background: #fff !important;
    }
}
.print-area{
    background:#0d6efd !important;
    color:#fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}