/* Root Variables for Color Scheme */
  :root {
    --main-color: #2E7D32; /* Dark Green */
    --background-color: #E8F5E9; /* Light Grey Green */
    --gradient-start: #B3E5FC; /* Light Grey Blue */
    --gradient-end: #FFCC80; /* Soft Orange */
    --accent-color: #FFEB3B; /* Warm Yellow */
    --text-color: #2E7D32; /* Dark Green */
    --heading-color: #1B5E20; /* Darker Green for Headings */
    --nav-bg-color: #1B5E20; /* Navbar Background */
    --nav-text-color: #FFFFFF; /* Navbar Text */
    --overlay-color: rgba(0, 0, 0, 0.5);
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition-speed: 0.3s;
  }

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

  body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
    transition: background var(--transition-speed) ease-in-out;
    padding-left: 250px;
  }

  /* Navigation Styles */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-color: var(--nav-bg-color);
    padding: 20px;
    overflow-y: auto;
    transition: transform var(--transition-speed) ease-in-out;
  }

  nav h1 {
    color: var(--nav-text-color);
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
  }

  nav ul {
    list-style: none;
  }

  nav ul li {
    margin-bottom: 15px;
  }

  nav ul li a {
    color: var(--nav-text-color);
    text-decoration: none;
    font-size: 18px;
    transition: color var(--transition-speed) ease-in-out;
  }

  nav ul li a:hover {
    color: var(--accent-color);
    text-decoration: underline;
  }

  /* Hamburger Menu for Mobile */
  .hamburger {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
    cursor: pointer;
  }

  .hamburger div {
    width: 35px;
    height: 5px;
    background-color: var(--nav-text-color);
    margin: 6px 0;
    transition: all 0.3s ease;
  }

  /* Hero Section */
  .hero {
    position: relative;
    height: 60vh;
    background-image: url('https://images.gptkong.com/article/b/310_1.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
  }

  .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
  }

  .hero h2 {
    position: relative;
    font-size: 36px;
    z-index: 1;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3));
    padding: 10px;
    border-radius: 10px;
  }

  /* Article Sections */
  article {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: #FFFFFF;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 10px;
    animation: fadeIn 2s ease-in-out;
  }

  section {
    margin-bottom: 40px;
  }

  section h2, section h3 {
    color: var(--heading-color);
    margin-bottom: 15px;
    animation: slideIn 1s ease-out;
  }

  section h2 {
    font-size: 24px;
  }

  section h3 {
    font-size: 20px;
  }

  section p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #424242;
    text-align: justify;
    text-justify: inter-word;
    animation: fadeInUp 1s ease-in-out;
  }

  section img {
    display: block;
    max-width: 900px;
    min-width: 500px;
    width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  }

  section img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  }

  /* Quote Styling */
  blockquote {
    font-style: italic;
    background: radial-gradient(circle, rgba(232,245,233,0.1) 0%, rgba(232,245,233,0) 70%);
    padding: 15px 20px;
    border-left: 5px solid var(--accent-color);
    margin: 20px 0;
    border-radius: 5px;
    position: relative;
  }

  blockquote::before {
    content: '“';
    font-size: 30px;
    color: var(--accent-color);
    position: absolute;
    top: -10px;
    left: 10px;
  }

  blockquote::after {
    content: '”';
    font-size: 30px;
    color: var(--accent-color);
    position: absolute;
    bottom: -10px;
    right: 10px;
  }

  /* Back to Top Button */
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--main-color);
    color: #FFFFFF;
    padding: 10px 15px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
    z-index: 1000;
  }

  .back-to-top:hover {
    background-color: var(--accent-color);
    transform: rotate(360deg);
  }

  /* Responsive Design */
  @media (max-width: 1920px) {
    body {
      padding-left: 250px;
    }
  }

  @media (max-width: 1200px) {
    article {
      max-width: 80%;
    }
  }

  @media (max-width: 992px) {
    nav {
      transform: translateX(-250px);
    }
    body {
      padding-left: 0;
    }
    .hamburger {
      display: block;
    }
    nav.active {
      transform: translateX(0);
    }
  }

  @media (max-width: 768px) {
    .hero h2 {
      font-size: 28px;
      padding: 5px;
    }
    section img {
      min-width: unset;
      max-width: 100%;
    }
    nav ul li a {
      font-size: 16px;
    }
  }

  @media (max-width: 480px) {
    .hero {
      height: 40vh;
    }
    section h2 {
      font-size: 20px;
    }
    section h3 {
      font-size: 18px;
    }
    .back-to-top {
      bottom: 20px;
      right: 20px;
      padding: 8px 12px;
      font-size: 16px;
    }
  }

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

  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes slideIn {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
  }
