/* Content Filter Tabs Component - Sticky Navigation */
.tabs-nav {
    width: calc(100vw + 40px);
    max-width: 1440px;
    position: static;
    top: 0px;
    margin-left: -120px;
    padding-left: 120px;
    margin-bottom: 40px;
    background-color: #FFFFFF;
    z-index: 3;
    border-bottom: 1px solid #E6E7E8;
    transition: box-shadow 0.3s ease;
}

.tabs-nav-inner {
    position: static;
    top: 0px;
    max-width: 1440px;
    margin: 0 auto;
    z-index: 3;
    min-height: 48px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    box-sizing: border-box;
}

div#tabsLinks {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

/* Fixed state styling when sticky */
.tabs-nav.fixed {
    position: fixed;
    /* width: 100%; */
    max-width: 1440px;
}

.tab {
    box-sizing: border-box;
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    border-bottom: 2px solid #0076d5;
}

.tab-text {
    font-family: 'CiscoSansTT', 'Arial', sans-serif;
    font-weight: 350;
    font-style: normal;
    font-size: 24px;
    line-height: 1.25;
    color: #606162;
    margin: 0;
    padding: 24px 0;
    position: relative;
    flex-shrink: 0;
    background: transparent;
    transition: color 0.3s ease;
    cursor: pointer;
}

.tab.active .tab-text {
    color: #1b1c1d;
}

.tab:hover .tab-text {
    color: #1b1c1d;
}

/* Mobile Burger Menu Styles */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    gap: 16px;
    padding: 12px 0px;
    cursor: pointer;
    background-color: white;
    border: none;
    width: 100%;
    text-align: left;
}

.hamburger-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.hamburger-icon::before,
.hamburger-icon::after,
.hamburger-icon span {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background-color: #1b1c1d;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger-icon::before {
    top: 4px;
}

.hamburger-icon span {
    top: 11px;
}

.hamburger-icon::after {
    top: 18px;
}

/* Hamburger animation when open */
.tabs-nav.menu-open .hamburger-icon::before {
    transform: rotate(45deg);
    top: 11px;
}

.tabs-nav.menu-open .hamburger-icon span {
    opacity: 0;
}

.tabs-nav.menu-open .hamburger-icon::after {
    transform: rotate(-45deg);
    top: 11px;
}

.mobile-menu-text {
    font-family: 'CiscoSansTT', 'Arial', sans-serif;
    font-weight: 350;
    font-size: 16px;
    line-height: 1.5;
    color: #1b1c1d;
    margin: 0;
    flex: 1;
}

.mobile-tabs-dropdown {
    display: none;
    flex-direction: column;
    background-color: white;
    border-top: 1px solid #e6e7e8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tabs-nav.menu-open .mobile-tabs-dropdown {
    display: flex;
}

.mobile-tabs-dropdown .tab {
    border-bottom: 1px solid #f0f0f0;
    justify-content: flex-start;
}

.mobile-tabs-dropdown .tab:last-child {
    border-bottom: none;
}

.mobile-tabs-dropdown .tab.active {
    background-color: #e6f4ff;
    border-bottom-color: transparent;
}

.mobile-tabs-dropdown .tab-text {
    font-size: 16px;
    font-weight: 400;
    padding: 8px;
}

/* Responsive Design */
@media screen and (min-width: 1025px) and (max-width: 1275px) {
    .tab-text {
        font-size: 24px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {

    /* Tablet Design - matches Figma tablet specs */
    .tabs-nav-inner {
        margin: 0 auto;
        gap: 16px;
    }

    .tab-text {
        font-size: 20px;
        font-weight: 400;
        line-height: 1.2;
    }

    .tab {
        gap: 2px;
    }
}

@media screen and (max-width: 767px) {

    /* Mobile Design - hamburger menu */
    .tabs-nav-inner {
        width: 100%;
        flex-direction: column;
        gap: 0;
    }

    .tabs-nav.fixed {
        left: 0px;
        padding-left: 16px;
        /* margin-top: 12px; */
    }

    .tabs-nav {
        width: calc(100% + 16px);
        margin: 0px;
        padding: 0px;
       
    }

    .tab {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        width: 100%;
        padding: 0 18px;
        height: 48px;
        line-height: 40px;
        align-items: center;
    }

    .mobile-menu-toggle .hamburger-icon {
        margin-right: 20px;
    }

    .mobile-tabs-dropdown {
        padding: 0px;
    }

    .mobile-tabs-dropdown .tab {
        font-size: 16px;
        margin: 6px 0px;
        color: #727272;
        font-weight: 400;
        display: flex;
        flex-direction: row;
        column-gap: 16px;
        align-items: center;
        width: 100%;
        justify-content: flex-start;
    }
    
    .mobile-tabs-dropdown .tab-text {
        padding: 3px 0px;
        padding-left: 9px;
    }

    .mobile-tabs-dropdown .tab.active {
        color: #1B1C1D;
        border-left: 2px solid #0076D5;
        border-bottom: 0px;
        background-color: transparent;
    }

    div#tabsLinks {
        flex-direction: column;
        align-items: baseline;
        gap: 0px;
    }

    button.tab-text {
        font-size: 16px;
    }

    /* Show tabs in dropdown when menu is open */
    .tabs-nav.menu-open .tab {
        display: flex;
        margin-left: 16px;
    }

    .tabs-nav.menu-open .mobile-tabs-dropdown {
        display: block;
        opacity: 1;
        height: max-content;
        transform: translateY(0px);
    }
}