/* --- 1. Layout & Grid System --- */
.contact-us-homepage {
  /* padding: 60px 0; */
  margin-top: 80px;
  box-sizing: border-box;
  background: none;
  background-color: #fff !important;
  color: #000 !important;
}

/* Container */
.contact-us-container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1140px;
  box-sizing: border-box;
}

/* Row */
.contact-us-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
}

/* Info Column & Form Column Shared Basics */
.contact-us-info-column,
.contact-us-form-column {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
  align-self: center;
}

/* Desktop Grid Logic */
@media (min-width: 768px) {
  .contact-us-info-column,
  .contact-us-form-column {
    flex: 0 0 50%;
    max-width: 50%;
    align-self: flex-start;
    justify-content: center;
    text-align: center;
  }
}

/* --- 2. Typography --- */
.contact-us-main-title {
  color: #000 !important;
  margin-top: 30px;
  margin-bottom: 30px;
  border: none !important;
}

.contact-us-main-title h1 {
  font-weight: 500;
  margin-bottom: 30px;
  color: #000;
  font-size: 32px;
  text-align: center;
  border-bottom: 7px solid #e9e9e9;
  padding-bottom: 10px;
  line-height: 1.2;
}

.contact-us-connect-info {
  padding-inline-start: 60px;
  margin-top: 60px !important;
  justify-content: center;
  text-align: center;
  /* align-self: center;    */
}

.contact-us-connect-info h6 {
  font-weight: 500;
  line-height: 1.2;
  font-size: 20px;
  margin-bottom: 30px;
  margin-top: 0;
  color: #000;
  text-align: center;
}

.contact-us-homepage .green-text {
  color: rgb(0, 182, 162);
}

/* --- 3. Form Styling --- */
.contact-us-contact-form {
  margin: 50px 0;
  align-self: center !important;
}

@media (min-width: 768px) {
  .contact-us-contact-form {
    align-self: flex-start !important;
  }
}

.contact-us-form-column {
  margin-bottom: 20px;
}

.contact-us-form-column .contact-us-form-group {
  width: 100%;
}

.contact-us-form-group {
  margin-bottom: 15px;
}

/* Common Styles for Inputs and Textarea */
.contact-us-form-control {
  display: block;
  width: 100%;
  height: 50px;
  padding: 10px 15px;
  font-size: 14px;
  line-height: 1.5;
  background-clip: padding-box;
  border-radius: 0;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
  box-sizing: border-box;
  outline: none;
  background: transparent;
  border: 0;
  border-bottom: solid 2px #0a0a0a;
  color: #0a0a0a;
}

textarea.contact-us-form-control {
  height: auto;
  min-height: 100px;
  resize: none;
}

/* Placeholder Styling */
.contact-us-form-control::placeholder {
  color: #878787;
  opacity: 1;
  font-size: 14px;
}

.contact-us-form-control:focus {
  outline: 0;
  box-shadow: none;
  border-color: #0a0a0a;
}

.contact-us-homepage .error-msg {
  color: Red;
  font-size: 0.9em;
  display: block;
  text-align: start;
}

/* --- 4. RealPerson Captcha --- */
.contact-us-homepage .realperson-challenge {
  display: block;
  color: #000;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0;
  padding: 10px 5px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 15px auto;
  text-align: center;
  user-select: none;
}

.contact-us-homepage .realperson-text {
  font-family: monospace;
  font-size: 10px;
  line-height: 6px;
  letter-spacing: 0;
  white-space: nowrap;
  font-weight: bold;
  direction: ltr;
  color: #000;
  background-color: transparent !important;
  border: none !important;
  padding: 5px;
  border-radius: 0;
  margin-bottom: 5px;
  display: inline-block;
  width: auto;
  box-sizing: border-box;
}

.contact-us-homepage .realperson-regen {
  padding-top: 4px;
  font-size: 14px !important;
  text-align: center;
  cursor: pointer;
  color: #000 !important;
  text-decoration: none !important;
  margin-top: 5px;
}

.contact-us-homepage .realperson-regen:hover {
  color: #333 !important;
}

.contact-us-homepage input.contact-us-form-control.is-realperson {
  margin-top: 10px;
  text-align: center;
}

/* --- 5. Submit Button --- */
.contact-us-btn-primary,
.contact-us-homepage .submit-form {
  background: #fff !important;
  border: 2px solid #ed608a !important;
  border-radius: 15px !important;
  color: #000 !important;
  padding: 8px 40px;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  outline: none;
}

.contact-us-btn-primary:hover,
.contact-us-homepage .submit-form:hover {
  background: #ff4787 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  outline: 0;
}

.contact-us-submit-btn {
  text-align: center !important;
  margin-top: 10px;
}

/* Alert Styles */
.contact-us-homepage .alert {
  position: relative;
  padding: 15px 25px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 5px;
}
.contact-us-homepage .alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}
.contact-us-homepage .alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

/* RTL Support */
body.rtl .contact-us-homepage {
  text-align: right;
}
body.rtl .contact-us-homepage .contact-us-connect-info {
  padding-inline-start: 0;
  padding-inline-end: 60px;
  text-align: right;
}
body.rtl .contact-us-submit-btn {
  text-align: center !important;
}

@media (max-width: 767px) {
  .contact-us-connect-info {
    padding-inline-start: 0 !important;
    padding-inline-end: 0 !important;
  }
}