/* استيراد الأنماط من الملف الأصلي مع إضافة تحسينات لووردبريس */

/* أنماط وردبريس الأساسية */
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 100%;
    padding: 5px;
    text-align: center;
}

.wp-caption-text {
    margin: 10px 0;
}

.sticky {
    position: relative;
}

.bypostauthor {
    font-size: inherit;
}

.gallery-caption {
    font-style: italic;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* أنماط التنقل */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    gap: 10px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light);
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.pagination a:hover,
.pagination .current {
    background: var(--gradient);
    color: var(--white);
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 15px;
    border-radius: 30px;
}

/* أنماط التعليقات */
.comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--light);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    background: var(--white);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.comment-author .avatar {
    border-radius: 50%;
    margin-left: 10px;
}

.comment-metadata {
    color: var(--gray);
    font-size: 0.9rem;
}

.comment-reply-link {
    background: var(--gradient);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.comment-reply-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(115, 76, 150, 0.3);
}

/* أنماط النماذج */
.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light);
    border-radius: 8px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(115, 76, 150, 0.1);
}

/* أنماط الويدجات */
.widget {
    background: var(--white);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.widget-title {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
    font-size: 1.3rem;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid var(--light);
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.widget a:hover {
    color: var(--primary);
    padding-right: 5px;
}

/* أنماط الاستجابة */
@media (max-width: 768px) {
    .pagination a:not(.prev):not(.next):not(.current) {
        display: none;
    }
    
    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-author .avatar {
        margin-left: 0;
        margin-bottom: 10px;
    }
}

/* تعريف الخطوط المحلية */
@font-face {
    font-family: 'Ithra';
    src: url('https://aman.hospital.ye/fonts/Ithra-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('https://aman.hospital.ye/fonts/MyriadPro-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #734C96; /* بنفسجي غامق */
    --primary-dark: #5a3a75;
    --primary-light: #8d6bad;
    --secondary: #55B6D8; /* سماوي */
    --secondary-light: #77c8e3;
    --accent: #ff5722;
    --light: #f5f5f5;
    --dark: #263238;
    --gray: #78909c;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

/* للغة العربية */
body:lang(ar),
html[lang="ar"] body {
    text-align: right;
}

/* للغة الإنجليزية */
body:lang(en),
html[lang="en"] body {
    text-align: left;
}

/* تطبيق الخط الإنجليزي على العناصر التي تحتوي على نصوص إنجليزية */
.english-text, 
.doctor-specialty,
.stat-number,
.top-bar-info span,
.btn,
.tab-btn,
.contact-info-label,
.timeline-year,
.contract-number,
.category-btn,
.news-category-filter {
    
}

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

/* Top Bar Styles */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-info i {
    color: var(--secondary-light);
}

.top-bar-social {
    display: flex;
    gap: 15px;
}

.top-bar-social a {
    color: var(--white);
    transition: var(--transition);
}

.top-bar-social a:hover {
    color: var(--secondary-light);
    transform: translateY(-2px);
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo img {
    height: 50px;
    margin-left: 10px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo h1 {
    font-size: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
	margin-left: 10px;
    font-weight: 800;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}


/* تحسينات القوائم المنسدلة */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    position: relative;
    margin: 0 5px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    padding: 10px 15px;
    display: block;
    transition: var(--transition);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--gradient);
    transition: var(--transition);
}

nav ul li a:hover::before,
nav ul li a.active::before {
    width: 100%;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a.active {
    color: var(--primary);
}

/* إصلاح القوائم الفرعية - التعديل الرئيسي */
nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    z-index: 1000;
    border-top: 3px solid var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

nav ul li:hover > ul {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

nav ul li ul li {
    margin: 0;
    width: 100%;
}

nav ul li ul li a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

nav ul li ul li:last-child a {
    border-bottom: none;
}

nav ul li ul li a:hover {
    background-color: var(--light);
    color: var(--primary);
    padding-right: 25px;
}

/* القوائم من المستوى الثالث */
nav ul li ul ul {
    right: 100%;
    top: 0;
}

nav ul li ul li:hover > ul {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* سهم للإشارة إلى وجود قوائم فرعية */
nav ul li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 5px;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

nav ul li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* للقوائم الفرعية التي تحتوي على قوائم فرعية */
nav ul li ul li.menu-item-has-children > a::after {
    content: '\f105';
    transform: rotate(0);
}

nav ul li ul li.menu-item-has-children:hover > a::after {
    transform: rotate(90deg);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    transform: rotate(90deg);
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(115, 76, 150, 0.8), rgba(85, 182, 216, 0.8)), url('https://images.unsplash.com/photo-1559757175-0eb30cd8c063?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    color: var(--white);
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 800;
}

.page-header p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 20px;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.breadcrumb li {
    margin: 0 10px;
    position: relative;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    position: absolute;
    left: -15px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--secondary-light);
}

/* Vision Mission Section - المدمج */
.vision-mission-section {
    padding: 100px 0;
    background-color: var(--white);
}

.vm-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 992px) {
    .vm-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.vm-card {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2.2rem;
    color: var(--white);
    transition: var(--transition);
}

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

.vm-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 800;
}

.vm-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark);
}

/* Values Section - المدمج */
.values-section {
    padding: 100px 0;
    background-color: var(--light);
    position: relative;
}

.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
    transition: var(--transition);
}

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

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.value-card p {
    color: var(--gray);
}

/* Goals Section - المدمج */
.goals-section {
    padding: 100px 0;
    background-color: var(--white);
}

.goals-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.goal-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.goal-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
    font-family: 'MyriadPro', sans-serif;
}

.goal-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.goal-card p {
    color: var(--gray);
    flex-grow: 1;
}

/* Commitment Section - المدمج */
.commitment-section {
    padding: 100px 0;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.commitment-container {
    max-width: 800px;
    margin: 0 auto;
}

.commitment-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 800;
}

.commitment-container p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.8;
}

/* Sections Header - المدمج */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.section-header h2 {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 800;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-header p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

/* بقية الأقسام من الملف الرئيسي */
.news-listing-section {
    padding: 80px 0;
    background-color: var(--white);
}

.news-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.news-search {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.news-search input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--light);
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.news-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(115, 76, 150, 0.1);
}

.news-search button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

html[dir="rtl"] .news-search button {
    right: auto;
    left: 15px;
}

.news-search button:hover {
    color: var(--secondary);
}

.news-category-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 20px;
    background-color: var(--light);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.category-btn.active,
.category-btn:hover {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.news-category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--white);
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
    line-height: 1.4;
}

.news-content p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.7;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--gray);
    font-size: 0.9rem;
}

