body {
  /* تمت اضافة رابط للخط */
  font-family: "Cairo", sans-serif;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/***************************************************** start header *************************************/

header {
  position: relative;
  z-index: 10;
  /* يجب ان تكون القيمة الاعلى بين كل العناصر*/
}

/* الخط العلوي */
.header-top-line {
  height: 22px;
  background: linear-gradient(90deg, #e72b4a 0%, #97235b 100%, #e72b4a 100%), linear-gradient(90deg, #2b2b2b 0%, #e72b4a 100%);
  width: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
}

.header-auth-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.col-6.header-auth-buttons {}

.header-auth-buttons button {
  width: 178px;
  height: 46px;
  font-weight: 800;
  font-size: 18px;
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.header-auth-buttons button:hover {
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.527);
}

.header-auth-buttons .signup-btn {
  box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.4);
  background: linear-gradient(90deg, #e72b4a 0%, #97235b 100%, #e72b4a 100%), linear-gradient(90deg, #2b2b2b 0%, #e72b4a 100%);
  transition: background 0.5s ease, box-shadow 0.5s ease;
}

.header-auth-buttons .login-btn {
  transition: background 0.5s ease, box-shadow 0.5s ease;
  background: linear-gradient(90deg, #bf2955 50%, #e72b4a 100%);
}

.header-auth-buttons .signup-btn:hover {
  background: linear-gradient(270deg, #e72b4a 0%, #97235b 100%, #e72b4a 100%), linear-gradient(270deg, #2b2b2b 0%, #e72b4a 100%);
}

.header-auth-buttons .login-btn:hover {
  background: linear-gradient(90deg, #e72b4a 0%, #97235b 100%, #e72b4a 100%), linear-gradient(90deg, #2b2b2b 0%, #e72b4a 100%);
}

.header-navbar {
  display: flex;
  justify-content: center;
}

.header-navbar nav {
  gap: 8px;
  border-radius: 8px;
  background-color: #ffff;
  min-height: 79px;
  box-shadow: 3px 3px 10px 1px rgba(0, 0, 0, 0.274);
  width: 100%;
  max-width: 1198px;
}


.header-navbar a {
  text-decoration: none;
  color: #2b2b2b;
  font-size: 18px;
  font-weight: 400;
  transition: color 0.3s;
  text-align: right;
}

.header-navbar a:hover {
  color: #2b2b2b;
}

.header-navbar a.main-link {
  font-weight: 700;
  margin-left: 13px;
}

.header-navbar .contact-btn {
  background: linear-gradient(270deg, #bf2955 10%, #e72b4a 100%);
  height: 50px;
  font-weight: 800;
  font-size: 20px;
  color: white;
  border: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
}

.header-navbar .contact-btn:hover {
  background: linear-gradient(90deg, #e72b4a 0%, #97235b 100%, #e72b4a 100%), linear-gradient(90deg, #2b2b2b 0%, #e72b4a 100%);
}

.header-navbar .language-icon {
  color: rgba(231, 43, 74, 1);
  font-size: 40px;
}



@media (max-width: 1228px) {
  .header-navbar nav {
    margin: auto;
  }

  /* لتصغير حجم الخط   بعد حجم معين للصفحة */
  .header-navbar a,
  .header-auth-buttons button,
  .header-navbar .contact-btn {
    font-size: 20px;
  }

  .header-navbar a {
    margin-right: 10px;
  }

}

@media (max-width: 510px) {

  /* لتصغير حجم الخط في الازرار بعد حجم معين للصفحة */
  .header-auth-buttons button,
  .header-navbar .contact-btn {
    font-size: 16px;
    width: 140px;
    height: 50px;
  }

  /* لتصغير حجم الخط بعد حجم معين للصفحة */
  .header-navbar a {
    font-size: 16px;

  }

  /* لتصغير الايقونة بعد حجم معين للصفحة */
  .header-navbar .language-icon {
    font-size: 30px;
  }
}

/********************************************************* end header**************************** */






/* <!------------------------------------------------------------- start main --------------------------------------------------------> */

/* <!------------------------------------------------------ start slider -------------------------------------------------------> */


.carousel {
  direction: ltr;
  bottom: 50px;
  /*يجب تفعيلها عند  دمج العنصر مع الهيدر */
  position: relative;
  z-index: 1;
}

.carousel-indicators button[data-bs-target] {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 4px solid #FFFFFF;
}

/* الزر النشط */
.carousel-indicators button.active {
  background: #E72B4A;

}




.carousel .carousel-item img {
  width: 500px;
  height: 600px;
  object-fit: cover;
}

.carousel-inner .overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.473);
  position: absolute;
  z-index: 1;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-40%);
  text-align: right;
  color: #fff;
  z-index: 2;
}

.carousel-caption h3,
.carousel-caption p {
  margin-bottom: 10px;
}


.carousel-caption h3 {
  font-weight: 900;
}

.carousel-caption .btn {
  margin-top: 20px;
  background: linear-gradient(90deg, #E72B4A 0%, #811829 100%);
  border: 10px;
  box-shadow: 1px 1px 10px #00000040;
  width: 200px;
  cursor: pointer;
  height: 54px;
  align-content: center;
  font-weight: 800;
  transition: background 0.5s ease, box-shadow 0.5s ease;

}

.carousel-caption .btn:hover {
  background: linear-gradient(270deg, #e72b4a 0%, #97235b 100%, #e72b4a 100%), linear-gradient(270deg, #2b2b2b 0%, #e72b4a 100%);
}

/* <!------------------------------------------------------ end slider -------------------------------------------------------> */


/* <!------------------------------------------------------------- start  تصنيفات مميزة  --------------------------------------------------------> */
.featured-categories {
  margin-top: 90px;
  border: 4px solid #BF2955;
  border-radius: 40px;
  padding: 38px 35px;
  gap: 16px;
  display: flex;
  justify-content: space-between;
}

h5 {
  background: linear-gradient(90deg, #2b2b2b 0%, #555555 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 24px;
  font-weight: 700;
  margin-top: -4px;

}


.category-box {
  width: 201px;
  height: 235px;
  border-radius: 15px;
  background-color: #ffffff;
  box-shadow: 1px 1px 10px 5px #00000040;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

.category-box:hover {
  background-color: #f8f1f1;
  transform: scale(1.03);
  box-shadow: 2px 2px 15px 6px #00000050;
  cursor: pointer;
}



@media (max-width: 610px) {
  .featured-categories {
    justify-content: center;
  }
}

/* <!------------------------------------------------------------- end  تصنيفات مميزة  --------------------------------------------------------> */

/* <!------------------------------------------------------------- start  Latest courses--------------------------------------------------------> */

.Latest-grants-content {
  background: linear-gradient(269.04deg, #2b2b2b -1.07%, #555555 99.29%);


}

.Latest-courses-content .card-body .btn {


  background-color: #E72B4A;


}

/* <!------------------------------------------------------------- end  Latest courses--------------------------------------------------------> */



/* <!------------------------------------------------------------- start( shared properities with latest courses and latest grants and maksed-Blog and our-partners and maqsad-benefits) --------------------------------------------------------> */
.Latest-courses-header,
.Latest-grants-header,
.our-partners-header {
  margin-top: 110px;
  padding: 0 20px;
}



.Latest-courses-header p,
.Latest-grants-header p,
.our-partners-header p {
  margin-top: 60px;
  font-size: 20px;
  font-weight: 500;


}

.Latest-courses-content,
.Latest-grants-content,
.maksed-Blog-content,
.our-partners-content,
.maqsad-benefits-content {
  background: linear-gradient(269.04deg, #2b2b2b -1.07%, #555555 99.29%);
  gap: 10px;
  padding: 30px 35px;
  border-radius: 20px;
  justify-content: space-between;

}

.Latest-courses-content-header h6,
.Latest-grants-content-header h6 {
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 500;
}

.Latest-courses-content-header a,
.Latest-grants-content-header a,
.maksed-Blog-content-header a {
  color: #FFFFFF;
  padding: 5px;
  text-decoration: none;
  margin-top: 5px;
}

.Latest-grants-content-header a:hover,
.Latest-courses-content-header a:hover,
.maksed-Blog-content-header a:hover {
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 6px 20px rgba(61, 53, 56, 0.4);
  transition: all 0.3s ease-in-out;
  border-radius: 6px;
}


.Latest-courses-content .card,
.Latest-grants-content .card,
.maksed-Blog-content .card {
  padding: 5px;
  font-size: 13px;
  border-radius: 0 20px;

}

.Latest-courses-content .card .card-body,
.Latest-grants-content .card .card-body,
.maksed-Blog-content .card .card-body {


  text-align: right;
  padding: 5px;

}

.Latest-courses-content .card-body .btn,
.Latest-grants-content .card-body .btn {

  background-color: #E72B4A;
  width: 35%;
  background-color: #E72B4A;
  color: #FFFFFF;
  border-radius: 19px;

}

.Latest-courses-content .card-body .btn:hover,
.Latest-grants-content .card-body .btn:hover {
  box-shadow: 0 4px 12px rgba(49, 44, 45, 0.4);
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}


.Latest-courses-content .card-title,
.Latest-grants-content .card-title,
.maksed-Blog-content .card-text {

  font-size: 14px;
  font-weight: 400;
  color: #808080;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}

.Latest-grants-content-footer .btn,
.Latest-courses-content-footer .btn,
.maksed-Blog-content-footer .btn {
  background: #F5F4FA;
  color: #363434;
  font-size: 20px;

}

.Latest-grants-content-footer .btn:hover,
.Latest-courses-content-footer .btn:hover,
.maksed-Blog-content-footer .btn:hover {
  background-color: #555555;
  box-shadow: 0 4px 12px rgba(231, 43, 74, 0.4);
  color: #fff;
  transition: all 0.3s ease-in-out;
}


@media (max-width: 610px) {

  .Latest-courses-content,
  .Latest-grants-content,
  .maksed-Blog-content,
  .maqsad-benefits-content {
    justify-content: center;
  }
}

/* <!------------------------------------------------------------- end  ( shared properities with latest courses and latest grants and maksed-Blog) --------------------------------------------------------> */



/* <!------------------------------------------------------------- start  Latest grants--------------------------------------------------------> */

.Latest-grants-content {
  background: linear-gradient(90.16deg, #E72B4A -0.62%, #811829 100.76%);

}

.Latest-grants-content .card-body .btn {

  background: #2b2b2b;




}

/* <!------------------------------------------------------------- end  Latest grants--------------------------------------------------------> */

/* <!------------------------------------------------------------- start  Latest grants--------------------------------------------------------> */

.Latest-grants-content {
  background: linear-gradient(90.16deg, #E72B4A -0.62%, #811829 100.76%);

}

.Latest-grants-content .card-body .btn {

  background: #2b2b2b;




}

/* <!------------------------------------------------------------- start  مسيرة حافلة بالعطاء--------------------------------------------------------> */

.maksed-Blog-content-header h5 {
  background: #FFFFFF;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.maksed-Blog-content .card p:first-child {
  background-color: #2b2b2b;
  color: #fff;
  display: inline-block;
  padding: 4px 8px;
  /* اختياري: يجعل الخلفية تبدو أفضل */
  border-radius: 5px;
  /* اختياري: لتنعيم الحواف */
}

.statistics {
  display: flex;
  justify-content: space-around;
  padding: 16px;
  margin: 48px 0;
}

/* <!------------------------------------------------------------- end  مسيرة حافلة بالعطاء--------------------------------------------------------> */

/* <!------------------------------------------------------------- start  شركاؤنا-------------------------------------------------------> */

@media(max-width:610px) {
  .our-partners-content {
    justify-content: center;

  }

}

.our-partners-content {
  background: none;

}

.our-partners-content img {
  width: 219px;
  height: 184px;

  border-radius: 20px;
  border-width: 1px;

}

.our-partners-content .our-partners-box {
  width: 201px;
  height: 235px;
  border-radius: 15px;
  background-color: #FFFFFF;
  box-shadow: 0px 4px 4px 0px #00000040;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/* <!------------------------------------------------------------- start   لماذا تعتبر منصة مقصد الخيار الأمثل للتعلم وتنمية المهارات؟--------------------------------------------------------> */

.maqsad-benefits-content {
  background: none;
}

.maqsad-benefits-content .maqsad-benefits-box {
  width: 201px;
  height: 235px;
  border-radius: 15px;
  background-color: #FFFFFF;
  box-shadow: 0px 4px 4px 0px #00000040;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0px 4px;
  font-size: 14px;
  font-weight: 600;
}

.maqsad-benefits-box h6 {
  font-weight: 700;
}


/* <!------------------------------------------------------------- end   لماذا تعتبر منصة مقصد الخيار الأمثل للتعلم وتنمية المهارات؟--------------------------------------------------------> */
/* <!------------------------------------------------------------- start    تواصل معنا لتحقيق طموحاتك-------------------------------------------------------> */

.contact-us {
  padding: 50px;
}

.contact-us-info {

  height: 370px;
  background: linear-gradient(62.9deg, #FFFFFF 9.97%, #dedede 90.62%);
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  padding: 65px;

}

.contact-us-form {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  margin-right: -60px;
  background: linear-gradient(255.76deg, rgba(40, 40, 40, 0.3) 3.22%, rgba(254, 252, 246, 0.3) 98.03%);
  border-radius: 15px;
  padding: 20px;
  max-width: 30rem;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-us-info p:first-child {
  font-weight: 700;
  font-size: 20px;
  color: #2b2b2b;

}

.contact-us-info,
.contact-us-form {
  border-radius: 64px;
  max-width: 30rem;
  width: 100%;
}

.contact-us-form .btn {
  background-color: #2b2b2b;
  color: #fff;
  width: 25%;
}

.contact-us-form .btn:hover {
  box-shadow: 0 4px 12px rgba(49, 44, 45, 0.4);
  transition: all 0.1s ease-in-out;
  background-color: #3a3a3a;
}

@media (max-width: 768px) {
  .contact-us-form {

    margin-right: 0px;

  }
}

/* <!------------------------------------------------------------- end    تواصل معنا لتحقيق طموحاتك-------------------------------------------------------> */


/* <!------------------------------------------------------------- start    عن المنصة------------------------------------------------------> */

.maksed-website {
  box-shadow: 1px 1px 1px 1px #00000040;
  margin: 50px auto;
  width: 50%;
  padding: 0 48px;
  justify-content: start;
}

.maksed-website img {
  width: 130px;
  height: 170px;
}

.maksed-website h3 {
  color: #2b2b2b;
  font-weight: 700;
}

@media(max-width:865px) {
  .maksed-website {
    flex-wrap: wrap;
    padding: 0px;
    justify-content: center;
  }
}





/* <!------------------------------------------------------------- end    عن المنصة------------------------------------------------------> */

/* <!------------------------------------------------------------- end main --------------------------------------------------------> */

/************************************************ start footer *****************************************/


footer {
  background: linear-gradient(2.54deg, #e72b4a -63.33%, #811829 100.08%);
  color: #ffff;
  margin-top: 30px;

}

footer .first-hr {
  height: 13px;
  background-color: #ffffff;

  /* width: 100vw; */
  position: relative;

  margin: 0;
  top: 40px;

}

footer .second-hr {
  height: 28px;
  background-color: #ffff;
}


footer .component_1-row2 {
  background: linear-gradient(180deg, #2b2b2b 0%, #555555 223.81%);
  display: flex;
  align-items: center;
  margin-right: 0;
  margin-left: 0;

}

footer ul {
  display: flex;
  list-style: none;



}

footer dl,
footer dt {
  text-align: end;
}

.component_1-row-ltr {
  direction: ltr;

}

footer dt {
  margin-top: 60px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 24px;
}

footer dl {

  cursor: pointer;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}


footer dl:hover {
  color: #2b2b2b;
  text-shadow: 0 0 8px rgba(43, 43, 43, 0.6);
}

.footer-social-icons img {
  width: 26;
  height: 26px;
  margin-top: 14px;
}

.footer-social-icons {

  gap: 10px;
  /* المسافة بين ايقونات السوشال ميديا */

}

.footer-social-icons a:hover img {
  /*hover تغيير لون ايقونات التواصل الى ازرق في وضع */
  filter: invert(42%) sepia(67%) saturate(500%) hue-rotate(180deg);
}



@media (max-width: 576px) {

  footer .col-sm-6,
  footer .col-sm-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/**************************************** end footer******************************************* */



.slick-slider{
        display: inline;
  }
  .card-title{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-text{
        display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

    h5 {
      font-size: 30px;
      font-weight: 900;
  }

  .our-partners-header{
    margin-top:10px
  }

  .contact-us-form{
    max-width: none;
  }

  .contact-us-info{
    max-width: none;
  }

  .form-control{
    padding: 10px;
    border-radius: 5px;
  }
  .form-control:focus{
        outline: 0;
    border: none;
    box-shadow: none;
  }

  .contact-us-info p:first-child{
    font-weight: 900 !important;
    font-size: 27px;
    color: #2b2b2b;
    text-align: center;
  }
  .contact-us-info p:last-child{
    font-size: 19px;
    text-align: center;
  }


  .slick-initialized .slick-slide{
    padding: 3px 6px;
  }

  .navbar-nav{
    width: 100% !important;
  }

  .header-navbar a{
    text-align: start;
  }

  .titleSection1{
    top: -51px;
    right:50px;
    padding: 0 10px;
    background-color: white;
    width: 213px;
  }

  .category-box{
    color: #000;
    text-decoration-line: blink;
  }
  
  .Latest-courses-header, .Latest-grants-header, .our-partners-header{
    margin-top:10px;
  }

  @media (max-width: 768px) {
    .Latest-grants-content{
      margin: 5px !important;
    }
    .Latest-courses-content{
      margin: 5px !important;
    }
    .maksed-Blog-content{
      margin: 5px !important;
    }
    .maksed-website{
      width: 95%;
    }
    .category-box{
          margin-top: 39px;
    }

    .header-auth-buttons button, .header-navbar .contact-btn{
      font-size: 13px;
    }
    .header-logo{
      width: 128px;
    }
    .header-auth-buttons{
      width: 250px;
    }

    .navbar-toggler:focus{
      box-shadow: none;
    }

  }
