.home-service-section {
  background-color: #f8f9fb;
  padding: 50px 0;
}

/* Service Card */
.service-card-modern {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

/* Service Image */
.service-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 13px;
}

/* Service Content */
.service-card-content {
  padding: 0px 9px 30px;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #cc0000;
  margin-bottom: 10px;
}

.service-card-title:hover {
  color: #cc0000;
}


.service-card-modern:hover .service-card-text {
  border-top: 1px solid #cc0000;
}


.service-card-modern:hover{
    .service-card-arrow {
        background: #cc0000;
    }

    .service-card-arrow i {
        color: #fff;
    }
}

.service-card-text{
    border-top: 1px solid #e1e1e1;
    padding-top: 12px;
}

/* Bottom-right Arrow */
.service-card-arrow {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 48px;
  height: 48px;
  background: #ffeded;
  border-top-left-radius: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.service-card-arrow i {
  font-family: "Font Awesome 6 Free";
  color: #cc0000;
  font-weight: 900;
}

.service-card-arrow:hover {
  background: #cc0000;
  cursor: pointer;
}

.service-card-arrow:hover i {
  color: #fff;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 767.98px) {
  .service-card-image {
    height: auto;
    padding: 10px;
  }

  .service-card-content {
    padding: 15px 15px 50px;
  }

  .service-card-title {
    font-size: 1.05rem;
  }
}
