* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    overflow-x: hidden;
    height: 100vh;
    background: linear-gradient(45deg, #ff6b6b, #f8a5c2); /* Base background gradient */
    animation: pulseBackground 16s ease-in-out infinite; /* Slower pulsating effect */
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px;
    z-index: 1000;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #00bcd4;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.animated-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: shapeAnimation 8s ease-in-out infinite;
}

.shape1 {
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.6);
    top: 20%;
    left: -200px; /* Start off-screen */
    animation-delay: 0s;
}

.shape2 {
    width: 150px;
    height: 150px;
    background-color: rgba(255, 255, 255, 0.5);
    top: 60%;
    left: -150px; /* Start off-screen */
    animation-delay: 2s;
}

.shape3 {
    width: 180px;
    height: 180px;
    background-color: rgba(255, 255, 255, 0.7);
    top: 15%;
    left: -180px; /* Start off-screen */
    animation-delay: 0s;
}

.shape4 {
    width: 120px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.4);
    top: 70%;
    left: -120px; /* Start off-screen */
    animation-delay: 2.5s;
}

.shape5 {
    width: 250px;
    height: 250px;
    background-color: rgba(255, 255, 255, 0.8);
    top: 20%;
    left: -250px; /* Start off-screen */
    animation-delay: 1s;
}

.shape6 {
    width: 180px;
    height: 180px;
    background-color: rgba(255, 255, 255, 0.6);
    top: 50%;
    left: -180px; /* Start off-screen */
    animation-delay: 3s;
}

@keyframes shapeAnimation {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    25% {
        transform: translateX(50vw);
        opacity: 1;
    }
    50% {
        transform: translateX(100vw); /* Moves the shape off the screen */
        opacity: 0.7;
    }
    75% {
        transform: translateX(150vw);
        opacity: 1;
    }
    100% {
        transform: translateX(200vw); /* Moves off completely off the screen */
        opacity: 0;
    }
}

/* Slow pulsating gradient effect */
@keyframes pulseBackground {
    0% {
        background: linear-gradient(45deg, #ff6b6b, #f8a5c2);
    }
    25% {
        background: linear-gradient(45deg, #f7d794, #6a89cc);
    }
    50% {
        background: linear-gradient(45deg, #ff6b6b, #f8a5c2);
    }
    75% {
        background: linear-gradient(45deg, #f7d794, #6a89cc);
    }
    100% {
        background: linear-gradient(45deg, #ff6b6b, #f8a5c2);
    }
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #222;
    color: white;
}

@media screen and (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
    }
}
