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

.badge.expiry-badge {
  top: 40px;
  left: 12px;
  font-size: 11px;
  font-weight: 500;
  display: inline-block;
}

.badge.expiry-red {
  background-color: #e74c3c !important;
}

.badge.expiry-green {
  background-color: #27ae60 !important;
}



.who-swiper {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-wrapper {
  position: relative;
}

.card-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 1s ease;
}

.card-wrapper img.loaded {
  opacity: 1;
  transform: scale(1);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 12px;
  font-weight: 600;
  background: #ff5a5f;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
}

.badge.orange { background-color: #FFA500; }
.badge.green { background-color: #2ecc71; }
.badge.blue { background-color: #3498db; }

.card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
}

.card-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  min-height: 60px;
}

.card-content .btn {
  text-align: center;
  display: inline-block;
  background-color: #c79c5f;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.card-content .btn:hover {
  background-color: #b88b4a;
}

.swiper-pagination-bullet {
  background: #999;
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  background: #333;
  opacity: 1;
}

@media (max-width: 768px) {
  .card-wrapper img {
    height: 180px;
  }
  .card-content p {
    min-height: auto;
  }
  .who-swiper {
    padding: 0 10px 30px;
  }
}
