@keyframes headerGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(90deg, #0055ff, #003366, #001a33);
    background-size: 200% 200%;
    animation: headerGradient 10s ease infinite;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-bar {
    background-color: rgba(0, 0, 0, 0.2);
    height: 32px;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: height 0.3s ease, opacity 0.3s ease;
}

.site-header.scrolled .top-bar {
    height: 0;
    opacity: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.segment-switch {
    display: flex;
    gap: 0;
}

.segment-btn {
    padding: 0 15px;
    height: 32px;
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
    letter-spacing: 0.5px;
}

.segment-btn:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

.segment-btn.active {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.1);
}

.main-bar {
    height: 75px;
    display: flex;
    align-items: center;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled .main-bar {
    height: 60px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(0) invert(1);
}

.logo-link:hover .main-logo {
    transform: scale(1.1);
}

.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-item:hover {
    color: #ffffff;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-group {
    position: relative;
}

.action-btn, .client-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
    padding: 8px 12px;
    border-radius: 6px;
}

.client-btn {
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 8px 20px;
}

.action-btn:hover, .client-btn:hover {
    background: rgba(255,255,255,0.15);
}

.action-btn i.fa-chevron-down, .client-btn i.fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.3s;
    opacity: 0.8;
}

.action-group.active i.fa-chevron-down {
    transform: rotate(180deg);
}

.vertical-divider {
    width: 1px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.3);
}

.dropdown-box {
    position: absolute;
    top: 160%;
    right: 0;
    width: 340px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1001;
    cursor: default;
    border: 1px solid rgba(0,0,0,0.05);
}

.action-group.active .dropdown-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-box::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 30px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    transform: rotate(45deg);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-left: 1px solid rgba(0,0,0,0.05);
}

.dropdown-divider {
    height: 1px;
    background-color: #f0f0f0;
    margin: 10px 20px;
}

.contact-item {
    padding: 10px 25px;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    color: #333;
    font-weight: 700;
    font-size: 0.95rem;
}

.contact-header i {
    color: #0055ff;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-desc {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 8px;
    margin-left: 30px;
    font-weight: 500;
}

.contact-action {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 30px;
}

.contact-link {
    background-color: #f9f9f9;
    padding: 6px 12px;
    border-radius: 6px;
    color: #333;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    flex-grow: 1;
    text-align: center;
}

.contact-link:hover {
    background-color: #0055ff;
    color: white;
}

.btn-copy {
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
}

.btn-copy:hover {
    border-color: #0055ff;
    color: #0055ff;
    background-color: #e6f0ff;
}

.client-item-link {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 25px;
    text-decoration: none;
    transition: background 0.2s;
}

.client-item-link:hover {
    background-color: #fbfbfb;
}

.client-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 85, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0055ff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.client-item-link:hover .client-icon {
    background-color: #0055ff;
    color: white;
}

.client-info {
    display: flex;
    flex-direction: column;
}

.client-title {
    color: #333;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.client-desc {
    color: #888;
    font-size: 0.75rem;
    line-height: 1.4;
    font-weight: 500;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 300px;
    height: 100%;
    background: #ffffff;
    z-index: 999;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-segments {
    display: flex;
    background: #f4f4f4;
    border-radius: 8px;
    padding: 5px;
    margin-top: 60px;
}

.mobile-segments a {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    font-weight: 700;
    color: #666;
    font-size: 0.9rem;
}

.mobile-segments a.active {
    background: #0055ff;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.mobile-menu nav a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
}

.mobile-menu nav a.highlight {
    color: #0055ff;
}

@media (max-width: 992px) {
    .desktop-nav, .header-actions .action-group, .header-actions .vertical-divider {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .main-logo {
        height: 35px;
    }
    .site-header .top-bar {
        display: none;
    }
}