/* إخفاء القائمة الجانبية في الصفحة العربية فقط */

/* ========================================
   1. إعدادات عامة
======================================== */
@font-face {
    font-family: "DIN Next LT W23";
    src: url("/fonts/din-next-lt-w23-regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    font-family: "DIN Next LT W23", sans-serif;
    overflow-x: hidden !important;
    max-width: 100vw;
    touch-action: pan-y;
    position: relative;
}

html {
    overflow-x: hidden !important;
    max-width: 100vw;
    touch-action: pan-y;
}

section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    color: white;
    font-weight: bold;
}

/* ========================================
   2. شريط التنقل (Navbar)
======================================== */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background-color: #2e3960;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

@media (min-width: 1024px) {
    .navbar {
        padding-right: 100px;
        padding-left: 100px;
    }
}

/* عناصر التنقل */
.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 10px;
}

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

.title {
    font-size: 20px;
    font-weight: bold;
    color: white;
}
@media (max-width: 768px) {
    .title {
        font-size: 16px;
    }
}

.icon-gold {
    color: #d4af37;
    font-size: 24px;
}

.nav-left a {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    margin: 0 2px;
}

.nav-left a:hover {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

.nav-left a.active {
    color: #d4af37;
    background: transparent;
    box-shadow: none;
    font-weight: 600;
    /* إزالة الخط السفلي والخلفية */
}

.nav-left a.active::before {
    display: none !important;
}

/* ========================================
   3. القائمة الجانبية (Mobile Menu)
======================================== */
/* شريط التنبيه */
#topBanner {
    background: #ffd700;
    color: #000;
    text-align: center;
    padding: 10px;
    position: fixed;
    top: -50px;
    width: 100%;
    font-weight: bold;
    z-index: 1000;
    transition: top 0.5s ease;
}

/* البار العلوي */
#navbar {
    position: fixed; /* تثبيت في الأعلى */
    top: 0; /* أعلى الشاشة */
    width: 98%; /* بعرض الصفحة */
    z-index: 999; /* فوق كل العناصر */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    background-color: #3A4267;
    color: white;
    padding: 0 20px;
}

#logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

#navLinks {
    display: flex;
    gap: 20px;
}

#navLinks a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}
.nav-menu a {
    text-decoration: none;
    padding: 0 10px;
    position: relative;
}

/* إضافة الخط الفاصل */
@media (min-width: 1025px) {
    .nav-menu a:not(:last-child)::after {
        content: "|";
        position: absolute;
        right: -5px;
        color: #ccc;
        font-weight: bold;
    }
}

#menuToggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
     margin-left: 16px;
}

#menuToggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

/* للموبايل */
@media (max-width: 1024px) {
   @media (max-width: 1024px) {
  #navLinks {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 90px;
    right: 0;
    width: 100%;
    background-color:  #3A4267;
    text-align: center;

    /* ✅ أهم سطرين */
    max-height: calc(100vh - 90px); /* ارتفاع الشاشة ناقص البار */
    overflow-y: auto; /* تفعيل التمرير */
  }

  #navLinks a {
    padding: 15px 0;
    border-top: 1px solid #333;
  }

  #navLinks.active {
    display: flex;
  }

  #menuToggle {
    display: flex;
    margin-left: 25px;

    
  }
}


    #navLinks a {
        padding: 15px 0;
        border-top: 1px solid #333;
    }

    #navLinks.active {
        display: flex;
    }

    #menuToggle {
        display: flex;
    }
}

#codeLabel {
    font-size: 14px;
    color: #ccc;
    font-weight: normal;
}
#logoImg {
    height: 75px;
    width: auto;
    margin-left: 8px;
    border-radius: 8px;
}

/* ========================================
   4. القسم الأول - الصفحة الرئيسية (Section A)
======================================== */
.hero-section {
  background-image: url("../images/site/main_image.png"); /* ← غيّر حسب مسارك */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  height: 600px;
  margin-top: 85px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}
   @media (max-width: 768px) {
 

      .hero-section {
        height: auto;
        min-height: 360px;
      }
    }
/* ========================================
   6. قسم الإحصائيات
======================================== */
.view-small {
    flex: 0 0 auto;
    min-height: 200px;
    background: transparent !important;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: visible;
    padding: 20px;
    margin-bottom: 0;
    z-index: 5;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    z-index: 10;
    position: relative;
    background: transparent !important;
}

