/* Custom Animations and Styles */

.glass-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-pill {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-pill:active {
    transform: scale(0.95);
}

.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
}

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

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Timeline vertical line */
.timeline-line::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background-color: #DEF8FF;
}

/* Scroll Revel animations */
.reveal-up, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-scale { transform: scale(0.95); }

.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Bubbles Animation */
.bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transform: translateZ(0);
}

.bubbles li {
    position: absolute;
    list-style: none;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.4);
    bottom: -100px;
    animation: bubble-up 25s linear infinite;
    border-radius: 50%;
}

.bubbles li:nth-child(1) { left: 25%; width: 80px; height: 80px; animation-delay: -5s; }
.bubbles li:nth-child(2) { left: 10%; width: 20px; height: 20px; animation-delay: -2s; animation-duration: 12s; }
.bubbles li:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: -4s; }
.bubbles li:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: -10s; animation-duration: 18s; }
.bubbles li:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: -15s; }
.bubbles li:nth-child(6) { left: 75%; width: 110px; height: 110px; animation-delay: -3s; }
.bubbles li:nth-child(7) { left: 35%; width: 150px; height: 150px; animation-delay: -7s; }
.bubbles li:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: -15s; animation-duration: 45s; }
.bubbles li:nth-child(9) { left: 20%; width: 15px; height: 15px; animation-delay: -2s; animation-duration: 35s; }
.bubbles li:nth-child(10) { left: 85%; width: 150px; height: 150px; animation-delay: -8s; animation-duration: 11s; }

@keyframes bubble-up {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
        border-radius: 50%;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
