.main-top {
  height: 100vh;
  width: 100%;
  background: url("https://foundyoujewelry.com/assets/img/about/about-banner.jpg") no-repeat center;
  background-size: cover;
  background-position: top;
  position: relative; /* Make sure the pseudo-element is positioned relative to this container */
  overflow: hidden;
}

.main-top::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgb(0 0 0 / 37%), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 1;
}
.section-2 {
  padding-top: 0;
}
.story-section {
  padding-top: 6rem;
  padding-bottom: 0;
}
.section-3 .main .detail-section .content h2 {
  width: 400px;
}
.section-2 .main .detail-section .content h2 {
  width: auto;
}
.overlay-img {
  position: absolute;
  top: 72%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.overlay-img img {
  width: 100%;
  height: 15vh;
}
.overlay-text {
  position: absolute;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.overlay-text {
  color: #f5f2e9;
  margin-top: 1.5rem;
  width: 50%;
  text-wrap: wrap;
  font-size: 1.563rem;
  font-weight: 400;
  line-height: 30px;
  text-align: center;
}
/* .section-2 .main .detail-section .content p,
.section-3 .main .detail-section .content p,
.section-4 .main .detail-section .content p {
  font-size: 1.375rem;
} */

.image-section:hover img {
  transform: scale(1.08);
  transition: 0.4s ease-in-out;
  filter: grayscale(100%);
  cursor: pointer;
}
.overlay-img,
.overlay-text {
  /* position: relative; */
  z-index: 2; /* Ensure text and images appear above the gradient */
}

.discover-wrapper img {
  width: 100%;
}
.discover-wrapper h2 {
  color: #231f20;
  font-size: 3.563rem;
  line-height: 70px;
  font-weight: 400;
  text-align: center;
  margin: 2rem 0 1rem;
}
.discover-wrapper p {
  text-align: center;
  width: 85%;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 30px;
  color: #7f7a66;
}
.consultation-box {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

@media (max-width: 992px) {
  .icons {
    color: #231f20;
  }
}

@media (max-width: 768px) {
  .main-top {
    height: 70vh;
    width: 100%;
    background: url("https://foundyoujewelry.com/assets/img/about/about-banner.jpg") no-repeat center;
    background-size: cover;
    background-position: top;
  }

  .section-2 .main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 20px 0;
  }
  .section-3 .main {
    padding: 2rem 0 0 0;
  }
  .section-5 {
    margin-bottom: 2rem;
  }
  .overlay-text {
    top: 60%;
    margin-top: 1rem;
    font-size: 1.2rem;
    line-height: 20px;
    width: 70%;
  }
  .overlay-img {
    top: 50%;
  }
  .overlay-img img {
    height: 12vh;
  }
}

@media (max-width: 600px) {
  .main-top {
    height: 75vh;
    width: 100%;
    background: url("https://foundyoujewelry.com/assets/img/about/about-banner.jpg") no-repeat center;
    background-size: cover;
    background-position: top;
  }

  .story-section {
    padding-top: 2rem;
  }
  .section-2 .main .detail-section .content h2 {
    font-size: 1.875rem;
    line-height: 35px;
    width: auto;
  }
  .section-3 .main .detail-section .content h2 {
    width: 300px;
  }

  .overlay-img {
    top: 75%;
    /* left: 50%; */
  }
  .overlay-img img {
    height: 10vh;
  }
  .overlay-text {
    top: 90%;
    margin-top: 0.5rem;
    width: 90%;
    font-size: 1rem;
    line-height: 20px;
  }
  .discover-wrapper h2 {
    font-size: 1.875rem;
    line-height: 35px;
    margin-bottom: 0;
  }
  .consultation-box p {
    font-size: 1rem;
    margin-top: 1rem;
    line-height: 20px;
    width: 100%;
  }
}