@font-face {
  font-family: "Clash Display Variable";
  src: url("https://db.onlinewebfonts.com/t/2fcd723a1a012506da3928146b19364d.eot");
  src: url("https://db.onlinewebfonts.com/t/2fcd723a1a012506da3928146b19364d.eot?#iefix") format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/2fcd723a1a012506da3928146b19364d.woff2") format("woff2"),
    url("https://db.onlinewebfonts.com/t/2fcd723a1a012506da3928146b19364d.woff") format("woff"),
    url("https://db.onlinewebfonts.com/t/2fcd723a1a012506da3928146b19364d.ttf") format("truetype"),
    url("https://db.onlinewebfonts.com/t/2fcd723a1a012506da3928146b19364d.svg#Clash Display Variable") format("svg");
}

@font-face {
  font-family: "Helvetica Neue Regular";
  src: url("https://db.onlinewebfonts.com/t/0d49fc455f4a8951a42daf952412a713.eot");
  src: url("https://db.onlinewebfonts.com/t/0d49fc455f4a8951a42daf952412a713.eot?#iefix") format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/0d49fc455f4a8951a42daf952412a713.woff2") format("woff2"),
    url("https://db.onlinewebfonts.com/t/0d49fc455f4a8951a42daf952412a713.woff") format("woff"),
    url("https://db.onlinewebfonts.com/t/0d49fc455f4a8951a42daf952412a713.ttf") format("truetype"),
    url("https://db.onlinewebfonts.com/t/0d49fc455f4a8951a42daf952412a713.svg#Helvetica Neue Regular") format("svg");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: "Clash Display Variable";
  
}

.error-message {
  color: red;
  font-size: 12px;
  margin-top: 5px;
}

.main-container {
  display: flex;
  flex-direction: row;
  height: auto;
   overflow-y: scroll;
   flex-wrap: wrap; 
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.hero-section {
  /* flex: 1; */
  /* background: url("../images/dubai_video.mp4") no-repeat center center/cover; */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 75px;
  height: auto;
   min-height: 100vh;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* .overlay {
 padding: 30px;
  color: white;
  max-width: 600px;
 background-color: rgb(0 0 0 / 9%); 
} */
.logo {
  position: absolute;
  top: 6%;
  left: 3%;
}

.logo img {
  width: 100%;
}

.left-text {
  color: white;
  max-width: 40%;
}

.left-text h1 {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 79px;
  position: absolute;
  top: 32%;
  width: 20%;
  line-height: 40%;
}

.left-text h1 span {
  font-weight: 400;
  color: #fff;
  line-height: normal;
}

.left-text p {
  position: absolute;
  left: 40%;
  top: 32%;
  bottom: 23%;
  font-size: 31px;
  line-height: 120%;
  margin-bottom: 40px;
  font-weight: 100;
  width: 25%;
}

.left-text small {
  position: absolute;
  font-size: 14px;
  opacity: 0.9;
  bottom: 7%;
  line-height: 120%;
}

.form-section {
  position: absolute;
  left: 3%;
  top: 17%;
}

.form-card {
  background-color: #f1f1f1;
  padding: 40px;
  border-radius: 6px;
  width: 480px;
  /* height: 659px; */
  height: min-content;
}

.form-card h2 {
  font-size: 30px;
  margin-bottom: 20px;
  font-weight: 500;
}

.form-card label {
  display: block;
  font-size: 12px;
  margin-top: 24px;
  margin-bottom: 5px;
  color: #676767;
  margin-left: 8px;
}

.form-card input,
.form-card textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #2929294d;
  padding: 2px 0;
  font-size: 16px;
  background: transparent;
  outline: none;
  font-family: "Helvetica Neue Regular";
  color: hsl(0deg 0% 0% / 80%);
  margin-left: 8px;
}

#phone {
  width: 100%;
}

.iti {
  width: 100%;
}

.iti__country-list {
  position: relative;
  width: 180%;
}

.iti--allow-dropdown .iti__flag-container,
.iti--separate-dial-code .iti__flag-container {
  right: auto;
  left: 0;
  width: 60%;
  /* padding-left: 20px; */
  background-color: none;
}

