@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f9;
  color: #333;
  line-height: 1.6;
}

header {
  background: linear-gradient(90deg, #ff6f91, #ff9a8b);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
  margin: 0;
  font-weight: 700;
}

nav {
  margin-top: 0;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

section {
  max-width: 960px;
  margin: 40px auto;
  padding: 20px 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  padding-bottom: 80px; /* Space for the footer */
}

.hero {
  text-align: center;
  padding: 80px 20px;
  background: #ffe0ec;
  border-bottom: 5px solid #ff6f91;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  color: #555;
}

footer {
  text-align: center;
  background: #333;
  color: white;
  padding: 20px;
  position: relative; /* Changed from fixed */
  width: 100%;
  bottom: 0;
  margin-top: 20px;
}
