
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
                     Global-style
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/

 /* arabic */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/vendor/font/arabic_Tajawal_400.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB,
   U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B,
    U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, 
    U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/tajawal/v12/Iura6YBj_oCad4k1nzGBCw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/vendor/font/arabic_Tajawal_700.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB,
   U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, 
   U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, 
   U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/tajawal/v12/Iurf6YBj_oCad4k1l4qkHrFpiQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body, html {
  height: 100%;
  font-family: "Tajawal", sans-serif;
}

.light-bg {
  --background-color: #f1f1f1;
  --surface-color: #ffffff;
}

.dark-bg {
  --background-color: #618a7211;
  --surface-color: #ffffff;
}

/*--------------------------------------------------------------
Global-divider 
--------------------------------------------------------------*/
.divider {
  width: 100%;
  height: 40px; /* ارتفاع الصورة */
  background-image: url("../img/divider.png");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
  position: relative;
  text-align: center;
  margin: -20px 0 -20px 0; /* يجعل الصورة نصفها على السلايدر ونصفها على السكشن */
  z-index: 5; /* فوق المحتوى */
  border: none;
  padding: 0;
}

/* الجوال */
@media (max-width: 767px) {
  .divider {
     height: 30px;
    margin: -15px 0 -15px 0;
  }
}

.hh {
  display: none !important;
}
/*--------------------------------------------------------------
   Navbar
--------------------------------------------------------------*/
.navbar {
  position: fixed;
  top: 2px;
  left: 0;
  right: 0;
  width: 99%;
  margin: 0 auto;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.95); /* لون ثابت */

  border-radius: 40px;
  overflow: visible !important; /* خلي القائمة المنسدلة تظهر خارج النافبار */
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  direction: rtl;
}

/* داخلها شعار + روابط بنفس السطر */
.navbar .container-fluid {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 40px;
}

.navbar .logo {
  height: 55px;
}

/* الروابط */
.navbar-nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

.navbar-nav .nav-link {
  color: #000 !important;
  font-weight: bold;
  position: relative;
  padding: 8px 10px;
  transition: all 0.3s ease;
}

/* العنصر النشط */
.navbar-nav .nav-item.active .nav-link {
  color: #618a72 !important;
}

.navbar-nav .nav-item.active .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background-color: #618a72 !important;
  transition: all 0.3s ease;
}

/* خط hover من المنتصف */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: #618a72 !important;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 60%;
}

.navbar-nav .nav-link:hover {
  color: #618a72 !important;
}

/* تصميم القائمة المنسدلة */
.navbar .dropdown-menu {
  background: #ffffff;
  border-radius: 15px;
  padding: 8px 0;
  border: 1px solid #eee;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  min-width: 180px;
  text-align: right;
  margin-top: 10px;
}

.navbar .dropdown-toggle::after {
  content: none !important;
}

/* سهم على يسار رابط الدروب داون فقط */
.navbar .dropdown-toggle {
  position: relative;
  padding-left: 22px; /* مساحة للسهم */
}

.navbar .dropdown-toggle::before {
  content: "›"; /* السهم */
  position: absolute;
  left: 0; /* يسار النص */
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #618a72;
  transition: 0.3s ease;
}

/* عند فتح القائمة الدوران */
.navbar .dropdown.show .dropdown-toggle::before {
  transform: translateY(-50%) rotate(180deg);
}

/* العناصر داخل القائمة */
.navbar .dropdown-menu .dropdown-item {
  padding: 10px 20px;
  font-weight: 500;
  transition: 0.2s;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background: #f3f3f3 !important;
  color: #618a72;
}

.dropdown-item.active, .dropdown-item:active {
    color: #ffffff;
    text-decoration: none;
    background-color:#21384a;
    border-radius: 5px;
}

/*---------------------------------------
   تجاوب الجوال
----------------------------------------*/
@media (max-width: 992px) {
    .navbar {
    border-radius: 0; /* 🔹 يشيل الحواف الدائرية */
    width: 100%; /* 🔹 يخليها تمتد بعرض الشاشة */
    left: 0;
    right: 0;
  }

  .navbar .container-fluid {
    justify-content: space-between;
    padding: 0 20px;
  }

  .navbar .logo {
    height: 45px;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: flex-start !important; /* يخلي عناصر القائمة نفسها تلتصق باليمين */
  }

}

