.contact-section {
  width: 100%;
  padding: 40px 0 80px;

  overflow: hidden;
}
.contact-section .contact-form-box {
  height: 100%;
  padding: 22px 40px 25px;
  background: #ffffff;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.contact-section .contact-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.contact-section .contact-heading span {
  color: #2864df;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 5px;
}

.contact-section .contact-heading div {
  width: 92px;
  height: 1px;
  background: #2864df;
}
.contact-section .contact-form-box h2 {
  margin: 0 0 17px;
  color: #555555;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 700;
}

.contact-section .contact-form-box .form-control {
  height: 39px;
  margin-top: 12px;
  padding: 7px 17px;
  border: 0;
  border-radius: 3px;
  background: #f1f1f1;
  box-shadow: none;
  color: #333333;
  font-size: 17px;
}

.contact-section .contact-form-box textarea.form-control {
  height: 84px;
  resize: vertical;
}

.contact-section .contact-form-box .form-control::placeholder {
  color: #777777;
  opacity: 1;
}

/* Phone */

.contact-section .contact-phone-row {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 9px;
}

.contact-section .contact-phone-row .form-control {
  width: 100%;
}

.contact-section .country-code {
  height: 31px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f1f1;
  border-radius: 3px;
  color: #777777;
  font-size: 11px;
}

.contact-section .contact-submit {
  display: block;
  width: 102px;
  height: 34px;
  margin: 39px auto 0;
  border: 0;
  border-radius: 3px;
  background: #555555;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-section .contact-submit:hover {
  background: #2864df;
}

/* =========================
   RIGHT
========================= */

.contact-section .contact-right {
  width: 100%;
}

/* Image */

.contact-section .contact-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.contact-section .contact-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* =========================
   CONTACT CARDS
========================= */

.contact-section .contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: -1px;
}

.contact-section .contact-info-card {
  min-height: 61px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: #ffffff;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 9px;
}

.contact-section .contact-info-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d5d5d5;
  font-size: 38px;
}

.contact-section .contact-info-card h4,
.contact-section .contact-address-card h4 {
  margin: 0 0 4px;
  color: #555555;
  font-size: 16px;
  font-weight: 500;
}
.contact-section .contact-info-card p {
  margin: 0;
  color: #333333;
  font-size: 16px;
  line-height: 1.3;
}

.contact-section .contact-address-card {
  min-height: 58px;
  margin-top: 7px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: #ffffff;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.contact-section .contact-address-content {
  width: 100%;
}

.contact-section .address-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-section .contact-address-card p {
  margin: 0;
  color: #333333;
  font-size: 16px;
}

.contact-section .map-link {
  color: #333333;
  font-size: 16px;
  cursor: pointer;
  font-weight: 500;
  text-decoration: underline;
}
.contact-section .map-link:hover {
  color: #21b918;
}
.contact-phone-input {
  margin-bottom: 12px;
}

.contact-phone-input .react-tel-input {
  width: 100%;
}

.contact-phone-input .react-tel-input .form-control {
  width: 100%;
  height: 41px;
  padding-left: 48px;
  margin-top: 15px !important;
  border: 0;
  border-radius: 3px;
  background: #f1f1f1;
  box-shadow: none;
  font-size: 17px;
}
.contact-phone-input .react-tel-input .flag-dropdown {
  height: 31px;
  border: 0;
  background: #f1f1f1;
  border-radius: 3px 0 0 3px;
}

.contact-phone-input .react-tel-input .selected-flag {
  height: 40px;
  padding-left: 10px;
}

.contact-phone-input .react-tel-input .selected-flag:hover,
.contact-phone-input .react-tel-input .selected-flag:focus {
  background: #f1f1f1;
}

.contact-phone-input .react-tel-input .country-list {
  font-size: 11px;
}

.contact-phone-input .phone-input-error {
  border: 1px solid #dc3545 !important;
}

.contact-phone-input .phone-error {
  margin-top: 4px;
  color: #dc3545;
  font-size: 10px;
}
@media (max-width: 991px) {
  .contact-section {
    padding: 40px 0;
  }

  .contact-section .contact-form-box {
    padding: 25px;
  }

  .contact-section .contact-submit {
    margin-top: 40px;
  }

  .contact-section .contact-right {
    margin-top: 25px;
  }

  .contact-section .contact-image {
    height: 350px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 575px) {
  .contact-section {
    padding: 30px 15px;
  }

  .contact-section .contact-form-box {
    padding: 22px 18px;
  }

  .contact-section .contact-form-box h2 {
    font-size: 22px;
  }

  .contact-section .contact-submit {
    margin-top: 35px;
  }

  .contact-section .contact-image {
    height: 250px;
    border-radius: 10px 10px 0 0;
  }

  .contact-section .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-section .contact-address-card {
    align-items: flex-start;
  }

  .contact-section .address-title-row {
    align-items: flex-start;
    gap: 10px;
  }
}
