h5 {
  font-family: HyundaiSansHeadOfficeMedium !important;
  font-size: 23px !important;
  margin: 0px !important;
}

.input {
  font-family: HyundaiSansRegular !important;
}

.px-10 {
  padding-right: 10rem !important;
  padding-left: 10rem !important;
}

@media (max-width: 798px) {
  .px-10 {
    padding-right: 2rem !important;
    padding-left: 2rem !important;
  }
}

/* ------------------------START BG CSS------------------ */

.bg {
  margin-top: 5rem;
  height: 30vw !important;
  background-image: url(../images/insurance-cover.png);
  width: 100%;
  text-align: center;
  transition: transform 0.5s ease;
  height: auto;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}

.cover {
  width: 100%;
  height: auto;
}

.title h1 {
  padding-top: 20px;
  position: relative;
  font-size: 7.5rem;
  color: #fff;
  font-weight: 700;
  top: 100px;
}

@media (max-width: 998px) {
  .title h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .bg {
    height: 40vw !important;
  }
  .title h1 {
    font-size: 4rem;
    top: 70px;
  }
}

@media (max-width: 500px) {
  .bg {
    height: 40vw !important;
  }
  .title h1 {
    font-size: 3rem;
    top: 25px;
  }
}

/* ----------------------------------END BG CSS------------------ */

/* ------------------------START DETAILS CSS------------------ */

.container-details {
  margin-bottom: 50px;
  padding: 0px 12px;
}

/* -----------------------END DEATAILS CSS------------------ */

/* -----------------------START TOP FORM CSS------------------  */

/* .date-input {
  display: none;
} */

/* .date-align {
  display: flex;
  justify-content: flex-end;
}

.date-align label {
  left: 225px;
} */

/* -----------------------END TOP FORM CSS------------------ */

/* ------------------------START CHECKBOX CSS------------------ */

.grp-chk {
  padding: 0px 10px;
}

.con-box {
  padding: 11px 0px;
}

.con-grid {
  display: flex;
  justify-content: space-around;
  gap: 40px;
}

@media (max-width: 700px) {
  .con-grid {
    display: grid;
  }
}

.checkbox-wrapper-46,
.checkbox-wrapper-46 label {
  display: contents !important;
}

@media (max-width: 700px) {
  .checkbox-wrapper-46,
  .checkbox-wrapper-46 label {
    display: inline-block !important;
  }
}

.status-checkboxes,
.gender-checkboxes {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  place-items: center;
}

@media (max-width: 700px) {
  .status-checkboxes,
  .gender-checkboxes {
    display: contents;
    place-items: center;
  }
}

.checkbox-wrapper-46 span {
  font-family: HyundaiSansRegular !important;
  color: #4d4d4d;
  font-size: 16px;
}

.checkbox-wrapper-46 input[type="checkbox"] {
  display: none;
  visibility: hidden;
}

.checkbox-wrapper-46 .cbx {
  margin: auto;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
}

.checkbox-wrapper-46 .cbx span {
  display: inline-block;
  vertical-align: middle;
  transform: translate3d(0, 0, 0);
}

.checkbox-wrapper-46 .cbx span:first-child {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  transform: scale(1);
  vertical-align: middle;
  border: 1px solid #9098a9;
  transition: all 0.2s ease;
}

.checkbox-wrapper-46 .cbx span:first-child svg {
  position: absolute;
  top: 3px;
  left: 2px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16px;
  stroke-dashoffset: 16px;
  transition: all 0.3s ease;
  transition-delay: 0.1s;
  transform: translate3d(0, 0, 0);
}

.checkbox-wrapper-46 .cbx span:first-child:before {
  content: "";
  width: 100%;
  height: 100%;
  background: #506eec;
  display: block;
  transform: scale(0);
  opacity: 1;
  border-radius: 50%;
}

.checkbox-wrapper-46 .cbx span:last-child {
  padding: 5px 10px;
}

.checkbox-wrapper-46 .cbx:hover span:first-child {
  border-color: #506eec;
}

.checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child {
  background: #506eec;
  border-color: #506eec;
  animation: wave-46 0.4s ease;
}

.checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child svg {
  stroke-dashoffset: 0;
}

.checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child:before {
  transform: scale(3.5);
  opacity: 0;
  transition: all 0.6s ease;
}

@keyframes wave-46 {
  50% {
    transform: scale(0.9);
  }
}

.nationality-checkboxes {
  display: contents;
}

/* ------------------------END CHECKBOX CSS------------------ */

.row-details-cus {
  display: grid;
  gap: 20px;
  grid-template-columns: clamp(350px, 90%, 75%) auto;
}

.row-details-4 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

