/* Home-specific Styles */

/* Hero Section */
.hero {
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, var(--color-primary-100) 0%, transparent 50%);
  opacity: 0.7;
  z-index: -1;
}

/* Services Section */
.services {
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  bottom: -10rem;
  right: -10rem;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background-color: var(--color-primary-100);
  opacity: 0.5;
  z-index: -1;
}

/* Process Section */
.process {
  background-color: var(--color-bg-tertiary);
  position: relative;
  overflow: hidden;
}

.process::after {
  content: '';
  position: absolute;
  top: -10rem;
  left: -10rem;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background-color: var(--color-primary-100);
  opacity: 0.5;
  z-index: 0;
}

.process .container {
  position: relative;
  z-index: 1;
}

/* Testimonials Section */
.testimonials {
  position: relative;
  overflow: hidden;
}

/* Blog Section */
.blog-preview {
  background-color: var(--color-bg-tertiary);
}

/* Dark Mode Adjustments */
[data-theme="dark"] .hero::before {
  background-image: linear-gradient(135deg, var(--color-primary-900) 0%, transparent 50%);
  opacity: 0.3;
}

[data-theme="dark"] .services::before,
[data-theme="dark"] .process::after {
  background-color: var(--color-primary-900);
  opacity: 0.3;
}

/* Animation Triggers */
.service-card,
.blog-card,
.stat-item,
.process-step,
.feature {
  opacity: 0;
}

.service-card.aos-animate,
.blog-card.aos-animate,
.stat-item.aos-animate,
.process-step.aos-animate,
.feature.aos-animate {
  opacity: 1;
}

/* Media Queries */
@media (min-width: 768px) {
  .hero-features {
    justify-content: flex-start;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 16rem;
    padding-bottom: var(--spacing-10);
  }
  
  .hero-title {
    max-width: 60rem;
  }
  
  .hero-subtitle {
    max-width: 50rem;
  }
}