/* ✅ في الشاشات الكبيرة فقط: خلي اللينكات تميل شوي لليسار */
@media (min-width: 992px) {
  .navbar-nav {
    margin-right: 250px; /* حرك القائمة لليسار شوي */
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: right;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  padding-bottom: 10px;
  position: relative;
}

.section-title p {
  margin-bottom: 10px;
  font-size: 17px;
}
@media (max-width: 767px) {
  .section-title {
  text-align: right;
  padding-bottom: 0px;
  position: relative;
}

.section-title h2 {
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 10px;
  position: relative;
}

.section-title p {
  margin-bottom: 10px;
  font-size: 14px;
}

}
/*--------------------------------------------------------------
# Global Section Titles btn
--------------------------------------------------------------*/
.section-title a.btn {
  background-color: #618a72;
  border: none;
  color: #000000;
  font-weight: 600;
  border-radius: 5px;
  padding: 6px 18px;
  transition: 0.3s;
}

.section-title a.btn:hover {
  background-color: rgba(14, 90, 60, 0.483);
}

@media (min-width: 992px) {
  .footer .border-line {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    width: 50%; /* 👈 عدّل النسبة حسب ما تحب */
    margin-left: 0;
    padding-top: 1rem;
    justify-content: flex-start;
  }
}
/*--------------------------------------------------------------
# Footer (نسخة عربية منسقة بالألوان المطلوبة)
--------------------------------------------------------------*/
.footer {
  background-color: #21384a;
  color: #fff;
  font-size: 14px;
  line-height: 1.8;
}

.footer h4 {
  font-weight: bold;
  color: #fff;
}

.footer a {
  color: #fff;
  transition: 0.3s;
}

.footer a:hover {
  color: #618a72;
}

/* أيقونات التواصل */
.footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background-color: #618a72;
  border-color: #618a72;
}

