            body {
                font-family: 'Inter', sans-serif;
                background-color: #f7f9fb;
            }
            .container {
                max-width: 1200px;
            }
            .btn-orange {
                background-color: #f97316;
                transition: background-color 0.3s;
            }
            .btn-orange:hover {
                background-color: #ea580c;
            }
            .btn-blue {
                background-color: #2563eb;
                transition: background-color 0.3s;
            }
            .btn-blue:hover {
                background-color: #1d4ed8;
            }
            .card-shadow {
                box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
            }
            input[type="file"]::-webkit-file-upload-button {
                cursor: pointer;
            }
            .hamburger-icon span {
                display: block;
                width: 20px;
                height: 2px;
                margin: 4px 0;
                background-color: #374151;
                transition: transform 0.3s;
            }
            .hamburger-icon.active span:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px);
            }
            .hamburger-icon.active span:nth-child(2) {
                opacity: 0;
            }
            .hamburger-icon.active span:nth-child(3) {
                transform: rotate(-45deg) translate(7px, -6px);
            }
            html {
                scroll-behavior: smooth;
            }
            .spinner {
                border: 2px solid #f3f3f3;
                border-top: 2px solid #3498db;
                border-radius: 50%;
                width: 16px;
                height: 16px;
                animation: spin 1s linear infinite;
                display: inline-block;
                margin-right: 8px;
                vertical-align: middle;
            }
            @keyframes spin {
                0% { transform: rotate(0deg); }
                100% { transform: rotate(360deg); }
            }
            .error-message {
                color: #e53e3e;
                font-size: 0.875rem;
                margin-top: 0.25rem;
                display: none;
            }
            .file-upload-progress {
                width: 100%;
                height: 4px;
                background-color: #e5e7eb;
                border-radius: 2px;
                margin-top: 8px;
                overflow: hidden;
                display: none;
            }
            .file-upload-progress-bar {
                height: 100%;
                background-color: #2563eb;
                width: 0%;
                transition: width 0.3s;
            }
            .btn-blue {
                background-color: #2563eb;
                transition: background-color 0.3s;
            }
            .btn-blue:hover {
                background-color: #1d4ed8;
            }

            .btn-green {
        background-color: #16a34a;
        transition: background-color 0.3s;
    }
    .btn-green:hover {
        background-color: #15803d;
    }





/* Modal button Fix */
.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #6b7280;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    z-index: 60;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    color: #374151;
    background: white;
    border-color: #d1d5db;
    transform: scale(1.1);
}


/* Mobile responsive close buttons */
@media (max-width: 640px) {
    .modal-close-btn {
        top: 0.75rem;
        right: 0.75rem;
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.25rem;
    }
}

/* Ensure modal content has proper padding for close button */
.modal-content-padding {
    padding-top: 1rem;
}


/* ===== MODAL ZOOM PROTECTION - FIXED VERSION ===== */

/* Fix for all modals going out of viewport when zoomed */
.fixed.inset-0 {
    max-height: 100vh !important;
    overflow: auto !important;
    overscroll-behavior: contain !important;
    padding: 1rem !important;
}

/* Ensure modal content stays within viewport WITHOUT changing width */
.fixed.inset-0 > .bg-white {
    max-height: 90vh !important;
    margin: 0 auto !important;
    overflow-y: auto !important;
    position: relative !important;
    /* REMOVED max-width: 95vw - this was causing the width issue */
}

/* Enhanced close button visibility */
.fixed.inset-0 .absolute.top-4.right-4 {
    width: 2.5rem !important;
    height: 2.5rem !important;
    font-size: 1.5rem !important;
    background: white !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 100 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .fixed.inset-0 {
        padding: 0.5rem !important;
    }
    
    .fixed.inset-0 > .bg-white {
        max-height: 95vh !important;
        margin: 0 auto !important;
        /* REMOVED max-width: 98vw - this was causing the width issue */
    }
    
    .fixed.inset-0 .absolute.top-4.right-4 {
        width: 2.25rem !important;
        height: 2.25rem !important;
        font-size: 1.25rem !important;
        top: 0.75rem !important;
        right: 0.75rem !important;
    }
}

/* Prevent body scroll when modal is open */
body:has(.fixed.inset-0:not(.hidden)) {
    overflow: hidden !important;
}

/* Emergency close area - make entire background clickable */
.fixed.inset-0::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    cursor: pointer;
}

/* Ensure modal content is above the clickable background */
.fixed.inset-0 > .bg-white {
    z-index: 10 !important;
    position: relative !important;
}


/* ===== COMPREHENSIVE AI CHATBOT ZOOM PROTECTION ===== */

/* Chatbot widget container */
#chatbotWidget {
    z-index: 9999 !important;
    position: fixed !important;
}

/* Chatbot interface - main fixes */
#chatbotInterface {
    max-height: min(600px, 80vh) !important;
    max-width: min(400px, 95vw) !important;
    min-width: 300px !important;
    bottom: 5rem !important;
    right: 1rem !important;
    left: auto !important;
}

/* Chat messages area with scroll */
#chatMessages {
    max-height: 300px !important;
    min-height: 200px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
}

/* Chat header - fixed position */
#chatbotInterface .bg-blue-600 {
    position: sticky !important;
    top: 0 !important;
    z-index: 20 !important;
    flex-shrink: 0 !important;
}