.row-details-3 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.row-details-2 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .row-details-cus,
  .row-details-4,
  .row-details-3,
  .row-details-2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
}

.form-controlheader {
  background-color: #002c5f;
  padding: 15px 0px;
  color: #fff;
  border-radius: 0.5rem;
  /* margin-bottom: 1rem; */
}

#myBtnup {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: rgba(0, 170, 210, 1);
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtnup:hover {
  color: rgba(0, 170, 210, 1);
  background-color: rgba(255, 255, 255, 0.1);
}

.cover {
  width: 100%;
  height: auto;
  width: 100%;
  height: auto;
}

.input-group-drive {
  position: relative;
}

.input {
  width: 100%;
  border: solid 1.5px #9e9e9e;
  border-radius: 0.5rem;
  background: none;
  padding: 1rem;
  font-size: 1rem;
  color: #000000;
  transition: border 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.user-label {
  font-size: 20px;
  position: absolute;
  left: 15px;
  color: #302d2d95;
  pointer-events: none;
  transform: translateY(1rem);
  transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.input:focus,
input:valid {
  outline: none;
  border: 1.5px solid #1a73e8;
}

.input:focus ~ label,
input:valid ~ label {
  transform: translateY(-50%) scale(0.8);
  background-color: #ffffff;
  padding: 0 0.2em;
  color: #2196f3;
}

.spacing {
  width: 100% !important;
  margin: 0 10px 0 0 !important;
}

.carImage {
  width: 50%;
  height: auto;
  margin: auto;
  display: none;
}

.g-recaptcha {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: #183153;
  font-family: HyundaiSansRegular !important;
  box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.g-recaptcha:after {
  content: " ";
  width: 0%;
  height: 100%;
  background: rgba(0, 170, 210, 1);
  position: absolute;
  transition: all 0.4s ease-in-out;
  right: 0;
}

.g-recaptcha:hover::after {
  right: auto;
  left: 0;
  width: 100%;
}

.g-recaptcha,
.inq {
  text-align: center;
  text-decoration: none;
  width: auto;
  padding: 10px 10px;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.3em;
  z-index: 20;
  transition: all 0.3s ease-in-out;
}

.g-recaptcha:hover .inq {
  color: #ffffff;
  animation: scaleUp 0.3s ease-in-out;
}

.red {
  color: red;
}

/* Responsive */

@media (max-width: 768px) {
  .spacing {
    margin: 10px 0 !important;
  }
  .user-label {
    font-size: 15px;
  }
}

/* --------------------start home address csss---------------------------- */

.row-inpt {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

/* ---------------------end home address csss---------------------------- */

/* ----------------------start form upload----------------------------- */
    

.file-upload-form {
  width: fit-content;
  height: fit-content;
  margin:auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.file-upload-label input {
  display: none;
}

.file-upload-label svg {
  height: 50px;
  fill: #002c5f;
  margin-bottom: 20px;
}

.file-upload-label {
  cursor: pointer;
  padding: 20px 30px;
  border-radius: 40px;
  border: 2px dashed #333;
  color: #eee;
  text-align: center;
  width: 100%;
}

.file-upload-design {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.browse-button {
  background-color: #002c5f;
  padding: 5px 15px;
  border-radius: 10px;
  color: #eee;
  transition: all 0.3s;
}

.browse-button:hover {
  background-color: #02254e;
  color: #fff;
}

.image-preview {
  margin-top: 20px;
  max-width: 300px;
  display: none;
  margin-right: 10px;
  border: 2px solid #666;
}

.image-preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --------------------------end form upload--------------------------- */

/* --------------------------start footer css--------------------------- */

.connectUs {
  background-color: #f6f3f2;
}

.CoUs {
  text-align: center;
  font-family: HyundaiSansHeadOfficeMedium !important;
  font-size: 25px;
  color: #000;
}

h3 {
  font-family: HyundaiSansHeadOfficeMedium !important;
  font-size: 25px !important;
}

@media (max-width: 1075px) {
  h3 {
    font-size: 23px !important;
  }
}

@media (max-width: 768px) {
  .get-in-touch {
    margin: 2rem 0.5rem 0 -1rem;
  }
  .row {
    line-height: 3;
  }
   .bg {
    margin-top: 7rem;
  }
}

.left {
  text-align: left;
  font-family: HyundaiSansHeadOfficeMedium !important;
  font-size: 16px;
  color: #4d4d4d;
  line-height: 3;
}

.phone {
  font-family: HyundaiSansHeadOfficeMedium !important;
  font-size: 16px;
  color: #4d4d4d !important;
}

/* ----------------------------end footer css------------------------- */

/* ----------------------------botton error css------------------------- */

/* .error {
    border: 1px solid red !important;
}

.error-message {
    color: red;
    display: none;
} */
