/* Modern CSS Reset and Base Styles */
* {
  box-sizing: border-box;
}

/* body, html {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.6;
  color: #333;
  height: 100%;
  background: #f8fafc;
} */

/* Global heading styles */
.sub-heading, h1, h2, h2 a, h3, h4, h5, h6 {
  font-family: Sandena-Medium, Helvetica, Arial, Lucida Grande, sans-serif;
  text-rendering: optimizeLegibility;
  font-smooth: always;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

.wizard {
  display: flex;
  min-height: 100vh;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* LEFT HERO SECTION */
.wizard-hero {
  width: 50%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(168, 85, 247, 0.8)), 
              url('https://cloud.famproperties.com/project/large/-583555-161552.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  color: white;
  position: relative;
}

.wizard-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.wizard-headings {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 500px;
}

.wizard-headings h2 {
  font-size: 72px;
  line-height: 82px;
  color: #fff;
  text-align: left;
  font-weight: 400;
  font-family: Sandena-Medium, Helvetica, Arial, Lucida Grande, sans-serif;
  text-rendering: optimizeLegibility;
  font-smooth: always;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  margin: 0 0 20px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.wizard-headings p {
  font-size: 1.2rem;
  margin: 0;
  opacity: 0.95;
  font-weight: 300;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* RIGHT FORM SECTION */
.wizard-steps {
  width: 50%;
  padding: 60px 50px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* PAGINATION */
.wizard .pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  list-style: none;
  padding: 0;
}

.wizard .pagination li {
  width: 40px;
  height: 8px;
  background: #e2e8f0;
  border-radius: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.wizard .pagination li.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  width: 60px;
}

/* STEP NAVIGATION ARROWS */
.step-navigation {
  display: none; /* Hidden by default, shown via JavaScript */
  justify-content: space-between;
  margin-bottom: 30px;
  padding: 0;
}

.nav-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-arrow:hover {
  background: white;
  border-color: #667eea;
  color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -4px rgba(102, 126, 234, 0.3);
}

.nav-arrow:active {
  transform: translateY(0);
}

.nav-arrow svg {
  transition: all 0.2s ease;
}

.nav-arrow:hover svg {
  transform: scale(1.1);
}

.nav-prev {
  margin-left: 20px;
}

.nav-next {
  margin-right: 20px;
}

/* STEP CONTAINER */
.step {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.step.active {
  display: block;
}

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

/* STEP TITLES */
.step-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #1a202c;
  text-align: center;
  line-height: 1.3;
}

/* CHOICE BUTTONS */
.choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin: 30px 0 40px 0;
}

.choice {
  cursor: pointer;
  padding: 24px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.choice:hover {
  border-color: #cbd5e0;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.choice.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(102, 126, 234, 0.4);
}

.choice-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px auto;
  background: #f7fafc;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.choice.selected .choice-icon {
  background: rgba(255, 255, 255, 0.2);
}

.choice span {
  font-weight: 500;
  font-size: 1.1rem;
}

/* ICON STYLES */
.choice-icon.buying::before { content: '🏠'; }
.choice-icon.selling::before { content: '💰'; }
.choice-icon.renting::before { content: '🔑'; }

/* PILL BUTTONS */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 40px 0;
  justify-content: center;
}

.pill {
  padding: 12px 24px;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  background: white;
  font-size: 0.95rem;
}

.pill:hover {
  border-color: #cbd5e0;
  transform: translateY(-1px);
}

.pill.selected {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -2px rgba(102, 126, 234, 0.3);
}

/* FORM GROUPS */
.form-group {
  margin: 20px 0;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #4a5568;
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  outline: none;
  box-sizing: border-box;
}

.form-group input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group.error input {
  border-color: #e53e3e;
}

.form-group.error .error {
  display: block;
}

.form-group.success input {
  border-color: #38a169;
  background: #f0fff4;
}

/* PHONE INPUT WITH COUNTRY CODE */
.phone-input-container {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.country-selector {
  position: relative;
  flex-shrink: 0;
}

.selected-country {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  min-width: 120px;
}

.selected-country:hover {
  border-color: #667eea;
}

.selected-country .flag {
  font-size: 1.2rem;
}

.selected-country .code {
  font-weight: 500;
  color: #4a5568;
}

.selected-country .arrow {
  font-size: 0.8rem;
  color: #a0aec0;
  margin-left: auto;
  transition: transform 0.2s ease;
}

.country-selector.open .selected-country .arrow {
  transform: rotate(180deg);
}

.country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  max-height: 320px;
  overflow: hidden;
  z-index: 1000;
  margin-top: 4px;
  display: none;
  flex-direction: column;
}

.country-selector.open .country-dropdown {
  display: flex;
}

/* Search input wrapper */
.country-search-wrapper {
  position: relative;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 12px 12px 0 0;
  flex-shrink: 0;
}

.country-search-wrapper .search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.country-search {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.country-search:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.country-search::placeholder {
  color: #a0aec0;
}

/* Scrollable options list */
.country-options-list {
  overflow-y: auto;
  max-height: 260px;
  overscroll-behavior: contain;
}

.country-options-list::-webkit-scrollbar {
  width: 6px;
}

.country-options-list::-webkit-scrollbar-track {
  background: transparent;
}

.country-options-list::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 3px;
}

.country-options-list::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}

/* Group labels */
.country-group-label {
  padding: 8px 15px 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #667eea;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1;
}

.country-group-label:first-child {
  border-top: none;
}

/* No results */
.no-results {
  padding: 20px 15px;
  text-align: center;
  color: #a0aec0;
  font-size: 0.9rem;
}

.no-results.hidden {
  display: none;
}

.country-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f7fafc;
}