.news-author {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-link {
    display: inline-block;
    padding: 15px 35px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(115, 76, 150, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 1.1rem;
    font-family: 'MyriadPro', sans-serif;
}

.news-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.news-link:hover::after {
    width: 100%;
}

.news-link:hover {
    color: var(--secondary);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light);
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.pagination a.active,
.pagination a:hover {
    background: var(--gradient);
    color: var(--white);
}

.pagination a.prev,
.pagination a.next {
    width: auto;
    padding: 0 15px;
    border-radius: 30px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-container h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.newsletter-container p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* === أقسام العقود المدمجة === */
.contracts-intro-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contracts-intro-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contracts-intro-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 800;
}

.contracts-intro-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--dark);
}

.contracts-intro-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.contracts-intro-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.1;
    z-index: 1;
    transition: var(--transition);
}

.contracts-intro-image:hover::before {
    opacity: 0;
}

.contracts-intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.contracts-intro-image:hover img {
    transform: scale(1.05);
}

/* Contract Types Section */
.contract-types-section {
    padding: 100px 0;
    background-color: var(--light);
    position: relative;
}

.contract-types-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.contract-type-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contract-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.contract-type-card:hover::before {
    transform: scaleX(1);
}

.contract-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contract-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

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

.contract-type-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.contract-type-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.contract-features {
    list-style: none;
    text-align: right;
    margin-bottom: 25px;
}

.contract-features li {
    margin-bottom: 10px;
    position: relative;
    padding-right: 25px;
}

.contract-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--secondary);
}

/* Partners Section */
.partners-section {
    padding: 100px 0;
    background-color: var(--white);
}

.partners-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.partner-card {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    transition: var(--transition);
}

.partner-card:hover .partner-logo img {
    filter: grayscale(0%);
}

.partner-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background-color: var(--light);
}

.process-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    background-color: var(--white);
    padding: 40px 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
    font-family: 'MyriadPro', sans-serif;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.process-step p {
    color: var(--gray);
}

/* Contact Contracts Section */
.contact-contracts-section {
    padding: 100px 0;
    background: var(--gradient);
    color: var(--white);
}

.contact-contracts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-contracts-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 800;
}

.contact-contracts-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-info-list i {
    margin-left: 15px;
	margin-right: 15px;
    font-size: 1.5rem;
    color: var(--secondary-light);
}

/* === الأقسام الأصلية من الملف الرئيسي === */
.about-intro-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-intro-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 800;
}

.about-intro-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--dark);
}

.about-intro-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.about-intro-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.1;
    z-index: 1;
    transition: var(--transition);
}

.about-intro-image:hover::before {
    opacity: 0;
}

.about-intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-intro-image:hover img {
    transform: scale(1.05);
}

/* Mission Vision Values Section */
.mission-vision-section {
    padding: 100px 0;
    background-color: var(--light);
    position: relative;
}

.mvv-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mvv-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.mvv-card:hover::before {
    transform: scaleX(1);
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

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

.mvv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.mvv-card p {
    color: var(--gray);
}

/* History Timeline Section */
.history-section {
    padding: 100px 0;
    background-color: var(--white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    width: 3px;
    background: var(--gradient);
    transform: translateX(50%);
}

.timeline-item {
    padding: 20px 0;
    position: relative;
    width: 100%;
}

.timeline-content {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
    width: calc(50% - 40px);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--gradient);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -50px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -50px;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.timeline-content p {
    color: var(--gray);
}

/* Leadership Section */
.leadership-section {
    padding: 100px 0;
    background-color: var(--light);
}

.leadership-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.leader-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.leader-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.leader-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.leader-card:hover .leader-img img {
    transform: scale(1.05);
}

.leader-content {
    padding: 25px 20px;
}

.leader-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.leader-position {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    font-family: 'MyriadPro', sans-serif;
    font-size: 1rem;
}

.leader-content p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Certifications Section */
.certifications-section {
    padding: 100px 0;
    background-color: var(--white);
}

.certifications-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.certification-item {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.certification-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.certification-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--white);
}

.certification-item h3 {
    font-size: 1.2rem;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(rgba(115, 76, 150, 0.9), rgba(85, 182, 216, 0.9)), url('https://images.unsplash.com/photo-1586773860418-d37222d8fce3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 800;
}

.cta-container p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* حل بديل باستخدام !important للتأكد من التطبيق */
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

/* إعادة تعيين كاملة للغات الإنجليزية */
html[lang="en"] .contact-info h2,
html[lang="en-US"] .contact-info h2,
.pll-language-eng .contact-info h2,
.lang-en .contact-info h2 {
    text-align: left !important;
}

html[lang="en"] .contact-info h2::after,
html[lang="en-US"] .contact-info h2::after,
.pll-language-eng .contact-info h2::after,
.lang-en .contact-info h2::after {
    right: auto !important;
    left: 0 !important;
}

/* تأكيد المحاذاة للغات العربية */
html[lang="ar"] .contact-info h2,
.pll-language-ara .contact-info h2,
.lang-ar .contact-info h2 {
    text-align: right !important;
}

html[lang="ar"] .contact-info h2::after,
.pll-language-ara .contact-info h2::after,
.lang-ar .contact-info h2::after {
    left: auto !important;
    right: 0 !important;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-left: 20px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
	margin-left: 15px;
}

.contact-details p {
    color: var(--gray);
    margin-bottom: 5px;
    font-family: 'Ithra', 'Tajawal', sans-serif;
	margin-left: 15px;
}

.contact-details a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary);
}

