

#solutions {
  scroll-margin-top: 120px; /* Adjust based on your header height */
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 60px 20px;
  position: relative;
  z-index: 2;
}

/* Service Box */
.service-box {
  background: linear-gradient(135deg, #B11C1C, #FF4D4D);
  color: #fff;
  padding: 25px 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s, box-shadow 0.4s, background 0.4s;
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
  position: relative;
}

.service-box .desc {
  font-size: 15px;
  margin-top: 10px;
  line-height: 1.4;
  color: #fff;
  opacity: 0.9;
}

.service-box:hover {
  transform: translateY(-12px) rotate(-1deg);
  box-shadow: 0 18px 35px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, #FF4D4D, #B11C1C);
}

.icon-wrapper img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 3px solid #fff;
  transition: transform 0.4s;
}

.service-box:hover .icon-wrapper img {
  transform: scale(1.1) rotate(10deg);
}

.title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.contact {
  font-size: 17px;
  font-weight: bold;
  margin-top: 15px;
}

/* Responsive */
@media (max-width: 992px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .grid-container {
    grid-template-columns: repeat(1, 1fr);
  }
}


@keyframes float {
  0% {transform: translateY(0) scale(1);}
  50% {transform: translateY(-20px) scale(1.2);}
  100% {transform: translateY(0) scale(1);}
}
