/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

/* Banner Wrapper */
.banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Images */
.banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Default visibility */
.banner .desktop {
  display: block;
}

.banner .mobile {
  display: none;
}
.error-border {
    border-bottom: 1px solid red !important;
  }
  .enquiry-form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  padding: 20px;
}

.enquiry-form-overlay.active {
  display: flex;
}

/* ============================================
   POPUP CARD
============================================ */
.enquiry-form {
  background: #000000;
  width: 100%;
  max-width: 330px;
  padding: 32px 32px 10px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: fadeIn 0.35s ease;
  border: 1px solid #eaeaea;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CLOSE ICON */
.enquiryFormClose {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 22px;
  height: 22px;
  cursor: pointer;
  opacity: 0.75;
  transition: 0.25s;
}

.enquiryFormClose:hover {
  opacity: 1;
}

/* ============================================
   TITLE
============================================ */
.enquiry-form h3 {
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 28px;
  color: #fff;
  letter-spacing: 0.2px;
}

/* ============================================
   FLOATING INPUT BOXES
============================================ */
.ip-box {
  position: relative;
  margin-bottom: 10px;
  display: flex;
}
#txt_country {
  width: 25%;
}

.ip-box input,
.ip-box select {
  width: 100%;
  padding: 14px 14px;
  border: none;
  border-bottom: 1px solid #fff;
  background: transparent;
  font-size: 16px;
  color: #fff;
  transition: all 0.3s ease;
}
.ip-box input::placeholder,
.ip-box select::placeholder {
  color: #fff;
}
.ip-box input:focus,
.ip-box select:focus {
  background: transparent;
  outline: none;
}

/* FLOATING LABELS */
.ip-box label {
  position: absolute;
  left: 14px;
  top: 13px;
  color: #6a7890;
  font-size: 15px;
  pointer-events: none;
  transition: 0.25s ease;
}

.ip-box input:not(:placeholder-shown) + label,
.ip-box input:focus + label,
.ip-box select:focus + label {
  top: -10px;
  left: 10px;
  background: #transparent;
  padding: 0 6px;
  font-size: 13px;
  color: #0a63aa;
}
.iti {
  width: 100%;
}

/* ============================================
   VALIDATION MESSAGES
============================================ */
#valid-msg,
#error-msg {
  font-size: 13px;
  margin-top: -12px;
  margin-bottom: 10px;
  display: block;
}

#valid-msg {
  color: #0a8235;
}

#error-msg {
  color: #d30000;
}

/* ============================================
   CHECKBOX SECTION
============================================ */
.homeally_dwnld_checklist {
  display: flex;
  gap: 12px;
  margin: 18px 0 10px;
  align-items: flex-start;
}

.homeally_dwnld_checklist input[type="checkbox"] {
  width: 15px;
  height: 15px;
  cursor: pointer;
  accent-color: #0a63aa;
}

.homeally_dwnld_checklist span {
  font-size: 10px;
  color: #fff;
  line-height: 1.4;
  margin-top: 0px;
}

/* ============================================
   SUBMIT BUTTON
============================================ */
.submit-btn {
  width: 100%;
  padding: 15px 0;
  font-size: 18px;
  border-radius: 0px;
  border: 1px solid #fff;
  cursor: pointer;
  background: transparent;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: 0.3s ease;
  margin-top: 12px;
}

.submit-btn:hover {
  background-color: #fff;
  color: #000;
}

.hide {
  display: none;
}
.fixed-btn.services {
  position: fixed;
  right: -50px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  z-index: 9999;
}
.services a {
  background: #fff;
  margin-top: 2em;
  padding: 10px;
  color: #000;
  font-size: 16px;
  line-height: 20px;
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 1px;
}
/* Mobile View */
@media (max-width: 767px) {
  .banner .desktop {
    display: none;
  }
  .fixed-btn.services{
    top:40%;
  }

  .banner .mobile {
    display: block;
  }
}
.legacy_sec{
    display: flex;
    height: 500px;
    position: relative;  
    border-bottom: 2px solid #fff;  
}
.legacy_img{
    width: 50%;
    height: 100%;
}
.legacy_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.legacy-loc{
    background: #000;
    display: flex;
    gap:15px;
    flex-direction: column;
    justify-content: center;
}
.legacy-loc h2 span,.legacy-loc p{
    color: #fff !important;
}

.legacy_inner {
  display: flex;
  width: 100%;
  height: 100%;
}
.loc_content {
    width: 70%;
    padding: 50px;
}
#btnSubmitContactForm{
    color: #446e34;
    padding: 10px;
}
.disclaimer{
  background: #000;
  padding: 3em 5em;
  text-align: center;
}
.disclaimer h4{
  font-size: 1.5em;
  color: #fff;
  line-height: 28px;
  margin-bottom: 1em;
}
.disclaimer span{
  font-size: 16px;
  line-height: 20px;
  color: #fff !important;
  text-align: center;
}

@media(max-width:768px){
    .legacy_sec{
        height:auto;
        flex-direction:column-reverse;
        border: none;
    }
    .legacy-loc{
        padding:2em !important;
        width: 100% !important;
        text-align: center;
    }
    .legacy_img{
        width: 100%;
    }
    .disclaimer{
      padding: 2em;
    }
}
