﻿@layer utilities {
    .content-auto {
        content-visibility: auto;
    }

    .transition-custom {
        transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .timeline-line {
        @apply absolute left-6 top-0 bottom-0 w-0.5 bg-primary/20 hidden md:block;
    }

    .section-fade {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .section-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .hover-lift {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .hover-lift:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

    .bg-glass {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .nav-link {
        position: relative;
        overflow: hidden;
    }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #3E92CC;
            transition: width 0.3s ease;
        }

        .nav-link:hover::after {
            width: 100%;
        }

    .number-counter {
        transition: all 2s ease-out;
    }
}


body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.progress-bar {
    height: 3px;
    background: linear-gradient(90deg, #0A2463, #3E92CC);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transform-origin: left;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.timeline-item {
    transition-delay: calc(var(--item-index) * 0.1s);
}

.partner-item {
    transition: all 0.5s ease;
    filter: grayscale(100%);
}

    .partner-item:hover {
        filter: grayscale(0);
        transform: scale(1.05);
    }

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.count-animate {
    animation: countUp 1s ease forwards;
}
