/*--------------------------------------------------------------
# الإعدادات العامة والخطوط الخاصة بمركز رشيق
--------------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f9fbf7;
    color: #333;
    overflow-x: hidden;
}

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

/* حل مشكلة كلاس الأنميشن لضمان ظهور العناصر فوراً */
.fade-in {
    opacity: 1 !important;
    transform: none !important;
}

/*--------------------------------------------------------------
# تنسيق الهيدر والقائمة (Header & Navigation)
--------------------------------------------------------------*/
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    max-height: 50px;
    height: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #94c045;
}

/* الأزرار */
.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #94c045;
    color: #fff;
}

.btn-primary:hover {
    background-color: #7da33a;
}

.btn-outline {
    border: 2px solid #94c045;
    color: #94c045;
}

.btn-outline:hover {
    background-color: #94c045;
    color: #fff;
}

.btn-accent {
    background-color: #25D366; /* لون الواتساب */
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    padding: 12px 25px;
}

.btn-accent:hover {
    background-color: #1ebd54;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

/*--------------------------------------------------------------
# قسم الهيرو (Hero Section)
--------------------------------------------------------------*/
.hero {
    background: linear-gradient(135deg, #f4f9eb 0%, #ffffff 100%);
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.accent-badge {
    background-color: rgba(148, 192, 69, 0.1);
    color: #7da33a;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 40px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

/*--------------------------------------------------------------
# قسم الخدمات (Services Section) - تم إصلاحه وإظهاره بنجاح
--------------------------------------------------------------*/
.section {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #94c045;
    border-radius: 2px;
}

/* شبكة الخدمات المتجاوبة */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background-color: #f9fbf7;
    border: 1px solid #edf4e4;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(148, 192, 69, 0.08);
    border-color: #94c045;
}

.service-icon {
    font-size: 35px;
    color: #94c045;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/*--------------------------------------------------------------
# قسم محاضرات زووم (Zoom Section)
--------------------------------------------------------------*/
.zoom-section {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.zoom-icon {
    font-size: 45px;
    color: #25D366;
    margin-bottom: 20px;
}

.zoom-section h3 {
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: 600;
}

.zoom-section p {
    font-size: 16px;
    color: #ecf0f1;
    margin-bottom: 15px;
    line-height: 1.6;
}

.zoom-section .btn-accent {
    margin-top: 15px;
}
/*--------------------------------------------------------------
# قسم حجز الموعد (Appointment Section)
--------------------------------------------------------------*/
.appointment-section {
    background-color: #f9fbf7; /* خلفية هادئة لتمييز السيكشن */
}

.appointment-card {
    background: #ffffff;
    border: 1px solid #edf4e4;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(148, 192, 69, 0.05);
    max-width: 1000px;
    margin: 0 auto;
}

.appointment-card h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.appointment-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 40px;
}

/* خطوات الحجز */
.appointment-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.step {
    flex: 1;
    position: relative;
    padding: 20px;
}

/* الأرقام الدائرية */
.step-number {
    width: 50px;
    height: 50px;
    background-color: #94c045;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 10px rgba(148, 192, 69, 0.2);
    border: 4px solid #ffffff;
    outline: 2px solid #94c045;
}

.step h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
}

.step p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 0;
}

/* أزرار الحجز */
.appointment-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/*--------------------------------------------------------------
# قسم طرق الدفع (Payment Methods)
--------------------------------------------------------------*/
.payment-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.payment-method {
    background: #ffffff;
    border: 1px solid #edf4e4;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    flex: 1;
    transition: all 0.3s ease;
}

.payment-method:hover {
    transform: translateY(-5px);
    border-color: #94c045;
    box-shadow: 0 5px 15px rgba(148, 192, 69, 0.08);
}

.payment-icon {
    font-size: 35px;
    color: #94c045;
    margin-bottom: 15px;
}

.payment-method h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.payment-method p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# شاشات الموبايل والتابلت (Responsive)
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .appointment-steps {
        flex-direction: column; /* تحويل الخطوات لترتيب رأسي في الموبايل */
        gap: 15px;
    }
    
    .step {
        padding: 10px;
    }
    
    .appointment-buttons {
        flex-direction: column; /* تحويل الأزرار لرأسية لتناسب شاشة الموبايل */
        gap: 10px;
    }
    
    .payment-methods {
        flex-direction: column; /* كروت الدفع فوق بعضها في الموبايل */
        gap: 20px;
    }
}

/*--------------------------------------------------------------
# قسم قصص النجاح (Success Stories Section)
--------------------------------------------------------------*/
.stories-section {
    background-color: #ffffff;
}

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

.story-card {
    background-color: #fdfdfd;
    border: 1px solid #edf4e4;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    border-color: #94c045;
    box-shadow: 0 8px 25px rgba(148, 192, 69, 0.06);
}

.story-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.story-avatar {
    width: 50px;
    height: 50px;
    background-color: rgba(148, 192, 69, 0.1);
    color: #94c045;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.story-header h3 {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 4px;
}

.story-header p {
    font-size: 13px;
    color: #94c045;
    font-weight: 500;
    margin-bottom: 0;
}

.story-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# قسم فريق العمل (Team Section - د. هند رأفت)
--------------------------------------------------------------*/
.team-section {
    background-color: #f9fbf7; /* خلفية هادئة لإبراز ملف السيرة الذاتية */
}

.team-card {
    background: #ffffff;
    border: 1px solid #edf4e4;
    border-radius: 16px;
    padding: 40px 30px;
    max-width: 900px; /* جعل الكارت عريضاً ومناسباً لقراءة الشهادات */
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    text-align: center;
}

.team-avatar {
    width: 80px;
    height: 80px;
    background-color: #94c045;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 15px rgba(148, 192, 69, 0.2);
}

.team-card h3 {
    font-size: 26px;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 8px;
}

.team-role {
    color: #94c045;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.team-bio p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto 30px auto;
}

/* قائمة الشهادات والتخصصات الاحترافية */
.certifications {
    text-align: right; /* محاذاة لليمين لقراءة مريحة للغة العربية */
    background-color: #fdfdfd;
    border: 1px dashed #cedec0;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
}

.certifications h4 {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.certifications ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* ترتيب الشهادات في عمودين على الشاشات الكبيرة */
    gap: 12px;
}

.certifications ul li {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    position: relative;
    padding-right: 20px;
}

/* إضافة أيقونة صح خضراء صغيرة قبل كل شهادة */
.certifications ul li::before {
    content: "\f058"; /* كود أيقونة check-circle في FontAwesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 1px;
    color: #94c045;
    font-size: 13px;
}

/*--------------------------------------------------------------
# شاشات الموبايل (Responsive)
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .team-card {
        padding: 30px 15px;
    }
    
    .certifications {
        padding: 20px 15px;
    }
    
    .certifications ul {
        grid-template-columns: 1fr; /* عمود واحد للشهادات في الموبايل */
        gap: 10px;
    }
    
    .certifications ul li {
        font-size: 13px;
    }
}

