header:not(#main-header) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f9fa;
    padding: 0 5%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    height: 80px;
}

.header-desktop {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

header#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 80px;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.header-desktop .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-desktop .logo a {
    text-decoration: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.header-desktop .logo img {
    height: 44px;
    width: auto;
    display: block;
}

.header-desktop .nav-links ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.header-desktop .nav-links li a {
    text-decoration: none;
    color: #111827;
    font-weight: 500;
    transition: color 0.25s ease;
}

.header-desktop .nav-links li a:hover {
    color: #2563eb;
}

.header-desktop .btn-login {
    color: #1f2937 !important;
    padding: 0.55rem 1.45rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    border: 2px solid #e5e7eb;
    background: transparent;
}

.header-desktop .btn-login:hover {
    border-color: #2563eb;
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.05);
}

.header-desktop .btn-register {
    background: linear-gradient(135deg, #2563eb 0%, #ec4899 100%);
    color: white !important;
    padding: 0.55rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.header-desktop .btn-register:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #d81b60 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

@media (max-width: 1200px) {
    header#main-header {
        padding: 0 3rem;
    }

    .header-desktop .nav-links ul {
        gap: 24px;
    }
}

@media (max-width: 1024px) {
    header#main-header {
        padding: 0 2.25rem;
    }

    .header-desktop .nav-links ul {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .header-desktop .nav-links ul {
        gap: 16px;
    }

    .header-desktop .btn-login,
    .header-desktop .btn-register {
        padding: 0.5rem 1.2rem;
    }
}

@media (max-width: 768px) {
    header#main-header {
        display: none;
    }
}

