.team .member {
    position: relative;
  }
  
  .team .member .member-img {
    margin: 0 80px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 4px solid var(--background-color);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.2);
  }
  
  @media (max-width: 1024px) {
    .team .member .member-img {
      margin: 0 60px;
    }
  }
  
  .team .member .member-img img {
    position: relative;
    z-index: 1;
  }
  
  .team .member .member-img .social {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding-bottom: 20px;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }
  
  .team .member .member-img .social a {
    transition: 0.3s;
    color: var(--contrast-color);
    font-size: 20px;
    margin: 0 8px;
  }
  
  .team .member .member-img .social a:hover {
    color: var(--accent-color);
  }
  
  .team .member .member-info {
    margin-top: 30px;
  }
  
  .team .member .member-info h4 {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 18px;
  }
  
  .team .member .member-info span {
    font-style: italic;
    display: block;
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 10px;
  }
  
  .team .member .member-info p {
    margin-bottom: 0;
    font-size: 14px;
  }
  
  .team .member:hover .member-img .social {
    padding-bottom: 0;
    visibility: visible;
    opacity: 1;
  }

  .light-background {
    background-color: #f9f9f9;

  }  


  .alternate-layout {
    display: flex;
    align-items: center; /* توسيط العناصر عموديًا */
    margin-bottom: 50px; /* مسافة بين الأقسام */
}

.alternate-layout img {
    width: 100%; /* عرض الصورة بنسبة 100% */
    height: auto; /* الحفاظ على نسبة الطول إلى العرض */
    border-radius: 10px; /* حواف مدورة */
}

.alternate-layout .info-table {
    margin-bottom: 20px; /* مسافة أسفل الجدول */
    font-size: 14px; /* حجم الخط للجدول */
}

.alternate-layout h4 {
    font-size: 24px; /* حجم الخط للعنوان */
    margin-bottom: 15px; /* مسافة أسفل العنوان */
}

.alternate-layout p {
    font-size: 16px; /* حجم الخط للوصف */
    line-height: 1.6; /* تباعد الأسطر */
}

.alternate-layout .icon-button {
    margin-top: 20px; /* مسافة فوق الزر */
    text-align: center; /* توسيط الزر */
}

.footer-about {
  min-height: 300px; /* زيادة ارتفاع القسم */
}

.footer-description {
  max-width: 80%; /* تقليل عرض النص */
  line-height: 1.8; /* زيادة تباعد الأسطر */
  text-align: justify; /* محاذاة النص */
}



.footer-about {
  display: flex;
  flex-direction: column;
  align-items: center; /* توسيط العناصر أفقيًا */
  text-align: center; /* توسيط النص */
}
/* تنسيق خلفية الصورة للفوتر */
.footer {
  background-size: cover; /* تغطية الخلفية */
  background-position: center; /* توسيط الخلفية */
  padding: 100px 0; /* إضافة مساحة داخلية */
  position: relative; /* لجعل الطبقة الشفافة تعمل */
  color: #fff; /* لون النص العام */
}


.ar-button {
  position: fixed; 
  bottom: 45px;    
  right: 95px;     
  z-index: 100;   
}
.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

/* طبقة شفافة فوق الصورة */
.item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* تنسيق النص داخل الفوتر */
.footer h4 {
  font-size: 24px; /* حجم الخط للعناوين */
  color: #fff; /* لون النص */
}

.footer p {
  font-size: 18px; /* حجم الخط للفقرات */
  color: #fff; /* لون النص */
}

/* تنسيق الروابط */
.footer a {
  font-size: 18px; /* حجم الخط للروابط */
  color: #fff; /* لون الروابط */
  text-decoration: none; /* إزالة الخط التحتي */
}

.footer a:hover {
  color: #f0f0f0; /* تغيير لون الروابط عند التحويم */
}

/* تنسيق القوائم */
.footer ul {
  list-style: none; /* إزالة النقاط من القوائم */
  padding: 0; /* إزالة الحشو الافتراضي */
}

