/* Styling for the first gray background */

.company-container {
  display: flex;
  align-items: center;
  padding: 2rem;
  justify-content: space-around;
}

.column-container {
  height: 1400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  position: relative;
}
.background-layer1 {
  position: absolute;
  top: 20%;
  right: 0;
  width: 1000px;
  height: 300px;
  background-color: #dfdfdf; /* Light gray color */
  z-index: 1;
}

/* Styling for the second gray background */
.background-layer2 {
  position: absolute;
  bottom: -2rem;
  right: 0;
  width: 1000px;
  height: 150px;
  background-color: #dfdfdf;
  z-index: 2;
}
.company-img,
.company-text-container,
.company-img > img {
  width: 700px;
  height: 400px;
  z-index: 22;
}
.company-text-container {
  margin: 0;
  z-index: 22;
}
.company-text-box {
  width: 100%;
  margin-top: -18px;
  padding: 0;
  position: relative;
  color: black;
}
.company-text {
  padding: 0;
  color: black;
  width: 450px;
}
.company-text-box > h3,
.company-sub-title {
  font-size: 28px;
  font-weight: bold;
  padding: 0;
  margin: 0;
  color: black;
}

.company-text-box-right {
  margin-left: 250px;
}

/* arrow  */

.more-link:nth-child(2),
.more-link:nth-child(3) {
  position: absolute;
  top: 18px;
  left: 50%;
  color: black;
}
.more-link:first-child {
  position: absolute;
  bottom: 0;
  left: 0;
  color: black;
}
.line-arrow {
  position: relative;
  display: inline-block;
  margin-left: 8px;
  flex-grow: 1;
  border-bottom: 1px solid #555;
  width: 50px;
  height: 1px;
  background-color: #555;
}

.line-arrow::after {
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  border: solid #555;
  border-width: 0 1px 0 0;
  padding: 4px;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .menubar_hdr {
    z-index: 99;
  }
  .company-container {
    flex-direction: column;
    padding: 1rem;
  }

  .column-container {
    height: auto;
  }

  .background-layer1,
  .background-layer2 {
    width: 100%;
    height: auto;
  }
  .company-text-container {
    margin-top: 20px;
  }
  .company-img,
  .company-text-container,
  .company-img > img {
    width: 100%;
    max-height: 256px;
    height: auto;
  }

  .company-text {
    width: 100%;
    font-size: 0.8rem;
  }

  .company-text-box > h3,
  .company-sub-title {
    font-size: 1rem;
  }

  .company-text-container .company-text-box-right {
    margin-left: 0;
    position: relative;
  }
  .mobile-style {
    position: absolute;
    top: 0;
    left: 50%;
  }
  .more-link:nth-child(2),
  .more-link:nth-child(3) {
    top: 0;
    left: 50%;
  }
}
