/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    background-image: url('Artboard 1.png');
    background-size: cover;
    background-position: center;
    font-family: 'Montserrat', sans-serif;
    color: #293241;
    background-color: transparent !important;
    position: relative;
  }
  
  /* ===== NAVIGATION ===== */
  nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 2rem;
    margin-top: 1rem;
    width: 70%;
    margin-inline: auto;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    z-index: 10;
    position: relative;
  }
  
  .menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2001;
    width: 26px;
    height: 26px;
  }
  
  #hamburger-icon,
  #close-icon {
    width: 26px;
    height: 26px;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    transition: opacity 0.3s ease;
  }
  
  #close-icon {
    display: none;
  }
  
  .mainMenu {
    display: flex;
    gap: 2%;
    justify-content: center;
    color: #fff;
    transition: top 0.4s ease-in-out, opacity 0.3s ease;
    list-style: none;
    padding-left: 0;
    margin: 0;
  }
  
  .mainMenu li {
    list-style: none;
    margin: 0;
  }
  
  .mainMenu a {
    text-decoration: none;
    color: inherit;
    padding: 0.6rem;
    display: block;
    text-align: center;
  }
  
  .mainMenu a:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out;
  }
  
  /* ===== HEADER ===== */
  .welcome {
    text-align: center;
    font-size: 50px;
    color: #ffffff;
    padding: 2rem;
    width: 80%;
    margin: 5rem auto 0 auto;
    font-weight: 1000;
  }
  
  .header {
    font-size: 18px;
    padding: 1.5rem;
    width: 85%;
    margin: 2rem auto;
    text-align: center;
    color: #293241;
  }
  
  /* ===== TOC STYLES ===== */
  .toc {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    padding: 3rem;
    width: 85%;
    margin: 3rem auto;
    border-radius: 1rem;
    color: #293241;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #3d5a80 #ffffff;
  }
  
  .toc::-webkit-scrollbar {
    width: 8px;
  }
  
  .toc::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 10px;
  }
  
  .toc::-webkit-scrollbar-thumb {
    background-color: #3d5a80;
    border-radius: 10px;
    border: 2px solid #ffffff;
  }
  
  .toc:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }
  
  .tableofcontents-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #293241;
    margin-top: 24rem;
    margin-bottom: 2rem;
  }
  
  .tableofcontents-intro-title,
  .tableofcontents-intro-text,
  .tableofcontents-kt-title,
  .tableofcontents-kt-text,
  .tableofcontents-bt-title,
  .tableofcontents-bt-text {
    margin-bottom: 1.25rem;
  }
  
  .tableofcontents-intro-title h3,
  .tableofcontents-kt-title h4,
  .tableofcontents-bt-title h4 {
    margin-bottom: 0.5rem;
  }
  
  .tableofcontents-kt-text ul,
  .tableofcontents-bt-text ul {
    margin-left: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  /* ===== FOOTER ===== */
  .author,
  .copyright {
    text-align: center;
    font-size: 16px;
    color: #fff;
    padding: 3rem;
    font-weight: 500;
  }
  
  /* ===== MOBILE STYLES ===== */
  @media (max-width: 800px) {
    .menu-toggle {
      display: block;
    }
  
    .mainMenu {
      flex-direction: column;
      position: fixed;
      top: -100%;
      left: 50%;
      transform: translateX(-50%);
      width: 85%;
      padding: 6rem 1.5rem 2rem;
      gap: 1rem;
      z-index: 1500;
      text-align: center;
      font-size: 14px;
      color: #293241;
      background-color: rgba(255, 255, 255, 0.9);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      border-bottom-left-radius: 2rem;
      border-bottom-right-radius: 2rem;
      backdrop-filter: blur(4px);
      opacity: 0;
      pointer-events: none;
      list-style: none;
      padding-left: 0;
    }
  
    .mainMenu.menu-visible {
      top: 0;
      opacity: 1;
      pointer-events: auto;
    }
  
    .mainMenu li {
      list-style: none;
      margin: 0;
    }
  
    .mainMenu a {
      color: #293241;
    }
  
    .welcome {
      font-size: 20px;
      padding: 1.5rem;
      margin-top: 4rem;
      width: 90%;
    }
  
    .header {
      font-size: 14px;
      width: 90%;
    }
  
    .tableofcontents-title {
      font-size: 16px;
      margin-top: 26rem;
      margin-bottom: 1rem;
    }
  
    .tableofcontents-intro-title,
    .tableofcontents-intro-text,
    .tableofcontents-kt-title,
    .tableofcontents-kt-text,
    .tableofcontents-bt-title,
    .tableofcontents-bt-text {
      font-size: 12px;
      margin-bottom: 1rem;
    }
  
    .author,
    .copyright {
      font-size: 12px;
      padding: 3rem;
    }
  }
  
  /* ===== DESKTOP STYLES ===== */
  @media (min-width: 801px) {
    .mainMenu {
      position: static;
      top: auto;
      left: auto;
      transform: none;
      opacity: 1;
      display: flex;
      padding: 0;
      background: transparent;
      pointer-events: auto;
    }
  
    .menu-toggle {
      display: none;
    }
  }
  