.stat-box {
    background: transparent !important;
    padding: 30px 20px;
    text-align: center;
    border-radius: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
    border: none;
    position: relative;
    z-index: 15;
    min-height: 120px;
}

.stat-box:hover {
    transform: translateY(-5px);
    background: transparent !important;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: #f0d060;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.stat-special {
    color: #f0d060 !important;
    font-size: 2.8rem !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8) !important;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.4)) !important;
    font-weight: 900 !important;
}

.stat-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

/* ========================================
   7. القسم الثاني - من نحن (Section B)
======================================== */
.section-b {
    width: 100%;
    min-height: auto;
    height: auto;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 80px 20px 40px 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    isolation: isolate;
}

/* رأس القسم الثاني */
.section-b-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
}

.section-b-header h2 {
    font-size: 2.5rem;
    color: #2e3960;
    margin-bottom: 20px;
    font-weight: bold;
}
.section-b-header h3 {
    font-size: 3rem;
    color: #2e3960;
    margin-bottom: 20px;
    font-weight: bold;
}
.section-b-header .golden-line {
    width: 80px;
    height: 4px;
    background-color: #d4af37;
    margin: 0 auto 30px auto;
    border-radius: 2px;
}

.section-b-header .subtitle {
    font-size: 1.3rem;
    color: #2e3960;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
}

/* محتوى القسم الثاني */
.section-b-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    align-items: center;
    gap: 60px;
    height: auto;
}

/* القسم النصي */
.section-b-text {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent !important;
}

.section-b-text h3 {
    font-size: 2.2rem;
    color: #2e3960;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: right;
    text-shadow: none !important;
}

.section-b-text .text-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-b-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    text-align: right;
    text-shadow: none !important;
    margin-top: 15px;
}

.section-b-text .highlight {
    color: #d4af37;
    font-weight: bold;
}

/* مربعات المؤهلات */
.qualification-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 8px 0;
    background: transparent !important;
    border: none !important;
    margin-bottom: 6px;
    box-shadow: none !important;
    direction: rtl;
}

.qualification-item .icon {
    font-size: 1.2rem;
    color: #d4af37;
    min-width: 25px;
    margin-left: 10px;
    text-align: center;
}

.qualification-item .text {
    font-size: 1rem;
    color: #2e3960;
    font-weight: 600;
    text-align: right;
    text-shadow: none !important;
    flex: 1;
}

.section-b-text * {
    box-shadow: none !important;
    text-shadow: none !important;
}

/* قسم الصورة */
.section-b-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    height: 100%;
}

.lawyer-card {
    background: transparent;
    padding: 20px;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    border: none;
    width: 100%;
    max-width: 350px;
}

.lawyer-avatar {
    width: 280px; 
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: none;
    position: relative;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
}

.lawyer-photo {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}


.lawyer-photo:hover {
    transform: scale(1.02);
}

.lawyer-avatar::before {
    display: none;
}

.lawyer-card h3,
.lawyer-card .lawyer-title {
    display: none;
}

/* ✅ تحديث بطاقات القيم لتكون مثل section-d */
.values-section {
    width: 100%;
    margin-top: 60px;
    padding: 40px 20px;
    background-color: transparent;
    border-top: none;
}

.values-section .container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: nowrap; /* لا يلتف في الشاشات الكبيرة */
    max-width: 1200px;
    margin: 0 auto;
}

.values-section .value-card {
    width: 350px;
    min-width: 350px;
    max-width: 350px;
    flex: 0 0 350px;
}

.value-card {
    flex: 1 1 30%;
    max-width: 32%;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    transition: 0.3s;
    border: 2px solid transparent;
    text-align: center;
}

.value-card:hover,
.value-card:active {
    border-color: #d4af37;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* للشاشات المتوسطة */
@media (max-width: 992px) {
    .values-section .container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .value-card {
        max-width: 48%;
    }
}

/* للشاشات الصغيرة */
@media (max-width: 576px) {
    .value-card {
        max-width: 100%;
    }
}

.card-icon {
    font-size: 24px;
    background-color: #d4af37;
    color: white;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2e2e2e;
}

.value-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin: 0;
    text-align: center;
}

