
    /* Language dropdown styles */
    .language-dropdown {
      position: relative;
      display: inline-block;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      right: 0;
      background-color: white;
      min-width: 160px;
      box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
      z-index: 10;
      border-radius: 4px;
    }

    /* Remove hover rule and use a class for showing instead */
    .dropdown-content.show {
      display: block;
    }

    /* Mobile menu animations */
    @keyframes slideIn {
      0% {
        transform: translateX(-100%);
        opacity: 0;
      }
      70% {
        transform: translateX(5%);
      }
      100% {
        transform: translateX(0);
        opacity: 1;
      }
    }

    @keyframes slideOut {
      0% {
        transform: translateX(0);
        opacity: 1;
      }
      100% {
        transform: translateX(-100%);
        opacity: 0;
      }
    }

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

    @keyframes fadeOut {
      from {
        opacity: 1;
      }
      to {
        opacity: 0;
      }
    }

    @keyframes rotateIn {
      from {
        transform: rotate(-90deg);
        opacity: 0;
      }
      to {
        transform: rotate(0);
        opacity: 1;
      }
    }

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

    /* Mobile menu styles */
    @media (max-width: 768px) {
      .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: white;
        z-index: 50;
        padding: 1.5rem;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      }

      .nav-links.active {
        display: flex;
        flex-direction: column;
        animation: slideIn 0.4s ease-in-out forwards;
      }

      .nav-links.closing {
        display: flex;
        flex-direction: column;
        animation: slideOut 0.3s ease-in-out forwards;
      }

      /* Menu items animation */
      .nav-item {
        opacity: 0;
      }

      .nav-links.active .nav-item {
        animation: itemSlideIn 0.3s ease-in-out forwards;
      }

      .nav-links.active .nav-item:nth-child(1) { animation-delay: 0.1s; }
      .nav-links.active .nav-item:nth-child(2) { animation-delay: 0.2s; }
      .nav-links.active .nav-item:nth-child(3) { animation-delay: 0.3s; }
      .nav-links.active .nav-item:nth-child(4) { animation-delay: 0.4s; }
      .nav-links.active .nav-item:nth-child(5) { animation-delay: 0.5s; }

      /* Overlay when menu is open */
      .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 40;
      }

      .menu-overlay.active {
        display: block;
        animation: fadeIn 0.3s ease-in-out forwards;
      }

      .menu-overlay.closing {
        display: block;
        animation: fadeOut 0.3s ease-in-out forwards;
      }

      /* Close button styling */
      .close-menu {
        position: absolute;
        top: 1rem;
        right: 1rem;
        opacity: 0;
      }

      .nav-links.active .close-menu {
        display: block;
        animation: rotateIn 0.3s ease-in-out 0.2s forwards;
      }
    }
