.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    min-height: 100px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    flex-shrink: 0;
    min-width: 300px;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-image {
    height: 90px;
    width: 160px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a3c78;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav-menu {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    white-space: nowrap;
}

.nav-link:hover {
    color: #0a3c78;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0a3c78 0%, #1a6fb3 100%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #0a3c78;
    font-weight: 700;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-left: 1rem;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: #0a3c78;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 1024px) {
    .site-header {
        padding: 0.7rem 1.5rem;
    }
    
    .logo {
        gap: 20px;
        min-width: 250px;
    }
    
    .logo-image {
        height: 80px;
        width: 140px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        gap: 1.2rem;
    }
    
    .nav-link {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        position: relative !important;
        padding: 0.6rem 0.8rem !important;
        min-height: 70px !important;
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        align-items: center !important;
    }
    
    .logo {
        grid-column: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .logo-image {
        height: 50px !important;
        max-width: 100px !important;
    }
    
    .logo-text {
        font-size: 0.9rem !important;
        max-width: 140px !important;
    }
    
    .burger-menu {
        display: flex !important;
        grid-column: 2 !important;
        position: static !important;
        transform: none !important;
        top: auto !important;
        right: auto !important;
        margin-left: auto !important;
    }
    
    .nav {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: white !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        padding-top: 80px !important;
        padding-left: 1.5rem !important;
        transition: right 0.4s ease !important;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15) !important;
        z-index: 999 !important;
        overflow-y: auto !important;
        margin: 0 !important;
    }
    
    .nav.active {
        right: 0 !important;
        display: flex !important;
    }
    
    .nav-menu {
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
    }
    
    .nav-item {
        width: 100% !important;
    }
    
    .nav-link {
        display: block !important;
        padding: 1rem 0 !important;
        font-size: 1.1rem !important;
        border-bottom: 1px solid #f0f0f0 !important;
        width: 100% !important;
    }
    
    .nav-link:hover {
        background-color: #f8f9fa !important;
        padding-left: 10px !important;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 0.5rem 0.8rem;
    }
    
    .logo {
        gap: 10px;
    }
    
    .logo-image {
        height: 60px;
        width: 100px;
    }
    
    .logo-text {
        font-size: 0.9rem;
        max-width: 120px;
        white-space: normal;
        line-height: 1.2;
    }
}

@media (max-width: 360px) {
    .logo-text {
        display: none;
    }
    
    .logo-image {
        height: 55px;
        width: 90px;
    }
    
    .nav {
        width: 100%;
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    .site-header {
        padding: 1rem 3rem;
    }
    
    .logo {
        gap: 35px;
    }
    
    .logo-image {
        height: 95px;
        width: 170px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        gap: 2.2rem;
    }
}