#guarantee {
  padding: 50px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

#guarantee .taxi-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 50px;
}

.card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background-color: #fff;
  overflow: hidden;
  margin: 20px auto;
  padding: 20px;
  transition: transform 0.3s ease-in-out;
  text-align: left;
}

.card:hover {
  transform: translateY(-10px);
}
.card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.card h4 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
  text-align: center;
}

.card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  text-align: center;
}

.guarantee-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.guarantee-col {
  flex: 0 0 32%;
  max-width: 32%;
}

@media (max-width: 768px) {
  .col-4 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .card img {
    width: 80px;
    height: 80px;
  }

  #guarantee .taxi-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .col-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .card {
    margin-bottom: 20px;
  }

  .card img {
    width: 60px;
    height: 60px;
  }

  #guarantee .taxi-title {
    font-size: 1.75rem;
  }

  .card h4 {
    font-size: 1.25rem;
  }

  .card p {
    font-size: 0.9rem;
  }
}
