.hero-section {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

:root {
  --primary-color: #a32919;
  --secondary-color: #100f0f;
  --text-color: #ffffff;
  --light-gray: #a9a9a9;
  --dark-gray: #464646;
}

.quote-form-container {
  width: 700px;
  position: relative;
  z-index: 1;
  margin: auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quote-form h3 {
  color: white;
  margin: 0 0 20px 0;
  font-size: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.quote-form h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), #ff6b4a);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: white;
  font-size: 0.95rem;
}

.form-group label span {
  color: var(--primary-color);
}


.form-group input,
.form-group select,
.form-group textarea {
  width: 90%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(163, 41, 25, 0.3);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group select option {
  background: #333;
  color: white;
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
}

.checkbox-group label {
  margin: 0;
}

.submit-btn {
  background: linear-gradient(90deg, var(--primary-color), #ff6b4a);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(163, 41, 25, 0.4);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.quote-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  min-height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.quote-content {
  height: auto;
  width: 100%;
  padding: 0 20px;
  max-width: 600px;
  text-align: center;
  color: white;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 320px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.quote-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary-color), #ff6b4a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quote-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.8);
}

.quote-steps {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin: 40px 0;
}

.quote-step {
  flex: 1;
  text-align: center;
  padding: 20px;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--primary-color), #ff6b4a);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 15px;
}

.step-content h4 {
  color: white;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.step-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

.quote-cta {
  margin-top: 30px;
}

.cta-button {
  background: linear-gradient(90deg, var(--primary-color), #ff6b4a);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(163, 41, 25, 0.4);
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 20px;
  background: #1a1a1a;
  text-align: center;
}

.testimonials-section h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 50px;
  background: linear-gradient(90deg, var(--primary-color), #ff6b4a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
}

.testimonial.active {
  display: block;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
}

.user-info h4 {
  color: white;
  margin: 0 0 5px 0;
  font-size: 1.2rem;
}

.user-location {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 10px 0;
  font-size: 0.9rem;
}

.rating {
  color: #ffd700;
}

.quote-icon {
  float: right;
  color: var(--primary-color);
  font-size: 2rem;
}

.quote {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 20px 0;
  font-style: italic;
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-date {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.social-proof {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.testimonial-dot.active {
  background: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .quote-section {
    padding: 60px 20px;
    height: auto;
    flex-direction: column;
  }

  .quote-content h2 {
    font-size: 2rem;
  }

  .quote-content p {
    font-size: 1rem;
  }

  .quote-steps {
    flex-direction: column;
    gap: 20px;
  }

  .quote-form-container {
    width: 90%;
    padding: 20px;
  }

  .testimonials-section {
    padding: 60px 20px;
  }

  .testimonials-section h2 {
    font-size: 2rem;
  }

  .testimonial {
    padding: 20px;
  }

  .testimonial-header {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .quote-form h3 {
    font-size: 1.3rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 12px;
    width: 95%;
  }

  .submit-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .quote-content h2 {
    font-size: 1.8rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .testimonial-header {
    gap: 10px;
  }

  .user-avatar {
    width: 50px;
    height: 50px;
  }
}