/* Base Reveal Animations */
.logo {
    max-height: 100px;
    position: absolute;
    top: 0;
    left: 20px;
    border: white 5px solid;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 2px 2px 2px 1px #3333;
    z-index: 60;
}

@media (min-width: 768px) {
    .logo {
        max-height: 150px;
        left: 80px;
        border-width: 6px;
        border-radius: 0 0 10px 10px;
        box-shadow: 3px 3px 3px 2px #3333;
    }
}

.footer-logo {
    max-height: 110px;
    border-radius: 10px;
}

.reveal {
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Line Clamp Utility */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Testimonials Marquee */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonials-marquee-track {
    animation: marquee-scroll 40s linear infinite;
    will-change: transform;
}

.testimonials-marquee-track:hover {
    animation-play-state: paused;
}

/* Testimonials grid pattern overlay */
.testimonials-grid-overlay {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
}

.testimonials-grid-overlay-light {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Staggered Slide Variations */
.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-pop {
    transform: scale(0.9);
}

/* Hero Specific Animations */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    pointer-events: none;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
}

.hero-slide .hero-bg {
    transform: scale(1.1);
    transition: transform 8s linear;
}

.hero-slide.active .hero-bg {
    transform: scale(1);
}

.hero-content>* {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.hero-slide.active .hero-content>*:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.hero-slide.active .hero-content>*:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.hero-slide.active .hero-content>*:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.hero-slide.active .hero-content>*:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-hover:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(115, 92, 0, 0.15), 0 0 20px 0 rgba(115, 92, 0, 0.1);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Parallax Container */
.parallax-section {
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 0;
    will-change: transform;
}

/* Marquee Ticker Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    animation: marquee 40s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

.bg-background {
    background: rgb(241 225 217) !important;
}

.animate-marquee img {
    width: 150px;
    min-width: 150px;
}

header nav {
    position: relative;
}