/* Logo Animation CSS */
.logo-anim-section {
    position: relative;
    height: 70vh;
    min-height: 600px;
    display: flex;
    align-items: flex-start;
    /* Position to top */
    justify-content: center;
    padding-top: 10vh;
    /* Controlled spacing from top */
    background: #0a0a0a;
    width: 100%;
    overflow: hidden;
    perspective: 1200px;
    /* For 3D floating effect */
}

/* Premium Background Mesh */
.logo-bg-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 10%, rgba(32, 128, 191, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(139, 197, 63, 0.08) 0%, transparent 40%);
    opacity: 0.8;
    z-index: 1;
}

.logo-glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(32, 128, 191, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.logo-anim-container {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.logo-anim-svg {
    width: 350px;
    height: 350px;
    filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0.9));
}

/* Stroke drawing */
.logo-stroke {
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stroke-blue {
    stroke: #2080bf;
    filter: drop-shadow(0 0 12px rgba(32, 128, 191, 0.8));
}

.stroke-green {
    stroke: #8bc53f;
    filter: drop-shadow(0 0 12px rgba(139, 197, 63, 0.8));
}

/* Fill Colors - Initial state hidden */
.logo-filled-blue {
    fill: url(#blueGradient);
    opacity: 0;
}

.logo-filled-green {
    fill: url(#greenGradient);
    opacity: 0;
}

/* Text reveal - Initial state hidden */
.logo-text-reveal {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    text-align: center;
}

.logo-text-reveal span {
    display: block;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.4), #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 4s linear infinite;
}

@keyframes textShine {
    to {
        background-position: 200% center;
    }
}

/* Glow Pulses */
.logo-glow-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(32, 128, 191, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0;
    z-index: -1;
}