.industries-we-serve p {
  font-size: 2rem;
}

.industries {
  display: flex; flex-direction: column; justify-content: center;
  row-gap: 4rem;
}

.industry {
  display: flex; flex-direction: column;
  padding: 2rem;
  margin: 1rem;
  position: relative;
  background: linear-gradient(to right, var(--dark-blue-t) 0%, transparent 100%);
  box-sizing: border-box;
  border-radius: 3rem;
}

.industry .img{
  position: relative;
  width: 100%;
  margin: auto 0;
  height: max-content;
  border-radius: 2rem;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.438);
}

.industry .img img {
  width: 100%;
  display: block;
  border-radius: 2rem;
}

.industry .overlay-text {
  position: absolute;
  text-align: center;
  bottom: 1rem;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  backdrop-filter: blur(50px);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 1.2rem;
}

.industry .desc {
  display: flex;
  flex-direction: column;
}

.desc p {
  margin: 2rem 0;
  font-size: 1.4rem;
}

@media screen and (min-width: 799px) {
  .industry {
    display: flex; flex-direction: row;
    column-gap: 2rem;
    padding: 2rem;
    position: relative;
    box-sizing: border-box;
    border-radius: 3rem;
  }

  .industry .desc p{
    font-size: 2rem;
  }

  .industry .img img {
    border-radius: 2rem;
  }

  .industry .img {
    width: 50%;
    border-radius: 2rem;
  }

  .industry .overlay-text {
    font-size: 2rem;
  }

  .industry .desc {
    width: 50%;
    display: flex; justify-content: center;
    align-items: center;
  }
}

@media screen and (min-width: 1000px) {
  .industry {
    display: flex; flex-direction: row;
    column-gap: 2rem;
    padding: 2rem;
    position: relative;
    box-sizing: border-box;
    border-radius: 3rem;
    margin: 2rem;
  }

  .industry .desc p{
    font-size: 2rem;
  }

  .industry h2 {
    font-size: 3.5rem;
  }

  .industry .img img {
    border-radius: 2rem;
  }

  .industry .img {
    width: 50%;
    border-radius: 2rem;
  }

  .industry .overlay-text {
    font-size: 2rem;
  }

  .industry .desc {
    width: 50%;
    display: flex; justify-content: center;
    align-items: center;
  }
}