/* styles.css - Main stylesheet for HELOC lead generation website */

/* CSS Reset and Base Styles */
:root {
  --primary: #1a73e8;
  --secondary: #34a853;
  --accent: #f9ab00;
  --light-bg: #f8f9fa;
  --dark-text: #202124;
  --light-text: #ffffff;
  --border-radius: 15px;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--light-bg);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #0d47a1;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

/* phnxa form styles phonexa */
#onFormPage0 {
  border: none !important;
}



/* Header Styles */
.header {
  background-color: white;
  box-shadow: var(--box-shadow);
  padding: 0 0;
  position: sticky;
  top: 0;
  z-index: 100;
  margin-bottom: 0px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo img {
  height: 70px;
  align-items: center;
  margin-top: 5px;
  margin-bottom: -5px;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  color: var(--dark-text);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn.btn-primary.cta-top-right {
  color: white;
  font-weight: 700;
}

.btn-primary:hover {
  background-color: #0d47a1;
  color: white;
}

.btn-secondary {
/*   background-color: var(--secondary); */
  background-color: none;
  color: gray;
}

.btn-secondary:hover {
  background-color: darkgray;
  color: white;
}

.btn-accent {
  background-color: var(--accent);
  color: white;
}

.btn-accent:hover {
  background-color: #e69500;
  color: white;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Features Section */
.features {
  padding: 4rem 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* How It Works Section */
.how-it-works {
  padding: 4rem 0;
  background-color: var(--light-bg);
}

.steps {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.step:not(:last-child):after {
  content: '';
  position: absolute;
  top: 2.5rem;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background-color: var(--primary);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

/* Use Cases Section */
.use-cases {
  padding: 4rem 0;
  background-color: white;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.use-case-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.use-case-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.use-case-content {
  padding: 1.5rem;
}

/* Comparison Table */
.comparison {
  padding: 4rem 0;
  background-color: var(--light-bg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  box-shadow: var(--box-shadow);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: center;
  border: 1px solid #ddd;
}

.comparison-table th {
  background-color: var(--primary);
  color: white;
}

.comparison-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.check-icon {
  color: var(--secondary);
  font-size: 1.5rem;
}

.x-icon {
  color: #e53935;
  font-size: 1.5rem;
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 0;
  background-color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
}

.author-info h4 {
  margin-bottom: 0.25rem;
}

.author-info p {
  color: #666;
  margin-bottom: 0;
}

/* FAQ Section */
.faq {
  padding: 4rem 0;
  background-color: var(--light-bg);
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.faq-question {
  padding: 1rem;
  background-color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #f9f9f9;
}

.faq-answer.active {
  padding: 1rem;
  max-height: 500px;
}

/* CTA Section */
.cta {
  padding: 4rem 0;
  background-color: var(--primary);
  color: white;
  text-align: center;
}

.cta h2 {
  margin-bottom: 1.5rem;
}

.cta p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.cta-top-right {
  color:#ccc
}
/* Form Styles */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 1rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

.form-text {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #666;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.form-check-input {
  margin-right: 0.5rem;
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
}

.trust-indicator {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #b1b1b1;
}

.trust-indicator i {
  margin-right: 0.5rem;
  color: var(--primary);
}

/* Footer */
.footer {
  background-color: #333;
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #ccc;
}

/* Multi-step Form */
.form-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.form-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.form-step:not(:last-child):after {
  content: '';
  position: absolute;
  top: 1rem;
  right: -50%;
  width: 100%;
  height: 2px;
  background-color: #ddd;
  z-index: 1;
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #ddd;
  color: #666;
  margin: 0 auto 0.5rem;
  position: relative;
  z-index: 2;
}

.form-step.active .step-indicator {
  background-color: var(--primary);
  color: white;
}

.form-step.completed .step-indicator {
  background-color: var(--secondary);
  color: white;
}

.form-step.completed:after {
  background-color: var(--secondary);
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

/* Range Slider */
.range-slider {
  width: 100%;
  margin: 1rem 0;
}

.range-slider-value {
  text-align: center;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Media Queries */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .step {
    margin-bottom: 2rem;
  }
  
  .step:not(:last-child):after {
    display: none;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: var(--box-shadow);
    padding: 1rem;
  }
  
  .mobile-menu-open .nav-links li {
    margin: 0.5rem 0;
  }
}

@media (max-width: 576px) {
  .btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .form-steps {
    flex-direction: column;
  }
  
  .form-step {
    margin-bottom: 1rem;
  }
  
  .form-step:not(:last-child):after {
    display: none;
  }
}