.social-contact {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-contact a {
    width: 45px;
    height: 45px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-contact a:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.contact-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

/* المحاذاة الافتراضية للعربية */
.contact-form h2 {
    text-align: right;
}
.contact-form h2::after {
    right: 0;
    left: auto;
}

/* إعادة التعيين الكامل للغات الإنجليزية */
html[lang="en"] .contact-form h2,
html[lang="en-US"] .contact-form h2,
html[lang="en-GB"] .contact-form h2,
body[class*="lang-en"] .contact-form h2,
body[class*="ltr"] .contact-form h2,
[dir="ltr"] .contact-form h2,
.pll-language-eng .contact-form h2 {
    text-align: left !important;
}

html[lang="en"] .contact-form h2::after,
html[lang="en-US"] .contact-form h2::after,
html[lang="en-GB"] .contact-form h2::after,
body[class*="lang-en"] .contact-form h2::after,
body[class*="ltr"] .contact-form h2::after,
[dir="ltr"] .contact-form h2::after,
.pll-language-eng .contact-form h2::after {
    right: auto !important;
    left: 0 !important;
}

/* تأكيد المحاذاة للغات العربية */
html[lang="ar"] .contact-form h2,
body[class*="lang-ar"] .contact-form h2,
body[class*="rtl"] .contact-form h2,
[dir="rtl"] .contact-form h2,
.pll-language-ara .contact-form h2 {
    text-align: right !important;
}

html[lang="ar"] .contact-form h2::after,
body[class*="lang-ar"] .contact-form h2::after,
body[class*="rtl"] .contact-form h2::after,
[dir="rtl"] .contact-form h2::after,
.pll-language-ara .contact-form h2::after {
    left: auto !important;
    right: 0 !important;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--light);
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(115, 76, 150, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(115, 76, 150, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 1.1rem;
    font-family: 'MyriadPro', sans-serif;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(115, 76, 150, 0.5);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-light {
    background: transparent;
    border: 2px solid var(--white);
    box-shadow: none;
}

.btn-light:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* Map Section */
.map-section {
    padding: 0 0 100px;
}

.map-container {
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: var(--white);
}

.faq-question {
    padding: 20px;
    background-color: var(--light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-question:hover {
    background-color: rgba(115, 76, 150, 0.05);
}

.faq-question i {
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Hero Slider محسن */
.hero-slider {
    margin-top: 0;
    position: relative;
    height: 700px;
    overflow: hidden;
    padding: 0 !important;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
    color: var(--white);
}

/* إزالة الـ padding من سلايدر الأطباء فقط */
.doctors-slider .swiper-slide {
    padding: 0 !important;
}

/* الحفاظ على الـ padding للسلايدر الرئيسي */
.hero-slider .swiper-slide {
    padding: 0 60px;
}

.slide-content {
    max-width: 650px;
    z-index: 2;
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease 0.3s;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.swiper-slide-active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: all 0.5s ease;
}

.swiper-slide h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    line-height: 1.2;
    font-weight: 800;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.swiper-slide p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    line-height: 1.8;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Swiper Navigation Customization */
.swiper-button-next, .swiper-button-prev {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.2rem;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--white);
    transform: scale(1.2);
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

/* About Section */
.about-section {
    background-color: var(--light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--dark);
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.1;
    z-index: 1;
    transition: var(--transition);
}

.about-image:hover::before {
    opacity: 0;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Mission Vision - التعديلات الجديدة */
.mission-vision {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(115, 76, 150, 0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.mv-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.mv-card {
    background-size: cover;
    background-position: center;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    cursor: pointer;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    transition: var(--transition);
    z-index: 1;
}

.mv-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.mv-card:hover::after {
    opacity: 0.2;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.mv-card:hover .mv-title {
    transform: translateY(-30px);
}

.mv-card:hover .mv-details {
    opacity: 1;
    transform: translateY(0);
    max-height: 200px;
}

.mv-card:hover .mv-bg {
    transform: scale(1.1);
}

.mv-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    z-index: 0;
}

.mv-content {
    position: relative;
    z-index: 3;
    transition: var(--transition);
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.mv-title {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 15px;
    transition: var(--transition);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.mv-details {
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    max-height: 0;
    overflow: hidden;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

/* News Section - قسم الأخبار الجديد */
.news-section {
    background-color: var(--white);
}

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

/* Doctors Section - قسم الأطباء المحسن */
.doctors-section {
    background-color: var(--light);
    position: relative;
}

.doctors-slider-container {
    position: relative;
    padding: 0 50px;
}

.doctors-slider {
    overflow: hidden;
}

.doctors-slider .swiper-slide {
    height: auto;
}

.doctor-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    margin: 10px;
    position: relative;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.doctor-img {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.doctor-card:hover .doctor-img img {
    transform: scale(1.05);
}

.doctor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
}

.doctor-card:hover .doctor-overlay {
    opacity: 1;
}

.doctor-social {
    display: flex;
    gap: 10px;
}

.doctor-social a {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.doctor-social a:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-3px);
}

.doctor-content {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.doctor-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.doctor-specialty {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    font-family: 'MyriadPro', sans-serif;
    font-size: 1rem;
}

.doctor-content p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.doctor-btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    align-self: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.doctor-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transition: var(--transition);
    z-index: -1;
}

.doctor-btn:hover::before {
    width: 100%;
}

.doctor-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(115, 76, 150, 0.4);
}

/* Custom Navigation for Doctors Slider */
.doctors-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary);
    font-size: 1.2rem;
}

.doctors-slider-nav:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.doctors-slider-nav-prev {
    right: 0;
}

.doctors-slider-nav-next {
    left: 0;
}

.doctors-slider-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.doctors-slider-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--gray);
    opacity: 0.5;
    transition: var(--transition);
}

.doctors-slider-pagination .swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
    transform: scale(1.2);
}

/* Departments Section - التعديلات الجديدة */
.departments-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.departments-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(85, 182, 216, 0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.department-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    z-index: 0;
}

.department-title {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
    transition: var(--transition);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.department-details {
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    max-height: 0;
    overflow: hidden;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

/* Services Section */
.services-section {
    background-color: var(--white);
}

.services-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background-color: var(--white);
    border: 2px solid var(--light);
    border-radius: 30px;
    margin: 0 10px 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-family: 'MyriadPro', sans-serif;
}

.tab-btn.active {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

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

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
    position: relative;
    z-index: 1;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.service-card p {
    color: var(--gray);
    position: relative;
    z-index: 1;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: var(--gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 20px;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    font-family: 'MyriadPro', sans-serif;
}

.stat-text {
    font-size: 1.1rem;
    opacity: 0.9;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

/* News Details Section - المدمج من الملف الأول */
.news-details-section {
    padding: 60px 0;
    background-color: var(--white);
}

.news-details-container {
    max-width: 900px;
    margin: 0 auto;
}

.news-details-header {
    margin-bottom: 30px;
    text-align: center;
}

.news-details-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.3;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.news-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--gray);
}

.news-date, .news-category {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-date i, .news-category i {
    color: var(--secondary);
}

.news-details-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.news-details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-details-image:hover img {
    transform: scale(1.02);
}

.news-details-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.news-details-content p {
    margin-bottom: 20px;
    color: var(--dark);
}

.news-details-content h2, .news-details-content h3 {
    color: var(--primary);
    margin: 30px 0 15px;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.news-details-content h2 {
    font-size: 1.8rem;
}

.news-details-content h3 {
    font-size: 1.5rem;
}

.news-details-content ul, .news-details-content ol {
    margin: 20px 0;
    padding-right: 20px;
}

.news-details-content li {
    margin-bottom: 10px;
}

.news-details-content blockquote {
    border-right: 4px solid var(--secondary);
    padding: 20px;
    background-color: var(--light);
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.news-details-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.news-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.news-tags span {
    font-weight: 600;
    color: var(--primary);
}

.tag {
    background-color: var(--light);
    color: var(--dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.news-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.news-share span {
    font-weight: 600;
    color: var(--primary);
}

.share-icons {
    display: flex;
    gap: 10px;
}

.share-icons a {
    width: 40px;
    height: 40px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.share-icons a:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    background-color: var(--light);
}

.btn-back:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Related News Section - المدمج من الملف الأول */
.related-news-section {
    padding: 60px 0;
    background-color: var(--light);
}

.related-news-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.related-news-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.related-news-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.related-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-news-card:hover .related-news-img img {
    transform: scale(1.1);
}

.related-news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.related-news-content {
    padding: 20px;
}

.related-news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.related-news-content p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 70px 0 0;
    position: relative;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
    text-align: right; /* المحاذاة الافتراضية للعربية */
}

/* الخط الأساسي - للغات RTL */
.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient);
}

.footer-col p {
    margin-bottom: 20px;
    opacity: 0.8;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    display: flex;
    align-items: center;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.footer-links a i {
    margin-left: 8px;
    font-size: 0.8rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-light);
    transform: translateX(-5px);
}

/* إعدادات خاصة للغات LTR (مثل الإنجليزية) */
html[lang="en"] .footer-col h3,
html[lang="en-US"] .footer-col h3,
html[lang="en-GB"] .footer-col h3 {
    text-align: left;
}

html[lang="en"] .footer-col h3::after,
html[lang="en-US"] .footer-col h3::after,
html[lang="en-GB"] .footer-col h3::after {
    right: auto;
    left: 0;
}

/* إعدادات خاصة للغات RTL (مثل العربية) */
html[lang="ar"] .footer-col h3 {
    text-align: right;
}

html[lang="ar"] .footer-col h3::after {
    left: auto;
    right: 0;
}

/* بدائل باستخدام فئات Polylang */
.pll-language-eng .footer-col h3,
.lang-en .footer-col h3 {
    text-align: left;
}

.pll-language-eng .footer-col h3::after,
.lang-en .footer-col h3::after {
    right: auto;
    left: 0;
}

.pll-language-ara .footer-col h3,
.lang-ar .footer-col h3 {
    text-align: right;
}

.pll-language-ara .footer-col h3::after,
.lang-ar .footer-col h3::after {
    left: auto;
    right: 0;
}

/* تعديلات للروابط في اللغات المختلفة */
html[lang="en"] .footer-links a i,
.pll-language-eng .footer-links a i,
.lang-en .footer-links a i {
    margin-left: 0;
    margin-right: 8px;
}

html[lang="en"] .footer-links a:hover,
.pll-language-eng .footer-links a:hover,
.lang-en .footer-links a:hover {
    transform: translateX(5px);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info i {
    margin-left: 10px;
    font-size: 1.2rem;
    color: var(--secondary-light);
    margin-top: 3px;
	margin-right: 10px;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

/* Floating Elements */
.floating-elem {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
    background-color: rgba(115, 76, 150, 0.1);
    overflow: hidden;
}

.floating-elem::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; /* تحكم في حجم الصورة داخل الفقاعة */
    height: 80%;
    background-image: url('https://aman.hospital.ye/wp-content/uploads/Nlogo-1.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6; /* شفافية الصورة فقط */
}


.elem-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.elem-2 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

.elem-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    right: 5%;
    animation-delay: 4s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

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

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Particle Background */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

/* === Responsive Design === */

@media (max-width: 1200px) {
    .doctors-slider .swiper-slide {
        width: calc(33.333% - 20px) !important;
    }
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .top-bar-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .doctors-slider .swiper-slide {
        width: calc(50% - 20px) !important;
    }
    
    /* الأقسام المدمجة - Responsive */
    .about-intro-container,
    .vm-container,
    .contracts-intro-container,
    .contact-contracts-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mvv-container {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        right: 30px;
        transform: none;
    }
    
    .timeline-content {
        width: calc(100% - 70px);
        margin-right: auto !important;
        margin-left: 0 !important;
    }
    
    .timeline-content::before {
        right: -50px !important;
        left: auto !important;
    }
    
    /* News Details Responsive */
    .news-details-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 999;
        padding: 20px;
        overflow-y: auto;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
    }
    
    nav ul li a {
        padding: 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    /* تحسينات القوائم المنسدلة للجوال */
    nav ul li ul {
        position: static;
        display: none;
        box-shadow: none;
        background-color: transparent;
        margin-right: 20px;
        border-top: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    nav ul li:hover > ul {
        display: block;
    }
    
    nav ul li ul li a {
        padding: 10px 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .swiper-slide {
        padding: 0 30px;
    }
    
    .swiper-slide h2 {
        font-size: 2.2rem;
    }
    .swiper-slide p {
        font-size: 1rem;
    }
    .hero-slider {
        height: 500px;
    }
    
    .top-bar {
        display: none;
    }
    
    .doctors-slider .swiper-slide {
        width: calc(100% - 20px) !important;
    }

    .doctors-slider-container {
        padding: 0 20px;
    }

    .doctors-slider-nav {
        display: none;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .mv-container {
        grid-template-columns: 1fr;
    }
    
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .contracts-intro-content h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .contact-contracts-content h2 {
        font-size: 2rem;
    }
    
    /* News Details Responsive */
    .news-details-image {
        height: 250px;
    }
    
    .news-details-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* News Listing Responsive */
    .news-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .news-search {
        max-width: 100%;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination a:not(.prev):not(.next):not(.active) {
        display: none;
    }
    
    .vm-card {
        padding: 30px 25px;
    }
    
    .vm-card h2 {
        font-size: 1.7rem;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-slider {
        height: 450px;
    }
    
    .swiper-slide h2 {
        font-size: 1.8rem;
    }
    
    .swiper-slide p {
        font-size: 0.9rem;
    }
    
    .mv-card {
        height: 300px;
        padding: 20px;
    }
    
    .mv-title {
        font-size: 1.5rem;
    }
   
    
    .department-title {
        font-size: 1.3rem;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-intro-content h2 {
        font-size: 2rem;
    }
    
    .cta-container h2 {
        font-size: 2rem;
    }
    
    .contract-types-container,
    .partners-container,
    .process-container,
    .values-container,
    .goals-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .commitment-container h2 {
        font-size: 2rem;
    }
    
    /* News Details Responsive */
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .news-details-header h1 {
        font-size: 1.7rem;
    }
    
    .related-news-container {
        grid-template-columns: 1fr;
    }
}

        /* أنماط إضافية خاصة بصفحة الأطباء */
        .doctors-page-header {
            background: linear-gradient(rgba(115, 76, 150, 0.8), rgba(85, 182, 216, 0.8)), url('https://images.unsplash.com/photo-1582750433449-648ed127bb54?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80');
     background-size: cover;
     background-position: center;
     padding: 120px 0 80px;
     color: var(--white);
     text-align: center;
     position: relative;
 }

 .doctors-filter-section {
     padding: 50px 0;
     background-color: var(--light);
 }

 .filter-container {
     display: flex;
     flex-wrap: wrap;
     gap: 15px;
     justify-content: center;
     margin-bottom: 30px;
 }

 .filter-btn {
     padding: 10px 20px;
     background-color: var(--white);
     border: 2px solid var(--light);
     border-radius: 30px;
     font-weight: 600;
     cursor: pointer;
     transition: var(--transition);
     box-shadow: var(--shadow);
     font-family: 'MyriadPro', sans-serif;
 }

 .filter-btn.active,
 .filter-btn:hover {
     background: var(--gradient);
     color: var(--white);
     border-color: transparent;
 }

 .doctors-grid-section {
     padding: 80px 0;
     background-color: var(--white);
 }

 .doctors-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
     gap: 30px;
 }

 .doctor-detail-card {
     background-color: var(--white);
     border-radius: 15px;
     overflow: hidden;
     box-shadow: var(--shadow);
     transition: var(--transition);
     text-align: center;
     display: flex;
     flex-direction: column;
     position: relative;
 }

 .doctor-detail-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
 }

 .doctor-detail-img {
     height: 280px;
     overflow: hidden;
     position: relative;
 }

 .doctor-detail-img img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: var(--transition);
 }

 .doctor-detail-card:hover .doctor-detail-img img {
     transform: scale(1.05);
 }

 .doctor-detail-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
     opacity: 0;
     transition: var(--transition);
     display: flex;
     align-items: flex-end;
     justify-content: center;
     padding: 20px;
 }

 .doctor-detail-card:hover .doctor-detail-overlay {
     opacity: 1;
 }

 .doctor-detail-social {
     display: flex;
     gap: 10px;
 }

 .doctor-detail-social a {
     width: 40px;
     height: 40px;
     background-color: var(--white);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--primary);
     text-decoration: none;
     transition: var(--transition);
     font-size: 1.1rem;
 }

 .doctor-detail-social a:hover {
     background: var(--gradient);
     color: var(--white);
     transform: translateY(-3px);
 }

 .doctor-detail-content {
     padding: 25px 20px;
     flex-grow: 1;
     display: flex;
     flex-direction: column;
     justify-content: space-between;
 }

 .doctor-detail-content h3 {
     font-size: 1.4rem;
     margin-bottom: 8px;
     color: var(--primary);
     font-family: 'Ithra', 'Tajawal', sans-serif;
     font-weight: 700;
 }

 .doctor-detail-specialty {
     color: var(--secondary);
     font-weight: 600;
     margin-bottom: 15px;
     display: block;
     font-family: 'MyriadPro', sans-serif;
     font-size: 1rem;
 }

 .doctor-detail-content p {
     color: var(--gray);
     margin-bottom: 15px;
     line-height: 1.7;
     font-size: 0.95rem;
 }

 .doctor-detail-info {
     display: flex;
     flex-direction: column;
     gap: 10px;
     margin-bottom: 15px;
     text-align: right;
 }

 .doctor-info-item {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding-bottom: 8px;
     border-bottom: 1px solid rgba(0, 0, 0, 0.05);
 }

 .doctor-info-label {
     font-weight: 600;
     color: var(--dark);
     font-size: 0.9rem;
 }

 .doctor-info-value {
     color: var(--gray);
     font-size: 0.9rem;
 }

 .doctor-detail-btns {
     display: flex;
     gap: 10px;
     justify-content: center;
 }

 .doctor-btn {
     display: inline-block;
     padding: 12px 25px;
     background: var(--gradient);
     color: var(--white);
     border-radius: 30px;
     text-decoration: none;
     transition: var(--transition);
     font-size: 0.95rem;
     position: relative;
     overflow: hidden;
     z-index: 1;
     flex: 1;
     text-align: center;
 }

 .doctor-btn::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 0;
     height: 100%;
     background: linear-gradient(135deg, var(--secondary), var(--primary));
     transition: var(--transition);
     z-index: -1;
 }

 .doctor-btn:hover::before {
     width: 100%;
 }

 .doctor-btn:hover {
     transform: translateY(-3px);
     box-shadow: 0 5px 15px rgba(115, 76, 150, 0.4);
 }

 .doctor-btn-secondary {
     background: transparent;
     border: 2px solid var(--primary);
     color: var(--primary);
 }

 .doctor-btn-secondary:hover {
     background: var(--primary);
     color: var(--white);
 }

 .doctor-detail-modal {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(0, 0, 0, 0.7);
     z-index: 2000;
     overflow-y: auto;
     padding: 20px;
 }

 .modal-content {
     background-color: var(--white);
     margin: 50px auto;
     border-radius: 15px;
     max-width: 900px;
     position: relative;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
     animation: modalFadeIn 0.5s;
 }

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

 .doctor-modal-body {
     display: grid;
     grid-template-columns: 1fr 2fr;
     gap: 0;
 }

 .doctor-modal-img {
     height: 100%;
     overflow: hidden;
 }

 .doctor-modal-img img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .doctor-modal-content {
     padding: 30px;
 }

 .doctor-modal-header {
     margin-bottom: 20px;
     padding-bottom: 15px;
     border-bottom: 1px solid rgba(0, 0, 0, 0.1);
 }

 .doctor-modal-header h2 {
     font-size: 1.8rem;
     color: var(--primary);
     margin-bottom: 5px;
     font-family: 'Ithra', 'Tajawal', sans-serif;
     font-weight: 700;
 }

 .doctor-modal-specialty {
     color: var(--secondary);
     font-weight: 600;
     font-size: 1.1rem;
     font-family: 'MyriadPro', sans-serif;
 }

 .doctor-modal-details {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 20px;
     margin-bottom: 25px;
 }

 .doctor-modal-info-item {
     margin-bottom: 15px;
 }

 .doctor-modal-info-label {
     font-weight: 600;
     color: var(--dark);
     margin-bottom: 5px;
     font-size: 0.95rem;
 }

 .doctor-modal-info-value {
     color: var(--gray);
     font-size: 0.95rem;
 }

 .doctor-modal-bio {
     margin-bottom: 25px;
 }

 .doctor-modal-bio h3 {
     font-size: 1.3rem;
     color: var(--primary);
     margin-bottom: 10px;
     font-family: 'Ithra', 'Tajawal', sans-serif;
     font-weight: 700;
 }

 .doctor-modal-bio p {
     color: var(--gray);
     line-height: 1.7;
 }

 .doctor-modal-actions {
     display: flex;
     gap: 15px;
 }

 .no-doctors-message {
     grid-column: 1 / -1;
     text-align: center;
     padding: 40px;
     color: var(--gray);
     font-size: 1.2rem;
 }

 @media (max-width: 768px) {
     .doctor-modal-body {
         grid-template-columns: 1fr;
     }
     
     .doctor-modal-img {
         height: 300px;
     }
     
     .doctor-modal-details {
         grid-template-columns: 1fr;
     }
     
     .doctor-modal-actions {
         flex-direction: column;
     }
     
     .doctors-grid {
         grid-template-columns: 1fr;
     }a
 }

 @media (max-width: 576px) {
     .filter-container {
         flex-direction: column;
         align-items: center;
     }
     
     .filter-btn {
         width: 100%;
         max-width: 250px;
     }
 }
/* --------------------------------------------- */
/* تنسيق مفتاح تبديل اللغة */
/* أنماط زر تبديل اللغة المضغوط */
.language-switcher {
    margin-left: 10px;
    display: flex;
    align-items: center;
}

.compact-lang-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    height: 24px;
    box-sizing: border-box;
}

.compact-lang-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.lang-flag {
    font-size: 0.8rem;
    line-height: 1;
}

.lang-text {
    font-family: 'MyriadPro', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .language-switcher {
        margin-left: 8px;
    }
    
    .compact-lang-toggle {
        padding: 2px 6px;
        height: 22px;
    }
    
    .lang-text {
        font-size: 0.65rem;
    }
}

@media (max-width: 576px) {
    .compact-lang-toggle {
        gap: 3px;
        padding: 2px 5px;
    }
}
.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
}

.default-logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}
/*----------------------------------------------------------/*
/* تنسيقات Contact Form 7 لتتناسب مع التصميم الحالي */
.wpcf7-form {
    margin-top: 20px;
}

.wpcf7-form .form-group {
    margin-bottom: 25px;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.wpcf7-form .wpcf7-form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--light);
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.wpcf7-form .wpcf7-form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(115, 76, 150, 0.1);
}

.wpcf7-form .wpcf7-select {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: var(--light);
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

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

.wpcf7-form .wpcf7-submit {
    display: inline-block;
    padding: 15px 35px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(115, 76, 150, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 1.1rem;
    font-family: 'MyriadPro', sans-serif;
    width: 100%;
}

.wpcf7-form .wpcf7-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(115, 76, 150, 0.5);
}

.wpcf7-form .wpcf7-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transition: var(--transition);
    z-index: -1;
}

.wpcf7-form .wpcf7-submit:hover::before {
    width: 100%;
}

/* رسائل الاستجابة */
.wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
	color: var(--dark);
    text-align: center;
}

.wpcf7-mail-sent-ok {
    border-color: #46b450 !important;
    background-color: #f0f9f0;
    color: #2e7d32;
}

.wpcf7-validation-errors {
    border-color: #ff9800 !important;
    background-color: #fff3e0;
    color: #ef6c00;
}

.wpcf7-spinner {
    display: none;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .wpcf7-form .wpcf7-submit {
        padding: 12px 25px;
    }
}
/*-----------------------------------------------------------*/
/* تحسينات لعرض الأخبار */
.news-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-news-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
    font-size: 1.2rem;
}

.no-news-message p {
    margin: 0;
}

/* تحسينات للبحث */
.news-search form {
    display: flex;
    width: 100%;
}

.news-search input {
    flex: 1;
}

/* تحسينات للترقيم */
.pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 50%;
    background-color: var(--light);
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.pagination .current,
.pagination a:hover {
    background: var(--gradient);
    color: var(--white);
}
/*----------------------------------------*/
/* Coming Soon Page Styles */
.coming-soon-section {
    padding: 100px 0;
    background-color: var(--light);
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.coming-soon-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.coming-soon-content {
    background-color: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

.coming-soon-icon {
    width: 120px;
    height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3rem;
    color: var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.coming-soon-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 800;
}

.coming-soon-description {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Countdown Timer Styles */
.countdown-timer {
    margin: 40px 0;
    padding: 30px;
    background-color: var(--light);
    border-radius: 15px;
    border: 2px solid rgba(115, 76, 150, 0.1);
}

.countdown-timer h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.timer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.timer-item {
    background: var(--white);
    padding: 20px 10px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.timer-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.timer-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'MyriadPro', sans-serif;
    margin-bottom: 5px;
}

.timer-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
}

/* Progress Bar Styles */
.progress-section {
    margin: 40px 0;
    padding: 0 20px;
}

.progress-section h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background-color: var(--light);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
    position: relative;
    animation: progressAnimation 2s ease-in-out;
}

@keyframes progressAnimation {
    0% { width: 0%; }
    100% { width: 85%; }
}

.progress-text {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    font-family: 'MyriadPro', sans-serif;
}

/* Newsletter Styles */
.newsletter-coming-soon {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(115, 76, 150, 0.05), rgba(85, 182, 216, 0.05));
    border-radius: 15px;
    border: 2px dashed rgba(115, 76, 150, 0.2);
}

.newsletter-coming-soon h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.newsletter-coming-soon p {
    color: var(--gray);
    margin-bottom: 25px;
}

.newsletter-form {
    max-width: 400px;
    margin: 0 auto;
}

.simple-newsletter-form .form-group {
    margin-bottom: 15px;
}

.simple-newsletter-form .form-control {
    text-align: center;
    font-size: 1rem;
}

/* Contact Mini Info */
.coming-soon-contact {
    margin: 40px 0 0;
    padding: 30px;
    background-color: var(--light);
    border-radius: 15px;
}

.coming-soon-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.contact-mini-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.contact-mini-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.contact-mini-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.contact-mini-item i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 20px;
}

.contact-mini-item span {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Social Links Section */
.coming-soon-social {
    padding: 60px 0;
    background-color: var(--white);
}

.social-section {
    text-align: center;
}

.social-section h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

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

.social-link {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(115, 76, 150, 0.3);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(115, 76, 150, 0.5);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .coming-soon-content {
        padding: 40px 20px;
    }
    
    .coming-soon-content h2 {
        font-size: 2rem;
    }
    
    .coming-soon-description {
        font-size: 1.1rem;
    }
    
    .timer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .timer-number {
        font-size: 2rem;
    }
    
    .contact-mini-info {
        grid-template-columns: 1fr;
    }
    
    .social-links-coming-soon {
        gap: 15px;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .coming-soon-section {
        padding: 60px 0;
    }
    
    .coming-soon-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .coming-soon-content h2 {
        font-size: 1.7rem;
    }
    
    .timer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timer-number {
        font-size: 1.8rem;
    }
    
    .newsletter-coming-soon,
    .coming-soon-contact {
        padding: 20px 15px;
    }
}
/*----------------------------------------------*/
/* تحسينات لتصفية الأخبار */
#news-loading {
    transition: all 0.3s ease;
}

.no-news-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
    font-size: 1.2rem;
    background: var(--light);
    border-radius: 10px;
    margin: 20px 0;
}

.no-news-message p {
    margin: 0;
    line-height: 1.6;
}

.ajax-pagination {
    cursor: pointer;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .news-category-filter {
        justify-content: center;
    }
    
    .category-btn {
        font-size: 0.8rem;
        padding: 8px 15px;
    }
}
/*------------------------------------------department---------------------------------
/* أنماط إضافية لصفحة الأقسام والخدمات */

/* Departments Intro Section */
.departments-intro-section {
    padding: 100px 0;
    background-color: var(--white);
}

.departments-intro-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .departments-intro-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.departments-intro-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 800;
}

.departments-intro-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--dark);
}

.departments-intro-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.departments-intro-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.1;
    z-index: 1;
    transition: var(--transition);
}

.departments-intro-image:hover::before {
    opacity: 0;
}

.departments-intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.departments-intro-image:hover img {
    transform: scale(1.05);
}

/* Departments Filter Section */
.departments-filter-section {
    padding: 50px 0;
    background-color: var(--light);
}

.departments-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 12px 25px;
    background-color: var(--white);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
}

