/**
 * Bright Infosystem Website
 *
 * @file tech-stack-section.css
 * @description Styles for the "Our Tech Stack" section.
 * @version 1.0
 */

.tech-stack-section {
    padding: 100px 20px;
}
.tech-stack-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.tech-stack-header {
    margin-bottom: 60px;
}
.tech-stack-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid var(--dark-divider-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 30px;
}
.tech-stack-badge .badge-icon {
    width: 16px;
    height: 16px;
}
.tech-stack-heading {
    font-size: 44px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 auto;
    max-width: 700px;
    line-height: 1.3;
}
.tech-stack-heading .gradient-text {
    background: linear-gradient(to right, var(--accent-color) 0%, var(--accent-secondary-color) 50%, var(--accent-color) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.5s ease-in-out;
}
.tech-stack-heading:hover .gradient-text {
    background-position: 100% 0%;
}

/* --- Tech Stack Grid --- */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.tech-category-card {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--divider-color);
    text-align: left;
}
.tech-category-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--divider-color);
}
.tech-items-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tech-item {
    padding: 8px 15px;
    border-radius: 8px;
    background: var(--divider-color);
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.tech-item:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Staggering animation delays */
.tech-stack-header.is-visible { transition-delay: 0.1s; }
.tech-stack-grid .tech-category-card:nth-child(1).is-visible { transition-delay: 0.2s; }
.tech-stack-grid .tech-category-card:nth-child(2).is-visible { transition-delay: 0.3s; }
.tech-stack-grid .tech-category-card:nth-child(3).is-visible { transition-delay: 0.4s; }
.tech-stack-grid .tech-category-card:nth-child(4).is-visible { transition-delay: 0.5s; }


/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .tech-stack-heading { 
        font-size: 32px;
    }
    .tech-stack-grid {
        grid-template-columns: 1fr;
    }
}
