/* Custom Animations */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

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

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

.gradient-text {
    background: linear-gradient(to right, #FF4D4D, #FF9933, #FFCC00, #33CCCC);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

:root {
    --bg-gradient-1: #0f172a;
    --bg-gradient-2: #1e293b;
    --bg-gradient-3: #1e3a8a;
    --bg-gradient-4: #2563eb;
}

.vibrant-bg {
    background: linear-gradient(135deg, var(--bg-gradient-1), var(--bg-gradient-2), var(--bg-gradient-3), var(--bg-gradient-4));
    background-size: 300% 300%;
    animation: gradientShift 15s ease infinite;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.blob-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #fafafa;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
    animation: move 25s infinite alternate;
}

@keyframes move {
    from {
        transform: translate(-10%, -10%) scale(1);
    }

    to {
        transform: translate(20%, 20%) scale(1.2);
    }
}

/* Marquee Styles */
.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marquee-scroll linear infinite;
    position: relative;
    z-index: 10;
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

.carousel-item {
    flex: 0 0 280px;
    box-sizing: border-box;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

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

@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 240px;
    }
}
/* Gallery Modal Styles */
#galleryModal.flex {
    display: flex;
}

#galleryModal.opacity-100 {
    opacity: 1;
}

#galleryModal .scale-100 {
    transform: scale(1);
}

#galleryModal .backdrop-blur-2xl {
    backdrop-filter: blur(40px);
}

/* Gallery Modal Refinement Styles */
#galleryModal .max-w-5xl {
    max-width: 64rem;
}

#galleryModal .lg\:w-1\/4 {
    width: 25%;
}

@media (max-width: 1024px) {
    #galleryModal .lg\:flex-row {
        flex-direction: column;
    }
}

/* Custom Scrollbar for Modal content */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 153, 51, 0.3); /* vivid-orange with opacity */
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 153, 51, 0.6);
}

# modalScrollArea {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 153, 51, 0.3) rgba(255, 255, 255, 0.05);
}

/* Mobile Menu Animation */
#mobileMenu.show {
    display: block;
    max-height: 400px;
}

#mobileMenu:not(.show) {
    max-height: 0;
}
