.mobile-menu { transition: transform 0.3s ease-in-out; transform: translateX(-100%); }
.mobile-menu.active { transform: translateX(0); }
.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #059d52;
    transition: width .3s;
}
.nav-link:hover::after { width: 100%; }


.hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: calc(100vh - 80px); /* Adjust based on your header height */
}
.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hero-slider .slide.active {
    opacity: 1;
    z-index: 10;
}
.hero-slider .slide-content {
    z-index: 20;
    color: #fff;
    padding: 0 40px;
}
/* Gradient Overlay */
.hero-slider .slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 15;
}
/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
    }
    .hero-slider .slide-content {
        text-align: center;
        padding: 0 20px;
        margin: 0 auto;
    }
}

/* Custom Animation for Infinite Scroll */
.marquee-container {
    /* Fades the logos in/out at the edges */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
#marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-marquee 30s linear infinite;
}
/* Pause on hover */
.marquee-container:hover #marquee-track {
    animation-play-state: paused;
}
@keyframes scroll-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* Slides exactly half the width (the original set) */
}