/* خط علوي */
.footer .border-top {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

@media (min-width: 992px) {
  .footer .border-line {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    width: 50%; /* 👈 عدّل النسبة حسب ما تحب */
    margin-left: 0;
    padding-top: 1rem;
    justify-content: flex-start;
  }
}

/* 🧱 تنسيق الجوال */
@media (max-width: 767px) {
  .footer {
    text-align: right !important;
  }

  .footer h5,
  .footer p,
  .footer a,
  .footer ul {
    text-align: right !important;
  }

  .footer .social-links {
    justify-content: flex-start !important; /* الأيقونات بمحاذاة اليمين */
    margin-top: 10px;
  }

  .footer .social-links a {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .footer .row > div {
    padding-right: 15px;
    padding-left: 15px;
  }

    .footer .border-line {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    width: 50%; /* 👈 عدّل النسبة حسب ما تحب */
    margin-left: 0;
    padding-top: 1rem;
    justify-content: flex-start;
  }
}

/*--------------------------------------------------------------
# pagination Style
--------------------------------------------------------------*/
/* ستايل البجنيشن */
.pagination {
  display: flex;
  justify-content: center; /* تمركز البجنيشن */
  gap: 8px; /* مسافة بين الصفحات */
  margin-top: 30px;
  flex-wrap: wrap;
}

.pagination .page-item {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.pagination .page-link {
  color: #21384a;
  background-color: #f1f1f1;
  border: none;
  padding: 8px 14px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background-color: #618a72;
  color: #fff;
  transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
  background-color: #618a72;
  color: #fff;
}

/*--------------------------------------------------------------
# total-initiatives Style
--------------------------------------------------------------*/
.total-initiatives {
  font-size: 1rem;
  color: #618a72;
  font-weight: bold;
}

/*--------------------------------------------------------------
# breadcrumb Style
--------------------------------------------------------------*/
/* ✅ تحسين مظهر الـ Breadcrumb */
nav[aria-label="breadcrumb"] {
  background: transparent;
  margin: 15px 0;
    direction: rtl;

}

.breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 0;
  font-size: 15px;
}


.breadcrumb-item a {
  color: #618a72;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-item a:hover {
  color: #456653;
}

.breadcrumb-item.active {
  color: #000;
  font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "‹"; /* السهم بين العناصر - متجه لليمين */
  color: #618a72;
  padding: 0 6px;
  font-weight: bold;
  float: none;        /* تأكد من أنه ما يتحرك للمكان الغلط */
  display: inline-block;
  transform: scaleX(-1); /* يعكس اتجاه السهم */
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
                        home-page
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/

 /*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
#home section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

#home section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*---------------------------------------------------
   header Section
---------------------------------------------------*/
.header {
  position: relative;
}

.carousel-item img {
  height: 80vh;
  object-fit: cover;
}

.carousel-caption {
  bottom: 35%;
}

.carousel-caption h5 {
  font-size: 2.5rem;
  font-weight: bold;
}

.carousel-caption p {
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .carousel-item img {
    height: 40vh; /* تصغير الارتفاع قليلاً */
  }

  .carousel-caption {
    bottom: 20%; /* رفع النص لأعلى شوي */
    padding: 0 15px;
  }

  .carousel-caption h5 {
    font-size: 1.5rem; /* تصغير العنوان */
  }

  .carousel-caption p {
    font-size: 1rem; /* تصغير النص */
  }
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services {
  --cyan-color: #3c7aa0;
  --orange-color: #f2ca45;
  --teal-color: #13784f;
  --red-color: #b31928;
}

.featured-services .service-item {
  background-color: var(--surface-color);
  box-shadow: 1px 4px 5px 0px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 15px 10px;
  text-align: center;
  transition: 0.3s;
  border-radius: 5px;
  border: 1px solid transparent;
}

.featured-services .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  display: flex;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
}

.featured-services .service-item .icon i {
  font-size: 28px;
  transition: 0.5s;
  position: relative;
}

.featured-services .service-item span {
  line-height: 24px;
  font-size: 14px;
}


.featured-services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 16px;
}

.featured-services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  font-weight: 300px;
}

.featured-services .service-item.item-cyan .icon {
  background-color: color-mix(in srgb, var(--cyan-color) 10%, white 95%);
}

.featured-services .service-item.item-cyan .icon i {
  color: var(--cyan-color);
}

.featured-services .service-item.item-cyan:hover {
  border-color: var(--cyan-color);
}

.featured-services .service-item.item-cyan:hover .icon {
  background-color: var(--cyan-color);
}

.featured-services .service-item.item-cyan:hover .icon i {
  color: #ffffff;
}

.featured-services .service-item.item-yellow .icon {
  background-color: color-mix(in srgb, var(--orange-color) 10%, white 95%);
}

.featured-services .service-item.item-yellow .icon i {
  color: var(--orange-color);
}

.featured-services .service-item.item-yellow:hover {
  border-color: var(--orange-color);
}

.featured-services .service-item.item-yellow:hover .icon {
  background-color: var(--orange-color);
}

.featured-services .service-item.item-yellow:hover .icon i {
  color: #ffffff;}

.featured-services .service-item.item-teal .icon {
  background-color: color-mix(in srgb, var(--teal-color) 10%, white 95%);
}

.featured-services .service-item.item-teal .icon i {
  color: var(--teal-color);
}

.featured-services .service-item.item-teal:hover {
  border-color: var(--teal-color);
}

.featured-services .service-item.item-teal:hover .icon {
  background-color: var(--teal-color);
}

.featured-services .service-item.item-teal:hover .icon i {
  color: #ffffff;}

.featured-services .service-item.item-red .icon {
  background-color: color-mix(in srgb, var(--red-color) 10%, white 95%);
}

.featured-services .service-item.item-red .icon i {
  color: var(--red-color);
}

.featured-services .service-item.item-red:hover {
  border-color: var(--red-color);
}

.featured-services .service-item.item-red:hover .icon {
  background-color: var(--red-color);
}

.featured-services .service-item.item-red:hover .icon i {
  color: #ffffff;}

/*--------------------------------------------------------------
star-divider 
--------------------------------------------------------------*/


/* إزالة أي فراغات غير مرغوبة */
#carouselExample {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

section.featured-services {
  margin-top: 0 !important;
  padding-top: 60px; /* مساحة مريحة للمحتوى فقط */
}

/*--------------------------------------------------------------
# Init Section
--------------------------------------------------------------*/

.init-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
  background-color: #f3f3f3;
}
.init-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.init-card img {
  height: 230px; /* 👈 صغّرنا الصورة */
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.init-card:hover img {
  transform: scale(1.05);
}
.init-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.init-card:hover .overlay {
  opacity: 1;
  
}
.init-card .overlay a {
  border-radius: 25px;
}

.init-card a.btn {
  border: none;
  font-weight: 600;
  border-radius: 5px;
  padding: 6px 18px;
}


/* ✅ تعديل شكل النقاط إلى شرطات */
.init .swiper-pagination {
  position: relative; /* تسمح بتحريكها بحرية */
  margin-top: 25px; /* 👈 تنزلها تحت الكروت */
  text-align: center;
}

.init .swiper-pagination-bullet {
  display: inline-block;
  width: 25px; /* 👈 طول الشَرطة */
  height: 4px; /* 👈 سماكة الشَرطة */
  border-radius: 2px; /* حواف خفيفة */
  background: #ccc;
  margin: 0 4px; /* تباعد بسيط بين الشرطات */
  opacity: 0.5;
  transition: all 0.3s ease;
}

.init .swiper-pagination-bullet-active {
  background: #13784f;
  opacity: 1;
  width: 30px; /* الشرط النشطة أطول قليلاً */
}


/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
                         about-page
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/

  /*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
#hero,
#stats
{
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}


@media (max-width: 1199px) {
#hero,
#stats
 {
    scroll-margin-top: 66px;
  }
}



/*--------------------------------------------------------------
#  HERO SECTION 
--------------------------------------------------------------*/
#hero {
  background: linear-gradient(rgba(33, 56, 74, 0.719), rgba(33, 56, 74, 0.637)), 
              url('../img/cl4.jpg') center/cover no-repeat;
  color: #fff;
  position: relative; /* حتى نقدر نتحكم بالمحتوى */
  height: 600px; /* نفس ارتفاع الصورة */
  display: flex;
  align-items: right;
  justify-content: right;
  text-align: right;
}

#hero .container {
  position: absolute;
  bottom: 90px; /* افتراضي لسطح المكتب */
  right: 0;
  left: 0;
}

#hero h1 {
  font-size: 40px;
  font-weight: 700;
}

#hero p {
  font-size: 20px;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .stat-number { font-size: 25px; }

  #hero {
    height: 350px; /* 🔹 نفس الصورة ما تتغير، فقط لتحديد المجال */
    align-items: flex-end; /* 🔹 ينزل المحتوى لتحت */
    justify-content: flex-end; /* 🔹 يحركه لليمين */
    text-align: right; /* 🔹 محاذاة النص */
    padding: 0 20px 30px 20px; /* 🔹 مسافة من الأطراف فقط */
  }

  #hero .container {
    position: static; /* 🔹 نلغي التمركز التلقائي */
    width: 100%;
  }
 
  #hero h1 {
    font-size: 20px;
    margin-bottom: 5px;
  }

  #hero p {
    font-size: 12px;
    margin-bottom: 10px;
  }
}

