.contact-bg {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  width: 100%;
  background: url(../img/contact/contact-bg.jpg) center center no-repeat;
  background-size: cover;
}

.call-us {
  height: 260px;
  background: #ffffff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.call-us i {
  color: #084c94;
  width: 60px;
  border: 2px solid #084c94;
  border-radius: 40px;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: 2rem;
  padding-top: 10px;
}

.call-us h4 {
  padding: 10px;
  text-align: center;
  color: #6f6f6f;
  font-size: 17px;
  line-height: 26px;
}

.contact-cards {
  padding: 0 5px;
}

@media screen and (min-width: 300px) and (max-width: 700px) {
  .contact-bg {
    min-height: 60vh;
  }
  .contact_row {
    margin: 10px !important;
  }
  .services {
    margin-top: 1rem;
    padding-bottom: 0rem;
  }
  .line {
    margin-top: 0px;
  }
  .contact-form-container {
    margin-top: 0rem !important;
  }
  .Contact-form h3 {
    font-size: 30px !important;
  }
  .Contact-form label {
    font-size: 15px !important;
  }
  input[type="text"],
  textarea,
  input[type="number"] {
    font-size: 14px !important;
  }
}
@media screen and (min-width: 375px) and (max-width: 1024px) {
  .call-us h4 {
    font-size: 14px;
    line-height: 26px;
  }
}

@media screen and (min-width: 320px) and (max-width: 375px) {
  .call-us h4 {
    font-size: 11px;
  }
}
@media screen and (min-width: 425px) and (max-width: 768px) {
  .call-us h4 {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media screen and (max-width: 767px) {
  .call-us h4 {
    font-size: 15px;
  }
}
/*=================================== end ==================== */

/*==================================== contact form ======================= */

.location {
  height: 100%;
  width: 100%;
}
label {
  font-size: 16px;
}
input[type="text"],
textarea,
input[type="tel"],
input[type="email"] {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
  font-size: 14px;
}

input[type="submit"] {
  width: 100%;
  background-color: #16425b;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #186592;
}

.contact-container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 50px;
}
.contact-form-container {
  margin-top: 3rem;
  margin-bottom: 4rem;
}
.Contact-form h3 {
  text-align: center;
  color: #16425b;
  font-size: 35px;
  font-weight: 600;
}

@media screen and (min-width: 320px) and (max-width: 375px) {
  .contact-container {
    padding: 30px;
  }
}
@media screen and (min-width: 425px) and (max-width: 768px) {
  .contact-container {
    padding: 30px;
  }
}

.form-fields {
  display: flex;
}
.form-fields1 {
  width: 47%;
}

.form-fields2 {
  width: 50%;
  margin-left: 20px;
}

@media screen and (min-width: 700px) and (max-width: 1000px) {
  .form-fields {
    display: flex;
    flex-direction: column;
  }
  .form-fields1 {
    width: 100%;
  }

  .form-fields2 {
    width: 100%;
    margin-left: 0px;
  }
}

#ContactformMsg {
  padding: 10px !important;
  margin-bottom: 20px !important;
}

@media screen and (max-width: 900px) {
  .form-fields {
    flex-direction: column !important;
  }
  .form-fields1 {
    width: 100% !important;
  }
  .form-fields2 {
    width: 100% !important;
    margin-left: 0px !important;
  }
}
