.main_wrapper {
  margin-top: 120px;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  gap: 20px;
  margin-top: 50px;
}

.service-card {
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 25.19px;
  padding: 20px;
  text-align: center;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}
.underline{
  transition: all 0.3s ease;
}

.description {
  text-align: center;
  align-items: center;
}

.description h2 {
  font-size: 37.66px;
  font-weight: 400;
  line-height: 45.19px;
  text-align: center;
  color: #212529;
}

.description p {
  font-size: 17.92px;
  font-weight: 400;
  line-height: 35.3px;
  text-align: center;
  color: #9c9494;
}

.service-card .icon {
  margin-bottom: 15px;
}

.service-card:hover {
  box-shadow: -2px 4px 12px #eaecf0da;
  transition: box-shadow 0.2s ease-in-out;
}

.service-card .icon img {
  width: 56px;
  height: 56px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #000000;
  font-weight: 500;
  pointer-events: none;
}

.service-card p {
  font-size: 16.79px;
  font-weight: 400;
  line-height: 25.19px;
  letter-spacing: 0.7871255278587341px;
  text-align: center;
  color: #8e94a7;
  pointer-events: none;
}

.tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 55px 0px !important;
}

.tabs-first button {
  font-family: "Nunito";
  font-size: 19.53px;
  font-weight: 500;
  line-height: 23.44px;
  text-align: center;
  color: #706d6e;
}

.tabs-second button {
  color: #706d6e;
  font-family: "Nunito";
  font-size: 19.53px;
  font-weight: 500;
  line-height: 23.44px;
  text-align: center;
}
.view_more_services{
  text-align: center;
  align-items: center;
  padding: 46px 0px;
  
}
.view_more_services a {
  color: #0940BD;
  text-decoration: underline;
  font-size: 14px;
  font-weight: 499;
  font-family: "Nunito";
}
@media (max-width: 1024px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile view (below 768px) */
@media (max-width: 768px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    /* margin-top: 0rem; */
  }

  .service-card:nth-child(9) {
    grid-column: span 2;
  }

  .description h2 {
    font-size: 30px;
    margin-top: 1rem;
  }

  .description p {
    font-size: 17px;
    line-height: 25px;
    margin-bottom: 1rem;
  }

  .service-card p {
    font-size: 16px;
    line-height: 22px;
  }
  .tabs-first button{
    font-size: 16px !important;
  }
  .tabs-second button{
    font-size: 16px !important;
  }
}

@media (max-width: 576px) {
  .services-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .service-card:nth-child(9) {
    grid-column: span 1;
  }
  .tabs-first{
    width: 50%;
  }
  .tabs-second{
    width: 50%;
  }
  .tabs-first button{
    font-size: 14px !important;
  }
  .tabs-second button{
    font-size: 14px !important;
  }
}