/* ✅ تحسين استجابة section-b عند الشاشات الصغيرة */
@media (max-width: 991px) {
    .section-b-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .section-b-text,
    .section-b-info {
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    .lawyer-card {
        max-width: 300px;
        margin: 0 auto;
    }

    .lawyer-avatar {
        width: 100%;
        max-width: 280px;
        height: auto;
    }

    .lawyer-photo {
        width: 100%;
        height: auto;
    }
}

/* ========================================
   3. الأقسام الأخرى
======================================== */
.section-c {
    width: 100%;
    min-height: auto;
    height: auto;
    background-color: #f5f6f8;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 80px 20px 40px 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    isolation: isolate;
}

/* شبكة البطاقات */
.team-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    place-items: center; /* ✅ تمركز جميع البطاقات في الوسط */
    box-sizing: border-box;
}

/* 📱 شاشات صغيرة (جوال) - بطاقة واحدة */
@media (max-width: 480px) {
    .team-container {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .card {
        max-width: 100%;
    }
}

/* 📱 شاشات متوسطة (تابلت) - بطاقتين */
@media (min-width: 768px) {
    .team-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 💻 شاشات كبيرة (كمبيوتر) - 3 بطاقات */
@media (min-width: 992px) {
    .team-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* البطاقة */
.card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;

    /* المقاسات */
    width: 100%;
    max-width: 360px; /* أقصى عرض للبطاقة */
    min-height: 380px; /* ارتفاع ثابت أو أدنى ارتفاع */

    /* تنسيق المحتوى */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* صورة رمزية */
.card-img {
    background-color: #ebebeb;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* يمنع تجاوز الصورة */
    border-radius: 8px;
    padding: 10px;
}

.card-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain; /* تضمن احتواء الصورة بدون قص */
    border-radius: 6px;
}

/* محتوى البطاقة */
.card-body {
    padding: 20px;
    text-align: right;
    direction: rtl;
}

.card-body h3 {
    font-size: 18px;
    color: #222;
    margin-bottom: 6px;
}

.card-body .role {
    color: #d4af37;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 8px;
}

.card-body .specialty {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

/* الأيقونات */
.icons {
    display: flex;
    justify-content: start; /* 🔁 تغيّر الاتجاه ليبدأ من اليمين */
    direction: rtl; /* ✅ يضمن بقاء الأيقونات تبدأ من اليمين */
    gap: 12px;
    font-size: 17px;
    color: #444;
    margin-top: 10px;
}

.icons a {
    color: #444;
    text-decoration: none;
    transition: color 0.3s;
}

.icons a:hover {
    color: #d4af37;
}

/* زر أو عنصر إضافي أسفل البطاقة */
.card-footer {
    margin-top: 15px;
    text-align: right;
}

.card-footer a {
    font-size: 14px;
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s;
}

.card-footer a:hover {
    color: #003c82;
}

/* ========================================
   4. الأقسام  
======================================== */

.section-d {
    width: 100%;
    min-height: auto;
    height: auto;
    background-color: white;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 80px 20px 40px 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    isolation: isolate;
}

/* ✅ استخدم CSS Grid بدل Flex لسهولة التحكم في الصفوف */
.service-card-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    box-sizing: border-box;
}

.service-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    transition: 0.3s;
    border: 2px solid transparent;
    text-align: center;
}

.service-card:hover,
.service-card:active {
    border-color: #d4af37;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* العناصر داخل البطاقة */
.service-card-icon {
    font-size: 24px;
    background-color: #d4af37;
    color: white;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.service-card-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2e2e2e;
}

.service-card-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.service-card-list {
    list-style: none;
    padding: 0;
    font-size: 14px;
    color: #444;
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   9. الأقسام 5
======================================== */

.section-e {
    width: 100%;
    min-height: auto;
    height: auto;
    background-color: #f5f6f8;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 80px 20px 40px 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    isolation: isolate;
}
.law-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.law-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;

    transition: 0.3s;
    text-align: center;
    border: 2px solid transparent;
}

.law-icon {
    background-color: #d4af37;
    color: white;
    font-size: 22px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin: 0 auto 15px;
    border-radius: 50%;
}

.law-card h3 {
    font-size: 18px;
    margin: 10px 0;
}

.law-card p {
    font-size: 14px;
    color: #555;
}

.law-card ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    font-size: 14px;
    color: #444;
    line-height: 1.8;
    text-align: right;
}

/* شاشتين متوسطتين */
@media (max-width: 991px) {
    .law-card {
        width: calc(50% - 20px);
    }
}

/* جوال */
@media (max-width: 600px) {
    .law-card {
        width: 100%;
    }
}

/* ========================================
    تصميم قسم الأخبار (News Cards) - مطابق لبطاقات الأعضاء
======================================== */
.news-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    place-items: center;
    box-sizing: border-box;
}

