/*--------------------------------------------------------------
  Tech Stack section (replaces the Testimonials carousel)
--------------------------------------------------------------*/
.tech-stack-two {
    position: relative;
    display: block;
    padding: 100px 0;
    background-color: var(--finris-black);
    overflow: hidden;
    z-index: 1;
}

.tech-stack-two__emerald {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 48%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    mix-blend-mode: screen;
    transform: scaleY(-1);
    transform-origin: center center;
}

.tech-stack-two__emerald canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 auto;
    transition: opacity 0.35s ease;
}

.tech-stack-two__shape-bg {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: .10;
    z-index: 0;
    pointer-events: none;
}

.tech-stack-two .container {
    position: relative;
    z-index: 1;
}

.tech-stack-two .section-title-two__tagline-icon-1 {
    border-color: var(--finris-white);
}

.tech-stack-two .section-title-two__tagline-icon-2 {
    background-color: var(--finris-primary);
}

.tech-stack-two .section-title-two__tagline {
    color: var(--finris-white);
}

.tech-stack-two .section-title-two__title {
    color: var(--finris-white);
}

.tech-stack-two .section-title-two__title span {
    color: var(--finris-primary);
}

.tech-stack-two__grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tech-stack-two__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 26px 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    transition: all 0.4s ease;
}

.tech-stack-two__item:hover {
    background: rgba(37, 150, 190, 0.12);
    border-color: var(--finris-primary);
    transform: translateY(-4px);
}

.tech-stack-two__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    line-height: 1;
}

.tech-stack-two__icon img {
    display: block;
    width: 34px;
    height: 34px;
}

.tech-stack-two__name {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--finris-white);
}

@media (max-width: 1199px) {
    .tech-stack-two__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .tech-stack-two__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