.iti--separate-dial-code .iti__selected-flag {
  background-color: inherit;
  width: 46%;
  font-family: 'Helvetica Neue Regular';
}



/* .iti--separate-dial-code .iti__selected-flag {
  background-color: inherit;
} */

textarea {
  resize: none;
}

.note {
  font-size: 8px;
  margin: 26px 0;
  padding: 0 8px;
  color: #12121294;
  line-height: 145%;
  font-family: "Helvetica Neue Regular";
}

button {
  width: 100%;
  padding: 7px 10px;
  background-color: #111;
  color: #cac4b8;

  margin-top: 20px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
}

button h1 {
  font-weight: 400;
  font-family: "Clash Display Variable";
  font-size: 18px;
  padding-left: 41px;
}

button span {
  position: relative;
  left: 97px;
  /* font-size: 37px; */
  top: 1px;
}

.footer {
  position: fixed;
  bottom: 0;
  font-family: "Clash Display Variable";
  width: 100%;
  background-color: #111;
  color: white;
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding: 12px 65px;
  font-weight: 100;
}

.rights img{
  width: 13px;
   align-self: baseline;
}
.address , .rights{
      align-self: center;
    display: flex;
    justify-content: center;
    gap: 6px;
    align-items: flex-start;
}
.address img{
  width: 13px;
  align-self: baseline;
}


input:-webkit-autofill {
 box-shadow: 0 0 0px 1000px #f1f1f1 inset !important;
    -webkit-text-fill-color: #000c !important;
}

 /* mobile device */
@media screen and (max-width: 767px) {

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .main-container {
    display: block;
  }

  .hero-section {
    flex: 1;
    /* background: url("../images/dubai_img_phone.png") no-repeat center center/cover; */
    height: 100vh;
    position: relative;
    width: 100%;
    padding: 2%;
  }

  /* .overlay {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6); /* optional darker overlay for readability
  }  */

  .logo {
    /* top: 3%; */
    left: 8%;
  }

  .logo img {
    width: 55%;
  }

  .left-text {
    max-width: 100%;
    color: #fff;
    position: static;
    text-align: left;
    padding: 20px 0;
  }

  .left-text h1 {
    font-size: 36px;
    margin-bottom: 20px;
    top: 18%;
    left: 36%;
    bottom: 8%;
    width: 55%;
    text-align: end;
  }

  .left-text p {
    font-size: 16px;
    margin-bottom: 20px;
    left: 43%;
    top: 25%;
    bottom: 0;
    width: 48%;
    text-align: end;
  }

  .left-text small {
    /* position: static;
    font-size: 12px;
    margin-bottom: 30px; */
    display: none;
  }

  .form-section {
    top: 12%;
    left: unset;
  }

  .form-card {
    width: 100%;
    padding: 20px;
    width: auto;
    height: auto;
    margin: auto 24px;
  }

  .form-card h2 {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .form-card label {
    font-size: 8px;
    margin-top: 18px;
  }

  .form-card input,
  .form-card textarea {
    font-size: 12px;
    padding: 0;
  }

  .iti--separate-dial-code .iti__selected-flag {
    font-size: 12px;
  }

  button {
    padding: 0;
  }

  button span {
    left: 60px;
    font-size: 24px;

  }

  button h1 {
    font-size: 13px;

  }

  .note {
    font-size: 6px;
  }

  .footer {
    font-size: 11px;
    padding: 12px 24px;
           gap: 8px;
    justify-items: center;
    flex-direction: column;
  }
  .rights{
    width: 80%;
    align-content: center;
  }
  .address , .rights{
    align-self: unset;
    justify-content: unset;
    gap: 8px;
  }
  .address img, .rights img{
    width: 12px;
  }
}


@media screen and (min-width: 768px) and (max-width: 1024px) {
  .form-card {
    width: 442px;
  }
}

@media screen and (max-height: 785px) {
  .form-section {
    margin-top: 40px;
  }

  .background-video ,.desktop-only{
    height: 150vh;
  }

}