/* ===== ANIMATIONS ===== */
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}

@keyframes slideInLeft { 
    from { opacity: 0; transform: translateX(-50px); } 
    to { opacity: 1; transform: translateX(0); } 
}

@keyframes slideInRight { 
    from { opacity: 0; transform: translateX(50px); } 
    to { opacity: 1; transform: translateX(0); } 
}

@keyframes pulse { 
    0%, 100% { opacity: 1; } 
    50% { opacity: 0.5; } 
}

@keyframes bounce { 
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 
    40% { transform: translateY(-10px); } 
    60% { transform: translateY(-5px); } 
}

@keyframes float { 
    0%, 100% { transform: translateY(0); } 
    50% { transform: translateY(-20px); } 
}

@keyframes slideInFromLeft { 
    from { opacity: 0; transform: translateX(-100%); } 
    to { opacity: 1; transform: translateX(0); } 
}

@keyframes slideInFromRight { 
    from { opacity: 0; transform: translateX(100%); } 
    to { opacity: 1; transform: translateX(0); } 
}

@keyframes logo-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== ANIMATION CLASSES ===== */
.animate-fadeIn { animation: fadeIn 0.6s ease-out; }
.animate-slideInLeft { animation: slideInLeft 0.6s ease-out; }
.animate-slideInRight { animation: slideInRight 0.6s ease-out; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-bounce { animation: bounce 2s infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* ===== UTILITY CLASSES ===== */
.gradient-text { 
    background: linear-gradient(135deg, #EB5D1E 0%, #FFD700 100%); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text; 
}

.gradient-yellow {
    background: linear-gradient(135deg, #FFD700 0%, #FFB703 50%, #bb1eeb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-hover { 
    transition: all 0.3s ease; 
}

.card-hover:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); 
}

.glass-effect { 
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px); 
    border: 1px solid rgba(255, 255, 255, 0.2); 
}

.scroll-indicator { 
    animation: bounce 2s infinite; 
}

.stat-counter { 
    font-variant-numeric: tabular-nums; 
}

/* ===== MOBILE MENU ===== */
#mobile-menu { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.3s ease-in-out;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 100;
}

#mobile-menu.active { 
    max-height: 500px; 
}

/* ===== HERO SLIDER ===== */
.hero-slides { 
    position: relative; 
    width: 100%; 
    height: 100%; 
}

.hero-slide { 
    position: absolute; 
    inset: 0; 
    opacity: 0; 
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    transform: scale(1.1);
    pointer-events: none;
}

.hero-slide.active { 
    opacity: 1; 
    transform: scale(1);
    pointer-events: auto;
}

.slide-dot { 
    transition: all 0.3s ease; 
}

.slide-dot.active { 
    background-color: white !important; 
    transform: scale(1.5); 
}

/* ===== HERO TEXT ANIMATION ===== */
.hero-slide h1,
.hero-slide p,
.hero-slide a {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.hero-slide.active h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.hero-slide.active p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.hero-slide.active a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* ===== LOGO SLIDER ===== */
.logo-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: logo-scroll 30s linear infinite;
}

.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

.logo-track > div {
    min-width: 220px;
    display: flex;
    justify-content: center;
}

/* ===== SCROLL BEHAVIOR ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

#home {
    scroll-snap-align: start;
}

/* ===== SMOOTH ANIMATIONS FOR ALL ELEMENTS ===== */

/* Enhanced button animations */
button, .btn, a[class*="btn"] {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

button:hover, .btn:hover, a[class*="btn"]:hover {
    transform: translateY(-2px);
}

/* Card hover animations */
.card-hover {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Link animations */
a {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Image animations */
img {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Back to top button smooth animation */
#back-to-top {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Scroll progress smooth animation */
#scroll-progress {
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Mobile menu smooth animation */
#mobile-menu {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hero slide animations */
.hero-slide {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* FAQ animations */
.faq-answer {
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-question i {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Logo slider smooth animation */
.logo-track {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== NAVBAR STYLES ===== */
#header {
    position: fixed;
    top: 32px;
    left: 0;
    width: 100%;
    height: 64px;
    z-index: 50;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(8px);
    transform: translateY(0);
    will-change: top, transform, background, box-shadow;
    transition:
        top 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        background 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#header.nav-scrolled {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.top-bar.hidden ~ #header,
#header.top-bar-hidden {
    transform: translateY(-96px);
}

/* ===== TOP BAR ===== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 32px;
    background: #1a1a2e;
    color: #ffffff;
    font-size: 13px;
    display: flex;
    align-items: center;
    z-index: 60;
    transform: translateY(0);
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.top-bar.hidden {
    transform: translateY(-100%);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    #header {
        top: 0 !important;
    }
    
    #header.top-bar-hidden {
        top: 0 !important;
    }
    
    .top-bar {
        display: none;
    }
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a2e;
    color: #ffffff;
    padding: 14px;
    z-index: 9999;
    display: none;
    font-family: Inter, sans-serif;
}

#cookie-banner > div {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

#cookie-accept {
    background: #EB5D1E;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

#cookie-accept:hover {
    background: #d14f15;
}

#cookie-reject {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 8px;
}

#cookie-reject:hover {
    background: rgba(255, 255, 255, 0.1);
}
/* ===== BLOG CAROUSEL STYLES ===== */
.blog-slider {
    position: relative;
    overflow: hidden;
    margin: 0; /* No margin needed since arrows are now at bottom */
}

#blog-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Small blog carousel arrows positioned horizontally at bottom */
#blog-prev, #blog-next {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    font-size: 12px;
}

#blog-prev:hover, #blog-next:hover {
    box-shadow: 0 8px 25px rgba(235, 93, 30, 0.3);
    transform: scale(1.15);
}

/* Blog dots */
#blog-dots button {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Stack button and arrows vertically on mobile */
    .blog-controls {
        flex-direction: column !important;
        gap: 16px;
        align-items: center;
    }
    
    #blog-prev, #blog-next {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 640px) {
    /* Larger touch targets on small screens */
    #blog-prev, #blog-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}