/* PREMIUM MODERN HEADER */
html, body {
    overflow-x: hidden;
    width: 100%;
}
.new-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 9999;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.new-header.scrolled {
    height: 60px;
    background: #fff;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.new-header-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.new-logo img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.new-header.scrolled .new-logo img {
    height: 35px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.new-nav {
    display: flex;
    align-items: center;
}

.new-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 35px;
}

.new-nav-item {
    position: relative;
}

.new-nav-link {
    color: #1a202c;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.new-nav-link:hover {
    color: #3b82f6;
}

.new-nav-link i {
    font-size: 11px;
    color: #cbd5e0;
    transition: transform 0.3s ease;
}

.new-nav-item:hover .new-nav-link i {
    transform: rotate(180deg);
    color: #3b82f6;
}

/* Dropdown */
.new-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 250px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.new-nav-item:hover .new-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.new-dropdown-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #4a5568;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 8px;
}

.new-dropdown-link:hover {
    background: #f8fafc;
    color: #3b82f6;
    transform: translateX(5px);
}


.new-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Button */
.btn-client {
    background: #3b82f6;
    color: #fff;
    padding: 9px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-client:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
    color: #fff;
}

/* User Dropdown (Mobile Only) */
.user-dropdown {
    position: relative;
    cursor: pointer;
}

.user-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #f8fafc;
    border-radius: 50%;
    color: #4a5568;
    font-size: 16px;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.user-dropdown.active .user-trigger {
    background: #eff6ff;
    color: #3b82f6;
    border-color: #3b82f6;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    transform: translateY(8px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    margin-top: 5px;
}

.user-dropdown.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}



.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #4a5568;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.user-dropdown-menu a:hover {
    background: #f8fafc;
    color: #3b82f6;
}

/* Visibility Helpers */
.desktop-only { display: block; }
.mobile-only { display: none; }

/* Animated Hamburger */
.new-mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    z-index: 10001;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.new-mobile-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.new-mobile-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 20px;
    background: #1a202c;
    border-radius: 2px;
    opacity: 1;
    left: 50%;
    margin-left: -10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.new-mobile-toggle:hover span {
    background: #3b82f6;
}

.new-mobile-toggle span:nth-child(1) { top: 13px; }
.new-mobile-toggle span:nth-child(2) { top: 19px; }
.new-mobile-toggle span:nth-child(3) { top: 25px; }

.new-mobile-toggle.open span:nth-child(1) {
    top: 19px;
    transform: rotate(45deg);
}

.new-mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}

.new-mobile-toggle.open span:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg);
}

@media (max-width: 1024px) {
    .header-right { gap: 15px; }
    .new-nav { display: none; }
    .new-mobile-toggle { display: flex; }
    .desktop-only { display: none !important; }
    .mobile-only { display: flex !important; }
}


/* Back to Top Button */
.progress-wrap {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.progress-wrap.active-progress {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.progress-wrap:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.25) !important;
    background: #3b82f6 !important;
}

.progress-wrap:hover i {
    color: #fff !important;
    transform: scale(1.1);
}

.progress-wrap i {
    transition: all 0.3s ease !important;
}

.progress-circle path {
    stroke: #3b82f6 !important;
    stroke-width: 4;
}
.progress-wrap svg.progress-circle {
    width: 100%;
    height: 100%;
    display: block;
}
