/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a; 
}
::-webkit-scrollbar-thumb {
    background: #4ade80; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #22c55e; 
}

/* Base Styles */
html {
    font-size: 95%;
}
body {
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(to right, #4ade80, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}
#mobile-menu.hidden {
    transform: translateX(100%);
}
#mobile-menu.flex {
    transform: translateX(0);
}

/* Accordion */
.accordion-content {
    transition: max-height 0.3s ease-out, opacity 0.3s ease;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}
.accordion-content.open {
    max-height: 500px;
    opacity: 1;
}

/* Carousel */
.carousel-container {
    scroll-snap-type: x mandatory;
}
.carousel-item {
    scroll-snap-align: start;
}

/* Partners Slider */
.swiper-wrapper {
    transition-timing-function: linear !important;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0 20px; /* Restore visual gap */
    transition: transform 0.3s ease;
}

.swiper-slide:hover {
    transform: scale(1.1);
    z-index: 50;
    position: relative;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
    margin: 0;
    display: block;
}
