.services-section {
  width: 100%;
  max-width: 100vw;
  padding: 80px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  font-family: "Nunito Sans", Arial, sans-serif;
  background: rgba(0, 96, 188, 0.0588235294);
}

.services-header {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.services-header img {
  margin-right: -32px;
  z-index: 3;
}
@media (max-width: 768px) {
  .services-header img {
    transform: scale(0.8);
    margin-right: -25px;
  }
}
.services-header-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: #00abdc;
  z-index: 1;
}
.services-header-title {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 521px;
  height: 47px;
  padding: 17px 86px;
  border-radius: 80px;
  background: linear-gradient(to right, #00abdc 0%, #005c76 100%);
  font-family: "Audiowide", Arial, sans-serif !important;
}
.services-header-title p {
  font-size: 24px;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .services-header-title {
    width: auto;
    max-width: 90%;
    height: 40px;
    padding: 10px 30px;
  }
  .services-header-title p {
    font-size: 18px;
  }
}

.services-subheading {
  font-size: 32px;
  font-weight: 800;
  color: #545454;
  text-align: center;
  max-width: 800px;
}
@media (max-width: 768px) {
  .services-subheading {
    font-size: 24px;
  }
}

.services-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  width: 100%;
  max-width: 1400px;
}

@media (max-width: 1200px) {
  .services-cards-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .services-cards-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-section {
    /* padding: 60px 20px; */
    gap: 30px;
  }

  .services-header-title {
    width: auto;
    max-width: 90%;
    height: 40px;
    padding: 10px 30px;
  }

  .services-header-title p {
    font-size: 18px;
  }

  .services-subheading {
    font-size: 24px;
    padding: 0 20px;
  }

  .services-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }

  .service-card {
    padding: 20px 15px;
    min-height: 280px;
    border-radius: 16px;
  }

  .service-card .service-icon {
    width: 50px;
    height: 50px;
    font-size: 50px;
  }

  .service-card .service-title {
    font-size: 16px;
  }

  .service-card .service-description {
    font-size: 12px;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }
}

@media (max-width: 480px) {
  .services-section {
    /* padding: 40px 15px; */
    gap: 25px;
  }

  .services-subheading {
    font-size: 20px;
    padding: 0 15px;
  }

  .services-cards-wrapper {
    gap: 25px;
    padding: 0 15px;
  }

  .service-card {
    padding: 18px 12px;
    min-height: 260px;
  }

  .service-card .service-icon {
    width: 45px;
    height: 45px;
    font-size: 45px;
  }

  .service-card .service-title {
    font-size: 15px;
  }

  .service-card .service-description {
    font-size: 11px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 24px 16px;
  border-radius: 20px;
  background: #fff;
  gap: 16px;
  text-align: center;
  box-shadow: 0px 4px 4px 0 rgba(0, 0, 0, 0.25), inset 0px 6px 4px rgba(0, 171, 220, 0.6), inset 1px 0px 4px rgba(0, 171, 220, 0.6), inset -1px 0px 4px rgba(0, 171, 220, 0.6);
  min-height: 300px;
}
.service-card .service-icon {
  width: 60px;
  height: 60px;
  font-size: 60px;
  color: #045182;
  -o-object-fit: contain;
     object-fit: contain;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card .service-title {
  font-size: 18px;
  font-weight: 700;
  color: #545454;
  margin: 0;
  text-transform: capitalize;
  line-height: 1.2;
}
.service-card .service-description {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
  margin: 0;
  padding: 0 8px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  white-space: normal;
}
.service-card .service-button {
  width: 100%;
}
.service-card .service-button p {
  color: white;
}
@media (max-width: 600px) {
  .service-card .service-description {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}
/* Mobile responsive styles for services section */
@media (max-width: 768px) {
  .services-section {
    /* padding: 60px 20px; */
    gap: 30px;
  }

  .services-header-title {
    width: auto;
    max-width: 90%;
    height: 40px;
    padding: 10px 30px;
  }

  .services-header-title p {
    font-size: 18px;
  }

  .services-subheading {
    font-size: 24px;
    padding: 0 20px;
  }

  .services-cards-wrapper {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    padding: 0 20px;
  }

  .service-card {
    padding: 20px 15px;
    min-height: 280px;
    border-radius: 16px;
  }

  .service-card .service-icon {
    width: 50px;
    height: 50px;
    font-size: 50px;
  }

  .service-card .service-title {
    font-size: 16px;
  }

  .service-card .service-description {
    font-size: 12px;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }
}

@media (max-width: 480px) {
  .services-section {
    /* padding: 40px 15px; */
    gap: 25px;
  }

  .services-subheading {
    font-size: 20px;
    padding: 0 15px;
  }

  .services-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;
  }

  .service-card {
    padding: 18px 12px;
    min-height: 260px;
  }

  .service-card .service-icon {
    width: 45px;
    height: 45px;
    font-size: 45px;
  }

  .service-card .service-title {
    font-size: 15px;
  }

  .service-card .service-description {
    font-size: 11px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}

@media (max-width: 1024px) {
  .services-cards-wrapper {
    grid-template-columns: repeat(1, 1fr);
    width: 90%;
  }

}