
/* ==========================================
   A ENGINEERING
   PREMIUM DEEP BLUE SECTION SEPARATOR
   ========================================== */

.tech-section-divider {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 0;
    overflow: hidden;

    /* Deep navy engineering background */
    background: linear-gradient(
        180deg,
        #101A27 0%,
        #13243A 50%,
        #101A27 100%
    );

    border-top: 1px solid rgba(65, 145, 210, 0.10);
    border-bottom: 1px solid rgba(65, 145, 210, 0.10);
}

/* Compact separator layout */

.divider-container {
    display: flex;
    align-items: center;
    justify-content: center;

    width: min(100%, 800px);
    margin: 0 auto;
    padding: 20px 24px;
}

/* Thin blue technical lines */

.glow-line-left,
.glow-line-right {
    position: relative;
    display: block;
    flex: 1;
    max-width: 250px;
    height: 1px;
    opacity: 0.75;
    overflow: hidden;

    background: linear-gradient(
        90deg,
        transparent,
        #24517A 35%,
        #398FD0 100%
    );
}

.glow-line-right {
    background: linear-gradient(
        90deg,
        #398FD0 0%,
        #24517A 65%,
        transparent 100%
    );
}

/* Subtle moving light across each line */

.glow-line-left::after,
.glow-line-right::after {
    content: "";
    position: absolute;
    top: 0;
    left: -45%;
    width: 35%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        #75C5FF,
        transparent
    );

    animation: separator-scan 4s ease-in-out infinite;
}

.glow-line-right::after {
    animation-delay: 2s;
}

/* Keep the existing central gear icon */

.tech-node {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    margin: 0 22px;
    color: #4CA9F5;
    font-size: 1.05rem;
    line-height: 1;

    filter: drop-shadow(0 0 4px rgba(44, 150, 234, 0.22));

    transition:
        color 0.3s ease,
        filter 0.3s ease,
        transform 0.3s ease;
}

/* Small technical highlight behind the gears */

.tech-node::before {
    content: "";
    position: absolute;
    z-index: -1;

    width: 34px;
    height: 34px;
    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(44, 150, 234, 0.13),
        rgba(44, 150, 234, 0.03) 60%,
        transparent 75%
    );
}

/* Refined hover interaction */

.tech-section-divider:hover .tech-node {
    color: #8BCBFF;
    filter: drop-shadow(0 0 7px rgba(44, 150, 234, 0.5));
    transform: rotate(12deg);
}

.tech-section-divider:hover .glow-line-left,
.tech-section-divider:hover .glow-line-right {
    opacity: 1;
}

/* Moving light animation */

@keyframes separator-scan {
    0% {
        left: -45%;
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    70% {
        opacity: 0.8;
    }

    100% {
        left: 110%;
        opacity: 0;
    }
}

/* Mobile optimization */

@media (max-width: 768px) {
    .divider-container {
        padding: 15px 20px;
    }

    .glow-line-left,
    .glow-line-right {
        max-width: 100px;
    }

    .tech-node {
        margin: 0 15px;
        font-size: 0.95rem;
    }

    .tech-node::before {
        width: 30px;
        height: 30px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .glow-line-left::after,
    .glow-line-right::after {
        animation: none;
    }

    .tech-node {
        transition: none;
    }
}