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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f5f7fa;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 5%;
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo i {
            font-size: 2rem;
            color: #2a9d8f;
        }

        .logo h1 {
            color: #264653;
            font-size: 1.8rem;
        }

        .register-btn {
            background-color: #2a9d8f;
            color: white;
            padding: 0.8rem 1.5rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: background-color 0.3s;
        }

        .register-btn:hover {
            background-color: #21867a;
        }

        .hero {
            background: linear-gradient(135deg, #e8f4f8 0%, #d1e7f0 100%);
            padding: 4rem 5%;
            text-align: center;
        }

        .hero-content h2 {
            color: #264653;
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .hero-content p {
            color: #457b9d;
            font-size: 1.2rem;
            margin-bottom: 2rem;
        }

        .search-container {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .search-box {
            display: flex;
            gap: 10px;
        }

        .search-box input {
            flex: 1;
            padding: 1rem;
            border: 2px solid #ddd;
            border-radius: 50px;
            font-size: 1rem;
            outline: none;
            transition: border-color 0.3s;
        }

        .search-box input:focus {
            border-color: #2a9d8f;
        }

        .search-box button {
            background-color: #264653;
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: background-color 0.3s;
        }

        .search-box button:hover {
            background-color: #d65c40;
        }

        .location-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }

        .location-select {
            padding: 0.8rem 1rem;
            border: 2px solid #ddd;
            border-radius: 50px;
            font-size: 0.9rem;
            background-color: white;
            cursor: pointer;
            transition: all 0.3s;
        }

        .location-select:focus {
            border-color: #2a9d8f;
            outline: none;
        }

        .specializations-section, .doctors-section {
            padding: 3rem 5%;
        }

        h3 {
            color: #264653;
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .specializations-container {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: center;
            margin-bottom: 3rem;
        }

        .specialization-btn {
            background-color: white;
            border: 2px solid #2a9d8f;
            color: #2a9d8f;
            padding: 0.8rem 1.5rem;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .specialization-btn:hover {
            background-color: #2a9d8f;
            color: white;
        }

        .doctors-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
        }

        .doctor-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .doctor-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }

        .profile-img {
            width: 100%;
            height: 200px;
            object-fit: 100%;
        }

        .doctor-info {
            padding: 1.5rem;
        }

        .doctor-info h4 {
            color: #264653;
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
        }

        .specialization-tag {
            display: inline-block;
            background-color: #e8f4f8;
            color: #2a9d8f;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .location-info {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 1rem;
            color: #666;
            font-size: 0.9rem;
        }

        .location-info i {
            color: #e76f51;
        }

        .hospital-name {
            font-weight: 600;
            color: #264653;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .doctor-info p {
            color: #666;
            margin-bottom: 1rem;
            line-height: 1.5;
        }

        .experience {
            color: #264653;
            font-weight: 600;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .contact-btn {
            background-color: #264653;
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            width: 100%;
            transition: background-color 0.3s;
        }

        .contact-btn:hover {
            background-color: #1d3557;
        }

        footer {
            background-color: #264653;
            color: white;
            text-align: center;
            padding: 2rem 5%;
            margin-top: 3rem;
        }

        footer p {
            margin-bottom: 0.5rem;
        }

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
        }

        .modal-content {
            background-color: white;
            margin: 5% auto;
            padding: 2rem;
            border-radius: 10px;
            width: 90%;
            max-width: 500px;
            position: relative;
            max-height: 80vh;
            overflow-y: auto;
        }

        .close {
            position: absolute;
            right: 1rem;
            top: 1rem;
            font-size: 1.5rem;
            cursor: pointer;
            color: #666;
        }

        .close:hover {
            color: #333;
        }

        #doctorContactInfo {
            margin-top: 1rem;
        }

        .contact-info-item {
            margin-bottom: 1rem;
            padding: 1rem;
            background-color: #f8f9fa;
            border-radius: 5px;
        }

        .contact-info-item i {
            color: #2a9d8f;
            margin-right: 10px;
            width: 20px;
        }

        /* Registration Form Styles */
        .registration-form {
            max-width: 600px;
            margin: 2rem auto;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #264653;
            font-weight: 600;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 0.8rem;
            border: 2px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            border-color: #2a9d8f;
            outline: none;
        }

        .form-group textarea {
            height: 120px;
            resize: vertical;
        }

        .form-row {
            display: flex;
            gap: 15px;
        }

        .form-row .form-group {
            flex: 1;
        }

        .submit-btn {
            background-color: #2a9d8f;
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 5px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            width: 100%;
            transition: background-color 0.3s;
        }

        .submit-btn:hover {
            background-color: #21867a;
        }

        .submit-btn:disabled {
            background-color: #cccccc;
            cursor: not-allowed;
        }

        .message {
            padding: 1rem;
            border-radius: 5px;
            margin: 1rem 0;
            text-align: center;
            display: none;
        }

        .success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .error {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        .info {
            background-color: #d1ecf1;
            color: #0c5460;
            border: 1px solid #bee5eb;
        }

        .no-doctors {
            text-align: center;
            color: #666;
            font-size: 1.2rem;
            grid-column: 1 / -1;
            padding: 2rem;
        }

        /* Tabs for switching between browse and register */
        .tabs {
            display: flex;
            justify-content: center;
            margin-top: 1rem;
        }

        .tab-btn {
            padding: 1rem 2rem;
            background: none;
            border: none;
            font-size: 1.1rem;
            font-weight: 600;
            color: #666;
            cursor: pointer;
            border-bottom: 3px solid transparent;
            transition: all 0.3s;
        }

        .tab-btn.active {
            color: #2a9d8f;
            border-bottom: 3px solid #2a9d8f;
        }

        .tab-content {
            display: none;
            animation: fadeIn 0.5s;
        }

        .tab-content.active {
            display: block;
        }

        /* Success Modal Styles */
        .success-modal .modal-content {
            text-align: center;
            padding: 3rem;
        }

        .success-icon {
            font-size: 4rem;
            color: #2a9d8f;
            margin-bottom: 1.5rem;
        }

        .success-modal h3 {
            color: #2a9d8f;
            margin-bottom: 1rem;
        }

        .success-modal p {
            color: #666;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .continue-btn {
            background-color: #2a9d8f;
            color: white;
            border: none;
            padding: 0.8rem 2rem;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            font-size: 1rem;
            transition: background-color 0.3s;
        }

        .continue-btn:hover {
            background-color: #21867a;
        }

        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid #2a9d8f;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

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

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

        /* Responsive Design */
        @media (max-width: 768px) {
            .hero-content h2 {
                font-size: 2rem;
            }
            
            .search-box {
                flex-direction: column;
            }
            
            .search-box button {
                justify-content: center;
            }
            
            .doctors-container {
                grid-template-columns: 1fr;
            }
            
            .navbar {
                flex-direction: column;
                gap: 1rem;
            }
            
            .location-filters {
                flex-direction: column;
            }
            
            .form-row {
                flex-direction: column;
                gap: 0;
            }
            
            .success-modal .modal-content {
                padding: 2rem;
            }
        }