/*--------------------------------------------------------------
#  ABOUT SECTION 
--------------------------------------------------------------*/
#about{
  color: var(--default-color);
  background-color: var(--background-color);
  padding-top: 50px;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {s
#about{
    scroll-margin-top: 66px;
  }
}

#about {
  background-color: #fff;
}
#about img {
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
#about h2 {
  color: #618a72;
  font-weight: 700;
}
#about p {
  font-size: 1.1rem;
  line-height: 1.8;
}

@media (max-width: 768px) {

  #about h2 {
    font-size: 20px !important;
  }

  #about p {
    font-size: 13px !important;
  }

  #about h5 {
    font-size: 17px !important;
  }

  #about ul li {
    font-size: 13px !important;
    margin-bottom: 6px;
  }

  /* تقليل البادينق الداخلي */
  #about .container {
    padding: 0 10px !important;
  }

  #about div[style] {
    padding-inline-start: 15px !important;
  }
}

/*--------------------------------------------------------------
#  stats SECTION 
--------------------------------------------------------------*/
#stats {
  background-color: #618a7211;  
  color: #21384a;
  text-align: center;
  padding: 20px 0;
}

.stat-item {
  margin-bottom: 15px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #618a72;
}

.stat-label {
  font-size: 1rem;
}

/* ✅ للجوال */
@media (max-width: 767.98px) {
  #stats .row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    overflow-x: auto;
    scrollbar-width: none; /* يخفي السطر في فايرفوكس */
  }

  #stats .row::-webkit-scrollbar {
    display: none; /* يخفي السطر في كروم وسفاري */
  }

  #stats .col-3 {
    flex: 0 0 25%; /* كل عنصر ياخذ ربع العرض */
    max-width: 25%;
  }

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

  .stat-label {
    font-size: 12px;
  }
}

  /*--------------------------------------------------------------
# nav-tab Sections
--------------------------------------------------------------*/

#nav-tabs{
  color: #21384a;
  text-align: center;
  padding-bottom: 20px ;
}

@media (max-width: 1199px) {
#nav-tabs{
    scroll-margin-top: 66px;
  }
}




#nav-tabs .nav-pills .nav-link {
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
  color: #21384a;
  background-color: #fff;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

#nav-tabs .nav-pills .nav-link i {
  color: #618a72;
  font-size: 18px;
}

#nav-tabs .nav-pills .nav-link.active {
  background-color: #618a72;
  color: #fff;
  border-color: #618a72;
  box-shadow: 0 4px 15px rgba(97, 138, 114, 0.3);
}

#nav-tabs .nav-pills .nav-link.active i {
  color: #fff;
}

