/* Header Styling */
header {
    background: linear-gradient(90deg, #5F07B3, #008DBB);
    color: white;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: relative;
}

.logo {
    max-width: 150px;
}

.logo img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Navigation Menu */
nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: -10vw;
    transform: none;
    right: auto;
    max-width: 95vw;
    min-width: 100px;
    background-color: #5F07B3;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin: 0;
    border-radius: 8px;
    z-index: 1001;
}

nav ul.show {
    display: flex;
    animation: slideIn 0.3s forwards;
    margin: 21px;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    display: block;
    padding: 10px;
    white-space: nowrap;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Mobile Menu Styles */
.menu-icon {
    display: block;
    cursor: pointer;
    font-size: 24px;
    color: white;
    z-index: 1000;
    padding: 10px;
    margin-right: 20px;
}
/* Update header z-index and add semi-transparency */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent background */
    transition: right 0.3s ease;
    z-index: 1000; /* Ensure menu is always on top */
}

.hamburger-menu {
    /* ... existing styles ... */
    z-index: 1001; /* Slightly higher than mobile-menu */
}

#main-header {
    /* ... existing styles ... */
    z-index: 999; /* High z-index but below mobile menu */
}


nav {
    position: relative;
}

.header-donate-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-donate-button {
    background: #00b3a4;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 10px 28px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
}

.header-donate-button:hover {
    background: #008DBB;
    color: #fff;
}

@media (max-width: 600px) {
  .header-donate-button {
    padding: 5px 8px;
    font-size: 0.8em;
    border-radius: 14px;
  }
  .header-donate-button i {
    font-size: 1em;
    margin-right: 4px;
  }
} 