* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(120deg, #f8f9fa, #e0f7fa);
  color: #333;
  padding: 20px;
  transition: background-color 0.3s ease-in-out;
}

header {
  text-align: center;
  background: linear-gradient(90deg, #00bcd4, #00e5ff);
  color: white;
  padding: 35px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: slideIn 1.5s ease-out;
  transition: background 0.5s ease, box-shadow 0.3s ease-in-out;
}

header:hover {
  background: linear-gradient(90deg, #00e5ff, #00bcd4); /* Reverse gradient on hover */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

header h1 {
  font-size: 3rem;
  letter-spacing: 3px;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
  transition: text-shadow 0.3s ease-in-out;
}

header nav {
  margin-top: 15px;
}

.nav-btn {
  display: inline-block;
  text-decoration: none;
  color: white;
  background: #333;
  padding: 14px 22px;
  margin: 5px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s ease-in-out, padding 0.3s;
}

.nav-btn:hover {
  background: #00bcd4;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  padding: 16px 26px;
}

main {
  margin: 30px auto;
  padding: 30px;
  max-width: 900px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  animation: fadeIn 2s ease-in;
  transition: box-shadow 0.3s ease-in-out, padding 0.3s ease;
}

main:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  padding: 32px;
}

main section {
  margin-bottom: 25px;
  animation: zoomIn 1s ease-out;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

main h3 {
  color: #00bcd4;
  margin-bottom: 20px;
  font-size: 1.6rem;
  text-transform: capitalize;
  font-weight: bold;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}

main ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

main ul li {
  padding: 10px 15px;
  background: #f7f7f7;
  margin-bottom: 12px;
  border-left: 6px solid #00bcd4;
  border-radius: 8px;
  transition: transform 0.3s, background 0.3s, padding-left 0.3s ease-in-out;
}

main ul li:hover {
  background: #e0f7fa;
  transform: translateX(15px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding-left: 25px;
}

@keyframes slideIn {
  from {
      transform: translateY(-100%);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes zoomIn {
  from {
      transform: scale(0.9);
      opacity: 0;
  }
  to {
      transform: scale(1);
      opacity: 1;
  }
}
