.tech-bar {
    width: 100%;
    height: 120px;
    margin: 24px;
    margin-top: -12px;
    position: relative;
    overflow: visible;
}

.tech-bar-container {
    width: calc(100% - 48px);
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.tech-bar-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../wave.mp4') center center;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.tech-bar-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.65) contrast(1.1);
    opacity: 0.8;
    border-radius: 20px;
}

.tech-image-wrapper {
    width: 320px;
    height: 145px;
    position: absolute;
    left: 24px;
    top: 0;
    flex-shrink: 0;
    overflow: visible;
    z-index: 100;
    padding-left: 20px;
    pointer-events: none;
}

.tech-drone {
    position: absolute;
    top: 35%;
    right: 8%;
    width: 180px;
    height: auto;
    opacity: 0.85;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
    z-index: 3;
}

.tech-image {
    position: absolute;
    top: 50%;
    left: -100%;
    width: 280px;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
    transition: none;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.6));
    z-index: 100;
    pointer-events: auto;
}

.tech-image.active {
    animation: droneFlyin 2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes droneFlyin {
    0% {
        left: -100%;
        opacity: 0;
        transform: translateY(-50%) scale(0.8) rotate(-5deg);
    }

    60% {
        opacity: 1;
    }

    100% {
        left: -20px;
        opacity: 1;
        transform: translateY(-50%) scale(1.15) rotate(0deg);
    }
}

.tech-content {
    flex: 1;
    padding: 0 50px 0 340px;
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 3;
    position: relative;
}

.tech-badge {
    display: none;
}

.tech-info {
    flex: 1;
    min-width: 0;
}

.tech-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #ffffff;
    letter-spacing: -0.5px;
    transition: all 0.8s ease-in-out;
}

.tech-desc {
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.8s ease-in-out;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    max-width: 100%;
}

.tech-bar.animate .tech-title {
    animation: slideInFromTop 0.8s ease-out;
}

.tech-bar.animate .tech-desc {
    animation: slideInFromBottom 0.8s ease-out 0.2s backwards;
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .tech-bar {
        margin: 16px;
        margin-top: -8px;
        height: 130px;
    }

    .tech-bar-container {
        width: calc(100% - 32px);
    }

    .tech-image-wrapper {
        width: 280px;
        padding-left: 20px;
    }

    .tech-image {
        width: 240px;
    }

    @keyframes droneFlyin {
        100% {
            left: -15px;
            opacity: 1;
            transform: translateY(-50%) scale(1.1) rotate(0deg);
        }
    }

    .tech-content {
        padding: 0 40px 0 15px;
    }

    .tech-title {
        font-size: 1.2rem;
    }

    .tech-desc {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .tech-bar {
        height: auto;
        min-height: 120px;
        margin: 12px;
        margin-top: -6px;
    }

    .tech-bar-container {
        width: calc(100% - 24px);
        flex-direction: column;
        padding: 20px;
        border-radius: 18px;
        justify-content: center;
        overflow: hidden;
    }

    .tech-image-wrapper {
        display: none;
    }

    .tech-image {
        display: none;
    }

    .tech-content {
        padding: 0;
        text-align: center;
        width: 100%;
    }

    .tech-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .tech-desc {
        font-size: 0.75rem;
        white-space: normal;
        overflow: visible;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .tech-bar {
        margin: 8px;
    }

    .tech-bar-container {
        width: calc(100% - 16px);
        padding: 15px;
        border-radius: 12px;
    }

    .tech-title {
        font-size: 0.9rem;
    }

    .tech-desc {
        font-size: 0.7rem;
    }
}