.about-anim,
.service-anim {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    z-index: 0;
}

/* 3D Neon Cubes */
.cube {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, cyan, magenta);
    box-shadow: 0 0 20px cyan;
    transform-origin: center;
    animation: rotateCube 4s infinite linear, moveAround 8s infinite alternate;
    z-index: -1;
}

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* Merged Triangles */
.triangle-container {
    position: absolute;
    width: 0;
    height: 0;
    z-index: -1;
}

.triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid #b6f3dc;
    filter: drop-shadow(0 0 15px #bfefbf);
    transform-origin: center;
    z-index: -1;
}

.triangle.mirror {
    transform: rotate(180deg) translateY(-20px);
}

/* Floating Bubbles */
.bubble {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: rgba(173, 216, 230, 0.4);
    border-radius: 50%;
    animation: floatUp 6s infinite alternate ease-in-out;
    z-index: -1;
}

@keyframes floatUp {
    0% { transform: translateY(0px) scale(1); opacity: 0.5; }
    100% { transform: translateY(-100px) scale(1.2); opacity: 1; }
}

@keyframes moveAround {
    0% { transform: translateX(0px) translateY(0px); }
    100% { transform: translateX(100px) translateY(-100px); }
}

.text-gradient {
    background: linear-gradient(45deg, cyan, magenta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block; /* Ensures gradient applies properly */
}