/* Navbar */
.header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff; 
    font-weight: 300;
    font-style: normal;
    z-index: 9999;
    margin: 0;
  }
  
  .header.scrolled {
    background-color: #0B60A9; 
    transition: background-color 0.3s ease; 
  }
  
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    position: static;
  }
  
  .navbar .logo a {
    font-size: 1.8rem;
    text-decoration: none;
    color: #0B60A9;
  }
  
  .navbar .links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 35px;
    font-size: 20px;
  }
  
  .navbar .links a {
    font-weight: 500;
    text-decoration: none;
    color: #0B60A9;
    padding: 10px 0;
    transition: 0.2s ease;
  }
  
  .navbar .links a:hover {
    color: #0016da;
  }
  
  .navbar .buttons a {
    text-decoration: none;
    color: #0B60A9;
    font-size: 3rem;
    padding: 15px 0;
    transition: 0.2s ease;
  }
  
  .navbar .buttons a:not(:last-child) {
    margin-right: 30px;
  }
  
  #logoimg {
    width: 130px;
  }
  
  /* Hamburger menu styles */
  #menu-toggle {
    display: none;
  }
  
  #hamburger-btn {
    font-size: 1.8rem;
    color: #0B60A9;
    cursor: pointer;
    display: none;
    order: 1;
  }
  
  @media screen and (max-width: 1023px) {
    .header {
        position: fixed;
        background-color: #fff; 
        z-index: 9999;
        width: 100%;
    }

    .navbar .links {
      flex-direction: column;
      padding: 0;
  }

  .language-switcher {
      display: block;
      margin-top: 20px;
      text-align: center;
  }

  #language-select {
      width: 80px;
      background: #fff;
      color: #0B60A9;
      border: none;
      padding: 5px;
      font-size: 1.2rem;
  }


    .navbar .logo a {
        font-size: 1.5rem;
    }

    .links {
        position: fixed;
        left: -120%;
        top: 90px;
        width: 100%;
        height: 100vh;
        padding-top: 50px;
        background: #0B60A9;
        flex-direction: column;
        transition: 0.3s ease;
    }


    .navbar .links {
        padding: 0;
        padding-top: 30px;
        font-size: 30px;
    }

    .navbar #menu-toggle:checked ~ .links {
        left: 0;
    }

    /* Change the text color to white when menu is toggled */
    .navbar #menu-toggle:checked ~ .links a {
        color: white;
    }

    .navbar #hamburger-btn {
        display: block;
    }

    .header .buttons {
        display: none;
    }

    #logoimg {
        width: 130px;
        padding-left: 10px;
    }

    #menu-toggle:checked ~ .links .buttons {
        display: block;
    }
}