.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, #4CAF50, #1976D2);
}

html {
    scroll-behavior: smooth;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.video-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* Mobile Responsive Text */
#hero-title,
#hero-subtitle {
    transition: transform 0.3s ease-in-out;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Ensure mobile menu is above content */
#mobile-menu {
    z-index: 40;
}

/* Prevent horizontal scroll on small screens */
@media (max-width: 640px) {
    body {
        overflow-x: hidden;
    }

    #hero-title {
        line-height: 1.1;
        word-break: keep-all;
    }

    #hero-subtitle {
        line-height: 1.3;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    #hero-title {
        font-size: clamp(1.5rem, 8vw, 2rem) !important;
    }

    #hero-subtitle {
        font-size: clamp(1rem, 5vw, 1.25rem) !important;
    }
}