:root {
  --remax-red: #DC2626;
  --remax-red-dark: #B91C1C;
  --remax-blue: #003DA5;
  --remax-blue-dark: #00296B;
  --remax-navy: #0A1628;
  --remax-navy-light: #111D32;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --grey-50: #F9FAFB;
  --grey-100: #F3F4F6;
  --grey-200: #E5E7EB;
  --grey-300: #D1D5DB;
  --grey-400: #9CA3AF;
  --grey-500: #6B7280;
  --grey-600: #4B5563;
  --grey-700: #374151;
  --grey-800: #1F2937;
  --grey-900: #111827;
  --gold: #D4A843;
  --gold-light: #F5E6C4;
  --green: #059669;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --max-w: 1330px;
  --section-pad: 75px;
  --section-pad1:75px;
  --muted:#9aa4b2;   --bg-1:#0d1322; --bg-2:#0b0f1b; --card:#11182a;
        --text:#eaf0ff; --muted:#9aa4b2; --primary:#dc1c2e;
        --accent:#7f64ff; --accent-2:#9a57ff; --radius:18px;
        --shadow-md:0 10px 30px rgba(0,0,0,.35);
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--grey-800);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-top: 72px;
      margin: 0;
}
a { text-decoration: none; color: inherit; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
/* ========== NAVBAR ========== */
.mobile-toggle {display: none;}
.navbar {position: fixed; top: 0; left: 0; right: 0; z-index: 1000;background: rgba(10, 22, 40, 0.95);backdrop-filter: blur(12px);border-bottom: 1px solid rgba(255,255,255,0.06);transition: all 0.3s ease;}
.navbar.scrolled { background: rgba(10, 22, 40, 0.98); }
.navbar .container {display: flex; align-items: center; justify-content: space-between;height: 72px;}
.nav-logo img { height: 40px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 500;letter-spacing: 0.01em; transition: color 0.2s;}
.nav-links a:hover { color: var(--white); }
.nav-cta {background: var(--remax-red); color: var(--white) !important;padding: 10px 24px; border-radius: 6px; font-weight: 700;font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase;transition: background 0.2s, transform 0.15s;}
.nav-cta:hover { background: var(--remax-red-dark); transform: translateY(-1px); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s; }

/*footer section */
/* ========== SECTION: FINAL CTA ========== */
.section-final-cta {
  padding: var(--section-pad) 0 120px;
  background: var(--remax-navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-final-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(220,38,38,0.1) 0%, transparent 60%);
}
.section-final-cta .container { position: relative; z-index: 2; }
.section-final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  color: var(--white);
  line-height: 1.12;
  max-width: 800px;
  margin: 0 auto 24px;
}
.section-final-cta h2 em { font-style: italic; color: var(--gold); }
.section-final-cta > .container > p {
  color: rgba(255,255,255,0.5);
  font-size: 17px; line-height: 1.7;
  max-width: 620px; margin: 0 auto 48px;
}
.final-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== FORM SECTION ========== */
.section-form {
  padding: 80px 0 var(--section-pad);
  background: var(--grey-50);
}
.form-container {
  max-width: 640px; margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  border: 1px solid var(--grey-200);
}
.form-progress { display: flex; gap: 6px; margin-bottom: 32px; }
.form-progress-bar {
  flex: 1; height: 4px;
  background: var(--grey-200);
  border-radius: 2px;
  overflow: hidden;
}
.form-progress-bar.active { background: var(--remax-blue); }
.form-progress-bar.done { background: var(--green); }
.form-step-label {
  font-size: 12px; font-weight: 600;
  color: var(--grey-400);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 24px;
}
.form-question {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--grey-900);
  margin-bottom: 8px;
}
.form-subtext { font-size: 14px; color: var(--grey-500); margin-bottom: 32px; }
.form-options { display: flex; gap: 12px; }
.form-option {
  flex: 1; padding: 16px 24px;
  border: 2px solid var(--grey-200);
  border-radius: 10px;
  text-align: center;
  font-weight: 600; font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--grey-700);
}
.form-option:hover { border-color: var(--remax-blue); background: rgba(0,61,165,0.02); }
.form-option.selected {
  border-color: var(--remax-blue); background: rgba(0,61,165,0.06);
  color: var(--remax-blue);
}

