/* Slide-in Animations for MVP cool effects */
@keyframes slide-in-top {
    from {
        opacity: 0;
        transform: translateY(-100px);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(100px);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-100px);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes slide-in-bottom {
    from {
        opacity: 0;
        transform: translateY(100px);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.slide-in-top {
    animation: slide-in-top 650ms cubic-bezier(.23, 1.01, .32, 1) both;
    will-change: transform, opacity, filter;
}

.slide-in-right {
    animation: slide-in-right 700ms cubic-bezier(.23, 1.01, .32, 1) both;
    will-change: transform, opacity, filter;
}

.slide-in-left {
    animation: slide-in-left 700ms cubic-bezier(.23, 1.01, .32, 1) both;
    will-change: transform, opacity, filter;
}

.slide-in-bottom {
    animation: slide-in-bottom 650ms cubic-bezier(.23, 1.01, .32, 1) both;
    will-change: transform, opacity, filter;
}

/* Use nth-child to alternate direction in markup or via JS */
.partners .partner-logos img.logo-animate-left {
    animation-name: logos-outward;
    animation-timing-function: cubic-bezier(.23, 1.01, .32, 1);
    animation-fill-mode: both;
}

.partners .partner-logos img.logo-animate-right {
    animation-name: logos-outward;
    animation-timing-function: cubic-bezier(.23, 1.01, .32, 1);
    animation-fill-mode: both;
}

/* Outlined geometric sans-serif display style */
.outline-display {
    font-family: 'Montserrat', 'Bebas Neue', 'Gotham', 'Arial', sans-serif;
    font-weight: 900;
    font-size: 6rem;
    letter-spacing: 1px;
    color: transparent;
    -webkit-text-stroke: 1px #000000bc;
    text-transform: uppercase;
    text-shadow: none;
}

/* About page enhancements */
.hero-full {
    position: relative;
}

.hero-full::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));
    pointer-events: none;
}

.principles-list {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 10px;
    color: var(--color-text, #111827);
}

.principles-list li {
    list-style: disc;
    line-height: 1.6;
}

.card {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
    border-radius: 14px;
}

.container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {

    .slide-in-top,
    .slide-in-right,
    .slide-in-left,
    .slide-in-bottom {
        animation: none !important;
        filter: none !important;
    }
}

/* ============================================
   SCROLL-TRIGGERED ANIMATIONS
   ============================================
   
   Usage: Add 'animate-on-scroll' class plus an animation type
   
   Examples:
   - <div class="animate-on-scroll fade-up">
   - <div class="animate-on-scroll fade-left delay-2">
   - <div class="animate-on-scroll scale-up slow">
   
   Animation types:
   - fade-up: Fade in from bottom
   - fade-down: Fade in from top
   - fade-left: Fade in from left
   - fade-right: Fade in from right
   - scale-up: Scale up from smaller
   - blur-in: Blur to clear
   
   Modifiers:
   - delay-1 through delay-5: Stagger animations
   - slow: 1s duration
   - fast: 0.3s duration
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.in-view {
    opacity: 1;
}

/* Fade in from bottom */
.animate-on-scroll.fade-up {
    transform: translateY(40px);
}

.animate-on-scroll.fade-up.in-view {
    transform: translateY(0);
}

/* Fade in from top */
.animate-on-scroll.fade-down {
    transform: translateY(-40px);
}

.animate-on-scroll.fade-down.in-view {
    transform: translateY(0);
}

/* Fade in from left */
.animate-on-scroll.fade-left {
    transform: translateX(-40px);
}

.animate-on-scroll.fade-left.in-view {
    transform: translateX(0);
}

/* Fade in from right */
.animate-on-scroll.fade-right {
    transform: translateX(40px);
}

.animate-on-scroll.fade-right.in-view {
    transform: translateX(0);
}

/* Scale up */
.animate-on-scroll.scale-up {
    transform: scale(0.9);
}

.animate-on-scroll.scale-up.in-view {
    transform: scale(1);
}

/* Blur in */
.animate-on-scroll.blur-in {
    filter: blur(8px);
}

.animate-on-scroll.blur-in.in-view {
    filter: blur(0);
}

/* Stagger delays for multiple elements */
.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
    transition-delay: 0.4s;
}

.animate-on-scroll.delay-5 {
    transition-delay: 0.5s;
}

/* Slow animation */
.animate-on-scroll.slow {
    transition-duration: 1s;
}

/* Fast animation */
.animate-on-scroll.fast {
    transition-duration: 0.3s;
}

/* Footer - dark theme */
footer.footer-dark {
    background: #000;
    color: #cbd5e1;
    border-top: none;
}

footer.footer-dark .footer-inner {
    padding: 2.5rem 0;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

footer.footer-dark a {
    color: #ffffff;
    text-decoration: none;
}

footer.footer-dark a:hover {
    color: var(--color-accent, #eab308);
}

footer.footer-dark .small {
    color: #94a3b8;
}

footer.footer-dark .footer-social img {
    filter: invert(1) brightness(1.2);
    opacity: 0.9;
    transition: transform .2s ease, opacity .2s ease;
}

footer.footer-dark .footer-social img:hover {
    transform: scale(1.06);
    opacity: 1;
}

/* Section background utilities */
.bg-black {
    background: #000;
    color: #fff;
}

.bg-yellow {
    background: #eab308;
    color: #0b0b0b;
}

.bg-yellow a {
    color: #0b0b0b;
}

.bg-yellow a:hover {
    color: #000;
}

/* Dark card for forms on black sections */
.card-dark {
    background: #0b0b0b;
    border: 1px solid #1f2937;
    border-radius: 14px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
    padding: 2rem;
    color: #e5e7eb;
}

.card-dark label {
    color: #cbd5e1;
}

.card-dark input,
.card-dark textarea,
.card-dark select,
.card-dark .input {
    background: #0f172a;
    border: 1px solid #334155;
    color: #e5e7eb;
}

.card-dark .actions .btn-primary {
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.25);
}