/* Departments Grid Section */
.departments-grid-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
}

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

.department-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.department-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.department-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.department-card:hover .department-img img {
    transform: scale(1.1);
}

.department-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
}

.department-card:hover .department-overlay {
    opacity: 1;
}

.department-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.department-content {
    padding: 25px;
}

.department-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.department-specialty {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    font-family: 'MyriadPro', sans-serif;
    font-size: 1rem;
}

.department-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.department-features {
    list-style: none;
    margin-bottom: 25px;
}

.department-features li {
    margin-bottom: 8px;
    position: relative;
    padding-right: 20px;
}

.department-features li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--secondary);
}

.department-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.department-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.department-link:hover::after {
    width: 100%;
}

.department-link:hover {
    color: var(--secondary);
}

/* Emergency Section */
.emergency-section {
    padding: 100px 0;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.emergency-container {
    max-width: 800px;
    margin: 0 auto;
}

.emergency-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 800;
}

.emergency-container p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.emergency-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.emergency-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.emergency-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 2rem;
}

.emergency-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.emergency-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Specialized Centers Section */
.centers-section {
    padding: 100px 0;
    background-color: var(--light);
}

.centers-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.center-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.center-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.center-card:hover::before {
    transform: scaleX(1);
}

.center-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.center-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

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

