.cards {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
  padding-bottom: 50px;
}

.card {
  width: 100%;
  max-width: 380px;
  height: 350px !important;
  margin-top: 30px;
  padding-top: 20px;
  border: none !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 20px rgba(42, 42, 42, 0.2);
  transform: translateY(-10px);
}

.cardIcon {
  width: 30%;
  border-radius: 50%;
  margin: 10px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.cardIcon:hover {
  transform: scale(1.1);
}

.whyUs {
  background-color: #f7f8f7;
  margin: 60px 0 30px 0;
  padding: 30px 60px 20px 60px;
  margin-bottom: 20px;
}

.whyUs li{
  list-style: none;
}

.whyUs {
  margin: 0 0 30px 0;
  padding: 10px 60px 20px 60px;
}

.services-header-section {
  background-color: rgb(245, 245, 245);
}

.services-header-section h2 {
  text-align: center;
  font-weight: 700;
  font-size: 65px;
  color: rgb(27, 57, 93);
  padding: 30px 0;
}

.services-header-section span {
  color: rgb(78, 165, 219);
}

@media (max-width: 768px) {
  .whyUs li {
    list-style: none;
    padding-top: 20px;
  }
}

.cardIcon {
  background: #f7f7f7;
  box-shadow: 0px 4px 10px rgba(154, 153, 153, 0.2);
}


.areasExpertise {
  margin-top: 40px;
  padding-top: 40px;
  align-items: center;
  text-align: center;
}

@media (max-width: 768px) {
  .areasExpertise {
    margin-top: 0;
    padding-top: 0;
  }
}


.areasExpertise h1 {
  font-weight: bolder;
  font-size: 2.5rem;
}

.areasExpertise p {
  font-size: 1.2rem;
  margin-top: 10px;
  padding: 0 20px;
}

.areaCards {
  padding: 30px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.iconCards {
  box-shadow: 4px 4px 10px rgba(154, 153, 153, 0.2);
  cursor: pointer;
  padding-top: 20px;
  width: 200px;
  height: 140px;
  text-align: center;
  align-items: center;
  transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

.iconCards:hover {
  color: #31b5d8;
  transform: scale(1.05);
}

.custom-icon {
  font-size: 2rem;
  margin-top: 20px;
}

/* Responsive Design */

/* For tablets and smaller laptops */
@media (max-width: 1024px) {
  .areasExpertise h1 {
    font-size: 2rem;
  }

  .areasExpertise p {
    font-size: 1rem;
  }

  .iconCards {
    width: 150px;
  }
}

/* For mobile devices */
@media (max-width: 768px) {
  .areasExpertise h1 {
    font-size: 1.8rem;
  }

  .areasExpertise p {
    font-size: 0.9rem;
  }

  .iconCards {
    width: 140px;
  }

  .custom-icon {
    font-size: 1.8rem;
  }
}

/* For very small devices (phones) */
@media (max-width: 480px) {
  .areasExpertise h1 {
    font-size: 1.5rem;
  }

  .areasExpertise p {
    font-size: 0.8rem;
  }

  .iconCards {
    width: 120px;
  }

  .custom-icon {
    font-size: 1.5rem;
  }
}

.process {
  margin-top: 40px;
  padding-top: 60px;
  text-align: center;
}

.bar {
  color: #31b5d8;
  margin-top: -40px;
  padding-top: 0;
}

@media (max-width: 768px) {
  .process {
    margin-top: 10px;
    padding-top: 10px;
  }
  
  .bar {
    color: #31b5d8;
    margin-top: -30px;
  }
}

.processImages {
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
  display: flex;
  justify-content: center;
}

.waveContainer {
  position: relative;
  width: 85%;
  max-width: 1600px;
  height: auto;
  margin: 0 auto;
}

.waveImg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
}

.imageContainer {
  display: flex;
  justify-content: flex-start;
  gap: 240px;
  align-items: center;
  position: relative;
  width: 100%;
  padding-top: 50px;
}

.imageContainer div {
  text-align: center;
}

.waveImg img {
  width: 95%;
}

.imageContainer .imageWrapper {
  position: relative;
  width: 100px;
  height: 100px;
  background-color: rgb(104, 149, 148);
  border: 2px solid rgb(187, 187, 187);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.imageContainer .block-2 {
  position: relative;
  bottom: 30px;
}

.imageContainer .block-3 {
  position: relative;
  bottom: -20px;
}

.imageContainer .block-4 {
  position: relative;
  bottom: 30px;
}

.imageContainer img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  border-radius: 0;
  background: none;
}

.imageContainer p {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
}

.testing-block-image {
  padding-top: -10px !important;
}

/* Responsive Design for 1200px and below */
@media (max-width: 1200px) {
  .waveImg {
    display: none; /* Hide wave image */
  }

  .imageContainer {
    gap: 100px; /* Reduce gap between images */
  }
}

/* Responsive Design for 768px and below */
@media (max-width: 768px) {
  .waveImg {
    display: none;
  }

  .imageContainer {
    flex-direction: column; /* Arrange items vertically */
    gap: 20px; /* Further reduce spacing for small screens */
    align-items: center;
    padding-top: 20px;
  }

  .imageContainer .imageWrapper {
    width: 80px; /* Adjust wrapper size */
    height: 80px;
  }

  .imageContainer img {
    width: 70px; /* Adjust image size */
    height: 70px;
  }

  .imageContainer p {
    font-size: 0.9rem; /* Adjust font size */
  }

  .imageContainer .block-2 {
    position: relative;
    bottom: 0;
  }

  .imageContainer .block-4 {
    position: relative;
    bottom: 0;
  }

  .services-header-section h2 {
    text-align: center;
    font-weight: 700;
    font-size: 40px;
    color: rgb(27, 57, 93);
    padding: 15px 0;
  }
}
