.form-floating > .form-select {
  padding-top: 1.2rem;
}
.form-floating > .form-select ~ label {
  transform: scale(0.85) translateY(-0.8rem) translateX(0.15rem);
}
.office {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding-bottom: 10px; /* Adjust spacing */
  transition: color 0.3s ease;
  height: auto;
  min-height: 100px;
  text-align: center;
}

.office-title {
  width: 230px;
  font-size: 19px;
  color: #ce153f;
  position: relative;
  cursor: pointer;
  display: inline-block;
  transition: color 0.3s ease;
}

.office-address {
  font-size: 13px;
  margin-left: 5px;
}

.office-span {
  color: #000;
}

.office::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: #ce153f;
  transition: width 0.3s ease-in-out;
}

.office.active::after {
  width: 100%;
}

.inner-banner-sec.new-plan {
  padding: 190px 0;
  margin-top: 125px;
}
.banner-sec.new-plan:after {
  display: block;
  background-color: transparent;
}

.title-sec {
  padding: 70px 0 45px;
}

.reach-sec {
  margin-bottom: 29px;
}

.bg-area.new-plan {
  background-image: url("https://www.jubileelife.com/assets/images/new-plan-bg.png");
  background-repeat: no-repeat;
  background-size: 900px;
  background-position: 0 -495px;
}

.banner-sec.mob-v {
  padding: 115px 0 0;
  margin-top: 0px;
  min-height: 580px;
}

.map-sec {
  background-image: url("https://www.jubileelife.com/assets/images/jubliee_j_logo.png");
  background-repeat: no-repeat;
  background-size: 160px;
  background-position: right bottom;
}

.map-container {
  border: 2px solid #d4d4d4;
  position: relative;
}

.map-container #map-canvas {
  height: 526px;
  width: 100%;
}

.map-container .map-locations {
  position: absolute;
  right: 0;
  top: 0;
  background-color: #383d42;
  width: 296px;
  opacity: 0.9;
}

.map-container .map-locations .map-heading {
  padding: 40px 0;
  color: white;
  text-align: center;
  margin-top: 0;
}

.map-container .map-locations .map-heading span {
  font-size: 28.8px;
  font-size: 2.4rem;
  vertical-align: sub;
  margin-right: 8px;
}

.map-container .map-locations #pins .map-pan {
  padding: 20px 0;
  width: 49.9%;
  display: inline-block;
  color: white;
  border-top: 1px solid #717578;
  border-right: 1px solid #717578;
  text-align: center;
  font-size: 15.6px;
  font-size: 1.3rem;
  text-transform: uppercase;
  background-color: transparent;
  transition: all 0.3s ease-in-out;
}

.map-container .map-locations #pins .map-pan:nth-child(2n) {
  border-right: 0;
  margin-left: -4px;
}

.map-container .map-locations #pins .map-pan:hover,
.map-container .map-locations #pins .map-pan:focus,
.map-container .map-locations #pins .map-pan.active {
  background-color: #ce153f;
  text-decoration: none;
}

.MicrosoftMap .NavBar_DropDown.opened {
  display: flex;
  flex-direction: column;
}

.MicrosoftMap .NavBar_Container.Light .slot,
.MicrosoftMap .NavBar_Container.Light .switchSlot {
  width: 100%;
}