/* 📱 شاشات صغيرة (جوال) - بطاقة واحدة */
@media (max-width: 480px) {
    .news-container {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .news-card {
        max-width: 100%;
    }
}

/* 📱 شاشات متوسطة (تابلت) - بطاقتين */
@media (min-width: 768px) {
    .news-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 💻 شاشات كبيرة (كمبيوتر) - 3 بطاقات */
@media (min-width: 992px) {
    .news-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    
    /* المقاسات مطابقة لبطاقات الأعضاء */
    width: 100%;
    max-width: 360px; /* نفس حجم بطاقات الأعضاء */
    min-height: 380px; /* نفس ارتفاع بطاقات الأعضاء */
    
    /* تنسيق المحتوى */
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--gold-color, #d4af37);
}

.news-image {
    position: relative;
    height: 180px; /* نفس ارتفاع صورة الأعضاء */
    overflow: hidden;
    background-color: #ebebeb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold-color, #d4af37);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    min-width: 50px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.news-date .day {
    font-size: 18px;
    display: block;
    line-height: 1;
}

.news-date .month {
    font-size: 12px;
    display: block;
    line-height: 1;
    margin-top: 2px;
}

.news-content {
    padding: 10px; /* نصف الـ padding (من 20px إلى 10px) */
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* يملأ المساحة المتبقية */
}

.news-title {
    font-size: 14px; /* نصف حجم الخط تقريباً (من 18px إلى 14px) */
    font-weight: 600;
    color: #2e3960;
    margin: 0 0 6px 0; /* نصف المسافة (من 12px إلى 6px) */
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 8px; /* نصف المسافة (من 15px إلى 8px) */
    margin-bottom: 8px; /* نصف المسافة (من 15px إلى 8px) */
    padding-bottom: 6px; /* نصف المسافة (من 12px إلى 6px) */
    border-bottom: 1px solid #f0f0f0;
}

.news-date-full {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.news-date-full i {
    color: var(--gold-color, #d4af37);
}

.news-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: auto; /* يدفع الزر للأسفل */
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-color, #d4af37);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border: 2px solid var(--gold-color, #d4af37);
    border-radius: 25px;
    transition: all 0.3s ease;
    background: transparent;
}

.read-more-btn:hover {
    background: var(--gold-color, #d4af37);
    color: #fff;
    transform: translateX(-5px);
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(-3px);
}

.no-news {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-news i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-news p {
    font-size: 18px;
    margin: 0;
}

/* استجابة للأجهزة المختلفة - مطابقة لبطاقات الأعضاء */
@media (max-width: 768px) {
    .news-container {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    
    .news-image {
        height: 160px; /* تقليل قليلاً للشاشات الصغيرة */
    }
    
    .news-content {
        padding: 15px;
    }
    
    .news-title {
        font-size: 16px;
    }

    .news-card {
        max-width: 100%;
        min-height: 350px; /* تقليل الارتفاع للموبايل */
    }
}

@media (max-width: 480px) {
    .news-container {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    
    .news-content {
        padding: 15px;
    }
    
    .news-date {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
    }

    .news-card {
        min-height: 320px; /* حجم أصغر للهواتف الصغيرة */
    }
}

/* ========================================
    الأقسام 5
======================================== */
.section-f {
    width: 100%;
    min-height: auto;
    height: auto;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 80px 20px 40px 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    isolation: isolate;
}

.cards-img {
    width: 100%;
    margin: auto;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.card_f {
    position: relative;
    width: 340px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 340px;
    overflow: hidden;
    border-radius: 16px;
    background-color: #2e3960;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card_f video,
.card_f img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    aspect-ratio: 1 / 1;
    background-color: #2e3960;
}

/* زر التشغيل للفيديو */
.video-play-btn {
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 44px;
    height: 44px;
    /* background: linear-gradient(135deg, #d4af37 60%, #2e3960 100%); */
    box-shadow: 0 4px 16px rgba(46, 57, 96, 0.18),
        0 1.5px 6px rgba(212, 175, 55, 0.12);
    border: 2.5px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    backdrop-filter: blur(3px);
    transition: transform 0.22s cubic-bezier(0.4, 1.3, 0.6, 1), box-shadow 0.3s,
        background 0.3s;
    padding: 0;
    outline: none;
}

.video-play-btn:hover {
    transform: scale(1.13) rotate(-8deg);
    background: linear-gradient(135deg, #f4d03f 70%, #2e3960 100%);
    box-shadow: 0 8px 24px rgba(46, 57, 96, 0.22),
        0 2px 8px rgba(212, 175, 55, 0.18);
}

.video-play-btn i {
    color: #fff;
    font-size: 1.5rem;
    text-shadow: 0 2px 8px rgba(46, 57, 96, 0.18), 0 1px 2px #d4af37;
    margin-left: 2px;
}

/* ✅ زر جديد داخل كل بطاقة */
.card-btn-container {
    position: absolute;
    bottom: 10px;
    left: 12px;
}
.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f5af19;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    text-decoration: none;
    transition: background 0.3s;
}
.card-btn:hover {
    background: #d08f10;
}
.card-btn i {
    font-size: 1rem;
}

/* تابلت */
@media (max-width: 992px) {
    .cards-img {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* جوال */
@media (max-width: 600px) {
    .cards-img {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* العنوان بدون خلفية أو ظل */
.badge-title {
    width: 100%;
    height: 75px;
    background-color: transparent; /* بدون خلفية */
    color: #003c82;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
}

.badge-title h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #003c82; /* لون النص */
}

/* الكروت */
.badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    direction: rtl;
    padding: 30px 20px;
}

.badge {
    background-color: #e0b63f;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 400;
    font-size: 16px;
    white-space: nowrap;
    box-shadow: none; /* لا يوجد ظل */
    border: none; /* لا يوجد إطار */
    transition: transform 0.3s;
}

.badge:hover {
    transform: scale(1.05);
}

/* ========================================
    الأقسام 5
======================================== */
.section-g {
    width: 100%;
    min-height: auto;
    height: auto;
    background-color: #262d45;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 80px 20px 40px 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    isolation: isolate;
}

/* ----------------- العنوان والخط الذهبي ----------------- */
.section-b-header-g h2 {
    color: white;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    direction: rtl;
}

.golden-line-g {
    width: 60px;
    height: 4px;
    background-color: #e0b63f;
    margin: 0 auto 20px;
    border-radius: 2px;
}

.subtitle-g {
    color: #d0d0d0;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
    margin: 0 auto 30px;
    max-width: 600px;
}

/* ----------------- القسم الكامل ----------------- */
.booking-section {
    width: 100%;
    background-color: #262d45;
    padding: 60px 20px;
    direction: rtl;
    box-sizing: border-box;
    display: flex;
    

    }
/* ----------------- تحسين قسم الحجز للحجم الثابت ----------------- */
.booking-section {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    padding: 0 20px;
}

/* ----------------- النموذج ومعلومات التواصل بجانب بعض ----------------- */
.booking-form,
.contact-info {
    background-color: white;
    border-radius: 15px;
    padding: 35px 30px;
    box-sizing: border-box;
    flex: 1 1 500px; /* حجم ثابت أكبر قليلاً */
    max-width: 550px; /* حد أقصى ثابت */
    min-width: 450px; /* حد أدنى ثابت */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* نموذج الحجز */
.booking-form {
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.booking-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
    color: #2e3960;
    font-weight: 600;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
    color: #fff;
    font-weight: 600;
}

/* كل صف في النموذج فيه عنصرين */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 20px;
}

.form-row input,
.form-row select,
.form-row textarea {
    flex: 1 1 48%;
    padding: 15px 18px;
    border-radius: 10px;
    border: 2px solid #e1e1e1;
    font-size: 16px;
    background-color: #f8f9fa;
    box-sizing: border-box;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--gold-color, #d4af37);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-row textarea {
    min-height: 120px;
    resize: vertical;
    flex: 1 1 100%;
}

/* تحسين checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    cursor: pointer;
    padding: 10px 0;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--gold-color, #d4af37);
}

/* إزالة تصميم الزر المحذوف */

/* ----------------- معلومات التواصل ----------------- */
.contact-info {
    background-color: transparent;
    color: white;
    box-shadow: none;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: white;
}

.info-item .icon {
    background-color: #e0b63f;
    color: white;
    border-radius: 50%;
    padding: 10px;
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    font-size: 16px;
}

.info-item strong {
    font-weight: 500;
    font-size: 16px;
}

.info-item p {
    font-weight: 300;
    font-size: 14px;
    margin: 4px 0 0;
}

/* ----------------- الجوال: عمودي مع حجم ثابت ----------------- */
@media (max-width: 768px) {
    .booking-section {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }

    .booking-form,
    .contact-info {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: auto;
        width: 100%;
        padding: 25px 20px;
    }

    .form-row {
        gap: 15px;
        margin-bottom: 18px;
    }

    .form-row input,
    .form-row select,
    .form-row textarea {
        flex: 1 1 100%;
        padding: 12px 15px;
        font-size: 16px; /* منع zoom في iOS */
    }

    .booking-form h3,
    .contact-info h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }
}

/* للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .booking-form,
    .contact-info {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .form-row {
        gap: 12px;
        margin-bottom: 15px;
    }

    .form-row input,
    .form-row select,
    .form-row textarea {
        padding: 10px 12px;
    }

    .booking-form h3,
    .contact-info h3 {
        font-size: 20px;
        margin-bottom: 18px;
    }
}

/* ----------------- زر التأكيد ----------------- */
button {
    background-color: #e0b63f;
    color: white;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

button:hover {
    background-color: #cfa832;
}

/* ----------------- خريطة / أيقونات إضافية ----------------- */
.map-box {
    height: 100px;
    background: linear-gradient(to bottom, #f8f8f8, #eee);
    color: #333;
    text-align: center;
    padding: 30px 10px;
    border-radius: 12px;
    margin-top: 30px;
}

.map-box .map-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
}

/* ========================================
    الأقسام 5
======================================== */
.section-h {
    width: 100%;
    min-height: auto;
    height: auto;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 80px 20px 40px 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    isolation: isolate;
}
.contact-cards {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.contact-card {
    background-color: white;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    flex: 1 1 300px; /* كل بطاقة تأخذ عرض مرن */
    max-width: 330px; /* وأقصى عرض مريح */
    box-sizing: border-box;
}

.icon-box {
    background-color: #e0b63f;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.contact-card h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #222;
}

.contact-card p {
    margin: 4px 0;
    font-size: 14px;
    color: #555;
}

.contact-card .highlight {
    display: block;
    color: #e0b63f;
    font-weight: bold;
    margin: 6px 0;
    font-size: 15px;
}

/* 📱 الجوال: البطاقات تحت بعض */
@media (max-width: 768px) {
    .contact-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
/*  */
.contact-full-section {
    width: 100%;
    padding: 60px 20px;
    box-sizing: border-box;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    direction: rtl;
}

/* الجانب الأيسر: معلومات */
.contact-info-side {
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-side h3 {
    font-size: 20px;
    font-weight: bold;
    color: #1c1c1c;
    margin-bottom: 10px;
}

.info-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.info-box strong {
    display: block;
    margin-bottom: 8px;
    color: #222;
    font-size: 16px;
}

.info-box p {
    margin: 0;
    color: #444;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icons a {
    text-decoration: none; /* إزالة الخط تحت الرابط */
}

.social-icons i {
    background: #e0b63f;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none; /* تأكيد إضافي داخل الأيقونة */
}

/* خريطة */
.map-box {
    background-color: #e8e8e8;
    border-radius: 12px;
    text-align: center;
    padding: 30px 15px;
    color: #444;
}

/* الجانب الأيمن: النموذج */
.contact-form-side {
    flex: 1 1 550px;
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-form-side h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #1c1c1c;
    text-align: right;
}

.contact-form-side form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.form-row input {
    flex: 1 1 50%;
}

input,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 14px;
    background-color: #f9f9f9;
}

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

button {
    background-color: #e0b63f;
    color: white;
    padding: 12px;
    border: none;
    font-weight: bold;
    border-radius: 8px;
    font-size: 15px;
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #cfa832;
}

/* ✅ موبايل: تحت بعض */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .form-row input {
        flex: 1 1 100%;
    }
}

/* ========================================
   10. التأثيرات والحركات
======================================== */
@keyframes floating {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.06;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.1;
    }
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(10px, 10px);
    }
    100% {
        transform: translate(0, 0);
    }
}

/* تطبيق التأثيرات */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

.stat-item {
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}
.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}
.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}
.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

.btn-primary:hover {
    animation: pulse 2s infinite;
}

.hero-text * {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero-title {
    animation-delay: 0.2s;
}
.hero-subtitle {
    animation-delay: 0.4s;
}
.hero-description {
    animation-delay: 0.6s;
}
.hero-buttons {
    animation-delay: 0.8s;
}

.transparent-view {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.stats-section {
    position: absolute;
    z-index: 2;
}

/* ========================================
   11. الاستجابة للشاشات المختلفة
======================================== */

/* الشاشات المتوسطة */
@media (max-width: 1200px) and (min-width: 769px) {
    .main-image {
        width: 250px;
        height: 250px;
    }

    .image-section {
        width: 40%;
        min-width: 280px;
    }

    .text-section {
        width: 50%;
    }
}

/* الأجهزة اللوحية */
@media (max-width: 1024px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2.8rem;
    }

    .stat-text {
        font-size: 1.2rem;
    }

    .values-container {
        gap: 30px;
        justify-content: center;
    }

    .value-card {
        width: 240px;
        padding: 25px 18px;
    }

    .card-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 15px;
    }

    .card-icon i {
        font-size: 1.1rem;
    }

    .value-card h3 {
        font-size: 1.2rem;
    }

    .value-card p {
        font-size: 0.85rem;
    }
}

/* الجوال */
@media (max-width: 768px) {
    /* القسم الأول */
    .view-large {
        flex: 1;
        min-height: 50vh;
        padding: 40px 20px 20px 20px;
        padding-top: 40px;
        align-items: center;
        overflow: visible;
    }

    .view-small {
        flex: 0 0 auto;
        min-height: 200px;
        padding: 20px 15px;
        margin-bottom: 0;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10;
        background: transparent !important;
    }

    .content-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        height: auto;
        margin-top: 0;
        align-items: center;
    }

    .text-section {
        width: 100%;
        order: -1;
        text-align: center;
        align-items: center;
        padding: 20px;
    }

    .image-section {
        width: 100%;
        height: auto;
        margin-top: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-image {
        width: 180px;
        height: 180px;
        display: block !important;
        margin: 0 auto;
    }

    .text-section h1 {
        font-size: 2rem;
        margin-bottom: 8px;
        text-align: center;
    }

    .text-section h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
        text-align: center;
    }

    .text-section p {
        font-size: 0.95rem;
        margin-bottom: 12px;
        text-align: center;
        max-width: 100%;
    }

    .buttons-container {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        width: 100%;
        margin-top: 20px;
    }

    .cta-button {
        width: 80%;
        max-width: 200px;
        padding: 12px 24px;
    }

    /* الإحصائيات */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px 15px;
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 15;
        background: transparent !important;
    }

    .stat-box {
        padding: 20px 15px;
        min-height: 100px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: transparent !important;
        border: none !important;
    }

    .stat-number {
        font-size: 2.5rem;
        margin-bottom: 8px;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9) !important;
        filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4)) !important;
    }

    .stat-text {
        font-size: 1.1rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
        filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.3)) !important;
    }

    .stat-special {
        font-size: 2.2rem !important;
    }

    .plus-grid-bg {
        position: absolute !important;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(20px, 1fr)) !important;
        grid-auto-rows: 20px !important;
        justify-items: center;
        align-items: center;
        opacity: 0.1 !important;
        z-index: 0 !important;
        visibility: visible !important;
        pointer-events: none !important;
        height: 150vh !important;
    }

    .plus-grid-bg i {
        color: #d4af37 !important;
        font-size: 12px !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .view-container {
        position: relative;
        z-index: 2 !important;
        background: transparent !important;
    }

    .view-large {
        background: transparent !important;
    }

    .value-card {
        width: 100%;
        max-width: 90%;
        margin: 0 auto;
    }

    .card-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 18px;
    }

    .card-icon i {
        font-size: 1.2rem;
    }

    .value-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .value-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* الشاشات الكبيرة */
