/* ========== Global Styles ========== */
body {
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  transition: background 0.4s, color 0.4s;
}

h1, h2, h3 {
  font-weight: 600;
  transition: color 0.4s ease;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: #38bdf8;
}

/* ========== Hero Section ========== */
.hero-section {
  background: linear-gradient(to right, #22c55e, #3b82f6); /* Green to Blue */
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.dark .hero-section {
  background: linear-gradient(to right, #1e293b, #0f172a); /* Dark gray to darker blue */
  color: #e0f2fe;
}

/* ========== Feature Section ========== */
.features-section {
  padding: 4rem 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

.feature-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  color: #111827;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.dark .feature-card {
  background: #1f2937;
  color: #f3f4f6;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #16a34a; /* Tailwind green-600 */
}

.dark .feature-card h3 {
  color: #4ade80; /* Tailwind green-400 */
}

/* ========== Footer ========== */
footer {
  background-color: #1f2937;
  color: #f9fafb;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

.dark footer {
  background-color: #111827;
  color: #e5e7eb;
}

/* ========== Animations ========== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}