*{
  font-family: "Cairo", sans-serif;
    }
     
.nav-logo{
    width: 55px;
    flex-shrink: 0;
}
body, html {
  overflow-x: hidden;
}

.image-background{
  background: linear-gradient(to left,
    rgba(255, 255, 255, 0.95) 10%,
    rgba(255, 255, 255, 0.6) 60%,
    rgba(255, 255, 255, 0.3) 80%,
    rgba(255, 255, 255, 0) 90%
  );
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.carousel-caption {
    position: absolute;
    top: 90px;
    right: 100px;
    z-index: 10;
    text-align: right;
    max-width: 50%;
  }
 .active:hover{
   text-decoration: underline;
   text-decoration-color: #AA2D2D;
   text-decoration-thickness: 2px;
   text-underline-offset: 5px;
   transition: all .3 linear;
 }
 .btn1:hover{
  color: #000;
  transition: all .3 linear;
 }
 .hover-submit:hover{
  background-color: #AA2D2D;
  color: #000;
 }
  .carousel-caption h5 {
   font-size: 24px;
   font-weight: bold;
    color: #AA2D2D;
  }
  .with{
    width: 800px;
  }

  .carousel-caption .f-10 {
    font-size: 1.6rem;
    margin-top: 10px;
  }
   .carousel-caption .f-5 {
    font-size: 12px;
    margin-top: 10px;
  }
  .text-decoration{
    text-decoration: none;
  }
  .btn1{
    color: #AA2D2D;
    margin-right: 140px;
    margin-top: -20px;
    display: block;
    font-weight: bold;
  }
  .carousel-indicators [data-bs-target]{
    width: 20px;
    background-color: #AA2D2D;
  }
  .fa-15{
    font-size: 20px;
  }
  .fa-20{
   font-size: 23px;
  }
  .fa-13{
    font-size: 14px;
  }
  .fa-10{
    font-size: 10px;
  }
   .fa-17{
    font-size: 20px;
   }
   .fa-24{
    font-size: 21px;
   }
   .pb-10{
    padding-bottom: 70px;
   }
   .color{
    color: #878787;
   }
   .color2{
    color: #CECECE;
   }
  .btn2{
    color: black;
    margin-right: 30%;
     display: block;
     margin-top: -20px;
     font-weight: bold;
  }
  .background{
    background-color: #494949;
  }
  .mt-70{
    margin-top: 70px;
  }
  .mt-80{
    padding-top: 140px;
  }
  .pt-70{
    padding-top: 70px;
  }
  .mt-50{
    padding-top: 50px;
  }
  .pt-40{
    padding-top: 40px;
  }
  .pl-60{
  position: relative;
  left: 60px;
  }
  .w-30{
    width: 180px;
    height: 180px;
    object-fit: cover;
  }
  .w-49{
    width: 80px;
  }
   .w-20{
    width: 20px;
   }
  .w-90{
    width: 500px;
    height: 200px;
    object-fit: cover;
  }
  .w-full{
    width: 93%;
  }
.background-red {
  background-color: #AA2D2D;
  color: white;
  transition: all 0.3s ease;
}

.background-red:hover,
.background-red:focus,
.background-red:active {
  background-color: #8d2f2f; /* لون أغمق عند التفاعل */
  color: white;
}

 .w-45{
  width: 50px;
 }
 .line{
  height: 1px;
  background-color: #fff;
  width: 100%;
  margin-top: 35px;
 }
 .hover-a:hover{
  color:#000;
  transition: all .4 linear;
 }
 .btn2:hover{
  color: #AA2D2D;
  transition: all .4 linear;
 }
 .color-withe{
  color: #fff;
 }
 .pt-10{
  position: relative;
  top: 15px;
 }
 .pr-10{
  margin-right: 10px;
  margin-bottom: 20px;
 }
 .pr-5{
  margin-right: 6px;
 }
 .pr-8{
  margin-top: 8px;
  margin-right: 5px;
 }
 .my-title::after{
  content: "";
  position: absolute;
  bottom: -10px;
  right: 40%;
  width: 168px;
  height: 3px;
  background-color: #AA2D2D;
 }
 .my-title2::after{
  content: "";
  position: absolute;
  bottom: -3px;
  right: 42%;
  width: 260px;
  height: 3px;
  background-color: #AA2D2D;
 }
 .my-title3::after{
  content: "";
  position: absolute;
  bottom: -15px;
  right: 38%;
  width: 140px;
  height: 3px;
  background-color: #AA2D2D;
 }
 .w-5{
  width: 90px;
  height: 90px;
 }
 .w-50{
  width: 50px;
  object-fit: cover;
 }
 .w-60{
  width: 150px !important;
 }
 .gap-20{
  gap: 110px;
 }
 .pos{
  position: relative;
  right: 75px;
 }
 .color-black{
  color: black;
 }
 .color-red{
  color: #AA2D2D;
 }
 .line-block{
  display: block;
  margin-left: 240px;
 }
 .gap{
  gap: 50px;
 }
 .padding-top{
  padding-top: 30px;
 }
  .w-40{
    width: 35px;
  }
     /* media query */
@media (1026px >= width >=950px) {
  .carousel-caption {
    max-width: 60%;
    margin-top: -20px;
    padding: 0 !important;
  }
   .btn1 {
    margin-right: 150px!important;
    margin-top: -15px !important;
    font-size: 15px;
  }
  .col-lg-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  .col-lg-4 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .my-title2::after{
  content: "";
  position: absolute;
  bottom: -8px;
  right: 38%;
  width: 240px;
  height: 3px;
  background-color: #AA2D2D;
 }
 .my-title3::after{
  content: "";
  position: absolute;
  bottom: -15px;
  right: 33%;
  width: 140px;
  height: 3px;
  background-color: #AA2D2D;
 }
  .my-title::after{
  content: "";
  position: absolute;
  bottom: -10px;
  right: 40%;
  width: 126px;
  height: 3px;
  background-color: #AA2D2D;
 }
  .navbar .col-12.col-lg-4 > * {
    white-space: nowrap !important;
    flex-shrink: 0;
  }
  .navbar .col-12.col-lg-4 {
    flex: 0 0 33.3333% !important;
    max-width: 33.3333% !important;
  }
}
@media (798px >= width >=700px) {
  .carousel-caption {
    top: 45px;
    right: 70px;
    left: 15px;
    max-width: 85%;
      
  }
  .carousel-caption h5,
  .carousel-caption .f-10,
  .carousel-caption .fa-15 {
    font-size: 14px !important;
  }
  .carousel-caption .fa-15 {
    width: 500px;
  }
  .btn1 {
    margin-right: 25%;
    padding-top: 5px;
    font-size: 14px;    
  }
  .col-sm-4{
    flex: 0 0 50%;
    max-width: 50% ;
  }
  .mr-madia{
    margin-right: 75px;
  }
  .width-madia{
    width: 300px;
  }
  .border {
    width: 100%;
    box-sizing: border-box;
  }
   .my-title2::after{
  content: "";
  position: absolute;
  bottom: -10px;
  right: 33%;
  width: 240px;
  height: 3px;
  background-color: #AA2D2D;
 }
 .my-title3::after{
  content: "";
  position: absolute;
  bottom: -15px;
  right: 40%;
  width: 140px;
  height: 3px;
  background-color: #AA2D2D;
 }
  .my-title::after{
  content: "";
  position: absolute;
  bottom: -10px;
  right: 40%;
  width: 133px;
  height: 3px;
  background-color: #AA2D2D;
 }
}  
@media (950px >= width >=870px){
  .carousel-caption {
    top: 50px;
    right: 70px ;
    max-width: 70%;
  }
  .btn1 {
    margin-right: 120px;
    margin-top: -15px ;
    font-size: 15px;
  }
    .my-title::after{
  content: "";
  position: absolute;
  bottom: -10px;
  right: 35%;
  width: 240px;
  height: 3px;
  background-color: #AA2D2D;
 }
 .my-title::after{
  content: "";
  position: absolute;
  bottom: -15px;
  right: 41%;
  width: 140px;
  height: 3px;
  background-color: #AA2D2D;
 }
  .my-title::after{
  content: "";
  position: absolute;
  bottom: -10px;
  right: 40%;
  width: 120px;
  height: 3px;
  background-color: #AA2D2D;
 }
  .navbar-toggler{
  position: relative;
  right: 400px;
 }
}
@media(870px >= width >=799px){
  .carousel-caption {
    top: 30px;
    right: 70px ;
    max-width: 75%;
  }
   .carousel-caption h5,
  .carousel-caption .f-10,
  .carousel-caption .fa-15 {
    font-size: 14px !important;
  }
  .carousel-caption .fa-15{
    width: 530px;
  }
  .btn1 {
    margin-right: 90px;
    margin-top: -15px ;
    font-size: 15px;
  }
    .my-title2::after{
  content: "";
  position: absolute;
  bottom: -10px;
  right: 33%;
  width: 240px;
  height: 3px;
  background-color: #AA2D2D;
 }
 .my-title3::after{
  content: "";
  position: absolute;
  bottom: -15px;
  right: 40%;
  width: 140px;
  height: 3px;
  background-color: #AA2D2D;
 }
  .my-title::after{
  content: "";
  position: absolute;
  bottom: -10px;
  right: 40%;
  width: 125px;
  height: 3px;
  background-color: #AA2D2D;
 }
 .navbar-toggler{
  position: relative;
  right: 400px;
 }
 
}
@media (min-width: 490px) and (max-width: 699px) {
  .carousel-caption {
    padding: 0px -60px;
    margin-top: -80px;
  }

  .carousel-caption h5 {
    font-size: .7rem; 
  }
.carousel-caption .fa-15{
  font-size: 10px;
  width: 400px;
}
.carousel-caption .f-10{
  width: 450px;
  font-size: 10px;
}
  .btn1{
    font-size: 10px;
    padding-right: 210px;
    padding-top: 5px;
    white-space: nowrap;
  }
  .mr-madia{
    margin-right: 30px;
     width: 400px;
  }


}

@media (max-width: 576px) {
  .navbar-brand img {
    max-height: 40px;
  }
  .navbar-toggler {
    flex-shrink: 0;
  }
}

@media (max-width: 576px) {
  .my-title2::after {
    width: 200px;
    bottom: -6px;
  }
}

@media(490px >= width){
  .carousel-caption {
    margin-top: -90px;
  }

  .carousel-caption h5 {
    font-size: 7px; 
  }
.carousel-caption .fa-15{
  position: relative;
  top: -10px;
  font-size: 6px;
  width: 250px;
}
.carousel-caption .f-10{
  width:200px;
  font-size: 7px;
}
  .btn1{
    font-size: 7px;
    margin-top: -25px;
    margin-right: 200px;
    white-space: nowrap;
  }
  .mr-madia{
    margin-top: -80px;
  }
  .width-madia{
    width: 300px;
    margin-right: auto;
  }
  .border h3 {
    font-size: 10px;
  }

  .border p {
    font-size: 10px;
  }
  .border img {
    margin-top: -40px;
  }

  .border {
    width: 100%;
    box-sizing: border-box ;
    padding: 10px ;
  }
    .my-tilite2::after{
  content: "";
  position: absolute;
  bottom: -5px;
  right: 13%;
  width: 230px;
  height: 3px;
  background-color: #AA2D2D;
 }
 .my-tilite3::after{
  content: "";
  position: absolute;
  bottom: -15px;
  right: 27%;
  width: 140px;
  height: 3px;
  background-color: #AA2D2D;
 }
  .my-tilite::after{
  content: "";
  position: absolute;
  bottom: -10px;
  right: 40%;
  width: 112px;
  height: 3px;
  background-color: #AA2D2D;
 }
}
/* media query قسم الاهداف */
@media (min-width: 800px) and (max-width: 1024px) {
  .col-lg-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  .col-lg-4 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
@media (max-width: 450px) {
    .hide-small-text {
      display: none !important;
    }
  }

  .boxes:hover
  {
    background-color: #AA2D2D;
    color:#fff;
  }

  .boxes:hover img {
  filter: brightness(0) invert(1); 
}



.stats-box {
  border-radius: 10px;
  padding: 10px 15px;
  transition: transform 0.3s ease-in-out;
 
}

.stats-box:hover {
  transform: scale(1.05);
}


.partner-logo {
  filter: grayscale(0%);
  transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.partner-logo:hover {
  filter: grayscale(100%);
  transform: scale(1.1);
}

  .lang-link {
    color: white;
    border: 4px solid white;
    padding: 4px 12px;
    border-radius: 5px;
    text-decoration: none;
    line-height: 1.6;
    display: inline-block;
  }


    .login-container {
      min-height: 100vh;
    }


    .form-box {
      padding: 3rem;
    }

    .form-control {
      border-radius: 8px;
    }

    .login-btn {
      background-color: #a23c3c;
      color: white;
      border-radius: 10px;
    }

    .login-btn:hover {
      background-color: #8d2f2f;
      color: white;
    }

    .footer-text {
      font-size: 14px;
      color: #888;
      margin-top: 50px;
    }

    .form-box label {
      font-weight: 600;
    }

    a {
      text-decoration: none;
    }

    .form-label.small {
      font-size: 12px;
      color: #444;
      font-weight: 500;
    }

    .form-select {
      font-size: 12px;
      color: #444;
      font-weight: 500;
    }

    ::placeholder {
      font-size: 12px;
      color: #999;
    }

.btn-nabiti {
  background-color: #AA2D2D;
  border-color: #AA2D2D;
  color: white;
  transition: background-color 0.3s ease;
}

.btn-nabiti:hover,
.btn-nabiti:focus,
.btn-nabiti:active {
  background-color: #8d2f2f; /* لون أغمق عند التفاعل */
  border-color: #8d2f2f;
  color: white;
}

.btn-outline-nabiti {
  color: #AA2D2D;
  border-color: #AA2D2D;
}

.btn-outline-nabiti:hover,
.btn-outline-nabiti:focus {
  background-color: #AA2D2D;
  color: #fff;
  border-color: #AA2D2D;
}

.btn-outline-nabiti-transparent {
  color: #AA2D2D;
  border: 1px solid #AA2D2D;
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline-nabiti-transparent:hover {
  background-color: #AA2D2D;
  color: white;
}


.text-maroon {
  color: #AA2D2D !important; /* نبيتي */
}


.carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color:#4a4a4a; 
    border-radius: 50%;
    padding: 12px;
    background-size: 60% 60%;
  }

  
/*  أزرار كاروسيل الشركاء فقط */
#partnerCarouselDesktop .carousel-control-prev-icon,
#partnerCarouselDesktop .carousel-control-next-icon,
#partnerCarouselMobile .carousel-control-prev-icon,
#partnerCarouselMobile .carousel-control-next-icon {
    background-color: #b4b4b4; /* اللون المخصص فقط للشركاء */
    border-radius: 50%;
    padding: 12px;
    background-size: 60% 60%;
}

  .carousel-control-prev,
  .carousel-control-next {
    width: 8%;
    top: 40%;
    transform: translateY(-50%);
  }

  .partner-logo {
    max-height: 140px;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
  }

  .partner-logo:hover {
    transform: scale(1.05);
  }

  @media (max-width: 768px) {
    .partner-logo {
      max-height: 100px;
    }

    
    .carousel-control-prev,
    .carousel-control-next {
      width: 12%;
    }
  }
  

  @media (max-width: 576px) {
    .partner-logo {
      max-height: 90px;
    }

    .carousel-inner {
      padding-top: 2rem !important;
      padding-bottom: 2rem !important;
    }
  }

.profile-link:active,
.profile-link:focus,
.profile-link:hover {
  background-color: #AA2D2D !important;
  color: white !important;
}


/* إظهار الزر فقط على الموبايل */
@media (max-width: 768px) {
    .show-mobile-only {
        display: inline-block !important;
        font-size: 14px;
        padding: 8px 12px;
    }

    /* إخفاء النصوص على الموبايل */
    .carousel-caption p.fa-15 {
        display: none;
    }
}



