* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: sans-serif;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0px;
}

header {
  border-bottom: 0.1px solid #d3cfcf;
  position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 10;
}

.container {
  width: 90%;
  margin: auto;
}

nav button {
  border: none;
  padding: 10px 20px;
  background-color: #bc3131;
  color: #ffff;
  transition: all 0.3s;
  cursor: pointer;
}

nav button:hover {
  background-color: #d10d0d;
}
.logo img {
  width: 200px;
}

.form-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-box {
  width: 48%;
}
.form-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.form-section {
  margin: 50px 0px;
  margin-top: 120px;
}

.float-group {
  position: relative;
  margin-bottom: 24px;
}

input,
select {
  width: 100%;
  padding: 14px 12px 6px;
  font-size: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: transparent;
  outline: none;
}

label {
  position: absolute;
  top: 5%;
  left: 12px;
  transform: translateY(-50%);
  background-color: white;
  padding: 0 4px;
  font-size: 13px;
  color: #3c3c3c;
  transition: all 0.2s ease-in-out;
  pointer-events: none;
}

input:focus + label,
input:not(:placeholder-shown) + label,
select:focus + label,
select:valid + label {
  top: -8px;
  left: 10px;
  font-size: 13px;
  color: #1a1a1a;
}

label span {
  color: red;
  margin-left: 1px;
}

form button {
  padding: 10px 18px;
  background-color: #bc3131;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
}
form button:hover {
  background-color: #d10d0d;
}
.form-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.form-modal {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.form-close {
  top: 8px;
  right: 14px;
  font-size: 24px;
  cursor: pointer;
  color: #444;
}
.form-close:hover {
  color: #bc3131;
}
.model-head {
  margin-bottom: 20px;
  border-bottom: 0.1px solid #ccc;
  padding-bottom: 5px;
}
.form-heading2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.form-heading2 h3 {
  font-size: 18px;
  font-weight: 500;
}

.select-car-heading h2 {
  font-size: 30px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  color: #2e3942;
}
.form-heading h3 {
  font-size: 20px;
  font-weight: 500;
  padding: 10px 0px;
  margin-bottom: 40px;
  border-bottom: 0.1px solid #cbcecb;
  text-align: center;
  color: #2e3942;
  letter-spacing: 1px;
}

.select-car-heading h2:after {
  content: "";
  width: 0px;
  height: 3px;
  border-top: solid 1px #9e9e9e;
  border-bottom: solid 1px #9e9e9e;

  margin-left: 15px;
  vertical-align: 7px;
  transition: width 1s ease-in-out;
}
.main2{
  margin-top: 10px !important;
}
.offer-btn button {
  padding: 5px 10px;
  background-color: transparent;
  color: #bc3131;
  border: 1px solid #bc3131;
  cursor: pointer;
  font-size: 12px;
  border-radius: 5px;
  transition: all 0.3s;
}
.select-car-heading h2:before {
  content: "";
  width: 0px;
  height: 3px;
  border-top: solid 1px #9e9e9e;
  border-bottom: solid 1px #9e9e9e;

  margin-right: 15px;
  vertical-align: 7px;
  transition: width 1s ease-in-out;
}
.select-car-heading h2:after,
.select-car-heading h2:before {
  width: 70px;
  display: inline-block;
}
.select-cars-boxes-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}
.car-boxes {
  width: 25%;
  height: auto;
  background-color: #f2f2f2;
  padding: 15px;
}
.car-img img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}
.car-contant h2 {
  font-size: 18px;
  text-align: center;
}
.car-bottom {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.car-bottom p:first-child {
  margin: 5px 0px;
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.car-bottom button {
  padding: 10px 20px;
  border: none;
  background-color: #bc3131;
  color: #ffff;
  cursor: pointer;
}
.car-bottom button:hover {
  background-color: #d10d0d;
  transition: all 0.3s;
}
.developed-by {
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-main a {
  color: #2e3942;
}
.footer-main a:hover {
  color: #2e3942;
}

.footer-main a,
.footer-main p {
  font-size: 12px;
  color: rgb(255 255 255 / 40%);
}
footer {
  background-color: #2e3942;
  padding: 10px 0px;
  margin-top: 40px;
}
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: white;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
  padding-right: 36px;
}
/* offer section style  */
 .offer-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  .offer-modal {
    background: #fff;
    max-width: 400px;
    width: 90%;
    padding: 20px;
    border-radius: 4px;
    position: relative;
    font-family: Arial, sans-serif;
  }
  .offer-modal h4 {
    margin-top: 0;
    font-weight: 600;
    font-size: 20px;
    color: #222;
  }
  .offer-modal p {
    margin: 8px 0;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
  }
  .offer-modal strong {
    display: block;
    font-size: 22px;
    margin-top: 5px;
    color: #000;
  }
  .offer-modal .close-btn {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 22px;
    cursor: pointer;
    font-weight: bold;
  }

  @media (max-width: 480px) {
    .offer-modal h4 {
      font-size: 18px;
    }
    .offer-modal strong {
      font-size: 20px;
    }
    .offer-modal p {
      font-size: 14px;
    }
  }
@media only screen and (max-width: 600px) {
  .form-section {
    margin: 32px 0px;
    margin-top: 80px;
  }
  .logo img {
    width: 150px;
  }
  .form-main {
    flex-direction: column-reverse;
  }
  .form-box {
    width: 100%;
  }
  .form-box:last-child {
    margin-bottom: 20px;
  }
  .select-car-heading h2 {
    font-size: 18px;
  }
  .select-car-heading h2:after,
  .select-car-heading h2:before {
    width: 40px;
    display: inline-block;
  }
  .select-cars-boxes-main {
    flex-direction: column;
  }
  .car-boxes {
    width: 100%;
  }
  .footer-main {
    flex-direction: column;
  }
  .developed-by {
    flex-direction: column;
    margin-top: 8px;
  }
}