/*--------------------------------------------------------------
# قسم تسوق طعامك الصحي (Food Shop Section)
--------------------------------------------------------------*/
.foodshop-section {
    background-color: #ffffff;
}

/* شارة "خدمة جديدة" بجانب العنوان */
.new-badge {
    background-color: #ff4d4d;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    animation: pulse 2s infinite;
}

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

/* محتوى السيكشن المقسم */
.foodshop-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.foodshop-text {
    flex: 1.2;
}

.foodshop-image {
    flex: 0.8;
}

.foodshop-text h3 {
    font-size: 24px;
    color: #2c3e50;
    line-height: 1.5;
    margin-bottom: 15px;
    font-weight: 600;
}

.foodshop-text p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* قائمة المميزات داخل السيكشن */
.foodshop-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

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

.feature i {
    color: #94c045;
    font-size: 18px;
    flex-shrink: 0;
}

.feature span {
    font-size: 14px;
    color: #444;
    font-weight: 500;
}

/* زر الاشتراك والتسوق */
.foodshop-button .btn i {
    margin-left: 8px; /* مسافة بين أيقونة العربة والنص العربي */
}

/* تنسيق الصورة وحمايتها من التمدد الخاطئ */
.placeholder-image img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(148, 192, 69, 0.08);
    display: block;
    height: auto;
    object-fit: cover;
}

