* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-clinic: #00BFA6;
            --primary-dark: #00897B;
            --dark: #1a1a2e;
            --light: #f8f9fa;
            --white: #ffffff;
            --shadow: rgba(0, 0, 0, 0.1);
            --shadow-heavy: rgba(0, 0, 0, 0.2);
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* Animated Background */
        .bg-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            overflow: hidden;
        }

        .bg-animation span {
            position: absolute;
            display: block;
            width: 20px;
            height: 20px;
            background: rgba(255, 255, 255, 0.1);
            animation: float 15s infinite;
            border-radius: 50%;
        }

        .bg-animation span:nth-child(1) { left: 10%; animation-delay: 0s; }
        .bg-animation span:nth-child(2) { left: 20%; animation-delay: 2s; width: 30px; height: 30px; }
        .bg-animation span:nth-child(3) { left: 30%; animation-delay: 4s; }
        .bg-animation span:nth-child(4) { left: 40%; animation-delay: 6s; width: 25px; height: 25px; }
        .bg-animation span:nth-child(5) { left: 50%; animation-delay: 8s; }
        .bg-animation span:nth-child(6) { left: 60%; animation-delay: 10s; width: 35px; height: 35px; }
        .bg-animation span:nth-child(7) { left: 70%; animation-delay: 12s; }
        .bg-animation span:nth-child(8) { left: 80%; animation-delay: 14s; }

        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
        }

        /* Header */
        header {
            position: relative;
            z-index: 10;
            background: rgba(26, 26, 46, 0.9);
            backdrop-filter: blur(10px);
            padding: 1rem 2rem;
            box-shadow: 0 4px 20px var(--shadow-heavy);
        }

        .header-content {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -1px;
        }

        /* Main Content */
        .container {
            position: relative;
            z-index: 5;
            max-width: 1400px;
            margin: 0 auto;
            padding: 3rem 2rem;
        }

        .hero {
            text-align: center;
            margin-bottom: 3rem;
            animation: fadeInDown 0.8s ease-out;
        }

        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .hero h1 {
            font-size: 3.5rem;
            color: var(--white);
            margin-bottom: 1rem;
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
            font-weight: 800;
        }

        .hero p {
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.9);
            max-width: 700px;
            margin: 0 auto 2rem;
            line-height: 1.6;
        }

        /* Demo Button */
        .demo-btn {
            display: inline-block;
            padding: 1.2rem 3rem;
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--white);
            background: linear-gradient(135deg, #00BFA6 0%, #00897B 100%);
            border: none;
            border-radius: 50px;
            cursor: pointer;
            box-shadow: 0 8px 30px rgba(0, 191, 166, 0.4);
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .demo-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(0, 191, 166, 0.6);
        }

        /* Chatbot Cards */
        .chatbots-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
            animation: fadeInUp 1s ease-out;
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .chatbot-card {
            background: var(--white);
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 10px 40px var(--shadow-heavy);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .chatbot-card:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #00BFA6, #69F0AE);
        }

        .chatbot-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 15px 50px var(--shadow-heavy);
        }

        .chatbot-card.disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .chatbot-card.disabled:hover {
            transform: none;
        }

        .card-icon { font-size: 4rem; margin-bottom: 1rem; display: block; }
        .card-title { font-size: 1.8rem; color: var(--dark); margin-bottom: 0.5rem; font-weight: 700; }
        .card-description { color: #666; line-height: 1.6; margin-bottom: 1.5rem; }
        .card-badge {
            display: inline-block;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--white);
            background: #00BFA6;
        }

        .coming-soon { background: #9e9e9e; }

        /* ==================== PREMIUM BOOKING MODAL ==================== */
        
        .booking-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(10px);
            z-index: 2000;
            animation: fadeIn 0.3s ease-out;
        }

        .booking-modal.active {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        /* ✅ FIXED: Main container with proper scrolling */
        .booking-container {
            background: white;
            border-radius: 24px;
            width: 95%;
            max-width: 1200px;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
            animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
            overflow: hidden;
        }

        /* Header */
        .booking-header {
            background: linear-gradient(135deg, #00BFA6 0%, #00897B 100%);
            color: white;
            padding: 2rem;
            text-align: center;
            position: relative;
            flex-shrink: 0;
        }

        .booking-header h2 {
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        .booking-header p {
            font-size: 1rem;
            opacity: 0.9;
        }

        .close-btn {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 2rem;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .close-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }

        /* ✅ FIXED: Scrollable content wrapper */
        .booking-scroll-wrapper {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
        }

        /* Two-Panel Layout */
        .doctor-selection-wrapper {
            display: grid;
            grid-template-columns: 45% 55%;
            min-height: 500px;
        }

        /* LEFT PANEL */
        .department-panel {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 2rem;
            border-right: 1px solid #dee2e6;
        }

        .panel-header {
            margin-bottom: 1.5rem;
        }

        .panel-header h3 {
            font-size: 1.5rem;
            color: #1a1a2e;
            margin-bottom: 0.5rem;
        }

        .panel-header p {
            color: #6c757d;
            font-size: 0.95rem;
        }

        .search-box {
            position: relative;
            margin-bottom: 1.5rem;
        }

        .search-box input {
            width: 100%;
            padding: 0.85rem 1rem 0.85rem 3rem;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            font-size: 0.95rem;
            transition: all 0.3s;
            background: white;
        }

        .search-box input:focus {
            outline: none;
            border-color: #00BFA6;
            box-shadow: 0 0 0 4px rgba(0, 191, 166, 0.1);
        }

        .search-box::before {
            content: '🔍';
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.2rem;
        }

        /* Department Cards */
        .department-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .department-card {
            background: white;
            border-radius: 16px;
            padding: 1.25rem;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            border: 2px solid transparent;
            position: relative;
        }

        .department-card:hover {
            transform: translateX(8px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            border-color: #00BFA6;
        }

        .department-card.active {
            border-color: #00BFA6;
            background: linear-gradient(135deg, rgba(0, 191, 166, 0.05) 0%, white 100%);
            box-shadow: 0 4px 20px rgba(0, 191, 166, 0.15);
        }

        .department-card.active::after {
            content: '➤';
            position: absolute;
            right: 1.5rem;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.5rem;
            color: #00BFA6;
            animation: bounceRight 1s ease-in-out infinite;
        }

        @keyframes bounceRight {
            0%, 100% { transform: translateY(-50%) translateX(0); }
            50% { transform: translateY(-50%) translateX(5px); }
        }

        .dept-card-content {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
        }

        .dept-icon {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            background: linear-gradient(135deg, #00BFA6 0%, #00897B 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            flex-shrink: 0;
            box-shadow: 0 4px 15px rgba(0, 191, 166, 0.3);
            transition: transform 0.3s;
        }

        .department-card:hover .dept-icon {
            transform: scale(1.1) rotate(5deg);
        }

        .dept-info { flex: 1; }

        .dept-name {
            font-size: 1.1rem;
            font-weight: 700;
            color: #1a1a2e;
            margin-bottom: 0.4rem;
        }

        .dept-subtitle {
            font-size: 0.85rem;
            color: #6c757d;
            margin-bottom: 0.6rem;
        }

        .common-issues {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
        }

        .issue-tag {
            background: #e8f5e9;
            color: #2e7d32;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        /* RIGHT PANEL */
        .doctor-panel {
            background: white;
            padding: 2rem;
        }

        .doctor-panel-empty {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            min-height: 400px;
            color: #6c757d;
            text-align: center;
        }

        .doctor-panel-empty-icon {
            font-size: 5rem;
            margin-bottom: 1rem;
            opacity: 0.5;
        }

        .doctor-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .doctor-card {
            background: #f8f9fa;
            border-radius: 16px;
            padding: 1.5rem;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            border: 2px solid transparent;
            animation: slideInRight 0.4s ease-out backwards;
        }

        .doctor-card:nth-child(1) { animation-delay: 0.1s; }
        .doctor-card:nth-child(2) { animation-delay: 0.15s; }
        .doctor-card:nth-child(3) { animation-delay: 0.2s; }

        @keyframes slideInRight {
            from { transform: translateX(30px); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        .doctor-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
            background: white;
            border-color: #00BFA6;
        }

        .doctor-card.selected {
            background: linear-gradient(135deg, rgba(0, 191, 166, 0.08) 0%, white 100%);
            border-color: #00BFA6;
            box-shadow: 0 8px 25px rgba(0, 191, 166, 0.2);
        }

        .doctor-card-content {
            display: flex;
            gap: 1.25rem;
            align-items: center;
        }

        .doctor-avatar {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: linear-gradient(135deg, #00BFA6 0%, #00897B 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: white;
            flex-shrink: 0;
            box-shadow: 0 6px 20px rgba(0, 191, 166, 0.3);
        }

        .doctor-details { flex: 1; }

        .doctor-name {
            font-size: 1.2rem;
            font-weight: 700;
            color: #1a1a2e;
            margin-bottom: 0.3rem;
        }

        .doctor-meta {
            display: flex;
            gap: 1rem;
            margin-bottom: 0.5rem;
            flex-wrap: wrap;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            font-size: 0.85rem;
            color: #6c757d;
        }

        .meta-icon { color: #00BFA6; }

        .doctor-fee {
            font-size: 1.3rem;
            font-weight: 700;
            color: #00BFA6;
        }

        .selection-indicator {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            border: 3px solid #dee2e6;
            flex-shrink: 0;
            transition: all 0.3s;
            position: relative;
        }

        .doctor-card.selected .selection-indicator {
            border-color: #00BFA6;
            background: #00BFA6;
        }

        .doctor-card.selected .selection-indicator::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-weight: 700;
            font-size: 1rem;
        }

        /* Patient Details Form */
        .patient-details-form {
            padding: 2rem;
            background: #f8f9fa;
            border-top: 1px solid #dee2e6;
            animation: slideDown 0.4s ease-out;
        }

        @keyframes slideDown {
            from { max-height: 0; opacity: 0; }
            to { max-height: 2000px; opacity: 1; }
        }

        .form-section-title {
            font-size: 1.3rem;
            color: #1a1a2e;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .form-section-title::before {
            content: '';
            width: 4px;
            height: 24px;
            background: linear-gradient(135deg, #00BFA6 0%, #00897B 100%);
            border-radius: 2px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        .form-group label {
            font-weight: 600;
            color: #333;
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        .form-group label .required { color: #dc3545; }

        .form-group input,
        .form-group select {
            padding: 0.85rem 1rem;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s;
            background: white;
        }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: #00BFA6;
            box-shadow: 0 0 0 4px rgba(0, 191, 166, 0.1);
        }

        .fee-display {
            background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
            padding: 1.5rem;
            border-radius: 12px;
            text-align: center;
            margin: 1.5rem 0;
            border: 2px solid #00BFA6;
        }

        .fee-display .fee-label {
            font-size: 0.9rem;
            color: #2e7d32;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .fee-display .fee-amount {
            font-size: 2.5rem;
            font-weight: 700;
            color: #00BFA6;
        }

        .btn-container {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }

        .btn {
            flex: 1;
            padding: 1.1rem 2rem;
            border: none;
            border-radius: 12px;
            font-size: 1.05rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .btn-primary {
            background: linear-gradient(135deg, #00BFA6, #00897B);
            color: white;
            box-shadow: 0 4px 15px rgba(0, 191, 166, 0.3);
        }

        .btn-primary:hover:not(:disabled) {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 191, 166, 0.4);
        }

        .btn-primary:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .btn-secondary {
            background: #f8f9fa;
            color: #495057;
            border: 2px solid #dee2e6;
        }

        .btn-secondary:hover {
            background: #e9ecef;
            border-color: #00BFA6;
        }

        .error-alert {
            background: #ffebee;
            color: #c62828;
            padding: 1rem;
            border-radius: 10px;
            margin: 1rem 0;
            border-left: 4px solid #d32f2f;
            display: none;
        }

        /* Loading States */
        .loading-skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s ease-in-out infinite;
            border-radius: 8px;
            height: 100px;
            margin-bottom: 1rem;
        }

        @keyframes loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        /* Custom Scrollbar */
        .booking-scroll-wrapper::-webkit-scrollbar {
            width: 10px;
        }

        .booking-scroll-wrapper::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        .booking-scroll-wrapper::-webkit-scrollbar-thumb {
            background: #00BFA6;
            border-radius: 10px;
        }

        .booking-scroll-wrapper::-webkit-scrollbar-thumb:hover {
            background: #00897B;
        }

        /* Keyboard Navigation Hint */
        .keyboard-hint {
            position: absolute;
            bottom: 1rem;
            right: 1rem;
            background: rgba(0, 191, 166, 0.9);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.75rem;
            animation: fadeIn 0.3s ease-out;
            pointer-events: none;
        }

        /* Responsive */
        @media (max-width: 968px) {
            .doctor-selection-wrapper {
                grid-template-columns: 1fr;
            }

            .department-panel {
                border-right: none;
                border-bottom: 1px solid #dee2e6;
            }
        }

        @media (max-width: 768px) {
            .hero h1 { font-size: 2.5rem; }
            .hero p { font-size: 1.1rem; }
            .chatbots-grid { grid-template-columns: 1fr; }
            .form-row { grid-template-columns: 1fr; }
            .btn-container { flex-direction: column; }
            .booking-container { width: 100%; max-height: 95vh; }
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from { transform: translateY(50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }