.HomePageTrust {
  padding: 100px 0px;
}

.HomePageTrust .HomePageTrust-content {
  margin: 0px 30px 0px 30px;
  padding: 92px 115px;
  background-color: #f6f6f6;
  border: 1px solid var(--theme-color);
  border-radius: 30px;
}

.HomePageTrust .HomePageTrust-content h2 {
  text-align: center;
}

.HomePageTrust .HomePageTrust-content p {
  text-align: center;
}

.HomePageTrust-content-box {
  background-image: url("../../../public/images/trust2.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 620px;
  border-radius: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.HomePageTrust-content-box3 {
  background-image: url("../../../public/images/trust1.png");
}

.HomePageTrust-content-box span {
  color: var(--white-color);
  background: var(--theme-gradient);
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  font-size: 28px;
  font-weight: 500;
}

.HomePageTrust-content-box .HomePageTrust-content-box-content h4 {
  color: var(--white-color);
  font-size: 32px;
  font-weight: 500;
}

.HomePageTrust-content-box .HomePageTrust-content-box-content p {
  margin-bottom: 0;
  color: var(--white-color);
  text-align: start;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--theme-gradient);
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: 0.5s ease;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.HomePageTrust-content-box:hover .overlay {
  height: 100%;
}

.HomePageTrust-content-box .overlay h3 {
  color: var(--white-color);
  margin-top: 20px;
  font-size: 32px;
  font-weight: 500;
}

.HomePageTrust-content-box .overlay p {
  color: var(--white-color);
  font-size: 16px;
  font-weight: 400;
}

.HomePageTrust-content-box .overlay a {
  color: var(--theme-color);
  text-decoration: none;
  background-color: var(--white-color);
  padding: 16px 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 400;
}

.HomePageTrust-content-box .overlay span {
  background: #fff;
  color: var(--theme-color);
}

.HomePageTrust-content-box-main {
  margin-top: 30px;
}

@media (max-width: 1440px) {
  .HomePageTrust .HomePageTrust-content {
    padding: 95px 60px;
  }

  .HomePageTrust-content-box {
    height: 480px;
  }
}
