/* Services box section */
#service-box-section {
  width: 100%;
  padding: 70px 0;
  background: #30353C;
  color: #fff;
}

#service-box-section .services-wrapper {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

#service-box-section .services-main-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
}

#service-box-section .highlight-text {
  color: #D9992F;
}

#service-box-section .services-subtext {
  max-width: 680px;
  margin: 0 auto 45px;
  color: #ddd;
  font-size: 17px;
  line-height: 1.6;
}

#service-box-section .services-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 35px;
}

#service-box-section .service-card {
  flex: 1 1 300px;
  max-width: 360px;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#service-box-section .service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.65) 100%);
  transition: background 0.35s ease;
}

#service-box-section .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

#service-box-section .service-card:hover::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.78) 100%);
}

#service-box-section .service-card-copy {
  position: absolute;
  bottom: 28px;
  left: 24px;
  right: 24px;
  z-index: 1;
  text-align: left;
  color: #fff;
}

#service-box-section .service-card-copy h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

#service-box-section .service-card-copy p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.6;
}

#service-box-section .service-card-copy .service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  min-width: 120px;
  background: rgba(244, 200, 71, 0.95);
  color: #111;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

#service-box-section .service-card-copy .service-link:hover {
  background: #f0bb34;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  #service-box-section .service-card {
    min-height: 320px;
  }

  #service-box-section .service-card-copy {
    bottom: 20px;
    left: 18px;
    right: 18px;
  }
}


@media (max-width: 768px) {
  #service-box-section {
    padding: 55px 0;
  }

  #service-box-section .services-main-title {
    font-size: 30px;
  }

  #service-box-section .service-card {
    flex-basis: 100%;
    max-width: none;
  }
}