#nav-tabs .nav-pills .nav-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(97, 138, 114, 0.15);
}



/* -------------------------------------------------------
#nav-tabs .tab-content
---------------------------------------------------------*/

#myTabContent {
  background-color: #618a7213;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  padding: 40px;
}


/*--------------------------------------------------------------
# PARTNERS SECTION
--------------------------------------------------------------*/
#partners{
       background-color: #f0f0f056;
}

#partners h2 {
  color: #21384a;
  font-weight: 700;
}

.partners-swiper .swiper-wrapper {
  align-items: center;
     height: 15% !important
}

.partners-swiper .swiper-slide {
    justify-content: center;
    align-items: center;
    height: 80px; /* نفس ارتفاع الصورة */
}

.partners-swiper .swiper-slide img {
  width: 100px; /* عرض ثابت */
  height: 80px; /* ارتفاع ثابت */
  object-fit: contain;
  border-radius: 8px; /* انحناء خفيف للصورة */
      display: block; /* 🔹 هذا يزيل الفراغ أسفل الصورة */
}
/* الجوال */
@media (max-width: 767px) {
  .partners-swiper .swiper-slide img {
    width: 70px;
    height: 60px;
  }
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
                         init-page
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
#init{
    background-color: #618a7211;
}

#init section,
.section {
  color: var(--default-color);
  padding-bottom: 60px;
  overflow: clip;
}

@media (max-width: 1199px) {

  #init section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Cards Style
--------------------------------------------------------------*/
#init .card-item .card-img-top {
  height: 230px;
  object-fit: cover;
  border-bottom: 4px solid #618a72;
    border-radius: 20px;
}

#init .card-item .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 20px;
  overflow: hidden;   /* مهم لمنع تجاوز الصورة عند hover */
}

#init .card-item .card:hover {
  background-color: rgba(252, 252, 252, 0.89);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

#init .card-item .btn {
  background-color: #618a72;
  color: #ffffff;
  font-weight: 300;
}

#init .card-item .btn:hover {
  background-color: #456653;
  color: #ffffff;
  font-weight: 300;
}

#init .card-title{
font-weight: 800;
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
                         init-info-page
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/

 /*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
#init-info{
    background-color: #618a7211;
}

#init-info section,
.section {
  color: var(--default-color);
  padding-bottom: 60px;
  padding-top: 15px;
  overflow: clip;
}

@media (max-width: 1199px) {

  #init-info section,
  .section {
    scroll-margin-top: 66px;
  }
}

 /* ✅ تحسين مظهر كروت التفاصيل */
#init-info .shadow-sm {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#init-info .shadow-sm:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ✅ تأثير خفيف عند مرور الفأرة على الصورة */
#init-info img {
    width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  border-radius: 15px;
  object-fit: cover;
}

/* ✅ تصغير الصورة في الجوال */
@media (max-width: 768px) {
  .initiative-img {
    max-width: 100%;
    margin-bottom: 15px;
  }
}
  #init-info .act {
    background-color: rgb(6, 133, 36);
    color: #fff;
  }

  #init-info .end {
    background-color: rgb(247, 210, 27);
    color: #000;
  }

  #init-info .com {
    background-color: rgb(0, 123, 255);
    color: #fff;
  }

  /* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
                         news-page
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
 /*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
#news{
    background-color: #618a7211;
}

#news section,
.section {
  color: var(--default-color);
  padding-bottom: 60px;
  overflow: clip;
}

@media (max-width: 1199px) {

  #news section,
  .section {
    scroll-margin-top: 66px;
  }
}
 /*--------------------------------------------------------------
# Cards Style
--------------------------------------------------------------*/
/* صورة الخبر */
#news .card-item .card-img-top {
  height: 230px;
  object-fit: cover;
  border-bottom: 4px solid #618a72;
    border-radius: 20px;

}

#news .card-item .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 20px;
  overflow: hidden;   /* مهم لمنع تجاوز الصورة عند hover */
}

#news .card-item .card:hover {
  background-color: rgba(252, 252, 252, 0.89);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

#news .card-item .btn {
  background-color: #618a72;
  color: #ffffff;
  font-weight: 300;
}

#news .card-item .btn:hover {
  background-color: #456653;
  color: #ffffff;
  font-weight: 300;
}

#news .card-title{
font-weight: 800;
}

/*--------------------------------------------------------------
# total-initiatives Style
--------------------------------------------------------------*/
#news .total-initiatives {
  font-size: 1rem;
  color: #618a72;
  font-weight: bold;
}

  /* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
                     news-info-page
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
#news-info{
    background-color: #618a7211;
}

#news-info section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding-bottom: 60px;
  overflow: clip;
}

@media (max-width: 1199px) {

#news-info section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*==============================
=          News Section         =
==============================*/


