/* ========================================
   ANIMATED BLOB BACKGROUND
   ======================================== */

/* Blob Container */
.blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

/* Base Blob Style */
.blob {
    position: absolute;
    background: #ececec;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 1;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

/* Individual Blob Sizes and Positions */
.blob-1 {
    width: 600px;
    height: 600px;
    top: 100px;
    left: -150px;
    animation: float-1 4s infinite;
}

.blob-2 {
    width: 500px;
    height: 500px;
    top: 30%;
    right: -100px;
    animation: float-2 3.5s infinite;
    animation-delay: -5s;
}

.blob-3 {
    width: 700px;
    height: 700px;
    bottom: -250px;
    left: 20%;
    animation: float-3 5s infinite;
    animation-delay: -10s;
}

.blob-4 {
    width: 450px;
    height: 450px;
    top: 50%;
    left: 30%;
    animation: float-4 4.5s infinite;
    animation-delay: -7s;
    opacity: 0.8;
}

.blob-5 {
    width: 550px;
    height: 550px;
    bottom: 10%;
    right: 15%;
    animation: float-5 4s infinite;
    animation-delay: -12s;
    opacity: 0.9;
}

/* Blob Animation Keyframes */
@keyframes float-1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(100px, 150px) scale(1.1);
    }

    100% {
        transform: translate(50px, 80px) scale(0.95);
    }
}

@keyframes float-2 {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    50% {
        transform: translate(-120px, 100px) rotate(180deg) scale(1.15);
    }

    100% {
        transform: translate(-60px, 50px) rotate(360deg) scale(0.9);
    }
}

@keyframes float-3 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-80px, -120px) scale(1.12);
    }

    66% {
        transform: translate(120px, -80px) scale(0.95);
    }

    100% {
        transform: translate(40px, -50px) scale(1.05);
    }
}

@keyframes float-4 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(150px, -100px) rotate(180deg);
    }

    100% {
        transform: translate(80px, -50px) rotate(360deg);
    }
}

@keyframes float-5 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    40% {
        transform: translate(-100px, -120px) scale(1.08);
    }

    80% {
        transform: translate(80px, 100px) scale(0.92);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Ensure content stays above blobs */
#home .container {
    position: relative;
    z-index: 10;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blob {
        filter: blur(60px);
        opacity: 0.9;
    }

    .blob-1 {
        width: 400px;
        height: 400px;
    }

    .blob-2 {
        width: 350px;
        height: 350px;
    }

    .blob-3 {
        width: 450px;
        height: 450px;
    }

    .blob-4 {
        width: 300px;
        height: 300px;
    }

    .blob-5 {
        width: 350px;
        height: 350px;
    }
}