@media (max-width: 1024px) {
  .contact-form-sec {
    display: flex;
    justify-content: center;
    padding: 50px 15px;
  }

  .query-form,
  . {
    width: 100%;
    max-width: 500px; /* Keeps form width balanced */
    padding: 20px;
  }

  .query-form form,
  .advisor-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .query-form .row,
  .advisor-form .row {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .form-floating {
    width: 100%;
  }

  /* Ensure margin below submit button */
  .query-form button,
  .advisor-form button {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    font-size: 18px;
    background: #ce153f;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .query-form button:hover,
  .advisor-form button:hover {
    background: #a61234;
  }
}

@media (max-width: 767px) {
  .contact-form-sec {
    padding: 40px 10px;
  }

  .query-form,
  .advisor-form {
    padding: 15px;
  }

  .query-form button,
  .advisor-form button {
    font-size: 16px;
    padding: 10px;
  }
}

@media (max-width: 767px) {
  .title-sec {
    padding: 40px 0 15px;
  }

  .contact-address:first-child {
    margin-top: 50px;
  }

  .office {
    padding-bottom: 10px;
  }
}
@media (max-width: 1199px) {
  .banner-sec.inner-banner-sec.health-protection .img-area {
    position: unset;
  }

  .banner-sec.inner-banner-sec.health-protection:before {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .office {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 15px;
  }

  .office-title {
    width: auto;
    font-size: 17px;
  }

  .office-address {
    font-size: 16px;
  }

  .office::after {
    height: 2px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .rw-reverse {
    flex-direction: row-reverse;
  }

  .office-title {
    font-size: 17px;
  }

  .inner-banner-sec.banner-sec.mob-v {
    padding: 0px 0 0;
    min-height: auto;
  }

  .inner-banner-sec.banner-sec.mob-v {
    margin-top: 108px;
  }
}
@media (min-width: 1490px) and (max-width: 1600px) {
  .car-span {
    font-size: 22px;
    margin: 5px 0;

    .query-text {
      font-size: 36px;
    }
  }
}

.hidden {
  display: none;
}
.top-contact {
}
.top-contact .row {
  align-items: center;
}
.top-contact .contact-image {
  text-align: right;
}
.top-contact .contact-text {
}
.top-contact .contact-text h5 {
  font-size: var(--font-size-24);
  color: var(--color-dark-3);
  font-family: var(--fontPoppins);
  font-weight: var(--fontSemiBold);
  line-height: var(--font-size-44);
}
.top-contact .contact-text p {
  font-size: var(--font-size-16);
  color: var(--color-dark-1);
  font-family: var(--fontPoppins);
  font-weight: var(--fontRegular);
  line-height: var(--font-size-24);
  padding: 0;
  margin: 0;
}
.top-contact .contact-text .form-floating {
  padding: 20px 0;
}

.contact-form-sec {
  padding: 78px 0 83px;
}

.form-check-input[type="radio"] {
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 50% !important;
}

.query-form {
  /* padding-right: 57px; */
}
.advisor-form {
  padding-right: 57px;
}

.contact-address {
  padding: 40px 0;
}
.contact-address:first-child {
  padding-top: 0;
}
.contact-address:last-child {
  border-top: 1px solid #d5d5d5;
}
.contact-address ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-address ul li {
  padding-bottom: 10px;
}
.contact-address ul li h5 {
  font-size: var(--font-size-24);
  color: #000;
  font-family: var(--fontPoppins);
  font-weight: var(--fontBold);
  /* line-height: var(--font-size-24); */
}
.contact-address ul li h5 span {
  color: #ce153f;
}
.contact-address ul li p {
  font-size: var(--font-size-16);
  color: #000;
  font-family: var(--fontPoppins);
  font-weight: var(--fontRegular);
  line-height: var(--font-size-18);
  padding: 0;
  margin: 0;
}
.contact-address ul li p a {
  text-decoration: none;
  font-size: var(--font-size-16);
  color: #000;
  font-family: var(--fontPoppins);
  font-weight: var(--fontRegular);
  line-height: var(--font-size-18);
}

.clear-multi {
  display: flex;
  position: relative;
}
.clear-multi .error-message{
	position: absolute;
    top: 100%;
}
.clear-multi .form-floating {
  display: flex;
  width: 100%;
  padding-right: 10px;
}
.clear-multi .form-floating .custom-input.form-control {
  display: inline-block;
}
.clear-multi .form-floating i {
  display: inline-block;
}
.clear-multi .form-floating .custom-label {
}

.form-select {
  display: block;
  width: 100%;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  -moz-padding-start: calc(0.75rem - 3px);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23CE153F' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  font-family: var(--fontPoppins);
  font-size: var(--font-size-14);
  line-height: var(--font-size-24) !important;
  font-weight: var(--fontMedium);
  color: #040c22;
  border-radius: 3px;
  height: 64px !important;
  background-color: #f1f1f1;
  border: none;
}

textarea.form-control {
  font-family: var(--fontPoppins);
  font-size: var(--font-size-17);
  line-height: var(--font-size-24) !important;
  font-weight: var(--fontMedium);
  color: #040c22;
  border-radius: 3px;
  /* height: 64px !important; */
  background-color: #f1f1f1;
  border: none;
}

.form-select:focus,
textarea.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(206, 21, 63, 0.25);
  border: none;
}

.custom-check-input:focus,
.form-select:focus,
textarea.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(206, 21, 63, 0.25);
  border: none;
}

.widthoutLable {
  padding-top: 0.625rem !important;
  padding-bottom: 0.625rem !important;
}

@media (min-width: 1200px) and (max-width: 1699px) {
  .form-select {
    height: 50px !important;
  }
}

@media(max-width: 600px){
  #contactDropdown{
    font-size: .7rem;
  }
}
