.section {
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}


/* Add your custom styles here */
/* Hide all images by default */
.mySlides {
  display: none;
}

/* Optional: Add styles for prev/next buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

.prev {
  left: 0;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}


.card {
    position: relative;
    width: 74%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 10px; /* زيادة المسافة بين الكروت */
  }

  .card:hover {
    transform: scale(1.05);
  }

  .card img {
    width: 50%;
    height: 50%;
    transition: transform 0.3s ease;
  }

  .card:hover img {
    transform: scale(1.1);
  }

  .card-body {
    padding: 20px;
  }

  .card-title {
    font-size: 24px;
    margin-bottom: 10px;
   
  }

  .card-text {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .card a {
    margin-right: 10px;
  }

  .card a:hover {
    transform: translateY(-3px);
  }


.navbar {
    margin-top: 1px; /* تعديل الهامش العلوي */
    margin-bottom: 1px; /* تعديل الهامش السفلي */
    padding: 0 1px;


 /* تعيين اتجاه النص */
    .section {
      direction: rtl;
    }

    /* تعيين نص أحمر اللون */
    .red-text {
      color: red;
      