/* Technology Stack Enhanced Styles */

.tech-stack-area {
    background: #ffffff;
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

/* 1. Modern Tab Navigation */
.tech-tabs {
    background: #f8fafc;
    padding: 10px;
    border-radius: 100px;
    display: inline-flex;
    margin-bottom: 40px !important;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

@media (max-width: 991px) {
    .tech-tabs {
        border-radius: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.tech-tabs .nav-item {
    margin: 0 2px;
}

.tech-tabs .nav-link {
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tech-tabs .nav-link.active {
    background: #ffffff;
    color: #3b82f6;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.tech-tabs .nav-link:hover:not(.active) {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

/* 2. Progress Bar */
.tab-progress {
    width: 100%;
    height: 4px;
    background: #f1f5f9;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 99px;
}

.tab-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.tab-progress-bar.active {
    animation: tabProgress 4s linear infinite;
}

@keyframes tabProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* 3. Tech Icon Box Enhancement */
.tech-icon-box {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 30px 20px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.tech-icon-box:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.tech-icon-box i {
    font-size: 3rem;
    margin-bottom: 15px;
    transition: all 0.4s ease;
    filter: grayscale(0.2);
}

.tech-icon-box:hover i {
    filter: grayscale(0);
    transform: scale(1.1);
}

.tech-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    transition: color 0.3s ease;
}

.tech-icon-box:hover .tech-name {
    color: #3b82f6;
}

/* Floating shadow for icons */
.tech-icon-box::after {
    content: '';
    position: absolute;
    bottom: 15px;
    width: 40px;
    height: 10px;
    background: rgba(0, 0, 0, 0.05);
    filter: blur(8px);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.tech-icon-box:hover::after {
    opacity: 1;
    width: 60px;
    transform: translateY(5px);
}

/* Custom icon colors enhancement */
.tech-orange { color: #f97316; }
.tech-purple { color: #8b5cf6; }
.tech-pink { color: #ec4899; }
.text-dark { color: #0f172a !important; }
