﻿:root {
    --marquee-bg: #050810;
    --tech-card-bg: rgba(255, 255, 255, 0.03);
    --tech-border: rgba(255, 255, 255, 0.08);
}

.tech-marquee-section {
    background: var(--marquee-bg);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--tech-border);
    border-bottom: 1px solid var(--tech-border);
}

    /* Faded Edges for Pro Look */
    .tech-marquee-section::before,
    .tech-marquee-section::after {
        content: "";
        position: absolute;
        top: 0;
        width: 150px;
        height: 100%;
        z-index: 2;
        pointer-events: none;
    }

    .tech-marquee-section::before {
        left: 0;
        background: linear-gradient(to right, var(--marquee-bg), transparent);
    }

    .tech-marquee-section::after {
        right: 0;
        background: linear-gradient(to left, var(--marquee-bg), transparent);
    }

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    gap: 40px;
    padding: 10px 0;
    animation: scroll-marquee 30s linear infinite;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    padding: 12px 24px;
    border-radius: 100px; /* Capsule shape */
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

    .tech-item:hover {
        border-color: var(--glow-clr);
        box-shadow: 0 0 20px rgba(var(--glow-clr), 0.2);
        transform: translateY(-5px);
    }

.tech-icon-box i {
    font-size: 24px;
    color: var(--glow-clr); /* Custom Color from Model */
}

.tech-name {
    color: #e8eaf6;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

.tech-eyebrow {
    display: inline-block;
    animation: fadeInDown 0.8s ease-out;
}

.tech-stack-header h2 {
    letter-spacing: -0.02em;
    font-weight: 800;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation */
@keyframes scroll-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 20px));
    }
}

/* Pause on Hover */
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}
