html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    font-family: "Cairo", sans-serif;
    overflow-x: hidden;
}
section {
    padding: 100px 0;
    scroll-margin-top: 80px;
}
/* start loader */
.loader-logo {
  width: 100px;
  height: auto;
  animation: fadeInOut 3.5s ease-in-out infinite;
}

/* الشعار ينبض بالشفافية */
@keyframes fadeInOut {
  0%   { opacity: 0; }
  50%  { opacity: 1; }
  100% { opacity: 0; }
}

/* صندوق اللودر */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 300vw;
  height: 500vh;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* end loader */

/* start nav par */

.custom-navbar {
    position: sticky;
    top: 20px; /* نزول قليل عن أعلى الصفحة */
    z-index: 1030;
    margin: 20px auto;
    width: 95%;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.navbar-nav .nav-link {
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
  color: #af9269 !important;
}

.navbar-nav .nav-link:hover {
  color: #000 !important;
  transform: translateY(-3px);
}

.navbar .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* تعديل بسيط لتناسب القائمة اللغة العربية */
.dropdown-menu {
  text-align: right;
}

.custom-logo {
  height: 70px;
}

@media (max-width: 575.98px) {
  .navbar-title {
    font-size: 15px !important;
  }
    .navbar-nav .nav-link {
       font-size: 15px !important;
  }
  .custom-toggler {
    padding: 4px 6px;
    border: none !important;
    background-color: transparent !important;
  }

  .navbar-toggler-icon {
    width: 20px;
    height: 20px;
    background-size: contain;
  }
  .custom-logo {
      height: 40px !important;
  }
}

/* end nav par */



/* start about */
#about img:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  cursor: pointer;
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.floating-img {
  animation: float 2s ease-in-out infinite;
}

.custom-text {
  font-size: 1.25rem;    /* حجم متوسط مريح */
  word-spacing: 5px;     /* مسافة صغيرة بين الكلمات */
  line-height: 1.6;      /* تحسين تباعد السطور إن وُجد */
  color: #000;           /* تأكد أن النص واضح */
}


/* end about */

/* mission goal */
    .card-header.custom-header {
        background-color: #189197;
        color: white;
        font-size: 1.5rem;
        text-align: center;
    }

    .card-body ul {
        color: #af9269;
        font-size: 1.1rem;
    }

    .card-body p {
        color: #af9269;
        font-size: 1.2rem;
        text-align: center;
    }

    @media (min-width: 992px) {
        .card-body ul li,
        .card-body p {
            font-size: 1.5rem;
        }
    }
/* mission goal */

/* start program & Activities */
  .admin-card {
    background-color: #af9269;
    color: white;
    transition: background-color 0.4s ease, color 0.4s ease;
  }

  .admin-card:hover {
    background-color: white;
    color: #af9269;
  }

  .admin-card:hover i {
    color: #af9269;
  }

  .admin-card i {
    color: white;
    transition: color 0.4s ease;
  }
/* end program & Activities */
/* start team */
.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.team-card:hover,
.team-card:focus {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* end teشm */
/* srart newa */
#news img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#news img:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
/* end news */
/* start parallax future */
.parallax-section {
    background-image: url('../image/صور\ الموقع-01.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
    position: relative;
}

.parallax-section .overlay {
    background-color: rgba(0, 0, 0, 0.5); /* طبقة شفافة */
    height: 100%;
    width: 100%;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
/* end parallax future */
/* start social media */
.social-link {
  color: #af9269;
  transition: transform 0.5s ease, color 0.3s ease;
}
.social-link:hover {
  color: #189197;
  transform: scale(1.2);
}

/* بروز عند التمرير */
.social-icons a,
.counters div {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}
.social-icons.show a,
.counters.show div {
  opacity: 1;
  transform: translateY(0);
}
/* end social media */

/* start record */

  .download-icon i {
    color: #af9269;
    transition: color 0.3s ease;
  }

  .download-icon:hover i {
    color: #189197;
  }

    .pagination .page-link {
    color: #af9269;
    border-color: #af9269;
  }

  .pagination .page-link:hover {
    background-color: #af9269;
    color: #fff;
  }

  .pagination .active .page-link {
    background-color: #af9269;
    border-color: #af9269;
    color: #fff;
  }

/* end record */


/* start footer */
/* الشريط المتكرر للمثلثات */
.triangle-bar {
  width: 100%;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 80 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,40 20,0 40,40' fill='white' fill-opacity='0.2'/%3E%3Cpolygon points='40,0 60,40 80,0' fill='white' fill-opacity='0.2'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 80px 40px;
}

/* تدوير الشريط السفلي */
.bottom-pattern {
  transform: rotate(180deg);
}

/* تنسيق الفوتر */
footer {
  background-color: #af9269;
  color: white;
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 1;
  font-size: 16px;
}

/* لجعل التصميم متجاوبًا */
@media (max-width: 768px) {
  .triangle-bar {
    height: 30px;
    background-size: 60px 30px;
  }

  footer {
    font-size: 14px;
    padding: 15px;
  }
}

/* حاوية المثلثات */
.triangle-container {
  position: relative;
  width: 100%;
  height: 0;
}

/* مثلث رأسه للأسفل */
.triangle-down {
  width: 0;
  height: 0;
  border-left: 100vw solid transparent;
  border-right: 100vw solid transparent;
  border-top: 50px solid #d2d33f;
}

/* مثلث رأسه للأعلى */
.triangle-up {
  width: 0;
  height: 0;
  border-left: 100vw solid transparent;
  border-right: 100vw solid transparent;
  border-bottom: 50px solid #5481c0;
  margin-top: -1px; /* تلاصق بدون فراغ */
}

/* end footer */
