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

/* Rotating text animation */
.rotating-text {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hamburger Menu Animation */
.hamburger-icon {
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.line {
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* When menu is open */
.menu-open .line-1 {
    transform: translateY(8px) rotate(45deg);
}

.menu-open .line-2 {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-open .line-3 {
    transform: translateY(-8px) rotate(-45deg);
}

/* Button hover effects */
button {
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* Card hover effects */
.group:hover {
    transform: translateY(-4px);
}

/* Logo Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    animation: marquee var(--duration, 30s) linear infinite;
}

/* Testimonials Scroll Animations */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll-reverse {
    animation: scroll 40s linear infinite;
}

.animate-scroll-forwards {
    animation: scroll 40s linear infinite reverse;
}