/* ===========================
   Global Reset & Base Styles
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ===========================
   Header
=========================== */
header {
  background: linear-gradient(90deg, #1e3a8a, #1e40af);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

header h1 {
  letter-spacing: 1px;
}

header a:hover {
  background-color: #facc15;
  color: #1e3a8a;
}

/* ===========================
   Buttons
=========================== */
button, .btn {
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ===========================
   Sections
=========================== */
section {
  padding: 4rem 1rem;
}

section h2 {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

section h2::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: #3b82f6;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* ===========================
   Cards & Containers
=========================== */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ===========================
   Animations
=========================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-animate] {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

/* ===========================
   Footer
=========================== */
footer {
  background-color: #1e293b;
  color: #f1f5f9;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}
