/* -----------------------------------------------------------------------------------------
   Technology Stack Section - Premium Tabbed Layout
   ----------------------------------------------------------------------------------------- */
.tech-stack-area {
    padding: 120px 0;
    background-color: var(--tp-common-white, #ffffff);
    overflow: hidden;
}

.dark-bg .tech-stack-area {
    background-color: var(--tp-common-black, #19191a);
}

/* Tabs Styling - Minimal Underline */
.tech-tabs-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.tech-nav-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tech-nav-pills .nav-link {
    font-weight: 500;
    font-size: 16px;
    color: #666;
    padding: 10px 16px;
    border-radius: 0;
    background: transparent;
    transition: all 0.3s ease;
    border: none;
    border-bottom: 3px solid transparent;
}

.dark-bg .tech-nav-pills .nav-link {
    color: #888;
}

.tech-nav-pills .nav-link:hover {
    color: var(--tp-common-black, #19191a);
}

.dark-bg .tech-nav-pills .nav-link:hover {
    color: var(--tp-common-white, #ffffff);
}

.tech-nav-pills .nav-link.active {
    background-color: transparent;
    color: var(--tp-common-black, #19191a);
    font-weight: 700;
    border-bottom-color: var(--tp-common-black, #19191a);
}

.dark-bg .tech-nav-pills .nav-link.active {
    background-color: transparent;
    color: var(--tp-common-white, #ffffff);
    border-bottom-color: var(--tp-common-white, #ffffff);
}

/* Tab Content Styling */
.tech-card-content {
    background-color: transparent;
    padding: 30px 0;
    text-align: center;
    animation: fadeInTab 0.4s ease-in-out;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logos Styling */
.tech-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tech-logo-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: transparent;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    transition: all 0.3s ease;
    gap: 15px;
}

.dark-bg .tech-logo-box {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-logo-box:hover {
    background: #ffffff;
    border-color: #ddd;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transform: translateY(-5px);
}

.dark-bg .tech-logo-box:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tech-logo-box img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.dark-bg .tech-logo-box img {
    filter: invert(1) grayscale(100%) opacity(0.6);
}

.tech-logo-box:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.dark-bg .tech-logo-box:hover img {
    /* To keep colors glowing in dark mode without inversion */
    filter: grayscale(0%) opacity(1);
}

.tech-logo-box span {
    font-size: 13px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.dark-bg .tech-logo-box span {
    color: #999;
}

.tech-logo-box:hover span {
    color: var(--tp-common-black, #19191a);
}

.dark-bg .tech-logo-box:hover span {
    color: var(--tp-common-white, #ffffff);
}