.footer {
  background: var(--grey-900);
  color: rgba(255,255,255,0.5);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 16px; }
.footer-brand img { height: 36px; margin-bottom: 8px;}
.footer h4 {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { font-size: 14px; transition: color 0.2s; }
.footer ul a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 12px; }
.footer-social { display: flex; gap: 16px;
    margin-top: 20px; }
.footer-social a {
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  font-size: 14px;
}
/* ========== REDESIGNED FORM SECTION ========== */
.form-section-remax {
  padding: var(--section-pad) 24px;
  background: var(--remax-navy);
  position: relative; overflow: hidden;
}
.form-section-remax::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(0,61,165,0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(220,38,38,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.form-inner-wrap {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  position: relative; z-index: 2;
}
.form-left-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.1; color: var(--white);
  margin-bottom: 20px;
}
.form-left-heading sup { font-size: 55%; color: rgba(255,255,255,0.35); vertical-align: super; }
.form-left-heading em { font-style: italic; color: var(--gold); }
.form-left-sub {
  font-size: 16px; line-height: 1.75;
  color: rgba(255,255,255,0.5);
  max-width: 480px; margin-bottom: 36px;
}
.form-tags-wrap { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.form-tag-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 500;
  transition: all .2s;
}
.form-tag-pill:hover { border-color: rgba(212,168,67,.4); color: var(--gold); }
.form-trust-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.07);
}
.form-trust-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--remax-red); flex-shrink: 0;
}
.form-trust-row span { font-size: 13px; color: rgba(255,255,255,0.42); }
.form-trust-row strong { color: rgba(255,255,255,0.8); font-weight: 600; }

