:root {
    --bg-color: #1f242d;
    --second-bg-color: #323946;
    --text-color: #fff;
    --main-color: #0ef;
    --transition-speed: 0.3s;
    --glow-color: rgba(14, 255, 255, 0.5);
}

.services-analytics {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem 9%;
    background: var(--second-bg-color);
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    margin-top: 5rem;
    transform: perspective(1000px) rotateY(0deg);
}

.services-analytics:hover {
    transform: perspective(1000px) rotateY(5deg);
    transition: transform var(--transition-speed);
}

.services-container {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-text {
    flex: 1;
    color: var(--text-color);
}

.services-text h2 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--main-color);
    text-shadow: 0 0 10px var(--main-color), 0 0 20px var(--main-color), 0 0 30px var(--main-color), 0 0 40px var(--main-color), 0 0 50px var(--main-color);
    animation: glow 1.5s infinite alternate;
}

.services-text p {
    font-size: 1.6rem;
    margin: 2rem 0;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.services-links {
    margin-top: 2rem;
}

.services-links a {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    color: var(--main-color);
    transition: color var(--transition-speed);
}

.services-links a:hover {
    color: var(--text-color);
}

.services-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.services-images img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 0 15px var(--main-color);
    transition: transform var(--transition-speed);
}

.services-images img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--main-color), 0 0 60px var(--main-color);
}

.footer {
    background: var(--second-bg-color);
    padding: 2rem 9%;
    text-align: center;
}

.footer-text p {
    color: var(--main-color);
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
        align-items: center;
    }

    .services-images {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .services-images img {
        width: 30vw;
    }
}
