/* General styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}

/* Header */
header {
  background: #4285f4;
  color: white;
  padding: 1rem;
  text-align: center;
}

/* Navigation */
nav {
  position: relative;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

.nav-links li {
  margin: 0 10px;
}

.nav-links a {
  color: white;
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* Mobile nav */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: #4285f4;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
  }
  .nav-links.show {
    display: flex;
  }
}

/* Main content */
main {
  padding: 2rem;
}

/* Button animation */
button {
  background: #34a853;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.2s ease, background 0.3s ease;
}

button:hover {
  transform: scale(1.05);
  background: #2c8c46;
}

/* Scroll fade-in */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  background: #eee;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}