:root {
    --teal-dark: #1b6374;
    --teal-light: #4fa1b3;
    --green: #61a92d;
    --bg-light: #f4f8f9;
    --text-dark: #2c3e50;
    --border-color: #e2edf0;
    --card-shadow: 0 10px 30px rgba(27, 99, 116, 0.05);
}

/* التنسيقات العامة */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Tajawal', sans-serif;
    scroll-behavior: smooth;
    text-decoration: none;
    list-style: none;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* الهيدر وشريط التنقل */
header {
    background: white;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--teal-dark);
}

header .logo span {
    color: var(--teal-light);
    font-size: 16px;
    font-weight: 400;
    display: block;
}

header nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

header nav a {
    color: var(--text-dark);
    font-weight: 500;
    transition: 0.3s ease;
}

header nav a:hover {
    color: var(--teal-dark);
}

.login-btn-header {
    background: var(--teal-dark);
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(27, 99, 116, 0.15);
}

.login-btn-header:hover {
    background: var(--teal-light);
}

/* قسم الهيرو الرئيسي */
.hero-section {
    padding: 80px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background: radial-gradient(circle at top right, #eef7f9 0%, var(--bg-light) 100%);
}

.hero-content {
    max-width: 600px;
}

.hero-content .badge {
    background: #e6f4f7;
    color: var(--teal-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 42px;
    color: var(--teal-dark);
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-content p {
    color: #64748b;
    font-size: 16px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: var(--teal-dark);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(27, 99, 116, 0.15);
}

.btn-primary:hover {
    background: #124754;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--teal-dark);
    border: 1.5px solid var(--border-color);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #f8fafc;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(27, 99, 116, 0.08);
}

/* شريط الإحصائيات */
.stats-section {
    background: white;
    margin: -40px 8% 60px 8%;
    padding: 35px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    display: flex;
    justify-content: space-around;
    text-align: center;
    position: relative;
    z-index: 10;
}

.stat-box h3 {
    font-size: 32px;
    color: var(--teal-dark);
    margin-bottom: 5px;
}

.stat-box p {
    color: #718096;
    font-size: 14px;
}

/* قسم العيادات والأقسام */
.departments-section {
    padding: 60px 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 28px;
    color: var(--teal-dark);
    margin-bottom: 10px;
}

.section-title p {
    color: #718096;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.dept-card {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #edf4f5;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    font-size: 35px; /* لتكبير الأيقونات التعبيرية */
}

.dept-card h3 {
    font-size: 18px;
    color: var(--teal-dark);
    margin: 15px 0 10px 0;
}

.dept-card p {
    font-size: 14px;
    color: #718096;
}

.dept-card:hover {
    transform: translateY(-5px);
    border-color: var(--teal-light);
}

/* قسم الخدمات المتكاملة */
.services-section {
    background: white;
    padding: 80px 8%;
    margin-top: 40px;
}

.services-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.services-info {
    max-width: 500px;
}

.services-info h2 {
    font-size: 32px;
    color: var(--teal-dark);
    margin-bottom: 20px;
}

.services-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
    max-width: 550px;
}

.service-card-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 18px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.service-card-item .icon {
    font-size: 28px;
    background: white;
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.service-card-item h3 {
    font-size: 16px;
    color: var(--teal-dark);
    margin-bottom: 5px;
}

.service-card-item p {
    font-size: 14px;
    color: #64748b;
}

/* الفوتر */
footer {
    background: var(--teal-dark);
    color: white;
    text-align: center;
    padding: 25px;
    font-size: 14px;
    margin-top: 60px;
}