.country-option:last-child {
  border-bottom: none;
}

.country-option:hover {
  background: #eef2ff;
}

.country-option.highlighted {
  background: #eef2ff;
}

.country-option .flag {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.country-option .name {
  font-size: 0.9rem;
  color: #2d3748;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-option .dial-code {
  font-size: 0.85rem;
  color: #718096;
  font-weight: 500;
  flex-shrink: 0;
  margin-left: auto;
}

.phone-input-container input {
  flex: 1;
  margin: 0;
}

/* PRICE RANGE SLIDER */
.price-range-container {
  margin: 30px 0 40px 0;
  padding: 32px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.price-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 20px;
  margin-bottom: 36px;
}

.input-group {
  width: 100%;
}

.input-group label {
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
  color: #1e293b;
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.price-input-wrapper {
  position: relative;
  background: white;
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.price-input-wrapper:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.price-input-wrapper:focus-within {
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.price-input-wrapper input {
  width: 100%;
  padding: 20px 70px 20px 20px;
  border: none;
  border-radius: 16px;
  font-size: 1.35rem;
  font-weight: 700;
  outline: none;
  background: transparent;
  color: #1e293b;
  letter-spacing: 0.5px;
}

.price-input-wrapper input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.currency {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #667eea;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
  padding: 8px 12px;
  border-radius: 8px;
}

.range-separator {
  font-weight: 700;
  color: #64748b;
  text-align: center;
  padding-bottom: 20px;
  font-size: 1.1rem;
}

.slider-section {
  margin-top: 24px;
  padding: 0 8px;
}

.range-slider {
  position: relative;
  height: 48px;
  margin: 24px 0 16px;
}

.range-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(to right, #e2e8f0, #cbd5e1);
  border-radius: 5px;
  transform: translateY(-50%);
}

.range-fill {
  position: absolute;
  top: 50%;
  height: 10px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 5px;
  transform: translateY(-50%);
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.range-input {
  position: absolute;
  top: 0;
  width: 100%;
  height: 48px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  touch-action: pan-x;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 28px;
  width: 28px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 3px solid #667eea;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.35), 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.range-input::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45), 0 3px 6px rgba(0, 0, 0, 0.12);
  border-color: #5a67d8;
  background: #ffffff;
}

.range-input::-webkit-slider-thumb:active {
  transform: scale(1.12);
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.5);
}

.range-input::-moz-range-thumb {
  height: 28px;
  width: 28px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 3px solid #667eea;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.35), 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.range-input::-moz-range-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45);
}

.range-input::-moz-range-track {
  background: transparent;
  border: none;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 12px;
  padding: 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.input-icon {
  position: relative;
}

.input-icon input,
input[type="text"],
input[type="email"], 
input[type="tel"] {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  outline: none;
}

.input-icon input {
  padding-right: 50px;
}

.input-icon input:focus,
input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-icon .clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.4rem;
  color: #a0aec0;
  transition: color 0.2s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f7fafc;
}

.input-icon .clear:hover {
  color: #e53e3e;
  background: #fed7d7;
}

/* BUTTONS */
.btn-w {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 30px auto 0 auto;
  display: block;
  box-shadow: 0 4px 12px -2px rgba(102, 126, 234, 0.3);
}

.btn-w:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(102, 126, 234, 0.4);
}

.btn-w:active {
  transform: translateY(0);
}

.btn-w.back {
  background: #f8fafc;
  color: #64748b;
  border: 2px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-w.back:hover {
  background: white;
  color: #667eea;
  border-color: #667eea;
  box-shadow: 0 4px 12px -2px rgba(102, 126, 234, 0.2);
}

.button-group {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.button-group .btn-w {
  flex: 1;
  margin: 0;
}

/* ERROR MESSAGES */
.error {
  color: #e53e3e;
  font-size: 0.9rem;
  margin-top: 8px;
  font-weight: 500;
}

.hidden {
  display: none;
}

/* THANK YOU PAGE */
.thankyou {
  text-align: center;
  padding: 60px 40px;
}

.thankyou h2 {
  font-size: 2.5rem;
  margin: 0 0 20px 0;
  color: #1a202c;
  font-weight: 700;
}

.thankyou p {
  font-size: 1.2rem;
  color: #718096;
  margin: 0 0 30px 0;
  line-height: 1.6;
}

/* MODAL STYLES */
.modal-boxx {
  display: none;
  position: fixed;
  /* z-index: 1000; */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  
}

.modal-custom {
  max-width: 1755px !important;
}

/* Wizard Modal Width Override */
.callback-modal .modal-dialog.modal-xl {
  max-width: 720px;
  width: 95%;
}

.callback-modal .modal-content {
  border-radius: 20px;
  overflow: hidden;
}

body.modal-open .modal-boxx {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 95%;
  max-width: 1755px;
  border-radius: 16px;
  position: relative;
}

.close-btn {
  color: #aaa;
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1100;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

body.modal-open .wizard {
  min-height: auto;
}

/* HIDE HERO IN MODAL & STABILIZE LAYOUT */
.callback-modal .wizard {
  min-height: auto;
}

.callback-modal .wizard-hero {
  display: none;
}

.callback-modal .wizard-steps {
  width: 100%;
  height: 420px;
  padding: 25px 35px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.callback-modal .step {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.callback-modal .step.active {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

/* Center content vertically for shorter form steps */
.callback-modal .step-3.active,
.callback-modal .step-4.active,
.callback-modal .step-5.active {
  justify-content: center;
}

.callback-modal .btn-w {
  margin-top: 20px;
  flex-shrink: 0;
}

.callback-modal .pagination {
  flex-shrink: 0;
  margin-bottom: 12px;
}

.callback-modal .thankyou {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* COMPACT PRICE RANGE FOR MODAL */
.callback-modal .price-range-container {
  margin: 8px 0 10px 0;
  padding: 12px 14px;
  border-radius: 12px;
}

.callback-modal .price-inputs {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}

.callback-modal .price-inputs .input-group {
  flex: 1;
}

.callback-modal .price-inputs .input-group label {
  font-size: 0.7rem;
  margin-bottom: 3px;
  font-weight: 600;
}

.callback-modal .price-input-wrapper input {
  padding: 8px 45px 8px 10px;
  font-size: 0.95rem;
}

.callback-modal .price-input-wrapper {
  border-radius: 8px;
  border-width: 1px;
}

.callback-modal .currency {
  font-size: 0.65rem;
  padding: 3px 5px;
  right: 6px;
}

.callback-modal .range-separator {
  padding: 12px 6px 0 6px;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.callback-modal .slider-section {
  margin-top: 6px;
  padding: 0;
}

.callback-modal .range-slider {
  height: 28px;
  margin: 4px 0 4px;
}

.callback-modal .range-labels {
  font-size: 0.6rem;
  margin-top: 2px;
}

.callback-modal .range-input {
  height: 28px;
}

.callback-modal .range-input::-webkit-slider-thumb {
  height: 18px;
  width: 18px;
  border-width: 2px;
}

.callback-modal .range-input::-moz-range-thumb {
  height: 18px;
  width: 18px;
}

.callback-modal .range-track,
.callback-modal .range-fill {
  height: 5px;
}

.callback-modal .step-2 .btn-w {
  margin-top: 10px;
}

.callback-modal .step-2 .error {
  margin-top: 2px;
  font-size: 0.8rem;
}

.callback-modal .step-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  text-align: center;
}

.callback-modal .step-2 .step-title {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.callback-modal .pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 15px 0 15px 0;
  justify-content: center;
}

.callback-modal .pill {
  padding: 12px 10px;
  font-size: 0.9rem;
  text-align: center;
  white-space: nowrap;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .wizard-headings h2 {
    font-size: 56px;
    line-height: 64px;
  }
  
  .wizard-steps {
    padding: 50px 40px;
  }
}

@media (max-width: 768px) {
  .wizard {
    flex-direction: column;
  }
  
  .wizard-hero,
  .wizard-steps {
    width: 100%;
  }
  
  .wizard-hero {
    min-height: 50vh;
    padding: 40px 30px;
    align-items: flex-start;
    justify-content: center;
  }
  
  .wizard-headings {
    max-width: 100%;
    text-align: left;
  }
  
  .wizard-headings h2 {
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 16px;
  }
  
  .wizard-headings p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
  
  .wizard-steps {
    padding: 40px 30px;
  }
  
  .step-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }
  
  .choices {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 25px 0 35px 0;
  }
  
  .choice {
    padding: 20px 16px;
    min-height: 100px;
  }
  
  .pills {
    justify-content: flex-start;
    gap: 10px;
    margin: 25px 0 35px 0;
  }
  
  .pill {
    padding: 14px 20px;
    font-size: 1rem;
  }
  
  .price-range-container {
    margin: 25px 0 35px 0;
    padding: 24px;
    border-radius: 20px;
  }
  
  .price-inputs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
  }
  
  .input-group {
    width: 100%;
  }

  .input-group label {
    font-size: 0.95rem;
    margin-bottom: 10px;
    font-weight: 700;
  }

  .price-input-wrapper {
    border-radius: 14px;
  }

  .price-input-wrapper input {
    padding: 18px 65px 18px 18px;
    font-size: 1.25rem;
    font-weight: 700;
  }

  .currency {
    font-size: 0.9rem;
    padding: 6px 10px;
    right: 14px;
  }

  .range-separator {
    text-align: center;
    padding: 8px 0;
    font-size: 1rem;
    font-weight: 700;
  }

  .slider-section {
    margin-top: 20px;
    padding: 0 4px;
  }

  .range-slider {
    height: 56px;
    margin: 20px 0 12px;
  }

  .range-input {
    height: 56px;
  }

  .range-input::-webkit-slider-thumb {
    height: 32px;
    width: 32px;
    border-width: 3px;
  }

  .range-input::-moz-range-thumb {
    height: 32px;
    width: 32px;
  }

  .range-labels {
    font-size: 0.7rem;
  }
  
  .price-display {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .price-value {
    padding: 12px 16px;
    min-width: auto;
  }
  
  .pagination {
    margin-bottom: 35px;
  }
  
  .pagination li {
    width: 35px;
    height: 6px;
  }
  
  .pagination li.active {
    width: 50px;
  }

  .button-group {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .wizard-hero {
    padding: 30px 20px;
    min-height: 45vh;
  }
  
  .wizard-headings h2 {
    font-size: 36px;
    line-height: 42px;
  }
  
  .wizard-headings p {
    font-size: 1rem;
  }
  
  .wizard-steps {
    padding: 30px 20px;
  }
  
  .step-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
  
  .choices {
    margin: 20px 0 30px 0;
  }
  
  .choice {
    padding: 18px 14px;
    min-height: 90px;
  }
  
  .choice-icon {
    width: 40px;
    height: 40px;
  }
  
  .pills {
    margin: 20px 0 30px 0;
  }
  
  .pill {
    padding: 12px 18px;
    font-size: 0.95rem;
  }
  
  .price-range-container {
    margin: 20px 0 30px 0;
    padding: 20px;
    border-radius: 18px;
  }
  
  .price-inputs {
    gap: 14px;
    margin-bottom: 24px;
  }

  .input-group label {
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 700;
  }
  
  .price-input-wrapper input {
    padding: 16px 60px 16px 16px;
    font-size: 1.15rem;
    font-weight: 700;
  }

  .price-input-wrapper {
    border-radius: 14px;
  }

  .currency {
    font-size: 0.85rem;
    padding: 6px 10px;
    right: 12px;
  }

  .range-separator {
    padding: 6px 0;
    font-size: 0.95rem;
  }

  .slider-section {
    margin-top: 16px;
    padding: 0;
  }

  .range-slider {
    height: 60px;
    margin: 16px 0 10px;
  }

  .range-track,
  .range-fill {
    height: 12px;
    border-radius: 6px;
  }

  .range-input {
    height: 60px;
  }

  .range-input::-webkit-slider-thumb {
    height: 36px;
    width: 36px;
    border-width: 4px;
  }

  .range-input::-moz-range-thumb {
    height: 36px;
    width: 36px;
    border-width: 4px;
  }
  
  .range-labels {
    font-size: 0.65rem;
    margin-top: 8px;
  }
  
  .price-display {
    margin-bottom: 15px;
  }
  
  .price-value {
    padding: 10px 14px;
  }
  
  .price-amount {
    font-size: 1rem;
  }
  
  .btn {
    padding: 14px 28px;
    font-size: 1rem;
    margin: 25px 0 0 0;
  }
  
  .form-group {
    margin: 18px 0;
  }
  
  .input-icon input,
  input[type="text"],
  input[type="email"], 
  input[type="tel"] {
    padding: 14px 18px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .input-icon input {
    padding-right: 45px;
  }
  
  .pagination {
    margin-bottom: 30px;
  }
  
  .pagination li {
    width: 30px;
    height: 5px;
  }
  
  .pagination li.active {
    width: 40px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
  .thankyou {
    padding: 40px 20px;
  }
  
  .thankyou h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .thankyou p {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }
}

/* CALLBACK MODAL RESPONSIVE */
@media (max-width: 768px) {
  .callback-modal .wizard-steps {
    padding: 20px 18px 18px;
    height: 380px;
    max-height: 75dvh;
  }
  
  .callback-modal .modal-dialog.modal-xl {
    max-width: 95%;
    margin: 10px auto;
  }
  
  .callback-modal .pagination {
    margin-bottom: 10px;
  }
  
  .callback-modal .pagination li {
    width: 28px;
    height: 5px;
  }
  
  .callback-modal .pagination li.active {
    width: 38px;
  }
  
  .callback-modal .pills {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 10px 0;
  }
  
  .callback-modal .pill {
    padding: 8px 6px;
    font-size: 0.8rem;
  }
  
  /* Keep price inputs horizontal on mobile */
  .callback-modal .price-inputs {
    flex-direction: row;
    gap: 6px;
  }
  
  .callback-modal .price-inputs .input-group label {
    font-size: 0.65rem;
  }
  
  .callback-modal .price-input-wrapper input {
    padding: 7px 38px 7px 8px;
    font-size: 0.85rem;
  }
  
  .callback-modal .currency {
    font-size: 0.55rem;
    padding: 2px 4px;
    right: 4px;
  }
  
  .callback-modal .range-separator {
    padding: 10px 4px 0 4px;
    font-size: 0.75rem;
  }
  
  .callback-modal .price-range-container {
    margin: 6px 0 8px 0;
    padding: 10px 12px;
  }
  
  .callback-modal .slider-section {
    margin-top: 4px;
  }
  
  .callback-modal .range-slider {
    height: 24px;
    margin: 4px 0;
  }
  
  .callback-modal .range-input {
    height: 24px;
  }
  
  .callback-modal .range-labels {
    font-size: 0.55rem;
  }
  
  .callback-modal .step-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .callback-modal .step-2 .step-title {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }
  
  .callback-modal .btn-w {
    margin-top: 12px;
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
  .callback-modal .step-2 .btn-w {
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .callback-modal .wizard-steps {
    padding: 18px 14px 15px;
    height: 360px;
    max-height: 70dvh;
  }
  
  .callback-modal .pagination {
    margin-bottom: 8px;
  }
  
  .callback-modal .pagination li {
    width: 24px;
    height: 4px;
  }
  
  .callback-modal .pagination li.active {
    width: 32px;
  }
  
  .callback-modal .pills {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin: 8px 0;
  }
  
  .callback-modal .pill {
    padding: 7px 4px;
    font-size: 0.75rem;
  }
  
  .callback-modal .step-title {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }
  
  .callback-modal .step-2 .step-title {
    font-size: 1rem;
  }
  
  .callback-modal .price-inputs .input-group label {
    font-size: 0.6rem;
    margin-bottom: 2px;
  }
  
  .callback-modal .price-input-wrapper input {
    padding: 6px 32px 6px 6px;
    font-size: 0.8rem;
  }
  
  .callback-modal .currency {
    font-size: 0.5rem;
    padding: 2px 3px;
  }
  
  .callback-modal .range-separator {
    font-size: 0.7rem;
    padding: 8px 3px 0 3px;
  }
  
  .callback-modal .price-range-container {
    margin: 5px 0 6px 0;
    padding: 8px 10px;
  }
  
  .callback-modal .range-labels {
    font-size: 0.5rem;
  }
  
  .callback-modal .btn-w {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .callback-modal .step-2 .btn-w {
    margin-top: 6px;
  }
  
  .callback-modal .form-group {
    margin: 12px 0;
  }
  
  .callback-modal .form-group input {
    padding: 12px 14px;
    font-size: 16px;
  }
}