/* Global responsive images */
img {
  max-width: 100%;
  height: auto;
}

.service-item {
  width: 100%;
  height: 100%;
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.service-item .down-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px; /* ajustez selon le contenu */
}

.service-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 15px;
}

.service-item p {
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

/* Responsive pour mobiles */
@media (max-width: 768px) {
  .service-item {
    padding: 10px;
  }
  .service-item img {
    height: 150px;
  }
  .service-item .down-content {
    min-height: 200px;
  }
  .service-item h4 {
    font-size: 16px;
  }
  .service-item p {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .service-item {
    padding: 8px;
  }
  .service-item img {
    height: 120px;
  }
  .service-item .down-content {
    min-height: 180px;
  }
  .service-item h4 {
    font-size: 14px;
  }
  .service-item p {
    font-size: 12px;
  }
}