/* Chat input - fixed at bottom */
#chatbotInterface .border-t {
    position: sticky !important;
    bottom: 0 !important;
    background: white !important;
    z-index: 20 !important;
    flex-shrink: 0 !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #chatbotInterface {
        width: 90vw !important;
        max-width: 90vw !important;
        right: 1rem !important;
        left: 1rem !important;
        bottom: 4rem !important;
    }
    
    #chatMessages {
        max-height: 40vh !important;
        min-height: 30vh !important;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    #chatbotInterface {
        width: 95vw !important;
        max-width: 95vw !important;
        right: 0.5rem !important;
        left: 0.5rem !important;
        bottom: 3.5rem !important;
    }
    
    #chatMessages {
        max-height: 35vh !important;
    }
}

/* Ensure chatbot doesn't overlap with other elements */
#chatbotInterface {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3) !important;
}



/* Expert Team Styles */
.expert-filter-btn.active {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.expert-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.expert-card:hover {
    border-color: #3b82f6;
    transform: translateY(-8px);
}

.expert-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
}

#experts-grid {
    position: relative;
    min-height: 600px;
}

/* Expert Profile Modal Styles */
.expert-profile-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 2rem;
    border-radius: 1rem 1rem 0 0;
}

.expert-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.expert-stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3b82f6;
    transition: transform 0.3s ease;
}

.expert-stat-card:hover {
    transform: translateY(-4px);
}

.expert-stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #1f2937;
    display: block;
}

.expert-stat-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.case-timeline {
    position: relative;
    padding-left: 2rem;
}

.case-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.case-timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.case-timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #3b82f6;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #3b82f6;
}

.specialty-tag {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0.25rem;
    border: 1px solid #bfdbfe;
}

/* Smooth animations for filter transitions */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.expert-card {
    animation: fadeInScale 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.expert-card:nth-child(1) { animation-delay: 0.1s; }
.expert-card:nth-child(2) { animation-delay: 0.2s; }
.expert-card:nth-child(3) { animation-delay: 0.3s; }
.expert-card:nth-child(4) { animation-delay: 0.4s; }
.expert-card:nth-child(5) { animation-delay: 0.5s; }
.expert-card:nth-child(6) { animation-delay: 0.6s; }
.expert-card:nth-child(7) { animation-delay: 0.7s; }
.expert-card:nth-child(8) { animation-delay: 0.8s; }

/* Expert Team Styles */
.expert-filter-btn.active {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.expert-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    opacity: 1;
    transform: scale(1);
    display: block;
}

.expert-card:hover {
    border-color: #3b82f6;
    transform: translateY(-8px);
}

/* Smooth filter transitions */
.expert-card {
    transition: all 0.3s ease-in-out;
}

#experts-grid {
    position: relative;
    min-height: 600px;
}

/* Rest of your existing CSS remains the same */
.expert-profile-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 2rem;
    border-radius: 1rem 1rem 0 0;
}

.expert-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.expert-stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3b82f6;
    transition: transform 0.3s ease;
}

.expert-stat-card:hover {
    transform: translateY(-4px);
}

.expert-stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #1f2937;
    display: block;
}

.expert-stat-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.case-timeline {
    position: relative;
    padding-left: 2rem;
}

.case-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.case-timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.case-timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #3b82f6;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #3b82f6;
}





/* Payment Modal Styles - FIXED */
.qr-code-container {
    text-align: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin: 20px auto; /* Changed to auto for horizontal centering */
    max-width: 300px; /* Added max-width for better control */
    width: 100%; /* Added full width within max-width constraint */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.qr-code-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #e5e7eb 25%, #f3f4f6 25%, #f3f4f6 50%, #e5e7eb 50%, #e5e7eb 75%, #f3f4f6 75%, #f3f4f6 100%);
    background-size: 20px 20px;
    margin: 0 auto; /* Ensures horizontal centering */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
}

/* Mobile responsiveness for QR code */
@media (max-width: 640px) {
    .qr-code-container {
        padding: 15px;
        margin: 15px auto;
        max-width: 280px;
    }
    
    .qr-code-placeholder {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 400px) {
    .qr-code-container {
        padding: 12px;
        margin: 12px auto;
        max-width: 260px;
    }
    
    .qr-code-placeholder {
        width: 160px;
        height: 160px;
    }
}

.payment-status-pending {
    color: #f59e0b;
    background: #fef3c7;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.payment-status-completed {
    color: #10b981;
    background: #d1fae5;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}


.spinner-large {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3B82F6;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* Terms Modal Styles */
.terms-content {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f7fafc;
}

.terms-content::-webkit-scrollbar {
    width: 6px;
}

.terms-content::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 3px;
}

.terms-content::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.terms-content::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.prose h4 {
    color: #1f2937;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-size: 1.1em;
}

.prose p {
    margin-bottom: 1em;
    line-height: 1.6;
    color: #4b5563;
}




.expert-card {
    transition: all 0.3s ease-in-out;
    opacity: 1;
    transform: scale(1);
}

.expert-card.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.8);
}

.expert-card.fade-out {
    opacity: 0;
    transform: scale(0.8);
}

.expert-card.fade-in {
    opacity: 1;
    transform: scale(1);
}

.expert-stat-card {
    @apply bg-white rounded-xl p-4 text-center border border-gray-200 shadow-sm;
}

.expert-stat-number {
    @apply text-2xl font-bold text-gray-900 block;
}

.expert-stat-label {
    @apply text-sm text-gray-600 mt-1;
}

.case-timeline-item {
    @apply mb-6 pb-6 border-b border-gray-200 last:border-b-0 last:mb-0 last:pb-0;
}

.modal-close-btn {
    @apply absolute top-4 right-4 text-gray-400 hover:text-gray-800 transition font-mono text-2xl z-10;
}