#news-info .news-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
}

#news-info .news-image {
  width: 100%;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f3f3;
  border-bottom: 1px solid #eee;
}

#news-info .news-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;   /* ✔ بدون قص */
}

#news-info .news-content {
  padding: 30px;
}

#news-info .news-meta {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

#news-info .news-content h3 {
  color: #333;
  font-weight: 700;
  margin-bottom: 20px;
}

#news-info .news-content p {
  line-height: 1.9;
  font-size: 1.05rem;
  color: #444;
}

#news-info .share-section {
  border-top: 1px solid #eee;
  margin-top: 40px;
  padding-top: 20px;
}

#news-info .share-section h6 {
  font-weight: 700;
  margin-bottom: 10px;
}

#news-info .share-icons a {
  font-size: 1.3rem;
  margin: 0 8px;
  color: #4a6c57;
  transition: color 0.3s;
}

#news-info .share-icons a:hover {
  color: #6fb38b;
}

@media (max-width: 768px) {
  #news-info .news-image img {
    height: 250px;
  }
  #news-info .news-content {
    padding: 20px;
  }
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
                        gallary-page
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
 /*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
#gall {
    background-color: #618a7211;
}

#gall section,
.section {
  color: var(--default-color);
  padding-bottom: 60px;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  #gall section,
  .section {
    scroll-margin-top: 66px;
  }
}
  /*--------------------------------------------------------------
# gall nav Sections
--------------------------------------------------------------*/


#gall .nav-pills .nav-link {
  border-radius: 30px;
  font-weight: 600;
  color: #21384a;
  background-color: #fff;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

#gall .nav-pills .nav-link i {
  color: #618a72;
  font-size: 18px;
}

#gall .nav-pills .nav-link.active {
  background-color: #618a72;
  color: #fff;
  border-color: #618a72;
  box-shadow: 0 4px 15px rgba(97, 138, 114, 0.3);
}

#gall .nav-pills .nav-link.active i {
  color: #fff;
}

#gall .nav-pills .nav-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(97, 138, 114, 0.15);
}

#gall .tab-content {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  padding: 30px;
}

#gall ul.nav {
  justify-content: center !important;
  padding: 0 !important;
  text-align: center;
}

#gall .nav-item {
  flex: 0 0 auto;
}

#gall .nav-link {
  border-radius: 50px;
  padding: 8px 18px;
  font-weight: 500;
}

@media (max-width: 767px) {
  #gall .nav-pills .nav-link {
    font-size: 14px;
    padding: 8px 16px;
  }
  #gall .tab-content {
    padding: 25px 15px;
  }
}

/* ----------------------
gall card 
------------------------*/

    #gall .gallery-card {
      border: none;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }
    #gall .gallery-card:hover {
      transform: translateY(-5px);
    }
    #gall .gallery-card img {
      height: 220px;
      object-fit: cover;
      width: 100%;
    }
    #gall .gallery-card .card-body {
      text-align: center;
      /* background: #784d4d; */
        background-color: #21384a;

    }
    #gall .gallery-card .card-title {
      color: #ffffff;
      font-weight: 600;
    }
    /* 📱 في الشاشات الصغيرة: خلي كل صف فيه كاردين */
@media (max-width: 767px) {
  #gallery .row > div[class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
  }

  #gall .gallery-card img {
    height: 130px; /* تصغير الصورة شوي عشان التناسب */
  }

  #gall .gallery-card .card-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
    }
}


/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
                         contact-page
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
#contact{
    background-color: #618a7211;
}
#contact section,
.section {
  color: var(--default-color);
  padding-bottom: 60px;
  overflow: clip;
}

