body {
    font-feature-settings: "ss01", "ss03", "cv05", "cv09", "tnum", "lnum";
    -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatCard {
    from {
        opacity: 0;
        transform: translateY(-20px) translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

@keyframes marquee-gallery {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes marquee2 {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0%);
    }
}

.animate-marquee {
    animation: marquee 60s linear infinite;
}

.animate-marquee2 {
    animation: marquee2 60s linear infinite;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-slide-down {
    animation: slideDown 0.6s ease-out forwards;
}

.animate-float-card {
    animation: floatCard 0.8s ease-out forwards;
}

.animate-marquee-gallery {
    animation: marquee-gallery 25s linear infinite;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

.delay-800 {
    animation-delay: 0.8s;
}

.delay-1000 {
    animation-delay: 1s;
}

.opacity-0-start {
    opacity: 0;
}

.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Mobile menu animation */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

.gallery-marquee {
    width: max-content;
}

/* .gallery-marquee:hover .animate-marquee-gallery {
    animation-play-state: paused;
} */

/* Pyramid Sections */
.pyramid-step {
    clip-path: polygon(5% 0, 95% 0, 100% 100%, 0% 100%);
}

.pyramid-connector {
    clip-path: polygon(50% 0, 15% 100%, 85% 100%);
}

/* Sticky Stacked Cards */
@media (min-width: 1024px) {
    .card-sticky-wrapper {
        perspective: 1200px;
        will-change: transform, top;
    }

    .card-sticky-wrapper > div {
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        transform-origin: center center;
    }

    /* Initial subtle stack rotation */
    .card-sticky-wrapper:nth-child(odd) > div {
        transform: rotate(-0.5deg);
    }

    .card-sticky-wrapper:nth-child(even) > div {
        transform: rotate(0.5deg);
    }

    /* Hover effect for individual cards */
    .card-sticky-wrapper:hover > div {
        transform: translateY(-8px) scale(1.02) rotate(0deg) !important;
        z-index: 100;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    }
}

/* Ensure sticky columns have enough space for scrolling */
#strategic-partnership {
    height: auto;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}
/* Load Fill Animations for Tab Icons */
@keyframes loadFill {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0%);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Line Loader Animation */
@keyframes lineLoader {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}

.animate-line-loader {
    animation: lineLoader 6s ease-in-out infinite;
}

.animate-load-fill-1 {
    animation: loadFill 4s ease-in-out infinite;
}

.animate-load-fill-2 {
    animation: loadFill 4s ease-in-out infinite 0.8s;
}

.animate-load-fill-3 {
    animation: loadFill 4s ease-in-out infinite 1.6s;
}

.animate-load-fill-4 {
    animation: loadFill 4s ease-in-out infinite 2.4s;
}

.animate-load-fill-5 {
    animation: loadFill 4s ease-in-out infinite 3.2s;
}

/* Show load fill on hover or when tab becomes active */
.who-tab-btn:hover .animate-load-fill-2,
.who-tab-btn:hover .animate-load-fill-3,
.who-tab-btn:hover .animate-load-fill-4,
.who-tab-btn:hover .animate-load-fill-5 {
    opacity: 1 !important;
}

.who-tab-btn:hover .bg-utility\/5 {
    opacity: 1 !important;
}
/* Framework Steps: Scroll-based step number */
#step-number-display {
    font-size: clamp(140px, 16vw, 220px);
    transition: opacity 0.25s ease, transform 0.3s ease;
}

#step-label-display {
    transition: opacity 0.25s ease;
}