.center-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.center-card p {
    color: var(--gray);
}
/* أنماط قسم الأقسام في الصفحة الرئيسية */
.departments-home-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
}

.departments-home-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.department-home-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.department-home-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.department-home-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.department-home-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.department-home-card:hover .department-home-img img {
    transform: scale(1.1);
}

.department-home-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
}

.department-home-card:hover .department-home-overlay {
    opacity: 1;
}

.department-home-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'MyriadPro', sans-serif;
}

.department-home-content {
    padding: 25px;
}

.department-home-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.department-home-specialty {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    font-family: 'MyriadPro', sans-serif;
    font-size: 0.9rem;
}

.department-home-content p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.department-home-features {
    list-style: none;
    margin-bottom: 20px;
}

.department-home-features li {
    margin-bottom: 6px;
    position: relative;
    padding-right: 20px;
    font-size: 0.9rem;
    color: var(--dark);
}

.department-home-features li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--secondary);
    font-size: 0.8rem;
}

.department-home-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    font-size: 0.9rem;
}

.department-home-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.department-home-link:hover::after {
    width: 100%;
}

.department-home-link:hover {
    color: var(--secondary);
}

/* أنماط المراكز التخصصية في الصفحة الرئيسية */
.centers-home-section {
    padding: 80px 0;
    background-color: var(--light);
}

