@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap");

:root {
  --primary-color: #0d47a1;
  --secondary-color: #1565c0;
  --text-color: #333;
  --light-bg: #f5f5f5;
  --transition: all 0.3s ease;
}

body {
  font-family: "Cairo", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  direction: rtl;
}

.navbar #userIcon {
  font-size: 14px;
  color: white;
  cursor: pointer;
  margin-right: 10px;
  display: flex;
  align-items: center;
  gap: 17px;
}

.navbar #userIcon a {
  text-decoration: none;
  color: white;
  font-size: 14px;
}

#userIcon {
  font-size: 18px;
  color: #0055d2;
  cursor: pointer;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

#userIcon a {
  text-decoration: none;
  color: #0055d2;
  font-size: 18px;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 25px 20px;
}

@media (min-width: 1600px) {
  .container {
    max-width: 1650px;
  }
}

.homeHeader {
 /* background: url("/front/images/header-new.png") no-repeat center center / cover;*/
  background-color: #0b236b;
  color: #ffffff;
  /* text-align: center; */
  
}

.navbar {
  display: flex;
 /* justify-content: space-between;  */
  align-items: center;
  position: relative;
}


.homeLogo {
  width: 300px;
  cursor: pointer;
}
@media (max-height: 700px) {
  .hero-image {
    display: none;

  }
}

@media (max-width: 768px) {
  .homeLogo {
    width: 250px;
  }
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}
nav {
  display: flex;
  justify-content: flex-end; /* أو space-between حسب الحاجة */
  align-items: center;
  max-width: 1300px;
  direction:rtl; /* يضمن ترتيب العناصر صح */
  gap: 250px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links {
  margin-left: auto; /* يجعلها تروح أقصى اليمين */
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  text-decoration: none;
  color: rgb(15, 0, 83);
}
.nav-links a {
  text-decoration: none;
   color: rgb(15, 0, 83);
  position: relative;
font-size: 17px;
font-weight: 550;
 /*   margin-left: 2rem; */
  transition: var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color:  #ffffff;
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Links */
.links.nav-links li a {
  color: #ffffff;
}

.links.nav-links li a.active {
  color: #ffffff;
}

.nav-buttons {
  display: flex;
  gap: 10px;
}

button {
  border: none;
  padding: 10px 30px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#signupButton {
  background: #0b236b;
  color: white;
}

#signupButton {
  font-size: 18px; /* حجم الخط، ممكن تزود أو تقلل */
  font-weight: 600; /* بولد خفيف، لو عايز أقوى خلي 700 */
  padding: 10px 20px; /* حجم الزرار من الداخل */
  border-radius: 5px; /* زوايا مدورة */
  background-color: #0b236b; /* لون خلفية حسب التصميم */
  color: white; /* لون الخط */
  cursor: pointer;
  border: none;
  transition: 0.3s;
}
#sidebarButton {
  font-size: 18px; /* حجم الخط، ممكن تزود أو تقلل */
  font-weight: 600; /* بولد خفيف، لو عايز أقوى خلي 700 */
  border-radius: 5px; /* زوايا مدورة */
  background-color: #0b236b; /* لون خلفية حسب التصميم */
  font-family: inherit;
  color: white; /* لون الخط */
  cursor: pointer;
  border: none;
  transition: 0.3s;
   height: 50px;

}
#sideButtons {
  display: flex;
  justify-content: center; /* توسيط أفقي */
  align-items: center;      /* توسيط عمودي (اختياري) */
}
#signupButton:hover {
  background-color: #213769; /* لون عند المرور */
}

#loginButton {
  background: white;
  color: #0b236b;
}

.mobile-menu-button {
  display: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.code-icon {
  font-size: 1.5rem;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .mobile-menu-button {
    display: block;
    font-size: 2rem;
  }
 #signupButton {
    display: none;
  }
}

/* سايد بار */
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0; /* من اليمين */
  background-color: #0b236b;
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 60px;
  z-index: 999;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  padding: 10px 20px;
  position: relative;
}

