/* Home page styles */

/* Hero Section */
.hero {
  position: relative;
  color: var(--color-white);
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px);
  animation: zoomOut 0.5s ease-out;
}

@keyframes zoomOut {
  from {
    transform: scale(1.2);
  }
  to {
    transform: scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #e8f0ff;
}

.hero .btn {
  background-color: var(--color-white);
  color: var(--color-primary);
  font-weight: 600;
  padding: 1rem 2rem;
}

.hero .btn:hover {
  background-color: #e8f0ff;
}

/* Intro Section */
.intro {
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: 8px;
  margin: 3rem 0;
}

/* Features Section */
.features {
  margin: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-primary);
  font-size: 2.5rem;
  font-weight: 700;
}

.feature-card {
  text-align: center;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 82, 204, 0.2);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 1.2rem;
  line-height: 1.7;
}

/* Services Preview Section */
.services-preview {
  margin: 4rem 0;
}

.services-preview .card {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.services-preview .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 82, 204, 0.2);
}

/* CTA Section */
.cta {
  background: #0f2043;
  color: var(--color-white);
  padding: 4rem 2rem;
  border-radius: 8px;
  margin: 4rem 0;
}

.cta h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta p {
  color: #e8f0ff;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta .btn {
  background-color: var(--color-white);
  color: var(--color-primary);
  font-weight: 600;
  padding: 1rem 2rem;
}

.cta .btn:hover {
  background-color: #ff6b35;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    min-height: 70vh;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .feature-card h3 {
    font-size: 1.5rem;
  }

  .feature-card p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .intro {
    padding: 2rem 1.5rem;
  }

  .feature-card h3 {
    font-size: 1.3rem;
  }

  .feature-card p {
    font-size: 0.95rem;
  }

  .card-icon {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .cta {
    padding: 2rem 1.5rem;
  }

  .cta h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 50vh;
  }

  .hero-content h1 {
    font-size: 1.3rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .intro {
    padding: 1.5rem 1rem;
    margin: 2rem 0;
  }

  .feature-card h3 {
    font-size: 1.1rem;
  }

  .feature-card p {
    font-size: 0.85rem;
  }

  .card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .section-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }

  .cta {
    padding: 1.5rem 1rem;
    margin: 2rem 0;
  }

  .cta h2 {
    font-size: 1.3rem;
  }

  .cta p {
    font-size: 0.9rem;
  }

  .hero .btn,
  .cta .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}
