/* Abstract Background Elements */
:root {
    --accent-color-1: rgba(0, 123, 255, 0.1);
    --accent-color-2: rgba(40, 167, 69, 0.1);
    --accent-color-3: rgba(255, 193, 7, 0.1);
    --accent-color-4: rgba(23, 162, 184, 0.1);
}

/* Abstract Background Elements */
.abstract-bg {
    position: relative;
    overflow: hidden;
}

.abstract-bg::before,
.abstract-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
    filter: blur(60px);
    animation: float 15s infinite alternate ease-in-out;
}

.abstract-bg::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-color-1), transparent 70%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.abstract-bg::after {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-color-3), transparent 70%);
    bottom: -50px;
    left: -50px;
    animation-delay: 1s;
}

.abstract-shape-1,
.abstract-shape-2,
.abstract-shape-3 {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.2;
    filter: blur(40px);
    animation: float 20s infinite alternate ease-in-out;
}

.abstract-shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-color-2), transparent 70%);
    top: 20%;
    left: 10%;
    animation-delay: 0.5s;
}

.abstract-shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-color-4), transparent 70%);
    bottom: 10%;
    right: 10%;
    animation-delay: 1.5s;
}

.abstract-shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-color-1), transparent 70%);
    top: 60%;
    left: 30%;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Section with abstract background */
.section-with-bg {
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .abstract-bg::before,
    .abstract-bg::after,
    .abstract-shape-1,
    .abstract-shape-2,
    .abstract-shape-3 {
        display: none;
    }
    
    .abstract-bg {
        overflow: visible;
    }
}
