header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 3;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 80%;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
}

.logo-text p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.3rem;
}

.main-nav {
    transition: all 0.4s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
    display: block;
    font-size: 1.1rem;
}

.nav-links li a:hover {
    color: var(--accent-color);
}

.nav-links li a:hover::after{ width: 100%; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile menu styles */
@media (max-width: 992px) {
    .header-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .logo{ max-width: 100%; }
    .logo-text{ width: 100%;}
    .logo-text h1 { font-size: 1.3rem; }
}

@media (max-width: 668px) {
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1rem;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 5rem;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0;
        padding: 1rem;
    }
    
    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links li a {
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .mobile-menu-btn.active .menu-icon-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-btn.active .menu-icon-bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active .menu-icon-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .logo {
        max-width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .logo img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .logo img{ height: 65px; }
    .logo-text h1 {
        font-size: 1.1rem;
    }
    
    .logo-text p {
        font-size: 0.8rem;
    }
}