.other-services-section {
  position: relative;
  padding: 60px 20px 0;
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.01);
}

.other-services-section .container {
  max-width: 1300px;
  margin: 0 auto;
}

.other-services-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #003a7a;
  font-weight: 800;
  margin-bottom: 50px;
  text-align: left;
}

/* Grid Layout */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

/* Card Styling */
.service-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
  flex: 1 1 250px;
  max-width: 280px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 0;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #003a7a, #113255);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: filter 0.4s ease;
  position: relative;
  z-index: 1;
}

.service-card:hover img {
  filter: brightness(90%);
}

.service-card h4,
.service-card p {
  position: relative;
  z-index: 2;
  transition: color 0.4s ease;
}

.service-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0c8a43;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

.service-card:hover h4,
.service-card:hover p {
  color: #fff;
}


.service-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  cursor: pointer;
}

.service-item img {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

/* Apply hover underline to the text span only */
.service-item span {
  font-size: 1rem;
  font-weight: 500;
  color: #003a7a;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.service-item span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #0c8a43;
  transition: width 0.3s ease;
}

.service-item:hover span {
  color: #0c8a43;
}

.service-item:hover span::after {
  width: 100%;
}


/* Bottom Banner */
.bottom-banner {
  margin-top: 50px;
  overflow: hidden;
  width: 100%;
}

.bottom-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .services-grid {
    gap: 30px;
  }

  .service-card {
    max-width: 100%;
  }

  .other-services-title {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .other-services-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .service-card {
    padding: 16px 12px;
  }

  .service-card h4 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  .services-grid {
    flex-direction: column;
    align-items: center;
  }
}
