html {
    scroll-behavior: smooth;
}

html * {
    font-family: Helvetica, sans-serif;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.hero-bg-image {
    background-image: url('images/bg.png');
    background-size: cover;
    background-position: center;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    will-change: opacity, transform;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    60% {
        opacity: 1;
        transform: translateY(-2px) scale(1.01); /* subtle overshoot */
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.js-scroll {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translate3d(0, 24px, 0);
}

.js-scroll.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.logo-text-green {
    color: #229f07;
}

.logo-underline {
    background-color: #f97316;
    height: 4px;
    width: 100%;
    position: absolute;
    bottom: -2px;
    left: 0;
}

.philosophy-bg-image {
    background-image: url('images/bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.glass-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.tilt-inner {
    transform: translateZ(20px);
}

.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.typewriter-cursor {
    display: inline-block;
    width: 3px;
    background-color: #229f07;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

altcha-widget {
    --altcha-max-width: 100%;
    --altcha-border-radius: 0.75rem;

    --altcha-color-base: #ffffff;
    --altcha-color-border: #f3f4f6;
    --altcha-color-text: #4b5563;
    --altcha-color-accent: #229f07;

    transition: all 0.3s ease;
    display: block;
}

altcha-widget:hover {
    --altcha-color-border: #229f07;
    transform: translateY(-1px);
}

altcha-widget:focus-within {
    --altcha-color-border: #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

altcha-widget .altcha {
    font-family: inherit;
    padding: 0.75rem 1rem !important;
    border-width: 2px !important; /* Matches your form border thickness */
}