.header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: #fff;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
}

body.dark-theme .header {
    background-color: rgba(32, 31, 31, 0.7);
    border-color: #333;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.brand-name {
    font-size: 26px;
    font-weight: 700;
    color: #3aa17e;
    margin-left: 10px;
    user-select: none;
    overflow: hidden;
}

/* Language and theme switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switcher span {
    font-weight: 600;
    color: #555;
    user-select: none;
}

.lang-switcher a {
    font-weight: 600;
    cursor: pointer;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.8px solid transparent;
    transition: all 0.3s ease;
    user-select: none;
    color: #333;
    text-decoration: none;
    background-color: transparent;
}

.lang-switcher a:hover {
    border-color: #3aa17e;
    background-color: #dff7f0;
    color: #2e7d62;
}

.lang-switcher a.active-lang {
    background-color: #3aa17e;
    color: white;
    border-color: #3aa17e;
}

body.dark-theme .lang-switcher a {
    color: #ccc;
}

body.dark-theme .lang-switcher a:hover {
    background-color: #2e7d62;
    border-color: #2e7d62;
    color: #e0f0ec;
}

body.dark-theme .lang-switcher a.active-lang {
    background-color: #2e7d62;
    border-color: #2e7d62;
    color: #fafafa;
}

/* Theme toggle */
#toggle-theme {
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
    user-select: none;
}


