:root {
  --primary-gray: #545454;
  --dark-bg: #1a1a1a;
  --light-gray: #f8f9fa;
  --text-gray: #6c757d;
  --border-color: #e0e0e0;
}

body {
  background: linear-gradient(135deg, #e8eef3 0%, #d4dce5 100%);
  min-height: 100vh;
  padding: 40px 20px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

.form-container {
  max-width: 1200px;
  margin: 0 auto;
  /* background: white; */
  background: #f9f9f9;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.form-section {
  padding: 50px 40px;
  position: relative;
}

/* Logo Styles */
.logo-container {
  text-align: center;
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 2px solid #e0e0e0;
}

.logo-container img {
  max-width: 180px;
  height: auto;
  display: inline-block;
}

.image-section {
  /* background: linear-gradient(135deg, #c5d5c8 0%, #b8c9bb 100%); */
  background: linear-gradient(135deg, #a29586 0%, #736759 100%);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.image-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  /* background: rgba(123, 168, 79, 0.1); */
  background: rgb(161 139 113 / 76%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.image-logo {
  position: absolute;
  top: 30px;
  left: 40px;
  z-index: 2;
}

.image-logo img {
  max-width: 120px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.decorative-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.stats-badge {
  background: white;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stats-badge h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-gray);
  margin: 0;
}

.stats-badge p {
  margin: 5px 0 0 0;
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Progress Indicator */
.progress-container {
  margin-bottom: 30px;
}

.progress-bar-custom {
  height: 6px;
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-gray) 0%, #393737 100%);
  transition: width 0.4s ease;
  border-radius: 10px;
}

.step-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-gray);
}

.step-number {
  font-weight: 600;
  color: var(--primary-gray);
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 10px;
}

.step-title {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 30px;
}

.form-step {
  display: none;
  animation: fadeInRight 0.4s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-label {
  font-weight: 600;
  color: var(--dark-bg);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.required {
  color: #dc3545;
}

.form-control,
.form-select {
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-gray);
  /* box-shadow: 0 0 0 0.2rem rgba(123, 168, 79, 0.15); */
  box-shadow: 0 0 0 0.2rem rgb(201 201 201 / 86%);
}

.form-check {
  padding: 10px 0;
}

.form-check-input {
  width: 20px;
  height: 20px;
  margin-top: 0.125em;
  border: 2px solid var(--border-color);
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary-gray);
  border-color: var(--primary-gray);
}

.form-check-label {
  cursor: pointer;
  margin-left: 8px;
  font-size: 0.95rem;
  color: #333;
}

.question-group {
  margin-bottom: 25px;
}

.help-text {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-top: 5px;
  font-style: italic;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.button-group {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.btn-custom {
  flex: 1;
  border: none;
  border-radius: 8px;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-next,
.btn-submit {
  background-color: var(--dark-bg);
  color: white;
}

.btn-next:hover,
.btn-submit:hover {
  background-color: #2a2a2a;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-prev {
  background-color: #f0f0f0;
  color: #333;
}

.btn-prev:hover {
  background-color: #e0e0e0;
}

.conditional-field {
  margin-top: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid var(--primary-gray);
}

.phone-input-group {
  display: flex;
  gap: 10px;
}

.country-code {
  flex: 0 0 100px;
}

.phone-number {
  flex: 1;
}

/* Two column layout for some options */
.checkbox-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

@media (max-width: 991px) {
  .form-wrapper {
    grid-template-columns: 1fr;
  }

  .image-section {
    display: none;
  }

  .form-section {
    padding: 40px 30px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .checkbox-grid-2col {
    grid-template-columns: 1fr;
  }

  .logo-container img {
    max-width: 150px;
  }
}

@media (max-width: 576px) {
  body {
    padding: 20px 10px;
  }

  .form-section {
    padding: 30px 20px;
  }

  .phone-input-group {
    flex-direction: column;
  }

  .country-code {
    flex: 1;
  }

  .button-group {
    flex-direction: column;
  }

  .logo-container img {
    max-width: 130px;
  }

  .image-logo img {
    max-width: 90px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-container {
  animation: fadeInUp 0.6s ease;
}