.sidebar ul li a {
  color: white;
  text-decoration: none;
  display: block;
}

/* Dropdown جوه السايد بار */
.sidebar .dropdown-menu {
  display: none;
  background: #123a8b;
  margin-top: 5px;
  padding-left: 15px;
}

.sidebar .dropdown:hover .dropdown-menu {
  display: block;
}

.sidebar .closebtn {
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 36px;
  color: white;
  cursor: pointer;
}

/* Mobile Menu */
/* ترتيب اللوجو والزرار */
.navbar.container {
  display: flex;
  justify-content: space-between; /* يبعد العناصر عن بعض */
  align-items: center;
  padding: 10px 20px;
}



/* زرار المنيو على الشمال */
#mobileMenuButton {
 margin-right: 60px;
 color: #0b236b;

}

/* لمنيو الموبايل نفسه */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%; /* حجم المنيو */
  max-width: 300px;
  height: 100vh;
  background: white;
  display: none;
  z-index: 9999;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto; /* يسمح بالتمرير إذا العناصر كتير */
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
}


@keyframes animate_from_left {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.mobile-menu div {
  width: 100%;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 5px;
  padding: 10px 20px;
}

.mobile-close-button {
  font-size: 2rem;
  color: red;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-close-button i {
  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-menu ul li {
  margin: 10px 0;
}

.mobile-menu a {
  text-decoration: none;
  color: #0b236b;
  font-size: 18px;
}
/*               */

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu ul li {
  display: block;   /* يخلي العناصر تحت بعض */
  margin: 10px 0;   /* مسافة بينهم */
}

.mobile-menu ul li a {
  display: block;   /* يخلي اللينك ياخد عرض السطر كله */
  padding: 8px 12px;
  color: #0b236b;
  text-decoration: none;
} 
.menu-section {
  margin: 15px 0;
}

/* الاعتمادات */
.accreditations {
  background-color: #ffffff;
  text-align: center;
  direction: rtl;
  
}


.section-title {
  font-size: 28px;
  font-weight: 800;
  color: #002366;
  margin-bottom: 30px;
}

.accreditations-table {

  width: 90%;
  border-collapse: separate;
  border-spacing: 30px 25px;
 

}

.accreditations-table td {
  text-align: center;
  vertical-align: top;
}

.accreditations-table img {

  height: 100px;
  object-fit: contain;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.accreditations-table img:hover {
  transform: scale(1.08);
}

.accreditations-table p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #002366;
}

.accreditations-desc {
  font-size: 16px;
  color: #333;
  margin-top: 40px;
  line-height: 1.7;
}

.charity-section {
  margin-top: 40px;
  padding-top: 15px;
  font-weight: 800;
  font-size: 20px;
  color: #002366;
  border-top: 2px solid #002366;
}
/* جعل الجدول متجاوب على الشاشات الصغيرة */
@media (max-width: 768px) {
  .accreditations-table {
    width: 100%;
    border-spacing: 15px 20px;
  }

  /* خلي كل خلية في صف واحد لما الشاشة تصغر */
  .accreditations-table tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
  }

  .accreditations-table td {
    width: 45%; /* خلي عنصرين في كل صف */
    text-align: center;
  }

  .accreditations-table img {
    width: 80px;
    height: 80px;
  }

  .accreditations-table p {
    font-size: 14px;
  }

  .section-title {
    font-size: 22px;
  }

  .accreditations-desc {
    font-size: 14px;
    margin-top: 25px;
    padding: 0 10px;
  }

  .charity-section h3 {
    font-size: 16px;
    line-height: 1.6;
    padding: 0 10px;
  }
}

/* للموبايلات الأصغر من 480px */
@media (max-width: 480px) {
  .accreditations-table td {
    width: 100%; /* عنصر واحد في الصف */
  }

  .accreditations-table img {
    width: 70px;
    height: 70px;
  }

  .section-title {
    font-size: 20px;
  }
}

/*                                                         */

.section-title {
  display: block;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 8px;
  color: #0b236b;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.section-items {
  list-style: none;
  padding-left: 15px;
}

.section-items li {
  margin: 8px 0;
}

.section-items a {
  text-decoration: none;
  color: #444;
  font-size: 16px;
  display: block;
}

.close-menu {
  width: 30px;
  position: absolute;
  top: 15px;
  left: 15px;
  cursor: pointer;
}
/* القائمة المنسدلة */
.dropdown {
  position: relative; /* مهم علشان المنيو تتمركز تحت العنصر */
  display: inline-block; /* يخلي كل dropdown على قد الكلمة */
}

.dropdown-menu {
  display: block;
  position: absolute;
  top: calc(100% + 20px);
  left: 2;   /* هتبدأ من أول الكلمة */
  background: #3660A1;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 200px;
  border-radius: 6px;

  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;

  z-index: 20000;
}


.dropdown-menu li a {
  display: block;
  padding: 12px 15px;
  color: #fff;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: #274a7d;


}

/* إظهار القائمة عند hover */
.dropdown:hover .dropdown-menu {
  max-height: 500px;   /* نخليها تكبر */
  opacity: 1;          /* تبقى واضحة */
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-text {
  width: 50%;
  text-align: right;
  line-height: 2;
}

.hero-image {
  width: 40%;
}

.hero-btn {
  font-size: 1.2rem;
  padding: 12px 25px;
  font-weight: 700;
  color:#000000;          /* لون النص */
  background-color: #ffffff; /* لون خلفية الزر */
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .hero {
    display: block;

  }
  .hero-text {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
  }

  .hero-image
    {
 margin-top: 30px;
 width: 50%;

  }
  .banner-image  {
    display: none;
     }
}
.banner-image {
  width: 30%;
  max-height: 500px;
  object-fit:contain;


}
/* Course Section */
.course-section {
  padding-top: 50px ;
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .course-section {
    padding: 10px 20px;
  }
}

.course-container {
  display: flex;
  align-items: center;

  justify-content: space-between;

}

.video-container {
  position: relative;
  width: 50%;
}

video {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-text {
  width: 50%;
}

@media screen and (max-width: 768px) {
  .course-text {
    width: 100%;
  }
}

.course-text h2 {
  font-size: 24px;
  color: #0b236b;
  font-weight: bold;
}

.course-text p {
  font-size: 18px;
  color: #333;
  line-height: 1.8;
}

@media screen and (max-width: 768px) {
  .course-text h2 {
    font-size: 18px;
  }

  .course-text p {
    font-size: 16px;
  }
}

.learn-more {
  display: inline-block;
  margin-top: 15px;
  font-size: 18px;
  color: white;
  background: #0055d2;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.learn-more:hover {
  background: #103496;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .course-container {
    flex-direction: column;
    text-align: center;
  }

  .video-container,
  .course-text {
    width: 100%;
  }
}

.course-rating .stars {
  display: flex;
  gap: 2px;
}

.course-rating .fas.fa-star,
.course-rating .fas.fa-star-half-alt {
  color: #0055d2;
}

.course-rating .far.fa-star {
  color: #ccc;
}

.rating-count {
  font-size: 13px;
  color: #666;
  text-decoration: none;
}

.course-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.course-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--primary-color);
  line-height: 1.4;
}

.card-content p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
  padding: 0.5rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.stars {
  color: #ffd700;
  font-size: 1.1rem;
}

.price {
  font-weight: bold;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.buttons {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.view-btn,
.register-btn {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  flex: 1;
  transition: var(--transition);
  font-weight: 600;
  text-align: center;
  font-size: 0.95rem;
  text-decoration: none;

}

.view-btn {
  background-color: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.view-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.register-btn {
  background-color: var(--primary-color);
  border: none;
  color: white;
}

.register-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.swiper-button-next,
.swiper-button-prev {
  color: #0b236b;
}

.swiper-wrapper {
  gap: 20px;
}

.slide-btn-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
}

.slide-btn-container .btn:first-child {
  background: #0055d2;
}

.slide-btn-container .btn:last-child {
  background: transparent;
  color: #0055d2;
  border: 2px solid #0055d2;
}

.course-slide {
  height: 100%;
  display: flex;
}

.swiper-pagination-bullet-active {
  background: #0b236b;
}

.btn-view-all {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.btn-view-all button {
  background: #0055d2;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-view-all button:hover {
  background: #081a4d;
}


/* Responsive */
@media (max-width: 768px) {
  .swiper {
    width: 100%;
  }

  .course-card {
    width: 80%;
  }
}

.slide {
  background-color: #f8fbfb;
}

.section-title,
.section-subtitle {
  text-align: center;
  margin-bottom: 20px;
}

/* Remove arrow buttons */
.swiper-button-next,
.swiper-button-prev {
  display: none !important;
}

.mySwiper {
  padding: 3rem 0 !important;
}

/* Pagination Styling */
.swiper-pagination {
  margin-top: 7rem !important;
  position: relative;
}

.swiper-pagination-bullet {
  width: 30px !important;
  height: 3px !important;
  background: #ccc;
  border-radius: 0 !important;
  margin: 5px;
  transition: background 0.3s;
}

.swiper-pagination-bullet-active {
  background: #0b236b;
  width: 40px;
}

/* Main section container */
.support {
  padding: 50px;
}

.support__container {
  display: flex;
  align-items: flex-start; /* يخلي النص يبدأ من فوق مع الصور */
  justify-content: space-between; /* يخلي في مسافة طبيعية بينهم */
  margin: auto;
  gap: 50px; /* مسافة معقولة بدل 300px */
  flex-wrap: wrap;
}

.support__images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* عدد الأعمدة تلقائي حسب حجم الشاشة */
  gap: 15px; /* المسافة بين الصور */
  margin-top: 1rem;
}

.support__image {
  width: 100%; /* الصورة تاخد كل مساحة الخلية */
  height: 300px; /* تحدد ارتفاع ثابت */
  object-fit: cover; /* الصورة تتناسب مع الخلية بدون تشويه */
  border-radius: 8px;
}

.support__images > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
@media screen and (max-width: 768px) {


  .support__container {
    gap: 10px;
  }
  .support {
    padding: 20px;
  }
  .support__image {
    display: none;
  }
}
/* Content section */
.support__content {
  max-width: 650px;
}

.support__subtitle {
  color: #007bff;
  font-size: 18px;
  font-weight: bold;
}

.support__title {
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0;
}

.support__description {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

/* Features list */
.support__list {
  list-style: none;
  margin-bottom: 20px;
}

.support__list-item {
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
}

/* Button */
.support__button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.support__button:hover {
  background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
  .support__container {
    flex-direction: column;
    text-align: center;
  }

  .support__images {
    flex-direction: row;
    justify-content: center;
  }

  .support__image {
    max-width: 100%;
  }

  .support__images > div {
    flex-direction: column;
  }
}

/* Testimonials Section */
.testimonials {
  padding: 50px 0 0 0;
  background-color: #f8f9fa;
  text-align: center;
}

.testimonials__slider {
  padding: 0 0 3rem 0 !important;
}

.testimonials__subtitle {
  color: #007bff;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;

}

.testimonials__title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
  .testimonials {
    padding: 20px 0 0 0;
  }

  .testimonials__title {
    font-size: 20px;
  }
}

/* Testimonial Card */
.testimonials__card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: right;
  width: 400px;
}

.testimonials__text {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* Author Section */
.testimonials__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonials__avatar {
  width: 50px;
  height: 50px;
}

.testimonials__name {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}

.testimonials__role {
  font-size: 14px;
  color: #777;
  margin: 10px 0 0 0;
}

@media screen and (max-width: 768px) {
  .testimonials__card {
    width: 100%;
  }
}

/* Statistics Section */
.stats {
  background: url("background.jpg") center/cover no-repeat;
  position: relative;
}

/* Dark overlay for readability */
.stats__overlay {
  background-image: url(".././images/stats-bg.png");
  width: 100%;
  height: 100%;
  background-size: cover;
}

/* Container */
.stats__container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-content: space-between;
  text-align: center;
  color: white;
  gap: 20px;
}

/* Individual Statistics */
.stats__item {
  flex: 1;
}

/* Numbers */
.stats__number {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 5px;
}

/* Text Labels */
.stats__text {
  font-size: 18px;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .stats__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
}
/* Footer */
.footer {
  background: #002366;
  color:#002366;
  padding: 50px 20px;
  border-top: 1px solid #00aaff;
;
}

/* Footer Container */
.footer__container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

@media screen and (max-width: 768px) {
  .footer {
    padding: 20px;
  }

  .footer__container {
    flex-direction: column;
    gap: 20px;
  }

  .footer__about,
  .footer__links,
  .footer__contact {
    flex: 1 1 100%;
  }
}

/* Footer Sections */
.footer__about,
.footer__links,
.footer__contact {
  flex: 1;
  min-width: 250px;
}

/* Footer Titles */
.footer__logo {
  width: 200px;
  height: auto;
  cursor: pointer;
  margin-bottom: 10px;
}

/* Highlighted Text */
.footer__highlight {
  color: #00aaff;
}

/* Description */
.footer__description {
  font-size: 15px;
  color: #1a0077;
  line-height: 1.9;
}

/* Links */
.footer__list {
  list-style: none;
  padding: 0;
  line-height: 1.9;
}

.footer i {
  color: #00215e !important;
}

.footer__list-item {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__list-item i {
  font-size: 12px;
  color: #00215e;
}

.footer__list-item a {
  color:  #00215e;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer__list-item a:hover {
  color: #00aaff;
}

/* Contact */
.footer__contact-list {
  list-style: none;
  font-size: 14px;
  color:#00215e;
  padding: 0;
  line-height: 1.9;
}
.footer__contact-list a {
    color: inherit;       /* يخلي اللون زي لون النص الأساسي */
    text-decoration: none; /* يشيل الـ underline */
}

.footer__contact-list a:hover {
    color: #3660A1;       /* لون مميز عند الـ hover (اختياري) */
    text-decoration: underline; /* أو تحط خط عند المرور عليه */
}
.footer__contact-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
/* هامبورجر */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  height: 3px;
  width: 25px;
  background: #000;
  border-radius: 2px;
}
@media screen and (max-width: 768px) {
  .footer__contact-list li {
    justify-content: center;
  }

  .hamburger {
    display: flex;
  }

}

.footer__contact-list i {
  color: #00aaff;
}

/* Social Media Icons */
.footer__social {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__social a {
  color: white;
  font-size: 18px;
  transition: color 0.3s;
}

.footer__social a:hover {
  color: #00aaff;
}
.rating-price{
    display: flex;
    justify-content:space-between;
    padding-bottom: 20px;

}

/* Footer Bottom */
.footer__bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #00aaff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer__container {
    flex-direction: column;
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__list-item {
    justify-content: center;
  }
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .stats {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }

  .buttons {
    flex-direction: column;
  }
}
.image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    flex: 1 1 45%;
    max-width: 45%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 8px;
}





  /* Additional styles for search functionality */
        .search-container {
            max-width: 600px;
            margin: 30px auto;
            position: relative;
        }

        .search-box {
            width: 100%;
            padding: 12px 50px 12px 20px;
            border: 1px solid #ddd;
            border-radius: 30px;
            font-size: 16px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .search-box:focus {
            outline: none;
            border-color: #4a90e2;
            box-shadow: 0 2px 15px rgba(74, 144, 226, 0.3);
        }

        .search-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #777;
        }

        .loading-indicator {
            text-align: center;
            padding: 20px;
            display: none;
        }

        .no-results {
            text-align: center;
            padding: 40px;
            color: #777;
            display: none;
        }

        .search-results-info {
            text-align: center;
            margin-bottom: 20px;
            color: #555;
            display: none;
        }

        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 30px;
        }

