.tech-stack {
    padding: 8rem 6vw;
}

.tech-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 4rem;
}

.tech-block h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tech-block ul {
    list-style: none;
    padding: 0;
}

.tech-block li {
    margin-bottom: 0.6rem;
    opacity: 0.85;
}

/* Slider */
.tech-slider {
    overflow: hidden;
    padding: 4rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.slider-track {
    display: flex;
    gap: 5rem;
    animation: slide 20s linear infinite;
    will-change: transform;
}

@media (max-width: 768px) {
    .slider-track {
        animation: slide 12s linear infinite;
        will-change: transform;
    }
}

/* Make only Flask and Three.js logos white */
.tech-slider img[src$="flask.svg"],
.tech-slider img[src$="threejs.svg"] {
    filter: brightness(0) invert(1);
}

.slider-track img {
    height: 110px;
    opacity: 0.8;
    filter: none;
}

@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* TECH STACK CARDS */
.tech-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.tech-card {
    background-color: rgba(12, 26, 46, 0.7); /* dark blue translucent */
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 24px 20px;
    width: 220px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #f0f4f8;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card h3 {
    margin-bottom: 16px;
    font-size: 1.2rem;
    color: #3b82f6; /* accent blue */
}

.tech-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-card ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Hover effect */
.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

/* Section title */
.section-title {
    font-size: 2rem;
    color: #f0f4f8;
    margin-bottom: 20px;
}
