/* فيزيو كير يمن - الملف الرئيسي للتنسيقات */

/* ========================================
   المتغيرات والإعدادات الأساسية
======================================== */
:root {
    --primary: #1ABC9C;
    --primary-dark: #16A085;
    --primary-light: #48C9B0;
    --secondary: #F39C12;
    --secondary-dark: #D68910;
    --dark: #2C3E50;
    --dark-light: #34495E;
    --light: #ECF0F1;
    --white: #FFFFFF;
    --gray: #95A5A6;
    --gray-light: #BDC3C7;
    --danger: #E74C3C;
    --success: #27AE60;
    
    --font-family: 'Cairo', sans-serif;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* ========================================
   إعادة التعيين والأساسيات
======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    direction: rtl;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

p {
    margin-bottom: 1rem;
}

/* ========================================
   الحاوية والتخطيط
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background: var(--light);
}

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

.mt-4 {
    margin-top: 2rem;
}

/* ========================================
   الأزرار
======================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 188, 156, 0.4);
}

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

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

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

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

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

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

.btn-lg {
    padding: 16px 36px;
    font-size: 18px;
}

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

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: var(--white);
}

/* ========================================
   الشريط العلوي
======================================== */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

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

.top-bar-contact {
    display: flex;
    gap: 25px;
}

.top-bar-contact a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

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

.top-bar-social a:hover {
    opacity: 1;
    color: var(--primary);
}

/* ========================================
   الهيدر والتنقل
======================================== */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 70px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    color: var(--dark);
    font-weight: 600;
    padding: 10px 0;
    display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

/* القائمة المنسدلة */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    padding: 12px 20px;
    border-bottom: 1px solid var(--light);
}

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

.dropdown li a:hover {
    background: var(--light);
}

.nav-cta {
    margin-right: 20px;
}

