.icon-hover {
  background-color: #1c2d59;
  color: #fff;
  width: 18px;
  height: 18px;
  display: inline-flex;

  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.hover-icon-item:hover .icon-hover {
  background-color: #f27b21;
}

.hover-icon-item .text-wrap {
  line-height: 1.6;
  font-family: Georgia, serif;
  color: black;
}

/* <!-- Explore Other Services --> */

.services-section {
  background-color: #f4f4fa;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.services-section .custom-heading {
  font-family: Georgia, serif;
  font-size: 1.75rem;
  color: #1c2d59;
  font-weight: bold;
  text-align: center;
}

.service-card {
  background-color: #fff;
  transition: color 0.3s ease;
  z-index: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 0.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0%;
  width: 100%;
  background-color: #f27b21;
  z-index: 0;
  transition: height 0.4s ease-in-out;
}

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

.service-card .card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.service-card h6 {
  font-family: Georgia, serif;
  font-size: 16px;
  color: #1c2d59;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
  line-height: 1.4;
}

.service-card i {
  color: #f27b21;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
  font-size: 2rem;
  margin: 1rem 0;
}

.service-card:hover h6,
.service-card:hover p {
  color: #fff !important;
}

.service-card:hover i {
  color: #fff;
}

.read-more-footer {
  background-color: #1c2d59;
  color: white;
  font-family: Georgia, serif;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  padding: 0.5rem;
  transition: filter 0.3s ease;
  position: relative;
  z-index: 2;
  display: block;
}

.read-more-footer:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .service-card {
    margin-bottom: 1rem;
  }
}
