.eye-section {
    display: flex;
    min-height: 50vh;
    background-color: #faf9f7;
    height: 700px;
  }
  
  .eye-image {
    flex: 1;
    background-image: url('../../EyeExaminationforChildren.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: -80px;
    height: 700px;
  }
.mobile-eye-img {
  display: none;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
  .client-count {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: white;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-align: left;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1s ease;
  }
  .light-effect {
    position: absolute;
    left: 170px; 
    top: 40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 70%);
    opacity: 0; 
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.5s ease; 
  }  

.eye-image:hover .light-effect {
    opacity: 1;
}

  
  @keyframes lightAnimation {
    0% {
      transform: translate(-50%, -50%) scale(1);
    }
    50% {
      transform: translate(-50%, -50%) scale(1.5);
    }
    100% {
      transform: translate(-50%, -50%) scale(1);
    }
  }
  .client-count.visible {
    transform: translateX(0);
    opacity: 1;
  }
  
  
  .client-count h2 {
    font-size: 28px;
    margin: 0;
  }
  
  .client-count p {
    margin: 5px 0 0;
    font-weight: 500;
  }
  
  .client-count small {
    font-size: 12px;
    display: block;
    margin-top: 3px;
  }
  
  .eye-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease;
    padding: 40px;
  }
  
  .eye-content.visible {
    opacity: 1;
    transform: translateX(0);
  }
  
  .eye-text {
    max-width: 500px;
  }
  
  .eye-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #111;
  }
  
  .subtext {
    font-size: 15px;
    color: #555;
    margin-bottom: 25px;
  }
  
  .services-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
  }
  
  .services-list li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
    gap: 12px;
  }
  
  .check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #0077c2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .check-icon i {
    font-style: normal;
    font-size: 13px;
    font-weight: 500;
    color: #0077c2;
  }
  
  .consult-btn {
    background-color: #003e6f;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
    text-decoration: none;
  }
  
  .consult-btn:hover {
    background-color: #005aa7;
  }
  /* نسخة الموبايل للسكشن الخامس */
@media (max-width: 768px) {
    .eye-section {
      flex-direction: column;
      min-height: auto;
    }
  
    .eye-image {
      background: none !important; 
      height: auto; /* نخلي الطول حسب الصورة */
    }
  
    .mobile-eye-img {
      display: block;
    }
  
    .light-effect {
      width: 100px;
      height: 100px;
      top: 18%;
      left: 48%;
      transform: translate(-50%, -50%);
    }
  
    .client-count {
      position: absolute;
      bottom: 20px;
      left: 20px;
      font-size: 14px;
      padding: 12px;
      width: 80%;
    }
  
    .client-count h2 {
      font-size: 22px;
    }
  
    .client-count p {
      font-size: 14px;
    }
  
    .client-count small {
      font-size: 11px;
    }
  
    .eye-content {
      padding: 30px 20px;
      transform: none;
    }
  
    .eye-text {
      max-width: 100%;
      text-align: center;
    }
  
    .eye-title {
      font-size: 22px;
    }
  
    .subtext {
      font-size: 14px;
    }
  
    .services-list li {
      display: flex;
      align-items: center;
      justify-content: flex-start; /* مهم */
      font-size: 13px;
      gap: 8px; /* مسافة بين الصح والنص */
      margin-bottom: 8px;
      text-align: left;
    }
    
  
    .check-icon {
      width: 20px;
      height: 20px;
    }
  
    .check-icon i {
      font-size: 12px;
    }
  
    .consult-btn {
      margin-top: -20px;
      font-size: 11px;
      padding: 10px 16px;
    }
  }