.cc-header {
    position: relative;
    z-index: 1000;
  
}

.cc-nav {

    z-index: 1000;
  
    
}

.cc-nav__logo {
    flex-shrink: 0;
}

.cc-nav__logo img {
    height: 32px;
    width: auto;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cc-nav__logo:hover img {
    transform: scale(1.08);
}

.cc-nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cc-nav__link {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.cc-nav__link > span {
    display: flex;
    align-items: center;
    gap: 6px;

    font-weight: 500;
    color: #333;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

}

.cc-nav__link:not(.no-indicator) > span::after {
    content: '▾';
    font-size: 14px;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: #333;
    margin-top: 2px;
}

.cc-nav__link.active > span {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cc-nav__link.active > span::after {
    transform: rotate(180deg);
}

.cc-nav__link:not(.no-indicator):hover > span {
    background: rgba(0, 0, 0, 0.03);
    transform: translateY(-2px);
}

.cc-nav__link > a {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 24px;
}

.cc-nav__link > a:hover {
    background: rgba(0, 0, 0, 0.03);
    transform: translateY(-2px);
}

.cc-nav__language {
    position: relative;
    margin-left: 1rem;
}

.cc-nav__language-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 24px;
    border: none;
}

.cc-nav__language-btn:hover {
    background: rgba(0, 0, 0, 0.03);
    transform: translateY(-2px);
}

.cc-nav__language.active .cc-nav__language-btn {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cc-nav__language-arrow {
    font-size: 14px;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: #333;
    margin-top: 2px;
}

.cc-nav__language.active .cc-nav__language-arrow {
    transform: rotate(180deg);
}

.accordion-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 700px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12),
                0 10px 20px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 99999;
    border-radius: 16px;
    padding: 12px;
    margin-top: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}


@media screen and (min-width: 1600px) {
    .accordion-menu {
        width: 700px;
        left: 0;
        transform: translateY(20px) scale(0.95);
    }
    
    .cc-nav__link.active .accordion-menu {
        transform: translateY(0) scale(1);
    }
}


@media screen and (max-width: 1550px) and (min-width: 1060px) {
    .accordion-menu {
        width: 550px;
        left: -100px;
        transform: translateY(20px) scale(0.95);
    }
    
    .cc-nav__link.active .accordion-menu {
        transform: translateY(0) scale(1);
    }
    .accordion-menu::before {
        display: none;
      }
}

/* Smaller screens */
@media screen and (max-width: 1059px) {
    .accordion-menu {
        width: calc(100vw - 40px);
        grid-template-columns: 1fr;
        left: 50%;
        transform: translateX(-50%) translateY(20px) scale(0.95);
    }
    
    .cc-nav__link.active .accordion-menu {
        transform: translateX(-50%) translateY(0) scale(1);
    }
    
    .menu-item {
        padding: 12px;
    }
}

.accordion-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.98);
    transform: rotate(45deg);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.02);
}

/* Larger screens - default arrow position */
@media screen and (min-width: 1366px) {
    .accordion-menu::before {
        left: 20px;
        transform: rotate(45deg);
    }
}

/* Medium-large screens - adjusted arrow position */
@media screen and (max-width: 1365px) and (min-width: 1060px) {
    .accordion-menu::before {
        left: 120px;
        transform: rotate(45deg);
    }
}

/* Smaller screens - centered arrow */
@media screen and (max-width: 1059px) {
    .accordion-menu::before {
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
    }
}

.cc-nav__link.active .accordion-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.menu-item {
    display: flex;
    flex-direction: column;
    padding: 16px;
    text-decoration: none;
    color: #333;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    border-radius: 12px;
    margin: 4px 0;
    background: rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, 
        rgba(0, 0, 0, 0.02) 0%,
        rgba(0, 0, 0, 0.05) 50%,
        rgba(0, 0, 0, 0.02) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 12px;
}

.menu-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x, 0) var(--mouse-y, 0),
        rgba(0, 0, 0, 0.06),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.menu-item:hover {
    
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(8px) translateY(-2px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 5px 15px rgba(0, 0, 0, 0.05);
}

.menu-item:hover::before,
.menu-item:hover::after {
    opacity: 1;
}

.menu-item:active {
    transform: translateX(8px) translateY(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.menu-item-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.menu-item-title i {
    color: #333;
    font-size: 18px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.9;
    background: rgba(0, 0, 0, 0.04);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.menu-item:hover .menu-item-title i {
    transform: scale(1.15) rotate(8deg);
    opacity: 1;
    background: rgba(0, 0, 0, 0.06);
}

.menu-item-description {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    transition: all 0.3s ease;
    opacity: 0.8;
    padding-left: 48px;
    position: relative;
    z-index: 2;
}

.menu-item-description::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    width: 20px;
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: left;
}

.menu-item:hover .menu-item-description {
   
    opacity: 1;
    transform: translateX(4px);
}

.menu-item:hover .menu-item-description::before {
    transform: scaleX(1);
}