/*--------------------------------------------------------------
# شاشات الموبايل (Responsive)
--------------------------------------------------------------*/
@media (max-width: 992px) {
    .foodshop-content {
        flex-direction: column-reverse; /* جعل الصورة فوق النص في شاشات الموبايل لترتيب أفضل */
        gap: 30px;
    }
    
    .foodshop-text {
        text-align: center;
    }
    
    .foodshop-features {
        justify-items: start;
        text-align: right; /* الحفاظ على محاذاة النص العربي لليمين */
    }
    
    .new-badge {
        display: block;
        margin: 10px auto 0 auto;
        width: max-content;
    }
}

/*--------------------------------------------------------------
# قسم تواصل معنا (Contact Section)
--------------------------------------------------------------*/
#contact {
    background-color: #f9fbf7; /* خلفية هادئة لإنهاء الصفحة بشكل مريح للعين */
}

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

.contact-method {
    background: #ffffff;
    border: 1px solid #edf4e4;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* يضمن توازي الأزرار أسفل الكروت دائماً */
    align-items: center;
    min-height: 250px;
}

.contact-method:hover {
    transform: translateY(-5px);
    border-color: #94c045;
    box-shadow: 0 8px 25px rgba(148, 192, 69, 0.06);
}

.contact-icon {
    font-size: 38px;
    color: #94c045;
    margin-bottom: 15px;
}

/* تخصيص أيقونة الواتساب لتأخذ لون التطبيق الرسمي */
.contact-method:first-child .contact-icon {
    color: #25D366;
}

.contact-method h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-method p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    direction: ltr; /* لعرض رقم الهاتف بشكل صحيح من اليسار لليمين */
}

/* زر الواتساب المخصص داخل كارت التواصل */
.whatsapp-btn {
    background-color: #25D366;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-btn:hover {
    background-color: #1ebd54;
    color: #ffffff;
}

/* تنسيق وتوحيد عرض الأزرار الأخرى داخل شبكة التواصل */
.contact-method .btn {
    min-width: 140px;
}

/*--------------------------------------------------------------
# شاشات الموبايل (Responsive)
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* عمود واحد مريح للتصفح بالإصبع على الموبايل */
        gap: 20px;
    }
    
    .contact-method {
        min-height: auto;
        padding: 25px 20px;
    }
}
/*--------------------------------------------------------------
# قسم أرشيف منشورات الفيس بوك (Facebook Archive)
--------------------------------------------------------------*/
.facebook-archive-section {
    background-color: #ffffff;
}

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

.post-card {
    background: #ffffff;
    border: 1px solid #e4e6eb;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.06);
    border-color: #cbd5e1;
}

/* الهيدر الخاص بالكارت الصغير */
.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    position: relative;
    width: 100%;
}

.post-avatar-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #edf4e4;
    object-fit: contain;
    background: #f9fbf7;
}

.post-meta h4 {
    font-size: 14px;
    color: #050505;
    font-weight: 600;
    margin-bottom: 2px;
}

.post-meta .post-date {
    font-size: 12px;
    color: #65676b;
}

.post-fb-icon {
    position: absolute;
    left: 0;
    top: 5px;
    color: #1877F2;
    font-size: 20px;
}

