.text-gold {
  color: #d4af37;
}

/* Service Card */

#services{
  position: relative;
  width: 100%;            /* full width */
  padding: 80px 0;        /* spacing top & bottom */
  background: url('../imgs/allservice-bg.png') center center / cover no-repeat fixed;
  color: #fff;
  z-index: 1;
}
#services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.2);
  z-index: -1;
}

.service-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  min-height: 560px;   /* 🔹 Increase box height */
}


.service-card img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.08);
}

.service-content {
  position: absolute;
  min-height: 200px;   /* Gives more room for text */
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #fff;
  padding: 25px;
  transition: all 0.4s ease;
}

.service-content h3 {
  font-size: 20px;
  margin: 10px 0;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.service-content p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* Icon Styling */
.service-content .icon {
  width: 60px;               /* bigger for image icons */
  height: 60px;
  background: #d4af37;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.4s ease;
  overflow: hidden;          /* makes image stay inside */
}

.service-content .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* makes the image fully cover the box */
  transition: all 0.4s ease;
}
/* Hover Effects */
.service-card:hover .service-content {
  background: rgba(46, 43, 43, 0.9);
  padding-top: 40px;
}

.service-card:hover .service-content p {
  opacity: 1;
  max-height: 310px;
  margin-top: 10px;
}

.service-card:hover .icon {
  background: #fff;
  color: #d4af37;
}
/* Read More Button */
.read-more-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 25px;
  background: #d4af37;
  color: #111;
  text-decoration: none;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease;
}

.service-card:hover .read-more-btn {
  opacity: 1;
  transform: translateY(0);
}
