
  /* CSS Variables for Color Palette */
  :root {
    --color-natural-green: #8DC63F;
    --color-soft-brown: #D2B48C;
    --color-light-gray: #F5F5F5;
    --color-deep-blue: #003366;
    --color-golden-yellow: #FFD700;
    --color-misty-gray: #B0C4DE;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --transition-speed: 0.3s;
  }

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

  body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--color-light-gray), var(--color-misty-gray));
    color: var(--color-soft-brown);
    line-height: 1.6;
    padding: 20px;
  }

  header, footer {
    background: var(--color-deep-blue);
    color: var(--color-golden-yellow);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  header h1 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    position: relative;
  }

  header h1::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: var(--color-natural-green);
    bottom: -10px;
    left: 0;
    border-radius: 5px;
  }

  nav {
    margin: 20px 0;
    text-align: center;
  }

  nav a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--color-deep-blue);
    font-weight: bold;
    transition: color var(--transition-speed);
  }

  nav a:hover {
    color: var(--color-natural-green);
  }

  main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
  }

  aside {
    background: var(--color-light-gray);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  article {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  h2, h3, h4 {
    font-family: var(--font-secondary);
    color: var(--color-deep-blue);
    margin-bottom: 10px;
  }

  h2 {
    font-size: 2rem;
    margin-top: 20px;
  }

  h3 {
    font-size: 1.5rem;
    margin-top: 15px;
  }

  h4 {
    font-size: 1.2rem;
    margin-top: 10px;
  }

  p {
    margin-bottom: 15px;
  }

  pre {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
  }

  code {
    font-family: 'Courier New', Courier, monospace;
    color: #333;
  }

  button {
    background: var(--color-natural-green);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background var(--transition-speed);
    position: relative;
    overflow: hidden;
  }

  button:hover {
    background: var(--color-golden-yellow);
    color: var(--color-deep-blue);
  }

  button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.5s ease;
  }

  button:hover::after {
    width: 200%;
    height: 200%;
    opacity: 1;
  }

  .background-gradient {
    background: linear-gradient(135deg, var(--color-natural-green), var(--color-deep-blue));
    height: 200px;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  .wood-texture {
    background-image: url('wood-pattern.png');
    background-size: cover;
    background-repeat: no-repeat;
    height: 150px;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }

  .item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
  }

  .item:hover {
    transform: translateY(-10px);
  }

  img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
  }

  .example-display {
    border: 2px dashed var(--color-soft-brown);
    padding: 20px;
    border-radius: 10px;
    background: #fafafa;
    margin-top: 30px;
  }

  .example-display h2 {
    color: var(--color-deep-blue);
    margin-bottom: 10px;
  }

  .animation-aurora {
    background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    animation: aurora-move 15s linear infinite;
  }

  @keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  /* Responsive Design */
  @media (max-width: 1440px) {
    main {
      grid-template-columns: 1fr;
    }
  }

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

    nav a {
      margin: 0 10px;
    }
  }

  @media (max-width: 1024px) {
    .container {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 768px) {
    header, footer {
      padding: 15px;
    }

    .background-gradient {
      height: 150px;
    }

    .wood-texture {
      height: 120px;
    }
  }

  @media (max-width: 480px) {
    nav {
      flex-direction: column;
    }

    nav a {
      margin: 10px 0;
      display: block;
    }

    header h1 {
      font-size: 1.8rem;
    }
  }

  @media (max-width: 320px) {
    body {
      padding: 10px;
    }

    header h1 {
      font-size: 1.5rem;
    }

    button {
      padding: 8px 16px;
    }
  }


