/* Base Styles */


/* Hero Banner */
.hero {
  height: 40vh;
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  animation: fadeInUp 1.2s ease-out forwards;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: slideInLeft 1s ease forwards;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 30px;
  animation: slideInRight 1s ease forwards;
}

.cta-button {
  background-color: white;
  color: #3b82f6;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  animation: fadeIn 2s ease forwards;
}

.cta-button:hover {
  background-color: #e0e7ff;
  transform: scale(1.05);
}

/* Services Section */
.services {
  padding: 60px 20px;
  background-color: #f9fafb;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  animation: fadeInDown 1.2s ease-out forwards;
}

.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.card {
  background-color: white;
  width: 300px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInScale 1s ease-in-out forwards;
}

.card h3 {
  color: #3b82f6;
  margin-bottom: 15px;
}

.card p {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

/* Keyframe Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .card-container {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 60px 20px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-button {
    width: 100%;
  }

  .card-container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .card {
    padding: 20px;
  }
}
