/* Hero Section */
.hero {
  padding: 5rem 0;
  background-color: var(--background-light);
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--background-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

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

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

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-light);
  border-radius: 50%;
}

.feature-icon img {
  width: 35px;
  height: 35px;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
}

.features-cta {
  text-align: center;
}

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

.steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

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

.step-content h3 {
  margin-bottom: 0.5rem;
}

.step-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.how-it-works-cta {
  text-align: center;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: var(--background-white);
}

.testimonials-slider {
  display: flex;
  gap: 2rem;
  overflow-x: hidden;
  margin-bottom: 2rem;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1.33rem);
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

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

.testimonial-content p {
  font-style: italic;
  position: relative;
}

.testimonial-content p::before {
  content: '"';
  font-size: 3rem;
  color: rgba(0, 150, 136, 0.2);
  position: absolute;
  top: -1.5rem;
  left: -1rem;
}

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

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

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

.author-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.prev-btn,
.next-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--background-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
  background-color: var(--secondary-color);
}

.prev-btn::before,
.next-btn::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--text-color);
  border-right: 2px solid var(--text-color);
  display: block;
}

.prev-btn::before {
  transform: rotate(-135deg);
}

.next-btn::before {
  transform: rotate(45deg);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dots::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  display: block;
}

.testimonial-dots::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-color);
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-slider {
    flex-direction: column;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }
}

@media (max-width: 768px) {
  .step {
    grid-template-columns: 1fr;
  }

  .step-number {
    margin: 0 auto;
  }

  .step-content {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

