      /* Default light mode styles */

      body {
        background-color: #f9fafb;
        color: #333;
        transition: background-color 0.3s ease, color 0.3s ease;
      }

      body.dark-mode #theme-icon {
        transform: rotate(180deg);
      }

      .bg-gray-800 {
        background-color: #2d3748;
      }

      .bg-gray-900 {
        background-color: #1a202c;
      }

      .text-gray-100 {
        color: #f7fafc;
      }

      .text-gray-300 {
        color: #e2e8f0;
      }

      .text-gray-400 {
        color: #cbd5e0;
      }

      .bg-teal-500 {
        background-color: #38b2ac;
      }

      .bg-teal-600 {
        background-color: #319795;
      }
      /* Dark mode styles */

      body.dark-mode {
        background-color: #1a202c;
        color: #e2e8f0;
      }

      body.dark-mode .bg-white {
        background-color: #2d3748;
      }

      body.dark-mode .text-gray-600 {
        color: #e2e8f0;
      }

      body.dark-mode .text-teal-600 {
        color: #81e6d9;
      }
      /* Add styles for the toggle button */

      #theme-toggle {
        cursor: pointer;
      }

      #theme-icon {
        transition: transform 0.3s ease;
      }

      body.dark-mode #theme-icon {
        transform: rotate(180deg);
      }

      nav a {
        position: relative;
        text-decoration: none;
        font-weight: normal;
        /* Default font weight */
        transition: color 0.3s ease, font-weight 0.3s ease;
      }

      nav a:hover {
        color: #38b2ac;
        /* Tailwind's teal-500 */
        font-weight: 600;
        /* Semi-bold font weight */
      }

      .loader-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: black;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        /* Ensures it's above other content */
      }

      .loader {
        display: inline-flex;
        gap: 5px;
      }

      .loader:before,
      .loader:after {
        content: "";
        width: 25px;
        aspect-ratio: 1;
        box-shadow: 0 0 0 3px inset #fff;
        animation: l5 1.5s infinite;
      }

      .loader:after {
        --s: -1;
      }

      @keyframes l5 {
        0% {
          transform: scaleX(var(--s, 1)) translate(0) scale(1);
        }
        33% {
          transform: scaleX(var(--s, 1)) translate(calc(50% + 2.5px)) scale(1);
        }
        66% {
          transform: scaleX(var(--s, 1)) translate(calc(50% + 2.5px)) scale(2);
        }
        100% {
          transform: scaleX(var(--s, 1)) translate(0) scale(1);
        }
      }
      /* Page content animation */

      .fade-slide-in {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease, transform 0.8s ease;
      }

      .fade-slide-in.loaded {
        opacity: 1;
        transform: translateY(0);
      }

      .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.9);
        z-index: 999;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s ease;
      }

      .menu-overlay.open {
        opacity: 1;
        pointer-events: auto;
      }

      .menu-content {
        color: white;
        padding: 2rem;
        text-align: center;
        border-radius: 0.5rem;
        width: 80%;
        max-width: 400px;
        transform: translateY(-20px);
        transition: transform 0.5s ease, opacity 0.5s ease;
        opacity: 0;
      }

      .menu-overlay.open .menu-content {
        transform: translateY(0);
        opacity: 1;
      }

      .menu-close {
        cursor: pointer;
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
        color: white;
        z-index: 1000;
        /* Ensure it appears above other elements */
      }
      /* Define keyframes for typing animation */

      @keyframes typing {
        from {
          width: 0;
        }
        to {
          width: 100%;
        }
      }
      /* Define keyframes for blinking cursor */

      @keyframes blink {
        50% {
          border-color: transparent;
        }
      }
      /* Style for the element with typing animation */

      .typing-animation {
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        border-right: 0.15em solid transparent;
        /* Set the initial color to transparent */
        transition: border-color 0.5s ease;
        /* Smooth transition for the border color */
      }
      /* Apply the typing animation on hover */

      .typing-animation:hover {
        border-right: 0.15em solid teal;
        /* Set the border color on hover */
        animation: typing 4s steps(40, end), blink 0.75s step-end infinite;
      }
