
@keyframes waveBob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(100vh);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.wave-d::after {
    content: "";
    position: absolute;
    bottom: -10vh;
    left: 0;
    width: 100%;
    aspect-ratio: 1366 / 248; /* approximate ratio of your wave image */
    background: url("../assets/bg_elements/wave-light.png") no-repeat bottom center / contain;
    pointer-events: none;
    z-index: 11;

    animation: waveBob 4s ease-in-out infinite;
}

.wave-d::before {
    content: "";
    position: absolute;
    bottom: -14vh;
    left: 0;
    width: 100%;
    aspect-ratio: 1366 / 248; /* approximate ratio of your wave image */
    background: url("../assets/bg_elements/wave-dark.png") no-repeat bottom center / contain;
    pointer-events: none;
    z-index: 12;

    animation: waveBob 4s ease-in-out infinite;
    animation-delay: -1s;
}

.wave-u::after {
    content: "";
    position: absolute;
    top: -10vh;
    left: 0;
    width: 100%;
    aspect-ratio: 1366 / 248;
    background: url("../assets/bg_elements/wave-light-f.png") no-repeat bottom center / contain;
    pointer-events: none;
    z-index: 11;

    animation: waveBob 4s ease-in-out infinite;
}

.wave-u::before {
    content: "";
    position: absolute;
    top: -14vh;
    left: 0;
    width: 100%;
    aspect-ratio: 1366 / 248;
    background: url("../assets/bg_elements/wave-dark-f.png") no-repeat bottom center / contain;
    pointer-events: none;
    z-index: 12;

    animation: waveBob 4s ease-in-out infinite;
    animation-delay: -1s;
}

.wave-u {
    position: relative;
    overflow: hidden;
    padding-top: 30vh;
}

.wave-d {
    position: relative;
    overflow: hidden;
}

.fade-up {
    opacity: 0;
    animation: fadeUp 1s ease-out forwards;
}

.wave-bob {
    animation: waveBob 4.1s ease-in-out infinite;
}

.hero-content .fade-up:nth-child(1) { animation-delay: 0.2s; }
.hero-content .fade-up:nth-child(2) { animation-delay: 0.4s; }
.hero-content .fade-up:nth-child(3) { animation-delay: 0.6s; }
.hero-content .fade-up:nth-child(4) { animation-delay: 0.8s; }


.hero-banner .fade-up:nth-child(1) { animation-delay: 0.2s; }
.hero-banner .fade-up:nth-child(2) { animation-delay: 0.4s; }
.tagline.fade-up { animation-delay: 0.6s; }