/* محتوى نص المنشور */
.post-content p {
    font-size: 14px;
    color: #050505;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: right;
    white-space: pre-line; /* يحافظ على نزول السطور كما كُتب في الأصل */
}

/* زر الانتقال لفيسبوك */
.post-footer {
    border-top: 1px solid #f0f2f5;
    padding-top: 15px;
    text-align: center;
}

.read-more-btn {
    color: #1877F2;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.read-more-btn:hover {
    color: #145dbf;
    text-decoration: underline;
}

.no-posts {
    text-align: center;
    color: #777;
    grid-column: 1 / -1;
    font-size: 15px;
}

/*--------------------------------------------------------------
# التوافق مع الموبايل
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/*--------------------------------------------------------------
# تنسيق أرشيف منشورات الفيسبوك (Facebook Grid UI)
--------------------------------------------------------------*/
.facebook-archive-section {
    background-color: #f0f2f5; /* خلفية رمادية مريحة كشكل تصفح الفيسبوك */
    padding: 60px 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* توزيع شبكي مرن كأعمدة متوازية */
    gap: 25px;
    margin-top: 30px;
}

.post-card {
    background: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.1);
    border-color: #94c045; /* يضيء بلون مركز رشيق عند التمرير */
}

/* هيدر كارد المنشور */
.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    position: relative;
    width: 100%;
}

.post-avatar-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #edf4e4;
    object-fit: contain;
    background: #ffffff;
}

.post-meta h4 {
    font-size: 14px;
    color: #050505;
    font-weight: 700;
    margin-bottom: 3px;
}

.post-meta .post-date {
    font-size: 12px;
    color: #65676b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-fb-icon {
    position: absolute;
    left: 0;
    top: 5px;
    color: #1877F2;
    font-size: 22px;
}

/* نص المنشور والميديا */
.post-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-text-box {
    font-size: 14px;
    color: #050505;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: right;
    white-space: pre-line;
}

/* صندوق الميديا الموحد */
.post-media-container {
    margin-top: auto; /* يجعل محاذاة الصور متوازية بالأسفل دائماً */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e4e6eb;
    height: 200px; /* يوحد طول الكروت لتبدو متناسقة */
    background-color: #f8fafc;
}

.post-attached-media {
    width: 100%;
    height: 100%;
    object-fit: cover; /* يقص الصورة بذكاء دون تشويه أبعادها */
    display: block;
}

/* زر قراءة المنشور في الفوتر */
.post-footer {
    border-top: 1px solid #f0f2f5;
    padding-top: 15px;
    margin-top: 15px;
    text-align: center;
}

.read-more-btn {
    color: #1877F2;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.read-more-btn:hover {
    color: #94c045;
    text-decoration: underline;
}

.no-posts {
    text-align: center;
    color: #777;
    grid-column: 1 / -1;
    font-size: 15px;
    padding: 30px;
}

/* توافق الشاشات للموبايل */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    .post-media-container {
        height: 180px;
    }
}

/*--------------------------------------------------------------
# الفوتر (Footer)
--------------------------------------------------------------*/
.footer {
    background-color: #1a252f;
    color: #ecf0f1;
    padding: 60px 0 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .footer-logo {
    max-height: 50px;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    color: #bdc3c7;
}

.footer-links h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: #94c045;
}

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

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

.footer-links ul li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #94c045;
    padding-right: 5px;
}

.copyright {
    border-top: 1px solid #2c3e50;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #bdc3c7;
}

.copyright a {
    color: #94c045;
    text-decoration: none;
}

/*--------------------------------------------------------------
# التوافق مع شاشات الموبايل (Responsive Media Queries)
--------------------------------------------------------------*/
@media (max-width: 992px) {
    .nav-menu, .auth-buttons {
        display: none; /* يمكن تفعيلها برمجياً مع قائمة الموبايل لاحقاً */
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero h1 {
        font-size: 30px;
    }
    .section-title {
        font-size: 26px;
    }
}
