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

body {
   background: linear-gradient(180deg, #f5fcfd, #e0f7fa);
  
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 30px;
  gap: 30px;
 background: linear-gradient(135deg, #007a8f, #00b0cc);
  display: flex;
  align-items: center;
  justify-content: space-between;

  
}

header img {
  width: 60px;
  height: 60px;
  filter: brightness(0.7);
}

header a {
  text-decoration: none;
  color: white;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
}

/*للموبيل*/
@media (max-width: 768px) {
  header {
    flex-direction:row; 
    gap: 10px;
    padding: 15px;
  }

  header img {
    width: 50px;
    height: 50px;
    padding-left: 0; 
  }

  header a {
    font-size: 16px;
  }

  body {
    padding-top: 120px; 
  }
   .about {
    flex-direction: column;
    text-align: center;
    padding: 10px 15px;
  }

  .about img {
    width: 160px;
    margin-bottom: 20px;
  }

  .about p {
    font-size: 18px;
    text-align: center;
  }
}

 .about {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background-color: #fff; /* خلفية بيضاء بسيطة */
  border-radius: 15px;
  padding: 80px 40px;
  margin: 200px auto 60px;
  width: 80%;
  max-width: 900px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* الصوره */
.about img {
  width: 250px;
  height: auto;
}

/* النص */
.about p {
  font-family: 'Cairo', sans-serif;
  font-size: 20px;
  color: #333;
  line-height: 1.8;
  text-align: right; 
  max-width: 500px;
}  

.services {
  text-align: center;
  margin: 100px auto;
  padding: 50px 20px;
 
}

.services h2 {
  font-family: 'Cairo', sans-serif;
  color: #007a8f; /* الأزرق الغامق اللي اخترناه */
  font-size: 32px;
  margin-bottom: 40px;
  margin-top: 100px;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0px auto;
}

.service-box {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 25px 15px;
  font-family: 'Cairo', sans-serif;
  font-size: 18px;
  color: #333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  background-color: #aef3ff;
  
}

.testimonials {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(180deg, #f5fcfd, #e0f7fa);
}

.testimonials h2 {
  color: #007a8f;
  font-family: 'Cairo', sans-serif;
  font-size: 32px;
  margin-bottom: 40px;
}

.testimonial-box {
  background-color: white;
  border-radius: 15px;
  padding: 25px 30px;
  margin: 20px auto;
  max-width: 600px;
  box-shadow: 0 5px 15px rgba(0, 122, 143, 0.15);
  text-align: right;
  direction: rtl;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 122, 143, 0.25);
}

.testimonial-box h3 {
  color: #00a4bd;
  margin-bottom: 5px;
  font-family: 'Cairo', sans-serif;
  font-size: 20px;
}

.testimonial-box .stars {
  color: #FFD700; /* لون ذهبي للنجوم */
  font-size: 18px;
  margin-bottom: 10px;
}

.testimonial-box p {
  color: #333;
  font-size: 16px;
  line-height: 1.8;
  font-family: 'Cairo', sans-serif;
}


.footer {
  background: linear-gradient(90deg, #007a8f, #00b0cc);
  text-align: center;
  padding: 25px 10px;
  color: white;
  margin-top: 70px;
}

.footer .social {
  margin-bottom: 15px;
}

.footer .social a {
  display: inline-block;
  margin: 0 10px;
  transition: transform 0.3s, opacity 0.3s;
}

.footer .social a:hover {
  transform: scale(1.15);
  opacity: 0.8;
}

.footer .social img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.footer .rights {
  font-size: 15px;
  opacity: 0.9;
  font-family: 'Cairo', sans-serif;
}

.doctor-online {
  background-color: white; 
  border-radius: 12px;
  padding: 20px;
  max-width: 700px;
  margin: 70px auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-family: 'Cairo', sans-serif;
  margin-bottom: 200px;

}

.doctor-online h2 {
  text-align: center;
  color: #00a4bd;
  margin-bottom: 5px;
  font-family: 'Cairo', sans-serif;
  font-size: 20px;
  padding: 5px;
 
}

.doctor-online p {
  line-height: 1.6;
  font-size: 16px;
}

.doctor-online a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.doctor-online a:hover {
  text-decoration: underline;
}
.certificates-container {
  display: flex; /* عرضي لكل الشهادات */
  justify-content: center; /* توسيط الصف */
  align-items: flex-start;
  gap: 20px; /* المسافة بين الشهادات */
  max-width: 1000px;
  margin: 0 auto;
  
}

.certificate-box.large {
  flex: 2; /* تأخذ ضعف مساحة الصور العادية */
  max-height: 250px; /* ارتفاع مناسب للشهادة الكبيرة */
}

.certificate-box.large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.certificate-box {
  flex: 1; /* الصور العادية تأخذ مساحة متساوية */
  max-height: 250px; /* ارتفاع الصور العادية */
}

.certificate-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* hover effect */
.certificate-box:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.certificates h2 {
  font-family: 'Cairo', sans-serif;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  color: #007a8f; /* الأزرق الغامق اللي اخترناه */
  font-size: 32px;
  margin-bottom: 70px;
  margin-top: 100px;
}

.head2{
  font-family: 'Cairo', sans-serif;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  color: #007a8f; /* الأزرق الغامق اللي اخترناه */
  font-size: 32px;
  margin-bottom: 40px;
  margin-top: 100px;
}
