/* ===================================
   SERVICE CARDS CUSTOM STYLING
   ================================== */

/* Service Section */
.layanan-kami-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  color: #2c3e50;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.section-description {
  color: #555;
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 30px;
  font-weight: 400;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #009dee, #0056b3);
  margin: 0 auto 30px;
  border-radius: 2px;
}

/* Service Cards Container */
.service-cards-container {
  margin-top: 30px;
}

/* Individual Service Card */
.service-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 0;
  height: 100%;
  transition: all 0.3s ease;
  overflow: hidden;
  margin-bottom: 30px;
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Card Image */
.service-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

.service-card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-card-image::after {
  opacity: 1;
}

/* Card Content */
.service-card-content {
  padding: 24px;
}

.service-card-title {
  color: #2c3e50;
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: left;
  line-height: 1.3;
}

/* Pricing Info */
.service-pricing {
  color: white;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.service-card:hover .service-pricing::before {
  left: 100%;
}

.pricing-label {
  font-size: 0.75rem;
  opacity: 0.9;
  margin-bottom: 4px;
}

.pricing-amount {
  font-size: 1.125rem;
  font-weight: 700;
}

/* Pricing Colors - Single Consistent Color */
.pricing-lansia,
.pricing-orang-sakit,
.pricing-semi-medis,
.pricing-medis {
  background: linear-gradient(135deg, #009dee, #0056b3);
}

/* Card Description */
.service-description {
  color: #666;
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: left;
}

/* Service List */
.service-list {
  margin-bottom: 24px;
}

.service-list-title {
  color: #2c3e50;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}

.service-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 4px 0;
  transition: all 0.2s ease;
}

.service-item:hover {
  padding-left: 5px;
}

.service-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.service-item:hover .service-bullet {
  transform: scale(1.2);
}

.service-item-text {
  color: #555;
  font-size: 0.8125rem;
  line-height: 1.4;
  font-weight: 500;
}

/* Bullet Colors - Single Consistent Color */
.bullet-lansia,
.bullet-orang-sakit,
.bullet-semi-medis,
.bullet-medis {
  background: #009dee;
}

/* Read More Button */
.service-button-container {
  text-align: center;
}

.service-button {
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.service-button:hover::before {
  left: 100%;
}

.service-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-button i {
  margin-left: 8px;
  font-size: 0.6875rem;
  transition: transform 0.3s ease;
}

.service-button:hover i {
  transform: translateX(3px);
}

/* Button Colors - Single Consistent Color */
.btn-lansia,
.btn-orang-sakit,
.btn-semi-medis,
.btn-medis {
  background: linear-gradient(135deg, #009dee, #0056b3);
}

/* Responsive Design */
@media (max-width: 1199px) {
  .service-card-content {
    padding: 20px;
  }
  
  .service-card-title {
    font-size: 1.25rem;
  }
  
  .pricing-amount {
    font-size: 1rem;
  }
}

@media (max-width: 991px) {
  .service-card-image {
    height: 200px;
  }
  
  .service-card-content {
    padding: 18px;
  }
  
  .service-card-title {
    font-size: 1.125rem;
    margin-bottom: 14px;
  }
  
  .service-description {
    font-size: 0.8125rem;
    margin-bottom: 18px;
  }
  
  .service-list {
    margin-bottom: 20px;
  }
  
  .service-button {
    padding: 10px 24px;
    font-size: 0.75rem;
  }
}

@media (max-width: 767px) {
  .layanan-kami-section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .service-card {
    margin-bottom: 25px;
  }
  
  .service-card-image {
    height: 180px;
  }
  
  .service-card-content {
    padding: 16px;
  }
  
  .service-card-title {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  .service-pricing {
    padding: 12px 16px;
    margin-bottom: 16px;
  }
  
  .pricing-amount {
    font-size: 0.9375rem;
  }
  
  .service-description {
    font-size: 0.75rem;
    margin-bottom: 16px;
  }
  
  .service-list-title {
    font-size: 0.875rem;
    margin-bottom: 12px;
  }
  
  .service-item {
    margin-bottom: 8px;
  }
  
  .service-bullet {
    width: 5px;
    height: 5px;
    margin-right: 10px;
  }
  
  .service-item-text {
    font-size: 0.75rem;
  }
  
  .service-button {
    padding: 8px 20px;
    font-size: 0.6875rem;
  }
}

@media (max-width: 575px) {
  .service-card-content {
    padding: 14px;
  }
  
  .service-card-title {
    font-size: 0.9375rem;
  }
  
  .service-description {
    font-size: 0.6875rem;
  }
  
  .service-list-title {
    font-size: 0.8125rem;
  }
  
  .service-item-text {
    font-size: 0.6875rem;
  }
}

/* Animation for bounce effect */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.bounce-animation {
  animation: bounce 2s infinite;
}

/* Loading animation for images */
.service-card-image img {
  opacity: 0;
  animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Accessibility improvements */
.service-button:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

.service-card:focus-within {
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Print styles */
@media print {
  .service-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .service-button {
    display: none;
  }
}