.footer ul li {
  margin-bottom: 10px; /* مسافة بين عناصر القائمة */
}

/* تنسيق السايت نيم */
.sitename {
  font-size: 36px; /* حجم الخط للسايت نيم */
  color: #fff; /* لون النص */
  font-weight: bold; /* سماكة الخط */
}
/* تنسيق الروابط */
.footer-links a {
  font-size: 18px; /* حجم الخط للروابط */
  color: #fff !important; /* إجبار اللون الأبيض */
  text-decoration: none; /* إزالة الخط التحتي */
}

.footer-links a:hover {
  color: #f0f0f0 !important; /* تغيير لون الروابط عند التحويم */
}
.logo {
  margin-bottom: 20px; /* مسافة بين السايت نيم والنص */
}

.rtl-text {
  direction: rtl; /* الاتجاه من اليمين إلى اليسار */
  line-height: 1.8; /* تباعد الأسطر */
  max-width: 80%; /* تقليل عرض النص */
}

/* تنسيق النص من اليمين إلى اليسار */
.rtl-text {
  direction: rtl; /* الاتجاه من اليمين إلى اليسار */
  text-align: right; /* محاذاة النص إلى اليمين */
}

/* تنسيق الأرقام والحروف اللاتينية */
.rtl-text span {
  direction: ltr; /* الاتجاه من اليسار إلى اليمين للأرقام والحروف اللاتينية */
  unicode-bidi: embed; /* الحفاظ على اتجاه النص */
}

  .tall-image {
    height: 400px; /* ارتفاع الصورة */
    width: 100%; /* عرض الصورة بنسبة 100% من العمود */
    object-fit: cover; /* الحفاظ على نسبة الطول إلى العرض دون تشويه */
    border-radius: 10px; /* حواف مدورة (اختياري) */
}



  .call-to-action {
    padding: 80px 0;
    position: relative;
    clip-path: inset(0);
  }
  
  .call-to-action img {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }
  
  .call-to-action:before {
    content: "";
    background: color-mix(in srgb, var(--background-color), transparent 50%);
    position: absolute;
    inset: 0;
    z-index: 2;
  }
  
  .call-to-action .container {
    position: relative;
    z-index: 3;
  }
  
  .call-to-action h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--default-color);
  }
  
  .call-to-action p {
    color: var(--default-color);
  }
  
  .call-to-action .cta-btn {
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 5px;
    transition: 0.5s;
    margin: 10px;
    border: 2px solid var(--contrast-color);
    color: var(--contrast-color);
  }
  
  .call-to-action .cta-btn:hover {
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
  }

  
  .footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding-bottom: 50px;
    position: relative;
  }
  
  .footer .footer-top {
    padding-top: 50px;
  }
  
  .footer .footer-about .logo {
    margin-bottom: 25px;
  }
  
  .footer .footer-about .logo img {
    max-height: 40px;
    margin-right: 6px;
  }
  
  .footer .footer-about .logo span {
    color: var(--heading-color);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: var(--heading-font);
  }
  
  .footer .footer-about p {
    font-size: 14px;
    font-family: var(--heading-font);
  }
  
  .footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    margin-right: 10px;
    transition: 0.3s;
  }
  
  .footer .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
  }
  
  .footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
  }
  
  .footer .footer-links {
    margin-bottom: 30px;
  }
  
  .footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer .footer-links ul i {
    padding-right: 2px;
    font-size: 12px;
    line-height: 0;
  }
  
  .footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
  }
  
  .footer .footer-links ul li:first-child {
    padding-top: 0;
  }
  
  .footer .footer-links ul a {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    display: inline-block;
    line-height: 1;
  }
  
  .footer .footer-links ul a:hover {
    color: var(--accent-color);
  }
  
  .footer .footer-contact p {
    margin-bottom: 5px;
  }
  
  .footer .copyright {
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  }
  
  .footer .copyright p {
    margin-bottom: 0;
  }
  
  .footer .credits {
    margin-top: 6px;
    font-size: 13px;
  }