/* Blue Large Moving Bubbles Background */
.bubble-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.bubble {
    position: absolute;
    background: linear-gradient(135deg, rgba(79, 148, 201, 0.3), rgba(110, 214, 239, 0.5));
    border-radius: 50%;
    animation: float-up 20s infinite linear;
    box-shadow: 0 8px 32px rgba(79, 148, 201, 0.4);
    backdrop-filter: blur(2px);
}

.bubble:nth-child(1) {
    width: 120px;
    height: 120px;
    left: 5%;
    animation-duration: 18s;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 180px;
    height: 180px;
    left: 15%;
    animation-duration: 22s;
    animation-delay: 3s;
}

.bubble:nth-child(3) {
    width: 100px;
    height: 100px;
    left: 30%;
    animation-duration: 25s;
    animation-delay: 6s;
}

.bubble:nth-child(4) {
    width: 200px;
    height: 200px;
    left: 45%;
    animation-duration: 20s;
    animation-delay: 9s;
}

.bubble:nth-child(5) {
    width: 150px;
    height: 150px;
    left: 60%;
    animation-duration: 24s;
    animation-delay: 12s;
}

.bubble:nth-child(6) {
    width: 90px;
    height: 90px;
    left: 75%;
    animation-duration: 19s;
    animation-delay: 15s;
}

.bubble:nth-child(7) {
    width: 160px;
    height: 160px;
    left: 85%;
    animation-duration: 23s;
    animation-delay: 18s;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) scale(0.5) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
        transform: translateY(90vh) scale(1) rotate(36deg);
    }

    50% {
        transform: translateY(50vh) scale(1.1) rotate(180deg);
    }

    90% {
        opacity: 0.7;
        transform: translateY(10vh) scale(1) rotate(324deg);
    }

    100% {
        transform: translateY(-20vh) scale(0.5) rotate(360deg);
        opacity: 0;
    }
}

/* Large Floating Bubbles with Side-to-Side Movement */
.bubble-large {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, rgba(110, 214, 239, 0.6), rgba(79, 148, 201, 0.3));
    border-radius: 50%;
    animation: float-diagonal 30s infinite ease-in-out;
    box-shadow: 0 10px 40px rgba(79, 148, 201, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
}

.bubble-large:nth-child(1) {
    width: 250px;
    height: 250px;
    top: 10%;
    left: -50px;
    animation-duration: 35s;
    animation-delay: 0s;
}

.bubble-large:nth-child(2) {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 100%;
    animation-duration: 40s;
    animation-delay: 8s;
}

.bubble-large:nth-child(3) {
    width: 180px;
    height: 180px;
    top: 70%;
    left: -80px;
    animation-duration: 32s;
    animation-delay: 16s;
}

@keyframes float-diagonal {
    0% {
        transform: translate(0, 0) scale(0.8) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
        transform: translate(20vw, -10vh) scale(1) rotate(45deg);
    }

    25% {
        transform: translate(40vw, 15vh) scale(1.2) rotate(90deg);
    }

    50% {
        transform: translate(60vw, -20vh) scale(1.1) rotate(180deg);
    }

    75% {
        transform: translate(80vw, 25vh) scale(1.3) rotate(270deg);
    }

    90% {
        opacity: 0.6;
        transform: translate(100vw, -15vh) scale(1) rotate(315deg);
    }

    100% {
        transform: translate(120vw, 0) scale(0.8) rotate(360deg);
        opacity: 0;
    }
}

/* Mega Bubbles - Extra Large Background Elements */
.bubble-mega {
    position: absolute;
    background: linear-gradient(45deg,
            rgba(79, 148, 201, 0.15) 0%,
            rgba(110, 214, 239, 0.25) 50%,
            rgba(67, 135, 185, 0.2) 100%);
    border-radius: 50%;
    animation: mega-float 45s infinite linear;
    box-shadow:
        0 20px 60px rgba(79, 148, 201, 0.2),
        inset 0 0 50px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.bubble-mega:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -200px;
    left: 20%;
    animation-duration: 50s;
    animation-delay: 0s;
}

.bubble-mega:nth-child(2) {
    width: 350px;
    height: 350px;
    top: 50%;
    left: -175px;
    animation-duration: 45s;
    animation-delay: 15s;
}

.bubble-mega:nth-child(3) {
    width: 500px;
    height: 500px;
    top: 30%;
    left: 70%;
    animation-duration: 55s;
    animation-delay: 30s;
}

@keyframes mega-float {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 0.4;
    }

    50% {
        transform: translate(-100px, -50px) rotate(180deg);
        opacity: 0.6;
    }

    80% {
        opacity: 0.4;
    }

    100% {
        transform: translate(0, -100px) rotate(360deg);
        opacity: 0;
    }
}

/* upper Section for bubbles  */