.wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.wave-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 75px;
}
.wave-top .shape-fill {
    fill: #0284c7;
}
.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 75px;
}
.wave-bottom .shape-fill {
    fill: #0284c7;
}

/* Animated background */
.animated-bg {
    background: linear-gradient(-45deg, #0ea5e9, #0284c7, #0369a1, #075985);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Glass effect */
.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Parallax effect */
.parallax {
    /* Transform style to allow for 3D effects */
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* Animated water waves */
.water-waves {
    position: relative;
    overflow: hidden;
}

.water-waves::before,
.water-waves::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%230ea5e9"></path></svg>');
    animation: wave 10s linear infinite;
}

.water-waves::after {
    animation-delay: -5s;
    animation-duration: 15s;
    opacity: 0.5;
}

@keyframes wave {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1000px;
    }
}

/* Hover effect for cards */
.hover-card {
    transition: all 0.3s;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}


.animated-bg {
    background: linear-gradient(135deg, #0284c7 0%, #0c4a6e 100%);
    position: relative;
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

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

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
