.acf-layout-contact-us {
  background-color: #ef4129;
  color: #fff;
  border-radius: 10px;
  --bg-image: none;
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
}

.acf-layout-contact-us::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 35%;
  height: 100%;
  background-image: var(--bg-image);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.acf-layout-contact-us .container {
  position: relative;
  z-index: 1;
}

.acf-layout-contact-us ul {
  list-style: none;
}

.acf-layout-contact-us ul li {
  padding-bottom: 40px;
}
.acf-layout-contact-us .text-2 {
  font-weight: 400;
  font-size: clamp(0.875rem, 0.8286rem + 0.1905vw, 1rem);
  line-height: 150%;
  letter-spacing: 0%;
}

.acf-layout-contact-us .heading-1 {
  font-weight: 700;
  font-size: clamp(1.5rem, 1.2214rem + 1.1429vw, 2.25rem);
  line-height: 100%;
  letter-spacing: 0%;
  padding-bottom: 50px;
}

.acf-layout-contact-us .contact-content .heading {
  font-weight: 700;
  font-size: clamp(1rem, 0.9071rem + 0.381vw, 1.25rem);
  letter-spacing: 0%;
}

.acf-layout-contact-us .contact-content .content {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0%;
}

.contact-row-wrapper {
  position: relative;
  margin-left: 60px;
  margin-top: 60px;

  padding-left: 60px;
  padding-top: 60px;
}

.contact-row-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70%; /* Top border length */
  border-top: 0.5px solid #fff;
}

.contact-row-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 80%; /* Left border height */
  border-left: 0.5px solid #fff;
}

.contact-row-wrapper .main-image {
  max-width: 90%;
  height: auto;
  object-fit: cover;
}

.main-image-tag {
  padding-top: 20px;
}

.contact-content-wrap img {
  width: 54px;
  height: 54px;
}

.contact-content-wrap {
  display: flex;
  gap: 40px;
}

.contact-content-wrap img {
  flex-shrink: 0;
}

.main-image-tag {
  position: relative;
}

.main-image-tag .text-with-icon {
  position: absolute;
  top: -15%;
  background-color: #e0432d;
}

.contact-content .content {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
}

.contact-content .content a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (min-width: 992px) and (max-width: 1439px) {
  .acf-layout-contact-us .heading-1 {
    font-size: 32px;
  }
  .contact-row-wrapper {
    padding-top: 90px;
    padding-left: 90px;
  }
  .contact-content-wrap {
    gap: 20px;
  }
  .contact-content-wrap img {
    width: 44px;
    height: 44px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .contact-row-wrapper {
    padding: 0;
    margin: 0;
  }
  .main-image-tag .text-with-icon {
    position: relative;
  }
  .contact-row-wrapper::before,
  .contact-row-wrapper::after {
    border: none;
  }
  .acf-layout-contact-us ul li {
    gap: 25px;
    padding-bottom: 25px;
  }
  .acf-layout-contact-us ul {
    padding: 0;
    margin: 0;
  }
  .contact-content-wrap img {
    width: 30px;
    height: 30px;
  }
  .acf-layout-contact-us .heading-1 {
    padding-bottom: 25px;
  }
  .contact-row-wrapper .main-image {
    max-width: 100%;
    margin-bottom: 40px;
    height: 300px;
    object-fit: cover;
  }
}
