.error-info{
    display: none;
    color: red;
}

.ats-partnerContact-main-container{
  padding: 0rem 3rem;
}

.ats-partner-main-wrapper{
  max-width: 1700px;
  margin: auto;
}

.contact-container {
  margin-top: 4rem;
}

.contact-container h1 {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
  font-weight: bold;
}

.contact-container p {
  font-size: 1rem;
  color: #1a1a1a;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.contact-wrapper {
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
  justify-content: center;
}

.contact-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #dddddd;
  width: 100%;
  box-sizing: border-box;
}

.card-icon-hr1 {
  background-color: #c6fec6;
}
.card-icon-hr2 {
  background-color: #ccd5ff;
}
.card-icon-hr3 {
  background-color: #fdf4b0;
}

[class^="card-icon-hr"] {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-title-hr {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.card-description-hr {
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 400;
}

/* ============================================Form container ========================================= */
.background-wrapper {
  /* background: linear-gradient(to bottom, #0a3688, #0b0038); */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
  padding: 0rem 12rem;
}

.content-layout {
  display: flex;
  width: 100%;
}

.image-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.image-column img {
  width: 100%;
  /* object-fit: cover; */
}

.partner-form-container {
  width: 100%;
  /* max-width: 70rem;
  margin: 3rem auto; */
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #dddddd;
  margin-bottom: 5rem;
}

.form-title {
  font-size: 2rem !important;
  color: #1a1a1a !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  text-align: center !important;
}

.form-subtitle {
  font-size: 1rem !important;
  color: #1a1a1a;
  margin-bottom: 2rem;
  text-align: center;
}

.form-box {
  background-color: #fff;
  border-radius: 0.75rem;
  width: 100%;
  padding: 1rem;
}

.form-box h1 {
  font-size: 1.75rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.5rem;
}

.form-box p {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 2rem;
}

form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem;
  border: 1px solid #dddddd;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select option[disabled][hidden],
.form-group select:invalid {
  color: #dce0e6;
}
.form-group select option {
  color:#1a1a1a; /* normal option text */
}
.form-group textarea {
  height: 10rem;
  font-style: normal;
  resize: none;
}

.textarea-wrapper {
  position: relative;
}

.char-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 0.75rem;
  color: #c5c5c5;
}

.submit-container {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 1rem;
}

.submit-btn {
  background-color: #a5c5e5;
  color: #1a1a1a;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 3rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #a5c5e5;
  color: #1a1a1a;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 100%;
  padding: 0.8rem;
  padding-right: 2.5rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  background-color: #fff;
  color: #dce0e6;
}

.select-wrapper .custom-arrow {
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 0.7rem;
  height: auto;
  pointer-events: none;
  transform: translateY(-50%);
}

.agreement {
  text-align: center;
  font-size: 0.9rem;
  color: #1a1a1a;
  margin-top: 1rem;
}

.agreement a {
  color: #1a1a1a;
  font-weight: bold;
  text-decoration: underline;
}

.agreement a:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {

  .contact-grid{
    grid-template-columns: repeat(2,1fr);
  }

  .partner-form-container{
    padding: 2rem 1rem;
  }

  .background-wrapper{
    padding: 0rem 0rem;
  }

}

@media (max-width: 768px) {

  .contact-grid{
    grid-template-columns: repeat(1,1fr);
  }

  .ats-partnerContact-main-container{
  padding: 0rem 1rem;
}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {


  .contact-card {
    max-width: none;
  }

  .partner-form-container {
    padding: 3rem;
  }

  form {
    grid-template-columns: 1fr 1fr;
  }

  .form-group.full-width {
    grid-column: 1 / -1;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

  .form-title {
    font-size: 2.4rem !important;
  }

  .form-box {
    padding: 2.5rem;
  }
}