/* زر القائمة للموبايل */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   قسم الهيرو
======================================== */
.hero-section {
    background: linear-gradient(135deg, #f8fffe 0%, #e8f8f5 100%);
    padding: 80px 0;
}

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

.hero-title {
    font-size: 48px;
    color: var(--dark);
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 18px;
    color: var(--dark-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

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

.hero-image img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

/* ========================================
   عناوين الأقسام
======================================== */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
}

/* ========================================
   قسم الخدمات
======================================== */
.services-grid {
    display: flex;           /* التغيير من grid إلى flex */
    flex-wrap: wrap;         /* السماح للعناصر بالنزول لسطر جديد */
    justify-content: center; /* هذا هو السر: يوسط العناصر دائماً */
    gap: 30px;
    margin-top: 40px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    
    /* --- الإضافات الجديدة لضبط العرض --- */
    flex: 1 1 300px;    /* ينمو ويصغر، والعرض الأساسي 300 بكسل */
    max-width: 380px;   /* أقصى عرض (عشان الكرتين في السطر الأخير ما يكونوا عمالقة) */
    width: 100%;        /* لضمان التجاوب في الجوال */
    /* ---------------------------------- */
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-desc {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* =======================================================
   إصلاح وتجميل قسم "لماذا نحن" (Why Choose Us Fixed)
   ======================================================= */

.about-section-pro {
    background-color: #fff;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

/* 1. إصلاح التخطيط (Layout Fix) */
@media (min-width: 992px) {
    .about-section-pro .row {
        display: flex !important;
        flex-direction: row !important; /* ترتيب طبيعي: يمين ثم يسار */
        align-items: center !important;
    }
    
    .about-content-pro {
        padding-left: 50px; /* مسافة تفصل النص عن الصورة */
        text-align: right;
    }
}

/* 2. تنسيق الصورة (Image Styling) */
.about-image-container {
    position: relative;
    max-width: 900px; /* حجم متوسط ومثالي */
    margin: 0 auto;
    z-index: 1;
}

.image-frame-styled {
    position: relative;
    border-radius: 40px 0 40px 0;
    overflow: hidden;
    box-shadow: 20px 20px 0px rgba(26, 188, 156, 0.1);
    transform: rotate(-3deg);
    transition: transform 0.5s ease;
}

.about-image-container:hover .image-frame-styled {
    transform: rotate(0deg);
}

.main-about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* البطاقة العائمة */
.trust-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid #f1c40f;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: #fff8e1;
    color: #f1c40f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-text strong { display: block; font-size: 0.9rem; color: #2c3e50; }
.badge-text span { font-size: 0.75rem; color: #95a5a6; }

/* 3. تنسيق النصوص (Content Styling) */
.sub-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: inline-block;
    background: rgba(26, 188, 156, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #2c3e50;
}

.lead-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* 4. تنسيق شبكة المميزات (Features Grid Fix) */
.features-grid-smart {
    display: grid;
    grid-template-columns: 1fr 1fr; /* عمودين */
    gap: 20px;
    margin-bottom: 30px;
}

.smart-feature-item {
    display: flex;
    align-items: center; /* توسيط رأسي */
    gap: 15px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
}

.sf-icon {
    width: 45px;
    height: 45px;
    background: #f0fdfa;
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* منع انكماش الأيقونة */
}

.sf-text {
    text-align: right; /* ضمان محاذاة النص لليمين */
}

.sf-text h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 3px;
    color: #2c3e50;
}

.sf-text p {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin: 0;
    line-height: 1.4;
}

/* 5. التجاوب مع الجوال (Mobile) */
@media (max-width: 991px) {
    .about-section-pro {
        padding: 50px 0;
        text-align: center;
    }
    
    .about-section-pro .row {
        flex-direction: column-reverse !important; /* الصورة فوق والنص تحت في الجوال */
    }
    
    .about-content-pro {
        padding-left: 0;
        margin-top: 40px;
        text-align: center;
    }
    
    .features-grid-smart {
        grid-template-columns: 1fr; /* عمود واحد */
        text-align: right; /* الحفاظ على محاذاة القوائم لليمين لجمالية القراءة */
    }
    
    .smart-feature-item {
        justify-content: flex-start; /* محاذاة لليمين */
        border: 1px solid #f1f1f1; /* إضافة حدود خفيفة في الجوال */
    }
    
    .about-image-container {
        max-width: 320px;
    }
    
    .trust-badge {
        left: 0;
        bottom: -20px;
    }
}

/* =======================================================
   إعادة إحياء أنيميشن الأيقونات (Smart Icons Animation)
   ======================================================= */

/* 1. تحسين الانتقال ليكون ناعماً ومرناً */
.sf-icon {
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* تأثير الارتداد (Bouncing) */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* 2. الحركة عند مرور الماوس (Hover Effect) */
.smart-feature-item:hover .sf-icon {
    background: var(--primary);
    color: #fff;
    /* دوران كامل 360 درجة مع تكبير بسيط */
    transform: rotateY(360deg) scale(1.15); 
    box-shadow: 0 15px 30px rgba(26, 188, 156, 0.4); /* ظل ملون متوهج */
    border-radius: 50%; /* تتحول لدائرة كاملة عند التحويم */
}

/* 3. تأثير لمعان خفيف يمر فوق الأيقونة */
.smart-feature-item:hover .sf-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    animation: iconShine 0.6s forwards;
}

@keyframes iconShine {
    0% { top: -100%; left: -100%; }
    100% { top: 100%; left: 100%; }
}

/* 4. حركة دائمة بسيطة (Pulse) للأيقونات حتى بدون ماوس لجذب الانتباه */
.smart-feature-item .sf-icon {
    animation: softPulse 3s infinite ease-in-out;
}

@keyframes softPulse {
    0% { box-shadow: 0 0 0 0 rgba(26, 188, 156, 0.1); }
    70% { box-shadow: 0 0 0 10px rgba(26, 188, 156, 0); }
    100% { box-shadow: 0 0 0 0 rgba(26, 188, 156, 0); }
}

/* تأخير الحركة لكل أيقونة ليكون النبض متتابعاً وليس في نفس الوقت */
.smart-feature-item:nth-child(1) .sf-icon { animation-delay: 0s; }
.smart-feature-item:nth-child(2) .sf-icon { animation-delay: 0.5s; }
.smart-feature-item:nth-child(3) .sf-icon { animation-delay: 1s; }
.smart-feature-item:nth-child(4) .sf-icon { animation-delay: 1.5s; }

/* =======================================================
   تصميم قسم الإحصائيات (Modern Stats Bar)
   ======================================================= */

.stats-section-pro {
    position: relative;
    padding: 80px 0;
    /* خلفية متدرجة بألوان البراند */
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    overflow: hidden;
    color: #fff;
}

/* نمط خلفية زخرفي (Pattern) */
.stats-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

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

/* الكرت الزجاجي */
.stat-card-modern {
    background: rgba(255, 255, 255, 0.1); /* شفافية */
    backdrop-filter: blur(10px); /* تأثير الزجاج */
    padding: 30px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-card-modern:hover {
    transform: translateY(-10px); /* يرتفع للأعلى عند التحويم */
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* أيقونة الإحصائية */
.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    background: #fff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.stat-card-modern:hover .stat-icon-wrapper {
    transform: rotateY(180deg); /* دوران الأيقونة عند التحويم */
    color: var(--secondary); /* تغيير لون الأيقونة */
}

/* النصوص والأرقام */
.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* --- التجاوب مع الجوال --- */
@media (max-width: 991px) {
    .stats-grid-modern {
        grid-template-columns: repeat(2, 1fr); /* عمودين في التابلت */
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .stats-grid-modern {
        grid-template-columns: 1fr; /* عمود واحد في الجوال الصغير */
    }
    
    .stat-card-modern {
        flex-direction: row; /* جعل الأيقونة بجانب الرقم في الجوال */
        text-align: right;
        padding: 20px;
        gap: 20px;
    }
    
    .stat-icon-wrapper {
        margin-bottom: 0;
        width: 50px;
        height: 50px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}

/* =======================================================
   تصميم قسم الفروع الاحترافي (Professional Branches)
   ======================================================= */

.branches-section-pro {
    background-color: #f8fafc;
    position: relative;
    padding-bottom: 80px;
}

.branches-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

/* 1. هيكل البطاقة */
.branch-card-pro {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    display: flex;
    flex-direction: column;
}

.branch-card-pro:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* تأثير التوهج للفرع الرئيسي */
.main-branch-glow {
    border: 1px solid rgba(26, 188, 156, 0.3);
}

.main-branch-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary);
    z-index: 5;
}

/* 2. رأس البطاقة (Visual Header) - تم الإصلاح */
.branch-header-visual {
    height: 140px; /* ارتفاع ثابت لمنع التداخل */
    background: #e0f2f1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* نمط الخريطة الخلفي */
.map-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18h2v2.5h-2zM20 22v2h2v-2h-2zm-2-2v2h-2v-2h2zm0-2h-2v2h2v-2zm-2 2v2h-2v-2h2zm0-2h-2v2h2v-2zm-2 2v2h-2v-2h2zm0-2H8v2h2v-2zm-2 2v2H6v-2h2zm0-2H6v2h2v-2zm-2 2v2H4v-2h2zm0-2H4v2h2v-2zm-2 2v2H2v-2h2zm0-2H2v2h2v-2zm-2 2v2H0v-2h2zm0-2H0v2h2v-2z' fill='%231abc9c' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.branch-badges {
    position: absolute;
    top: 20px;
    right: 20px; /* تثبيت الشارة في الزاوية */
    z-index: 2;
}

.badge-status {
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.badge-status.main {
    background: var(--primary);
    color: #fff;
}

.badge-status.sub {
    background: var(--secondary);
    color: #fff;
}

.branch-icon-large {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
    margin-top: 30px; /* لإنزال الأيقونة قليلاً للأسفل */
}

/* 3. جسم البطاقة (المحتوى) */
.branch-body-content {
    padding: 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.branch-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 25px;
}

.branch-meta {
    margin-bottom: 30px;
    flex-grow: 1;
}

.meta-row {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* محاذاة لليمين */
    gap: 15px;
    margin-bottom: 12px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 12px;
}

.meta-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.meta-text, .meta-link {
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
}

.meta-link {
    color: var(--dark);
    transition: color 0.2s;
}

.meta-link:hover {
    color: var(--primary);
}

/* 4. أزرار الإجراء (Actions) */
.branch-actions-row {
    display: flex;
    gap: 15px;
}

.action-btn {
    flex: 1; /* الأزرار تأخذ نفس العرض */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-booking {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-booking:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-location {
    background: #fff;
    color: var(--dark);
    border: 2px solid #eff2f5;
}

.btn-location:hover {
    border-color: var(--dark);
    background: var(--dark);
    color: #fff;
}

/* 5. التجاوب */
@media (max-width: 768px) {
    .branches-grid-pro {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .branch-header-visual {
        height: 120px;
    }
}

/* =======================================================
   1. تنسيق المدونة ثلاثية الأبعاد (3D Blog Styles)
   ======================================================= */
.blog-section-3d {
    background: #f9fbfd;
    overflow: hidden; /* لمنع ظهور شريط تمرير */
}

.blog-3d-swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 350px; /* عرض الكرت */
    height: 450px; /* ارتفاع الكرت */
}

/* تصميم الكرت */
.blog-card-3d {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

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

.blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-3d:hover .blog-img-box img {
    transform: scale(1.1);
}

.category-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.blog-placeholder-3d {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
}

.blog-content-3d {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    gap: 15px;
}

.date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f0fdfa;
    color: var(--primary);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    flex-shrink: 0;
    border: 1px solid rgba(26, 188, 156, 0.2);
}

.date-badge .day { font-size: 1.2rem; font-weight: 800; line-height: 1; }
.date-badge .month { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; }

.text-area h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.text-area h3 a { color: var(--dark); }
.text-area h3 a:hover { color: var(--primary); }

.read-more-link {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* تخصيص أزرار Swiper */
.swiper-button-next, .swiper-button-prev {
    color: var(--primary);
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
}

/* =======================================================
   2. تنسيق قسم CTA الاحترافي
   ======================================================= */
.cta-section-pro {
    padding: 80px 0;
    position: relative;
    /* خلفية متدرجة جميلة */
    background: linear-gradient(135deg, var(--dark) 0%, #34495e 100%);
}

.cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.cta-box-modern {
    background: rgba(255, 255, 255, 0.05); /* شفافية */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    backdrop-filter: blur(5px);
}

.cta-title {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin: 0;
}

/* الزر المتوهج */
.btn-white-glow {
    background: #fff;
    color: var(--primary);
    font-weight: 800;
    padding: 15px 35px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-white-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.5);
    background: var(--primary);
    color: #fff;
}

/* أنيميشن نبض للزر */
.pulse-animation {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* التجاوب */
@media (max-width: 768px) {
    .swiper-slide {
        width: 280px; /* تصغير الكرت في الجوال */
        height: 400px;
    }
    .cta-title { font-size: 1.8rem; }
}

/* ========================================
   الفوتر
======================================== */
.main-footer {
    background: var(--dark);
    color: var(--white);
}

.footer-top {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 20px;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.8;
}

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

.footer-social a {
    color: var(--white);
    opacity: 0.7;
    transition: var(--transition);
}

.footer-social a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-title {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--white);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact li {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-contact strong {
    display: block;
    color: var(--white);
    margin-bottom: 5px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   زر الواتساب العائم
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-options {
    position: absolute;
    bottom: 70px;
    left: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-option {
    display: block;
    padding: 15px 20px;
    color: var(--dark);
    border-bottom: 1px solid var(--light);
}

.whatsapp-option:last-child {
    border-bottom: none;
}

.whatsapp-option:hover {
    background: var(--light);
}

.whatsapp-option .branch-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 3px;
}

.whatsapp-option .branch-phone {
    font-size: 13px;
    color: var(--gray);
}


/* ========================================
   صفحات الداخلية - Page Hero
======================================== */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.page-hero.service-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.page-title {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--white);
}

.page-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.breadcrumb {
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--white);
}

.breadcrumb span {
    margin: 0 8px;
}


/* ========================================
   صفحة 404
======================================== */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-code {
    font-size: 120px;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 20px;
}

.error-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.error-content p {
    color: var(--gray);
    margin-bottom: 30px;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* ========================================
   التصميم المتجاوب
======================================== */
@media (max-width: 1024px) {
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-grid,
    .about-intro,
    .service-intro-grid,
    .inbody-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vm-grid,
    .why-us-grid,
    .dental-grid,
    .why-dental-grid,
    .features-grid,
    .membership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 1001;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--light);
    }
    
    .nav-menu a {
        padding: 15px 0;
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-right: 20px;
        display: none;
    }
    
    .has-dropdown.active .dropdown {
        display: block;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .stats-grid,
    .footer-grid,
    .vm-grid,
    .why-us-grid,
    .dental-grid,
    .why-dental-grid,
    .features-grid,
    .membership-grid,
    .derma-grid,
    .tech-grid,
    .why-grid,
    .programs-list {
        grid-template-columns: 1fr;
    }
    
    .service-block,
    .service-block.reverse {
        grid-template-columns: 1fr;
    }
    
    .service-block.reverse .service-block-content,
    .service-block.reverse .service-block-image {
        order: unset;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .membership-card.featured {
        transform: none;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-share {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .branches-grid {
        grid-template-columns: 1fr;
    }
    
    .branch-actions {
        flex-direction: column;
    }
    
    .error-code {
        font-size: 80px;
    }
    
    .error-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
}

/* ==========================================================================
   إضافات فيزيو كير يمن الاحترافية (New Additions & Animations)
   ========================================================================== */

/* 1. تأثيرات الأنيميشن العامة (Global Animations) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* تطبيق الأنيميشن على العناصر */
.hero-text-content {
    animation: fadeInUp 1s ease-out;
}

.hero-image img {
    animation: fadeInUp 1.2s ease-out;
}

.service-card, .branch-card, .blog-card {
    /* جعل البطاقات تظهر بتتابع جميل عند السكرول (يحتاج JS، لكن هذا تحضير) */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

/* =======================================================
   تصميم الهيرو "نبض الحياة" (Vitality Pulse Hero)
   ======================================================= */

.hero-professional {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: #fdfbfb; /* خلفية بيضاء نقية */
    overflow: hidden;
    padding: 80px 0;
}

/* --- 1. الترتيب (النص يمين - الصورة يسار) --- */
@media (min-width: 992px) {
    .hero-row {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .hero-text-content {
        padding-left: 60px;
        text-align: right;
    }
}

/* --- 2. أنيميشن الخلفية (الخط المتوهج والجزيئات) --- */
.animation-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* SVG النبض */
.pulse-svg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 300px;
    transform: translateY(-50%);
    opacity: 0.6;
}

/* الخط الرمادي الخلفي */
.pulse-path-bg {
    fill: none;
    stroke: rgba(0, 0, 0, 0.05);
    stroke-width: 2;
}

/* الخط الملون المتحرك (النبض الحقيقي) */
.pulse-path-active {
    fill: none;
    stroke: var(--primary); /* لون البراند */
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: dash 3s linear infinite;
    filter: drop-shadow(0 0 8px rgba(26, 188, 156, 0.5)); /* توهج */
}

@keyframes dash {
    0% { stroke-dashoffset: 2000; opacity: 0; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

/* الجزيئات الطبية العائمة (+) */
.medical-particle {
    position: absolute;
    color: var(--primary);
    font-weight: bold;
    opacity: 0;
    animation: floatUp 6s ease-in-out infinite;
    font-size: 20px;
}

.p1 { left: 10%; bottom: -20px; font-size: 24px; animation-delay: 0s; }
.p2 { left: 30%; bottom: -20px; font-size: 18px; animation-delay: 2s; }
.p3 { left: 70%; bottom: -20px; font-size: 30px; animation-delay: 1s; }
.p4 { left: 90%; bottom: -20px; font-size: 22px; animation-delay: 4s; }

@keyframes floatUp {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    20% { opacity: 0.2; }
    80% { opacity: 0.2; }
    100% { transform: translateY(-80vh) rotate(180deg); opacity: 0; }
}

/* --- 3. النصوص --- */
.hero-text-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e0f2f1;
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.1);
}

/* النقطة الحمراء النابضة داخل الشارة */
.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #e74c3c;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.25;
    margin-bottom: 25px;
    font-weight: 800;
    color: var(--dark);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* كلمة "بالحياة" وتأثير الهايلايتر */
.highlight-life {
    position: relative;
    z-index: 1;
    display: inline-block;
}

.highlight-life::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: rgba(243, 156, 18, 0.2);
    z-index: -1;
    transform: rotate(-2deg);
    border-radius: 10px;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
}

/* الأزرار والثقة - نفس السابق */
.hero-actions { display: flex; gap: 15px; margin-bottom: 40px; }
.hero-trust { display: flex; align-items: center; gap: 30px; padding-top: 25px; border-top: 1px solid rgba(0,0,0,0.05); }
.trust-item strong { display: block; font-size: 2rem; line-height: 1; color: var(--dark); }
.trust-item span { font-size: 0.95rem; color: var(--gray); }
.trust-divider { width: 1px; height: 50px; background: #ddd; }

/* --- 4. الصورة وتأثير التنفس (Breathing) --- */
.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.smart-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

/* تأثير التنفس للصورة */
.breathing-effect {
    animation: breathing 4s ease-in-out infinite;
}

@keyframes breathing {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); } /* تكبير خفيف جداً */
    100% { transform: scale(1); }
}

.hero-main-img {
    width: 100%;
    height: auto;
    border-radius: 40px 40px 200px 40px; /* شكل مميز */
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

/* البطاقة العائمة */
.smart-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: -10px 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255,255,255,0.8);
    /* إلغاء حركة البطاقة المستقلة لأن الصورة كلها تتنفس الآن */
}

.doctor-float {
    bottom: 50px;
    right: -40px;
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: #e0f2f1;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- 5. الجوال --- */
@media (max-width: 991px) {
    .hero-professional {
        padding: 50px 0;
        min-height: auto;
        text-align: center;
    }
    .hero-row { flex-direction: column-reverse; }
    .hero-text-content { padding-left: 0; margin-top: 40px; }
    .hero-actions, .hero-trust { justify-content: center; }
    .smart-image-wrapper { max-width: 320px; margin: 0 auto; }
    .hero-title { font-size: 2.5rem; }
    
    /* إخفاء النبض الكبير في الجوال لأنه يشتت */
    .pulse-svg { opacity: 0.3; height: 150px; }
    .doctor-float { right: -10px; bottom: 20px; }
}

/* --- أنيميشن أيقونات الخدمات الذكية --- */

/* 1. العلاج الطبيعي (النبض) */
.service-card:hover .icon-physio .pulse-line {
    animation: heartbeat 1s infinite;
    transform-origin: center;
}
@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); stroke: #e74c3c; } /* يتحول للأحمر عند النبض */
    100% { transform: scale(1); }
}

/* 2. الأسنان (اللمعان) */
.service-card:hover .icon-dental .shine-star {
    animation: sparkle 1.5s infinite;
    transform-origin: center;
}
@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.5) rotate(45deg); fill: #f1c40f; stroke: #f1c40f; }
}

/* 3. الجلدية (النضارة) */
.service-card:hover .icon-derma {
    animation: glow 2s infinite alternate;
}
@keyframes glow {
    from { stroke: currentColor; filter: drop-shadow(0 0 0 transparent); }
    to { stroke: #e91e63; filter: drop-shadow(0 0 5px rgba(233, 30, 99, 0.5)); }
}

/* 4. التغذية (ورقة الشجر تتحرك) */
.service-card:hover .icon-nutri .leaf {
    animation: wave 1.5s ease-in-out infinite;
    transform-origin: bottom left;
}
@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); stroke: #2ecc71; }
}

/* 5. الجيم (رفع الأثقال) */
.service-card:hover .icon-gym {
    animation: lift 1s ease-in-out infinite alternate;
}
@keyframes lift {
    from { transform: translateY(0) rotate(0deg); }
    to { transform: translateY(-5px) rotate(-5deg); }
}

/* تحسين شكل صندوق الأيقونة */
.service-icon-box {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%; /* دائري بالكامل */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover .service-icon-box {
    background: var(--white);
    box-shadow: 0 10px 25px rgba(26, 188, 156, 0.2);
    transform: scale(1.1);
    color: var(--primary-dark);
    border-color: var(--primary);
}
/* 4. تحسينات قائمة "لماذا نحن" */
.features-list-pro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item-pro {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.feature-item-pro:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.feature-icon-box {
    color: var(--success);
    background: rgba(39, 174, 96, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 5. زر الواتساب النابض */
.whatsapp-btn {
    animation: pulse-ring 2s infinite;
}

/* 6. تحسين للجوال */
@media (max-width: 768px) {
    .rating-card {
        left: 10px; /* تعديل المكان للجوال */
        top: 20px;
    }
    .icon-card {
        right: 10px;
        bottom: 20px;
    }
    .hero-title {
        font-size: 2.2rem; /* تصغير الخط قليلاً */
    }
    .features-list-pro {
        grid-template-columns: 1fr; /* عمود واحد في الجوال */
    }
}

/* 3. لمعة الأزرار التلقائية */
    .btn-explore, .btn-primary, .action-btn {
        position: relative;
        overflow: hidden;
    }

    .btn-explore::after, .btn-primary::after, .action-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: -150%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        transform: skewX(-20deg);
        animation: buttonShine 4s infinite; /* تتكرر كل 4 ثواني */
    }

    @keyframes buttonShine {
        0% { left: -150%; }
        20% { left: 150%; } /* اللمعة تمر بسرعة */
        100% { left: 150%; } /* انتظار */
    }
}