.form-card-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px; padding: 40px 36px;
  position: relative; overflow: hidden;
}
.form-card-wrap::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--remax-blue), var(--remax-red));
}
.form-card-badge {
  display: inline-block;
  background: rgba(220,38,38,0.12);
  border: 1px solid rgba(220,38,38,0.25);
  color: #FCA5A5; font-size: 12px; font-weight: 600;
  padding: 5px 14px; border-radius: 100px;
  letter-spacing: .04em; margin-bottom: 12px;
}
.form-card-header h3 {
  font-family: var(--font-display);
  font-size: 22px; color: var(--white); font-weight: 400;
  margin-bottom: 5px;
}
.form-card-header p { font-size: 13px; color: rgba(255,255,255,0.38); margin-bottom: 28px; }
.form-fields { display: flex; flex-direction: column; gap: 14px; }
.form-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card-wrap input,
.form-card-wrap select,
.form-card-wrap textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--white); font-size: 14px; font-family: var(--font-body);
  transition: border-color .2s, background .2s, box-shadow .2s;
  outline: none; -webkit-appearance: none; appearance: none;
}
.form-card-wrap input::placeholder,
.form-card-wrap textarea::placeholder { color: rgba(255,255,255,0.28); }
.form-card-wrap select { color: rgba(255,255,255,0.55); }
.form-card-wrap select option { background: #0A1628; color: var(--white); }
.form-card-wrap input:focus,
.form-card-wrap select:focus,
.form-card-wrap textarea:focus {
  border-color: rgba(0,61,165,0.7);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(0,61,165,0.15);
}
.form-card-wrap textarea { resize: none; min-height: 78px; }
.form-submit-btn {
  width: 100%; padding: 16px;
  border-radius: 10px;
  background: var(--remax-red); color: var(--white);
  border: none; cursor: pointer; font-family: var(--font-body);
  font-size: 15px; font-weight: 700; letter-spacing: .02em;
  transition: background .2s, transform .15s;
}
.form-submit-btn:hover { background: var(--remax-red-dark); transform: translateY(-1px); }
.form-card-footer {
  margin-top: 16px; font-size: 12px;
  color: rgba(255,255,255,0.25);
  text-align: center; line-height: 1.6;
}
.footer-social a:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); }
ul.social-wrapper {display: flex;flex-wrap: wrap;list-style: none;padding: 0;margin: 0;gap: 15px;}
.social-icon {position: relative;display: flex;align-items: center;justify-content: center;width: 45px;height: 45px;border-radius: 6%;background-color: rgba(255, 255, 255, 0.1);color: var(--text);font-size: 20px;transition: all 0.3s ease;}
.social-icon .tooltip {position: absolute;bottom: 120%;left: 50%;transform: translateX(-50%);background: #fff;color: #000;padding: 5px 10px;border-radius: 5px;font-size: 14px;font-weight: 600;opacity: 0;visibility: hidden;transition: all 0.3s ease;white-space: nowrap;}
.social-icon:hover .tooltip {opacity: 1;visibility: visible;bottom: 140%;}
.social-icon:hover {transform: translateY(-3px);}
li.social-icon.facebook:hover { background: #3b5998; }
li.social-icon.instagram:hover { background: #e1306c; }
li.social-icon.envelope:hover { background: #aaaaaa; }
li.social-icon.youtube:hover { background: #ff0000; }
li.social-icon.linkedin:hover { background: #0077b5; }
.footer-disclaimer {text-align: center;padding: 30px 0;border-top: 1px solid rgba(234, 240, 255, 0.1);font-size: 0.8rem;line-height: 1.6;}
/* ========== FLOATING CTA ========== */
.floating-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  display: flex; gap: 12px;
}
.float-btn {
  padding: 14px 28px; border-radius: 50px;
  font-weight: 700; font-size: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: all 0.2s; border: none; cursor: pointer;
}
.float-btn-red { background: var(--remax-red); color: var(--white); }
.float-btn-red:hover { background: var(--remax-red-dark); transform: translateY(-2px); }
.float-btn-green { background: #25D366; color: var(--white); border-radius: 50%; width: 56px; height: 56px; padding: 0; font-size: 24px; display: flex; align-items: center; justify-content: center; }
#Eligibility-form.city-prefilled {
  animation: cityPrefillFlash 1.6s ease-out 1;
  border-radius: 10px;
}
@keyframes cityPrefillFlash {
  0%   { box-shadow: 0 0 0 0 rgba(220,38,38,0); }
  30%  { box-shadow: 0 0 0 6px rgba(220,38,38,0.35); }
  100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); }
}
@media (max-width: 1024px) {.footer-grid { grid-template-columns: 1fr 1fr; }}

@media (max-width: 768px) {
  .mobile-toggle {display: block;z-index: 1000;background: none;border: none;cursor: pointer;}
  .mobile-toggle span {display: block;width: 26px;height: 2px;background: #fff;margin: 6px 0;transition: 0.3s;}
  /* X Animation */
  .mobile-toggle.active span:nth-child(1) {transform: rotate(45deg) translate(6px, 6px);}
  .mobile-toggle.active span:nth-child(2) {opacity: 0;}
  .mobile-toggle.active span:nth-child(3) {transform: rotate(-45deg) translate(6px, -6px);}
  .nav-logo img {height: 25px;}
  .nav-links {position: fixed;top: 0;right: 0;height: 100vh;width: 100%;background: #0A1628;display: flex;flex-direction: column;justify-content: center;align-items: center;gap: 30px;transform: translateX(100%);transition: transform 0.4s ease;z-index: 999;}
  .nav-links.mobile-open {transform: translateX(0);}
.nav-links a {font-size: 20px;font-weight: 600;color: #fff;}
  body.menu-open {overflow: hidden;}
  .section-final-cta h2 {font-size: clamp(29px, 4.5vw, 56px);} .form-section-remax {padding-top: 30px;} .form-tags-wrap {display: none;}.section-final-cta {padding: var(--section-pad) 0 50px} 
  .form-inner-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-field-row { grid-template-columns: 1fr; }
  .form-card-wrap { padding: 28px 20px; }
  .problem-bottom p { font-size: 30px;}
  .section-header-center p {font-size: 15px;}
  .solution-columns { margin-bottom: 25px;}
  .developer-logos h4 {font-size: 19px;}.territory-content {gap: 3px;} .Journeycta-row { margin: 50px 0 20px 0;}
   .footer-grid { grid-template-columns: 1fr; }
  .form-container { padding: 32px 24px; }
   .floating-cta { bottom: 16px; right: 16px; }
}

