/* Reset and Box-Sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.8;
  color: #333;
  overflow-x: hidden;
  background: linear-gradient(135deg, #d9f7ff, #fff6e5);
  padding: 20px;
}

/* Header Section */
header {
  text-align: center;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  animation: slideInFromTop 1.5s ease-out;
}

header h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

header nav {
  margin-top: 20px;
}

.nav-btn {
  display: inline-block;
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, #ff7eb3, #ff758c);
  padding: 12px 20px;
  margin: 8px;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 500;
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-btn:hover {
  background: linear-gradient(135deg, #ff758c, #ff7eb3);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Main Content Styling */
main {
  margin: 40px auto;
  padding: 30px;
  max-width: 900px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  animation: fadeIn 2s ease-in;
}

/* Section Styling */
section {
  margin-bottom: 30px;
}

section h2 {
  text-align: center;
  color: #2575fc;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  animation: zoomIn 1s ease-out;
}

section ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

section ul li {
  margin-bottom: 15px;
  padding: 15px;
  background: #f7faff;
  border-left: 5px solid #6a11cb;
  border-radius: 8px;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}

section ul li:hover {
  background: #e8f1ff;
  transform: translateX(15px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes slideInFromTop {
  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;
  }
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.5rem;
  }

  .nav-btn {
    font-size: 0.9rem;
    padding: 10px 15px;
  }

  main {
    padding: 20px;
  }

  section h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 2rem;
  }

  .nav-btn {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  section h2 {
    font-size: 1.5rem;
  }
}