.centers-home-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.center-home-card {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.center-home-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.center-home-card:hover::before {
    transform: scaleX(1);
}

.center-home-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.center-home-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
    transition: var(--transition);
}

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

.center-home-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.center-home-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .departments-home-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .department-home-img {
        height: 220px;
    }
    
    .department-home-content {
        padding: 20px;
    }
    
    .centers-home-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .center-home-card {
        padding: 25px 20px;
    }
    
    .center-home-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .departments-home-container {
        grid-template-columns: 1fr;
    }
    
    .centers-home-container {
        grid-template-columns: 1fr;
    }
    
    .department-home-content h3 {
        font-size: 1.3rem;
    }
    
    .center-home-card h3 {
        font-size: 1.2rem;
    }
}
/* أنماط قسم الخدمات في صفحة الأقسام */
.services-departments-section {
    padding: 100px 0;
    background-color: var(--light);
    position: relative;
}

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

.service-departments-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-departments-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-departments-card:hover::before {
    transform: scaleX(1);
}

.service-departments-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.service-departments-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

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

.service-departments-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.service-departments-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .services-departments-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .service-departments-card {
        padding: 30px 25px;
    }
    
    .service-departments-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .services-departments-container {
        grid-template-columns: 1fr;
    }
    
    .service-departments-card h3 {
        font-size: 1.3rem;
    }
}
/* أنماط قسم الأقسام في الصفحة الرئيسية - 3 أعمدة لجميع الأجهزة */
.departments-mv-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.department-mv-card {
    background-size: cover;
    background-position: center;
    height: 220px; /* تصغير الارتفاع */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    cursor: pointer;
}

