/* ====================================================
   Service Card Component
   ==================================================== */

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
    border-radius: 10px;
    padding: 8px;
    -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, .05);
    box-shadow: 0 0 50px rgba(0, 0, 0, .05);
}

/* Image Container */
.service-card-img {
position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 55%;
}

.service-card-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-img a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
      overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service-card .content-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Price Badge */
.price-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--tripfery-primary-color);
  color: #fff;
    padding: 2px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}

.price-badge .price-text {
    font-size: 15px;
    color: #fff !important;
}

/* Featured Badge */
.feature-text {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff6b6b;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Body: Title + Description */
.service-card-body {
  flex: 1;
  padding: 16px;
}

.service-card-body h3 {
  margin: 0 0 8px 0;
    font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
}

.service-card-body h3 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-card-body h3 a:hover {
  color: #ff9800;
}

.service-card-body p {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Rating Info */
.rating-info {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  color: #666;
}

.rating-info .rating-percent {
  color: #999;
}

/* Footer: Tags + Buttons */
.service-card-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
}

/* Service Tags */
.service-tag {
    display: inline-block;
    background: #e68a0036;
    color: #333;
    padding: 0px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.service-tag:hover {
  background: #e8e8e8;
}

.wrap-services-tag {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Buttons Row */
.paypal-btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-book {
    padding: 10px 14px !important;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  display: inline-block;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-book.mt-sm {
  background: #f5f5f5;
  color: #1a1a1a;
  border: 1px solid #ddd;
}

.btn-book.mt-sm:hover {
  background: #e8e8e8;
  border-color: #ccc;
}

.btn-book:not(.mt-sm) {
  background: #ff9800;
  color: #fff;
}

.btn-book:not(.mt-sm):hover {
  background: #e68a00;
}

/* Responsive */
@media (max-width: 768px) {
  .service-card-body {
    padding: 12px;
  }

  .service-card-footer {
    padding: 10px 12px;
  }

  .paypal-btn-row {
    flex-direction: column;
  }

  .btn-book {
    flex: none;
    width: 100%;
  }
}
