body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  direction: rtl;
  text-align: center;
  background-color: #2f0f4f;
  margin-left: -100px;
  background-image: url('C:\Users\mhmda\Downloads\png-transparent-squigly-line-squigly-line-shape-design-object-shape-element-3d-icon-thumbnail-removebg-preview.png');
  
  background-repeat: no-repeat;
  margin-right: -6%;
}


header {
 /*background-color: #FABC3F;*/
  color: white;
  padding: 10px 0;
  text-align: center;
}

header nav {
  margin: 0;
  color: #EB3678;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline;
  margin: 0 15px;
}
nav ul li a {
  color: white;
  padding-bottom: 10px; /* تقليل المسافة السفلية */
  padding-top: -10px; /* إضافة مسافة علوية */
  text-decoration: none;
  font-family: 'Amiri', serif;
  font-style: italic;
  display: inline-block;
  line-height: 1.5; /* تعديل ارتفاع الخط لرفع النص قليلاً */
}

main {
  padding: 20px;
}

section {
  margin-bottom: 40px;
}
#home img {
  height: 30%;
  width: 30%;
  
  margin-top: -80px;
  margin-left: -160px;
  
}

.logos{ 
  padding-top: 40px;
  margin-right:100px;
  height: 40%;
  width: 40%;
}
.tap{
  display: inline-flexbox;
 
  }
.log{
  
  
  margin-top: 225px;
  
}

.log a img{
  
  height: 250px;
  width: 250px;
}

.log h3{

  margin-bottom: -70px;
}
h2 {
  color: #EB3678;
  font-size: 24px;
  margin-bottom: 10px;
}

p {
  font-size: 16px;
  line-height: 1.6;
}

#courses {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-left: 40px;
}

.course-card {
  
  
  border-radius: 10px;
  
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #f6efc3;
  font-family: 'Dubai', serif;
  
  transition: transform 0.3s ease;
}
.course-card img{
  margin-top: 95px;
  width: 300px;
  height: 300px;
  margin-right: 4%; /* Add margin-right to create space between images */
}

.course-card h3{
  margin-top: 50px;
  width: 300px;
  height: 300px;
  margin-right: 4%; /* Add margin-right to create space between images */
}
.course-card h3 {
  margin-top: 0;
  font-size: 20px;
}

.course-card:hover {
  transform: scale(1.05);
}

.btn {
  background-color: #FB773C;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  margin-top: 20px;
}

footer {
  background-color: #681cb3;
  color: white;
  text-align: center;
  padding: 10px 0;
  position: relative;
  bottom: 0;
  width: 100%;
}