.department-mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    transition: var(--transition);
    z-index: 1;
}

.department-mv-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.department-mv-card:hover::after {
    opacity: 0.2;
}

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

.department-mv-card:hover .department-mv-title {
    transform: translateY(-10px);
}

.department-mv-card:hover .department-mv-details {
    opacity: 1;
    transform: translateY(0);
    max-height: 80px;
}

.department-mv-card:hover .department-mv-bg {
    transform: scale(1.05);
}

.department-mv-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    z-index: 0;
}

.department-mv-content {
    position: relative;
    z-index: 3;
    transition: var(--transition);
    font-family: 'Ithra', 'Tajawal', sans-serif;
}

.department-mv-title {
    color: var(--white);
    font-size: 1.1rem; /* تصغير حجم الخط */
    margin-bottom: 5px;
    transition: var(--transition);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.department-mv-details {
    color: var(--white);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    max-height: 0;
    overflow: hidden;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    line-height: 1.4;
    font-size: 0.75rem; /* تصغير حجم الخط */
}

/* تحسينات للشاشات الكبيرة */
@media (max-width: 1400px) {
    .departments-mv-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    
    .department-mv-card {
        height: 210px;
    }
}

/* تحسينات للشاشات المتوسطة */
@media (max-width: 1200px) {
    .departments-mv-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .department-mv-card {
        height: 200px;
        padding: 12px;
    }
    
    .department-mv-title {
        font-size: 1.05rem;
    }
}

@media (max-width: 992px) {
    .departments-mv-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .department-mv-card {
        height: 190px;
        padding: 10px;
    }
    
    .department-mv-title {
        font-size: 1rem;
    }
    
    .department-mv-details {
        font-size: 0.72rem;
    }
}

/* تحسينات للشاشات الصغيرة - 3 أعمدة */
@media (max-width: 768px) {
    .departments-mv-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .department-mv-card {
        height: 180px;
        padding: 8px;
    }
    
    .department-mv-title {
        font-size: 0.95rem;
    }
    
    .department-mv-details {
        font-size: 0.7rem;
    }
}

/* تحسينات للشاشات المحمولة - عمود واحد فقط */
@media (max-width: 576px) {
    .departments-mv-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .department-mv-card {
        height: 160px;
        padding: 12px;
    }
    
    .department-mv-title {
        font-size: 1.1rem;
    }
    
    .department-mv-details {
        font-size: 0.8rem;
    }
}

/* تحسينات للشاشات الصغيرة جداً */
@media (max-width: 400px) {
    .department-mv-card {
        height: 150px;
        padding: 10px;
    }
    
    .department-mv-title {
        font-size: 1rem;
    }
    
    .department-mv-details {
        font-size: 0.75rem;
    }
}
/*-------------------------doctors----------------------------
/* تحسينات للنافذة المنبثقة */
.doctor-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    overflow-y: auto;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.doctor-detail-modal.active {
    opacity: 1;
}

.doctor-detail-modal .modal-content {
    background-color: var(--white);
    margin: 50px auto;
    border-radius: 15px;
    max-width: 900px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.doctor-detail-modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 2rem;
    color: var(--gray);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.1);
}

