/* styles.css */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --background-color: #f9f9f9;
  --text-color: #333;
  --light-gray: #ecf0f1;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, var(--primary-color), #1a2530);
  color: white;
  padding: 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: cover;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.tagline {
  font-size: 1.2rem;
  opacity: 0.9;
  position: relative;
}

/* Navigation */
.navigation {
  background-color: white;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navigation ul {
  display: flex;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
}

.navigation li {
  margin: 0;
}

.navigation a {
  display: block;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.navigation a:hover {
  color: var(--secondary-color);
}

.navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navigation a:hover::after {
  width: 80%;
}

/* Main Content */
.main-content {
  padding: 3rem 0;
}

.content-section {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.content-section:hover {
  transform: translateY(-5px);
}

.content-section h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light-gray);
  position: relative;
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.content-section p {
  margin-bottom: 1rem;
}

.numbered-list {
  padding-left: 1.5rem;
}

.numbered-list li {
  margin-bottom: 0.8rem;
  padding-left: 0.5rem;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 1.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header h1 {
      font-size: 2rem;
  }
  
  .navigation ul {
      flex-direction: column;
  }
  
  .navigation a {
      padding: 0.8rem 1rem;
      text-align: center;
  }
  
  .content-section {
      padding: 1.5rem;
  }
}

/* Animation for sections */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.content-section {
  animation: fadeIn 0.5s ease forwards;
}

.content-section:nth-child(2) {
  animation-delay: 0.1s;
}

.content-section:nth-child(3) {
  animation-delay: 0.2s;
}

.content-section:nth-child(4) {
  animation-delay: 0.3s;
}

.content-section:nth-child(5) {
  animation-delay: 0.4s;
}

.content-section:nth-child(6) {
  animation-delay: 0.5s;
}

.content-section:nth-child(7) {
  animation-delay: 0.6s;
}