/* Animation Utilities */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.delay-700 {
    animation-delay: 700ms;
}

/* Gradient Animations */
.gradient-animate {
    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%; }
}

/* Hover Effects */
.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .animate-float {
        animation: none; /* Disable floating animation on mobile */
    }
    
    /* Adjust font sizes for mobile */
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.25rem !important; }
    
    /* Reduce padding on mobile */
    .section-padding {
        padding: 2rem 1rem !important;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .section-padding {
        padding: 3rem 2rem !important;
    }
}

/* Ensure smooth scrolling across devices */
html {
    scroll-behavior: smooth;
}

/* Improve touch interactions */
@media (hover: none) {
    .hover-scale:hover {
        transform: none;
    }
}