/* Parallax & Enhanced Design Styles */

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

/* Parallax Background Helper */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
        /* Disable fixed bg on mobile for performance */
    }
}

/* Parallax Scroll Effects */
.parallax-element {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

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

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

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

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass-card {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Modern Gradient Text */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, #FF6B35, #ff9f7d);
}

/* Smooth Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animation-fade-up {
    animation: fadeInUp 0.8s ease-out both;
}

/* Custom Scrollbar for horizontal sections */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Image Hover Zoom */
.hover-zoom-img {
    transition: transform 0.5s ease;
}

.group:hover .hover-zoom-img {
    transform: scale(1.05);
}

/* Blob Backgrounds */
.blob {
    position: absolute;
    filter: blur(40px);
    z-index: -1;
    opacity: 0.5;
    animation: pulse-blob 8s infinite alternate;
}

@keyframes pulse-blob {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Feature Grid Hover */
.feature-card-hover {
    transition: all 0.3s ease;
}

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

/* Parallax Layers */
.parallax-layer-1 {
    transform: translateZ(0);
    will-change: transform;
}

.parallax-layer-2 {
    transform: translateZ(0);
    will-change: transform;
}

/* Scroll Reveal Animation */
@keyframes scrollReveal {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    animation: scrollReveal 0.8s ease-out;
}