/* للغات RTL مثل العربية */
html[dir="ltr"] .close-modal,
:lang(en) .close-modal {
    left: auto;
    right: 15px;
}

/* للغات LTR مثل الإنجليزية */
html[dir="rtl"] .close-modal,
:lang(ar) .close-modal {
    left: 15px;
    right: auto;
}

.close-modal:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: rotate(90deg);
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .doctor-detail-modal {
        padding: 10px;
    }
    
    .doctor-detail-modal .modal-content {
        margin: 20px auto;
    }
    
    .close-modal {
        top: 10px;
        left: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

/* تحسينات للزر */
.doctor-btn {
    cursor: pointer;
}

.doctor-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(115, 76, 150, 0.4);
}
/* أنماط نافذة حجز الموعد */
.booking-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 4000;
    overflow-y: auto;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.booking-detail-modal.active {
    opacity: 1;
}

.booking-detail-modal .modal-content {
    background-color: var(--white);
    margin: 50px auto;
    border-radius: 20px;
    max-width: 600px;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.booking-detail-modal.active .modal-content {
    transform: translateY(0);
}

.close-booking-modal {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: var(--gray);
    cursor: pointer;
    z-index: 10;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.1);
}

.close-booking-modal:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: rotate(90deg);
}

.booking-modal-content {
    padding: 40px;
}

.booking-modal-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light);
}

.booking-modal-header h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 800;
}

.booking-modal-specialty {
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: 600;
    font-family: 'MyriadPro', sans-serif;
}

.booking-info-section {
    margin-bottom: 40px;
}

.booking-info-section h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
    position: relative;
}

.booking-info-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.booking-info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(115, 76, 150, 0.03), rgba(85, 182, 216, 0.03));
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.booking-info-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.booking-info-item:hover::before {
    opacity: 1;
}

.booking-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(115, 76, 150, 0.2);
}

.booking-info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.booking-info-item:hover .booking-info-icon {
    transform: scale(1.1) rotate(5deg);
}

.booking-info-content {
    flex: 1;
}

.booking-info-content h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-family: 'Ithra', 'Tajawal', sans-serif;
    font-weight: 700;
}

.booking-info-content p {
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1rem;
}

.booking-call-btn,
.booking-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.9rem;
}

.booking-call-btn:hover,
.booking-map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(115, 76, 150, 0.4);
    color: var(--white);
}

.booking-map-btn {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.booking-map-btn:hover {
    background: var(--secondary);
    color: var(--white);
}

.booking-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.booking-confirm-btn,
.booking-cancel-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    justify-content: center;
}

.booking-confirm-btn {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(115, 76, 150, 0.3);
}

.booking-confirm-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(115, 76, 150, 0.5);
}

.booking-cancel-btn {
    background: transparent;
    border: 2px solid var(--gray);
    color: var(--gray);
}

.booking-cancel-btn:hover {
    background: var(--gray);
    color: var(--white);
    transform: translateY(-3px);
}

.booking-notes {
    text-align: center;
    padding: 20px;
    background: var(--light);
    border-radius: 10px;
    border-right: 4px solid var(--secondary);
}

.booking-notes p {
    color: var(--dark);
    margin: 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.booking-notes i {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .booking-detail-modal {
        padding: 10px;
    }
    
    .booking-detail-modal .modal-content {
        margin: 20px auto;
    }
    
    .booking-modal-content {
        padding: 25px 20px;
    }
    
    .booking-modal-header h2 {
        font-size: 1.6rem;
    }
    
    .booking-info-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .booking-info-icon {
        align-self: center;
    }
    
    .booking-actions {
        flex-direction: column;
    }
    
    .booking-confirm-btn,
    .booking-cancel-btn {
        width: 100%;
        min-width: auto;
    }
    
    .close-booking-modal {
        top: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .booking-modal-content {
        padding: 20px 15px;
    }
    
    .booking-info-item {
        padding: 15px;
    }
    
    .booking-info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}
/* أنماط إضافية لنافذة الحجز */
.booking-email-section {
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(135deg, rgba(85, 182, 216, 0.05), rgba(115, 76, 150, 0.05));
    border-radius: 10px;
    border-right: 3px solid var(--secondary);
}

.booking-email-note p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
}

.booking-email-note a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.booking-email-note a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.booking-info-content small {
    color: var(--gray);
    font-size: 0.9rem;
    display: block;
    margin-top: 5px;
}
/*----------------------------afc---------------------
/* تحسين مظهر حقول ACF مع Tabs */
.acf-tab-group {
    background: #f8f9fa;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
}

.acf-tab-group li a {
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 4px;
}

.acf-tab-group li.active a {
    background: #007cba;
    color: white;
}

.acf-fields.-left > .acf-field {
    padding: 15px;
}

.acf-field-tab {
    border-bottom: 2px solid #e2e4e7;
    margin-bottom: 20px !important;
}

/* تحسين عرض الحقول */
.acf-field .acf-input {
    width: 100%;
}

.acf-field textarea {
    min-height: 80px;
}
/*-------------------home button-------------------------*/
.home-icon a {
    font-size: 0;
}

.home-icon a::before {
    content: "\f015";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
}
/*-------------------------top-bar------------------------------*/
/* إصلاح مشكلة Top Bar في الشاشات الصغيرة */
@media (max-width: 768px) {
    .top-bar {
        display: block !important; /* إظهار الـ Top Bar */
        padding: 5px 0;
    }
    
    .top-bar-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .top-bar-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .top-bar-info span {
        justify-content: center;
        font-size: 0.8rem;
    }
    
    .top-bar-social {
        justify-content: center;
        gap: 10px;
    }
}

/* تحسينات إضافية للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .top-bar {
        padding: 3px 0;
    }
    
    .top-bar-info span {
        font-size: 0.75rem;
    }
    
    .top-bar-social a {
        font-size: 0.9rem;
    }
}

/* تأكد من إظهار الـ Top Bar في جميع الأحجام */
.top-bar {
    display: block;
}
/* في ملف styles.css - إضافة أي تخصيصات إضافية للخدمات إذا أردت */
.department-card .department-content p {
    min-height: 80px; /* لضمان أن جميع الوصف يكون بنفس الارتفاع */
}

/* أو إذا أردت تخصيص الخدمات بشكل مختلف */
.service-department-card {
    /* نفس أنماط department-card مع تعديلات بسيطة */
}

.service-department-card .department-img {
    height: 200px; /* ارتفاع مختلف للصور */
}