@media (min-width: 1200px) {
    .values-container {
        gap: 50px;
        justify-content: center;
    }

    .value-card {
        width: 300px;
        padding: 35px 25px;
    }

    .card-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 25px;
    }

    .card-icon i {
        font-size: 1.5rem;
    }

    .value-card h3 {
        font-size: 1.5rem;
        margin-bottom: 18px;
    }

    .value-card p {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* تنظيف الخصائص */
.view-large::before,
.view-small::before {
    display: none;
}

/*  */
.main-footer {
    background-color: #262d45;
    color: white;
    padding: 60px 20px 30px;
    font-family: "Tajawal", sans-serif;
    direction: rtl;
}

/* حاوية الأعمدة */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

/* كل عمود */
.footer-column {
    flex: 1 1 220px;
    min-width: 200px;
}

/* عناوين الأعمدة */
.footer-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
    color: white;
}

/* شعار المحامي */
.footer-brand {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #e0b63f;
}

/* النصوص داخل الأعمدة */
.footer-column p {
    font-size: 14px;
    margin: 8px 0;
    color: #ddd;
}

/* الروابط داخل الأعمدة */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

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

.footer-column ul li a:hover {
    color: #e0b63f;
}

/* ----------------------------- */
/* ✅ أيقونات التواصل */
/* ----------------------------- */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-social a i {
    color: #e0b63f; /* لون الأيقونة ذهبي */
    font-size: 18px;
    transition: color 0.3s;
    background: none; /* ⛔ لا خلفية */
    border: none;
    box-shadow: none;
}

