header {
    background-color: var(--white-color);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 80px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex-wrap: nowrap; /* Change this linext to logo UKne */
  }
  
  .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    flex: 0 0 auto;
  }
  
  .logo-image {
    max-height: 75px;
    width: auto;
    padding-top: 10px;
  }
  
  nav ul {
    list-style-type: none;
    display: flex;
  }
  
  nav ul li {
    margin: 0 1rem;
  }
  
  nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: color 0.3s ease;
  }
  a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 1px solid transparent;
  }
  
  a:hover,
  a:focus {
    color: var(--primary-color);
    /* border-bottom: 1px solid var(--primary-color); */
  }
  nav ul li a:hover {
    color: var(--accent-color);
  }


  

.donate-btn {
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
  }
  
  .donate-btn:hover {
    background-color: var(--primary-color);
  }
  
  .menu-icon,
  .close-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
  }
  
  .mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--primary-color);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .mobile-nav.active {
    right: 0;
  }
  
  .mobile-nav ul {
    list-style-type: none;
  }
  
  .mobile-nav ul li {
    margin: 2rem 0;
    text-align: center;
  }
  
  .mobile-nav ul li a {
    text-decoration: none;
    color: var(--white-color);
    font-size: 1.3rem;
    transition: color 0.3s ease;
  }
  
  .mobile-nav ul li a:hover {
    color: var(--secondary-color);
  }
  
  .close-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--white-color);
  }

  
.dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white-color);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    color: var(--primary-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content a:hover {
    background-color: var(--light-gray);
    color: var(--accent-color);
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  /* Mobile dropdown menu styles */
  .mobile-dropdown {
    position: relative;
  }
  
  .mobile-dropdown-content {
    display: none;
    background-color: rgba(91, 77, 114, 0.1);
    padding-left: 20px;
  }
  
  .mobile-dropdown-content a {
    padding: 10px 0;
    font-size: 1.1rem;
  }
  
  .mobile-dropdown.active .mobile-dropdown-content {
    display: block;
  }



  
@media (max-width: 768px) {
    header {
      padding: 0.5rem 3%;
    }
    .logo-image {
      max-height: 75px;
      padding-top: 10px;
    }
  
    body {
      font-size: 14px;
    }
  
    header {
      padding: 1rem 5%;
    }
  
    nav,
    .donate-btn {
      display: none;
    }
  
    .menu-icon,
    .close-icon {
      display: block;
    }
  
    .mobile-nav {
      background-color: rgba(91, 77, 114, 0.95);
    }
  
    .mobile-nav ul {
      padding: 20px 0;
    }
  
    .mobile-nav ul li {
      margin: 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
  
    .mobile-nav a,
    .mobile-dropbtn {
      color: var(--white-color);
      text-decoration: none;
      font-size: 1.1em;
      padding: 15px 20px;
      display: block;
      transition: all 0.3s ease;
    }
  
    .mobile-dropbtn {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }
  
    .mobile-dropbtn::after {
      content: "\25BC";
      font-size: 0.8em;
      transition: transform 0.3s ease;
    }
  
    .mobile-dropdown.active .mobile-dropbtn::after {
      transform: rotate(180deg);
    }
  
    .mobile-dropdown-content {
      background-color: rgba(255, 255, 255, 0.05);
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-out;
    }
  
    .mobile-dropdown.active .mobile-dropdown-content {
      max-height: 300px;
    }
  
    .mobile-dropdown-content a {
      padding: 12px 30px;
      font-size: 0.95em;
      opacity: 0.8;
    }
  
    .mobile-dropdown-content a:hover,
    .mobile-nav a:hover {
      background-color: rgba(255, 255, 255, 0.1);
      opacity: 1;
    }
  
  }

  @media screen and (max-width: 768px) {
    .mobile-navm .donate-btn {
      display: block;
    }
  }
  
  .mobile-nav .donate-btn {
    display: block;
    margin: 1rem auto;
    width: calc(100% - 2rem);
    /* Adds some margin on the sides */
  }