@media (max-width: 1199px) {

  #contact section,
  .section {
    scroll-margin-top: 66px;
  }
}

    /* ====== الكارد الرئيسي ====== */
    #contact .contact-card {
      background: #fff;
      border-radius: 20px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.08);
      overflow: hidden;
      margin-top: -60px;
    }

    #contact .map iframe {
      width: 100%;
      height: 350px;
      border: 0;
      border-radius: 20px 20px 0 0;
    }

    /* ====== معلومات التواصل ====== */
    #contact .info-section {
      padding: 40px;
    }

    #contact .info-section h5 {
      color: #4a7d62;
      font-weight: 700;
      margin-bottom: 20px;
    }

    #contact .contact-item {
      display: flex;
      align-items: center;
      margin-bottom: 15px;
      color: #444;
    }

    #contact .contact-item i {
      color: #4a7d62;
      font-size: 1.4rem;
      margin-left: 15px;
    }

    #contact .social a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background-color: #4a7d62;
      color: #fff;
      font-size: 1.1rem;
      margin: 0 4px;
      transition: 0.3s;
    }

    #contact .social a:hover {
      background-color: #6a9a7e;
      transform: translateY(-3px);
    }

    /* ====== نموذج التواصل ====== */
    #contact .contact-form {
      background-color: #f6fbf8;
      padding: 40px;
      border-right: 1px solid #eaeaea;
    }

    #contact .contact-form h5 {
      color: #4a7d62;
      font-weight: 700;
      margin-bottom: 20px;
    }

    #contact .btn-submit {
      background-color: #4a7d62;
      border: none;
    }

    #contact .btn-submit:hover {
      background-color: #3d6a52;
    }

    @media (max-width: 768px) {
      #contact .contact-form {
        border-right: none;
        border-top: 1px solid #eaeaea;
      }
    }


/*===============================
  Tabs Styling – Modern Minimal
===============================*/

/* #members {
  border-top: 1px solid rgba(0,0,0,0.05);
} */

@media (max-width: 768px) {

  #members h2 {
    font-size: 20px !important;
  }

  #members p {
    font-size: 13px !important;
  }

  #members h5 {
    font-size: 17px !important;
  }

  #members ul li {
    font-size: 13px !important;
    margin-bottom: 6px;
  }

  /* تقليل البادينق الداخلي */
  #members .container {
    padding: 0 10px !important;
  }

  #members div[style] {
    padding-inline-start: 15px !important;
  }
}


#members section,
.section {
  color: var(--default-color);
  padding-bottom: 60px;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  #members section,
  .section {
    scroll-margin-top: 66px;
  }
}

.member-card {
  width: 100%;
  height: 80px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e3e3e3;
  padding: 2px 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s ease;
}

.member-card:hover {
  background: #f8f9fa;
  transform: translateY(-4px);
}

.member-card img {
  width: 65px;
  height: 75px;
  border-radius: 15%;
  object-fit: cover;
  object-position: center;
}

.member-card i {
  font-size: 55px;
  color: #7e8a93;
}

/* النص */
.member-info {
  text-align: start;
  flex-grow: 1;
}

.member-info h6 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #333;
}

.member-info p {
  margin: 3px 0 0;
  font-size: 13px;
  color: #777;
}

/* الزر */
.member-info a {
  padding: 3px 12px;
  font-size: 12px;
  border-radius: 6px;
}

/* Responsive card */
@media(max-width: 575px) {
  .member-card {
    height: 75px;
    padding: 2px;
    gap: 5px;
  }

  .member-card img {
    width: 55px;
    height: 70px;
      border-radius: 17%;
  }

  .member-card i {
    font-size: 45px;
  }

  .member-info h6 {
    font-size: 14px;
  }

  .member-info p {
    font-size: 12px;
  }
}


#members h2 {
  color: #618a72;
  font-weight: 700;
  font-size: 25px;
}

/* ===========================
   Tabs Design
=========================== */
#mainMembersTabs {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 5px;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

#mainMembersTabs .nav-link {
  font-weight: 500;
  color: #555;
  padding: 10px 14px;
  border: none;
  background: none;
  position: relative;
  transition: 0.3s ease;
}

#mainMembersTabs .nav-link:hover {
  color: #286b51;
}

#mainMembersTabs .nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0;
  height: 3px;
  background: #286b51;
  transition: width 0.3s ease;
  border-radius: 4px;
}

#mainMembersTabs .nav-link.active {
  color: #286b51 !important;
  font-weight: bold;
}

#mainMembersTabs .nav-link.active::after {
  width: 100%;
}

/* Responsive Tabs */
@media (max-width: 767px) {
  #mainMembersTabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  #mainMembersTabs .nav-item {
    flex: 0 0 48%;
    text-align: center;
  }
}

/*===============================
  Responsive – 3 Tabs per Row
===============================*/

@media (max-width: 992px) {
  #mainMembersTabs {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  #mainMembersTabs .nav-item {
    flex: 0 0 32%;
    max-width: 32%;
    text-align: center;
  }

  #mainMembersTabs .nav-link {
    width: 100%;
  }
}

/* شاشة صغيرة جداً */
@media (max-width: 576px) {
  #mainMembersTabs .nav-item {
    flex: 0 0 48%;
    max-width: 48%;
  }
}

