body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100%;
}
.main-form {max-width: 1440px;
    margin: 0 auto;}
.center-logo {padding: 10px; background-color: #004E7D;}
.center-logo img {display: block; margin: 0 auto; width: 250px;  padding: 10px;}
.container-form {
  position: relative;
  width: 100%;
  height: 100%;
}

.contact-box{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  align-items: center;
  background-color: #fff;
}
.content-left { position: relative;}
.content-left{
  background: url("https://images-global-qa-web.geccdn.net/qa-gec-us-web/site42/htmlsection/Pilot-5/Home-Depot/images/form-bg-1.webp") no-repeat center;
  background-position: top;
  background-size: cover;
  height: 100%;
}
.content-left .overlay {
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      z-index:9;
}
.content-left .overlay div {
    position: relative;
    top: 45%;
    color: #fff;
    text-align: center;
}
.content-left .overlay h2 {font-family: Kanit, sans-serif !important;
    font-size:58px;
    font-weight: 700;
    margin:0;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.40);
    color: #fff;
}

.form-right{
    padding: 45px 40px;
    background-color: #F8F8F8;
    overflow: hidden;
    position: relative;
    max-width: 1200px;
}
.form-field { position: relative;}
.sub-note {font-family: Kanit, sans-serif !important;
    font-size: 12px;
    font-weight: 300;
    margin-top: 10px;
}
.halfwidth-input 
    {display: flex;
    gap: 10px;} 
.halfwidth-input .input-field { flex: 1;min-width:0}
.input-field  {
  width: 96%;
  outline: none;
  border: 1px solid #BCBEC0;
  border-radius: 5px;
  background-color:#fff;
  padding: 12px 15px;
  font-size: 16px;
  line-height:20px;
  margin-bottom: 20px;
  transition: .3s;
  color: #757575;
}

.error.no-label {
    margin: 0;
    color: #d41e3d;
    font-size: 11px;
}
.form-right h3 { font-family: Kanit, sans-serif !important;
    font-size: 22px;
    line-height:28px;
    font-weight: 800;
    color:#004E7D;
    margin: 0;
}
.form-right h5 {font-family: Kanit, sans-serif !important;
     font-size: 17px;
    line-height:23px;
    font-weight: 300;
    color:#212934;
    margin-top: 0.5em;
    margin-bottom: 2em;
}
.form-ft {
    padding:30px 20px;
    text-align: center;
    background: #004E7D;
    color: #fff;
}
.form-ft h6 {
    margin: 0;
    font-size: 14px;
    font-family: Kanit, sans-serif !important;
    font-weight: 300;
    color: #fff;
}
.form-content {
    padding: 40px 30px;
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.form-content.slide-up {
    transform: translateY(-100%);
}

.submit-btn {
    padding: 10px 50px;
    background-color: #D41E3D;
    color: #fff;
    font-size: 20px;
    font-family: Kanit, sans-serif !important;
    font-weight: 600;
    border: none;
    outline: none;
    text-decoration: none;
    cursor: pointer;
    transition: .3s;
    border-radius: 5px;
    margin-top: 14px;
    display: block;
}

/* .submit-btn:hover {
    transform: translateY(-2px);
    background-color: #004E7D;
}

.submit-btn:active {
    transform: translateY(0);
} */

.thank-you-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    padding: 40px 30px;
    background: white;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.thank-you-message.slide-up {
    transform: translateY(0);
}
.thank-you-title {
    font-size: 30px;
    font-family: Kanit, sans-serif !important;
    margin-bottom: 15px;
    margin-top: 0;
    font-weight: 700;
    color: #004E7D;
}

.thank-you-text {
    font-size: 20px;
    font-family: Kanit, sans-serif !important;
    font-weight: 300;
    margin-bottom: 30px;
    margin-top: 0px;
    color: #212934;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}


/* mobile device */
@media screen and (max-width:1024px) {
 .content-left .overlay h2 {font-size: 45px;}
}
@media screen and (max-width:820px) {
    .form-right { padding: 25px;}
    .content-left .overlay h2 { font-size: 40px;}
    .input-field { width: 91%;}
    .form-right h3 {
        font-size: 20px;
        line-height: 26px; }
    .contact-box { display: block;}
    .content-left {height: 450px;}
    .content-left .overlay div {
    top: 63%;}
}
@media screen and (max-width:640px) {
    .halfwidth-input {  display: block; gap: 0;}
    .halfwidth-input select {width: 100% !important;}
    .content-left .overlay div {
        top: 40%; }
    .content-left .overlay h2 { font-size: 30px;}
    .content-left .overlay h6 {
        font-size: 25px;
        line-height: 32px;
        margin-top: 20px;
    }
    .form-right h5 {margin-bottom: 1.5em;}
    .content-left { height: 240px;}
    .sub-note {margin-top: 0;}
}
