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

:root {
    --primary-color: #0EA5E9;
    --secondary-color: #0284C7;
    --accent-color: #06B6D4;
    --background-color: #FFFFFF;
    --text-color: #1E293B;
}

body {
    font-family: 'Cairo', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.specialization {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Theme-specific hero styles */
.theme-modern .hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    padding: 80px 20px;
}

.theme-modern .profile-img {
    border-radius: 20px;
    width: 180px;
    height: 180px;
}

.theme-minimal .hero {
    background: var(--background-color);
    color: var(--text-color);
    border-bottom: 3px solid var(--primary-color);
}

.theme-minimal .profile-img {
    border-color: var(--primary-color);
}

.theme-elegant .hero {
    background: #111827;
    border-top: 4px solid var(--primary-color);
}

/* Sections */
section {
    padding: 60px 20px;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: var(--background-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-item.clinics-section {
    grid-column: span 2;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-item p {
    margin-bottom: 8px;
    color: #555;
}

.clinic-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
}

.clinic-card:last-child {
    margin-bottom: 0;
}

.clinic-name {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.clinic-address {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.clinic-hours p {
    margin-bottom: 4px;
    font-size: 0.95rem;
}

/* Appointment Section */
.appointment {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.appointment-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid transparent;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: white;
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px #0EA5E920;
}

.form-group select:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-primary {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px #0EA5E940;
}

/* Social Section */
.social {
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.social h3 {
    color: white;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-links a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.social-links a:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .appointment-form {
        padding: 20px;
    }
    
    .profile-img {
        width: 120px;
        height: 120px;
    }
}