/*---------------------------------------------
    Tab Content background
---------------------------------------------*/
/* Section Background */
#mainMembersContent {
  background: #618a7213;
  padding: 25px;
  border-radius: 14px;
}












/* #####files ####### */

@media (max-width: 768px) {

  #file h2 {
    font-size: 20px !important;
  }

  #file p {
    font-size: 13px !important;
  }

  #file h5 {
    font-size: 17px !important;
  }

  #file ul li {
    font-size: 13px !important;
    margin-bottom: 6px;
  }

  /* تقليل البادينق الداخلي */
  #file .container {
    padding: 0 10px !important;
  }

  #file div[style] {
    padding-inline-start: 15px !important;
  }
}


#file section,
.section {
  color: var(--default-color);
  padding-bottom: 60px;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  #file section,
  .section {
    scroll-margin-top: 66px;
  }
}



#file h2 {
  color: #618a72;
  font-weight: 700;
  font-size: 25px;
}

/* الغلاف */
#filesTaps {
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

/* كل تاب */
#filesTaps .nav-link {
  font-weight: 400;
  color: #555;
  background: none !important;
  border: none !important;
  padding: 10px 12px;
  position: relative;
  transition: 0.3s ease;
}

/* تأثير الهوفر */
#filesTaps .nav-link:hover {
  color: #111;
}

/* خط تحت التاب */
#filesTaps .nav-link::after {
  content: "";
  position: absolute;
  bottom: -7px;
  right: 0;
  width: 0%;
  height: 3px;
  background: var(--default-color, #286b51);
  transition: width 0.3s ease;
  border-radius: 4px;
}

/* عند الهوفر يظهر شوي */
#filesTaps .nav-link:hover::after {
  width: 40%;
}

/* التاب النشط – Active */
#filesTaps .nav-link.active {
  color: var(--default-color, #286b51) !important;
}

/* التاب النشط – الخط */
#filesTaps .nav-link.active::after {
  width: 100%;
}

/*===============================
  Responsive – 3 Tabs per Row
===============================*/

@media (max-width: 992px) {
  #filesTaps {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  #filesTaps .nav-item {
    flex: 0 0 32%;
    max-width: 32%;
    text-align: center;
  }

  #filesTaps .nav-link {
    width: 100%;
  }
}

/* شاشة صغيرة جداً */
@media (max-width: 576px) {
  #filesTaps .nav-item {
    flex: 0 0 48%;
    max-width: 48%;
  }
}

/*---------------------------------------------
    Tab Content background
---------------------------------------------*/
#filesContent {
  background-color: #618a7213;
  padding: 25px;
  border-radius: 12px;
}

/* الكارد الأساسي */
#file .file-box {
  height: 65px; /* ارتفاع ثابت */
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 15px;
  padding: 20px;
  transition: border-color 0.3s ease;
  position: relative; /* مهم عشان نثبت الزر داخل الكارد */
  padding-bottom: 50px; /* مساحة للزر تحت */
}

/* هوفر بسيط */
#file .file-box:hover {
  border-color: #cfd8d3;
}

/* اسم الملف */
#file .file-box .file-name {
  font-size: 15px;
  color: #111212;
}

/* حجم الملف */
#file .file-box small {
  font-size: 12px;
  opacity: 0.7;
}

/* زر التحميل — يسار تحت */
#file .download-btn {
  position: absolute;
  bottom: 10px;
  left: 10px;       /* ← بدل right */
  background: #286b51;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
}

#file .download-btn:hover {
  background: #1e523d;
}

/* الجوال */
@media (max-width: 768px) {
  #file .file-box {
    padding: 15px;
    padding-bottom: 45px; /* مساحة أقل تحت */
  }

  #file .download-btn {
    padding: 5px 8px;
    font-size: 13px;
  }
}

@media (min-width: 992px) {
  #files .row {
    justify-content: flex-start !important; /* الكروت تتجمع يمين */
  }

  #files .col-lg-3 {
    flex: 0 0 25%;     /* 4 كروت في الصف */
    max-width: 25%;
  }
}

/* ====== الجوال ====== */
@media (max-width: 576px) {
  #files .row {
    justify-content: center !important; /* تخلي الكارد بالنص */
  }

  #files .col-6 {
    flex: 0 0 100%;   /* كارد واحد */
    max-width: 100%;
  }

  #files .file-box {
    margin: 0 auto;   /* وسط */
    width: 90%;       /* شكل أحلى */
  }


}


/* قص النص على شكل ... */
.file-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* للجوال: صغّر حجم الخط */
@media (max-width: 576px) {
  .file-name {
    font-size: 11px !important;
    max-width: 100%;
  }
}