.footer-social a:hover i {
    color: #cfa832; /* أفتح قليلاً عند التحويم */
}

/* ✅ العمود الأول بدون خلفية أو فريم */
.footer-column:first-child {
    background: transparent;
    box-shadow: none;
    padding: 0;
    border: none;
}

/* ----------------------------- */
/* سطر الحقوق في الأسفل */
/* ----------------------------- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

/* ----------------------------- */
/* 📱 الجوال */
/* ----------------------------- */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        max-width: 100%;
    }
}

.contact-link {
    color: #ddd;
    text-decoration: none; 
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #e0b63f;
}

.golden-icon {
    background-color: #e0b63f;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

/* ========================================
   12. تحسينات إضافية
======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease-in-out;
}

.animate-on-scroll.scroll-in {
    opacity: 1;
    transform: translateY(0);
}
  /* الشريط العلوي */
  .bar_85-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2e3960;
    padding: 10px 20px;
    height: 90px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }

  .bar_85-logo img {
       height: 80px;
  }

  .bar_85-nav-links {
    display: flex;
    align-items: center;
    height: 50%;
    padding: 0 40px;
  }

  .bar_85-nav-links a {
    position: relative;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0 15px;
    display: flex;
    align-items: center;
    height: 100%;
  }

  .bar_85-nav-links a:not(.bar_85-btn-consult):not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
  }

  .bar_85-nav-links a:hover {
    color: #f8f8f5;
  }

  /* زر حجز الاستشارة */
  .bar_85-btn-consult {
    background: #fff;
    color: #000 !important;
    border-radius: 8px;
    height: 65%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease, transform 0.2s ease;
  }

  .bar_85-btn-consult:hover {
    background: #f1f1f1;
    transform: translateY(-2px);
  }

  /* أيقونة القائمة للجوال */
  .bar_85-menu-icon {
    display: none;
    font-size: 40px;
    cursor: pointer;
    color: #f9f8f5;
    background: none;
    border: none;
  }

  @media (max-width: 1024px) {
    .bar_85-nav-links {
      display: none;
      padding: 0 40px;
    }
    .bar_85-menu-icon {
      display: block;
      padding: 0 30px;
    }
  }

  /* Overlay */
  .bar_85-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 1500;
  }
  .bar_85-overlay.active {
    display: block;
  }

  /* القائمة الجانبية */
  .bar_85-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background-color: #2e3960;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2000;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    overflow-y: auto;
  }

  .bar_85-sidebar.open {
    transform: translateX(0);
  }
  .bar_85-sidebar-close {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 22px;
    cursor: pointer;
    color: #fdfdfb;
    font-weight: bold;
  }
  .bar_85-sidebar-profile {
    text-align: center;
    margin-top: 30px;
  }
  .bar_85-sidebar-profile img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #f9f9f8;
    object-fit: cover;
  }
  .bar_85-sidebar-profile h3 {
    margin: 10px 0 20px;
    font-size: 18px;
    color: #fff;
  }
  .bar_85-sidebar-menu {
    list-style: none;
    padding: 0;
  }
  .bar_85-sidebar-menu li {
    margin: 10px 0;
  }
  .bar_85-sidebar-menu li a {
    display: block;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.15);
  }

  .bar_85-sidebar-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
  }

  /* محتوى الصفحة */
  .bar_85-content {
    padding-top: 110px;
    text-align: center;
  }
  .menu-open .bar_85-menu-icon {
  display: none;
}
