/* Tech Stack Section Styles */
.tech-stack {
    padding: 5rem 5%;
    background-color: var(--bg-section);
    text-align: center;
}

.tech-stack h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.tech-stack .section-subtitle {
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--box-bg-blue);
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 500;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.light-mode .tech-card {
    background-color: #f0f7ff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.tech-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.tech-card:hover .tech-icon {
    background: rgba(0, 102, 255, 0.2);
    transform: scale(1.1);
    color: var(--accent-color);
}

.tech-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--card-text);
    font-weight: 600;
}

.tech-description {
    color: var(--card-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    background-color: rgba(0, 102, 255, 0.05);
    padding: 12px 15px;
    border-radius: 8px;
}

.tech-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tech-feature {
    background-color: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.tech-feature:hover {
    background-color: rgba(0, 102, 255, 0.2);
    transform: translateY(-3px);
}
