.contact_hero {
  background-image: url(https://images.unsplash.com/photo-1598860024867-a1cb3a858427?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=915&q=80);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 50vh;
}
.contact_overlay {
  position: absolute;
  left: 0%;
  background-color: #000;
  height: 50vh;
  width: 100%;
  opacity: 0.4;
}
.contact_hero h2 {
  position: absolute;
  top: 45%;
  left: 30%;
  transform: translate(-55%, -85%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 65px;
}
.contact_border {
  position: absolute;
  top: 40%;
  left: 10%;
  transform: translate(-60%, -90%);
  background-color: #fff;
  width: 120px;
  height: 3px;
  border-radius: 8px;
}
.contact_head {
  padding: 2rem calc((100vw - 1050px) / 2);
  padding-bottom: 1rem;
}
.contact_us {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1rem calc((100vw - 500px) / 2);
  padding-top: 0rem;
}
.contact_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 0.7rem;
}
.contact_grid {
  box-shadow: 0px 0px 3px #111;
  border-radius: 20px;
}
.contact_grid div iframe {
  width: 500px;
  border-radius: 20px 0px 0px 20px;
  height: 100%;
}
.contact_grid div:nth-child(2) {
  padding-top: 20px;
  padding-right: 10px;
  margin-bottom: 105px;
}
.contact_grid div input{
  padding: 10px;
  border: none;
  outline: none;
  width: 500px;
  border: 1px solid #000;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 15px;
}
    .contact_grid div textarea {
        padding: 10px;
        border: none;
        outline: none;
        width: 500px !important;
        border: 1px solid #000;
        border-radius: 9px;
        font-size: 15px;
        font-weight: 500;
        margin-bottom: 15px;
    }
.contact_details {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  padding: 1rem calc((100vw - 1100px) / 2);
  padding-bottom: 2rem;
}
.detail_head {
  padding: 10px;
}
.detail_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
}
.detail_card {
  -webkit-box-shadow: 6px 6px 0px 0px #144178;;
  -moz-box-shadow: 6px 6px 0px 0px #144178;;
  box-shadow: 6px 6px 0px 0px #144178;
  border: 1px solid #144178;;
  border-radius: 20px;
  padding: 20px;
}
.detail_address h3 {
  font-size: 30px;
  font-weight: 400;
}
.detail_address p {
  font-size: 20px;
  font-weight: 400;
}
.detail_card ul,
.detail_card2 ul {
  list-style: none;
}
.detail_card h3,
.detail_card2 h3 {
  font-size: 27px;
  font-weight: 400;
}
.detail_card p,
.detail_card2 p {
  font-size: 17px;
  font-weight: 400;
}
.detail_card i {
  font-size: 20px;
  margin-right: 10px;
  display: inline-block;
}
.border_detail {
  background: linear-gradient(
    to right,
    #00d39f 0%,
    #008bd3 25%,
    #d40063 75%,
    #d4be00 100%
  );
  width: 5px;
  height: 180px;
  border-radius: 8px;
  margin: 20px 0px;
}

@media only screen and (max-width: 991px) {
    .contact_us {
        margin: 10px;
    }
  .contact_hero {
    height: 30vh;
  }
  .contact_overlay {
    height: 30vh;
  }
  .contact_hero h2 {
    position: absolute;
    top: 31%;
    left: 48%;
    transform: translate(-55%, -85%);
    font-size: 23px;
  }
  .contact_border {
    position: absolute;
    top: 29.5%;
    left: 19%;
    transform: translate(-60%, -90%);
    width: 70px;
  }
  .detail_grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1rem;
    padding: 0px 12px;
  }
  .detail_address h3 {
    font-size: 22px;
    font-weight: 400;
  }
  .detail_address p {
    font-size: 18px;
    font-weight: 400;
  }
  .detail_card h3,
  .detail_card2 h3 {
    font-size: 22px;
    font-weight: 400;
  }
  .detail_card p,
  .detail_card2 p {
    font-size: 18px;
    font-weight: 400;
  }
  .contact_grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0.7rem;
    /* padding: 0px 15px; */
  }
  .contact_grid div iframe {
    width: 100%;
    border-radius: 20px 20px 0px 0px;
    height: 100%;
  }
    .contact_grid div input {
        padding: 10px;
        margin-left: 10px;
        border: none;
        outline: none;
        width: 95% !important;
        border: 1px solid #000;
        border-radius: 9px;
        font-size: 15px;
        font-weight: 500;
        margin-top: 10px;
    }
    .contact_grid div textarea {
        padding: 10px;
        margin-left: 10px;
        border: none;
        outline: none;
        width: 95% !important;
        border: 1px solid #000;
        border-radius: 9px;
        font-size: 15px;
        font-weight: 500;
        margin-top: 10px;
    }

    .contact_grid div input,
    textarea {
        padding: 10px;
        margin-left: 10px;
        border: none;
        outline: none;
        width: 98%;
        border: 1px solid #000;
        border-radius: 9px;
        font-size: 15px;
        font-weight: 500;
        margin-bottom: 15px;
    }
    .enquiry_btn {
        width: 50%;
        padding: 8px 20px;
        cursor: pointer;
        color: #fff;
        border-radius: 9px;
        text-align: center;
        font-size: 18px;
        margin-left: 10px;
        margin-bottom: 25px;
    }
  .contact_grid div:nth-child(2) {
    padding-top: 20px;
    padding-right: 10px;
    margin-bottom: 35px;
  }
}
