/* Custom Animations and Smooth Scroll */

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* Fade-in animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Scroll reveal animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F4F2EE;
}

::-webkit-scrollbar-thumb {
    background: #6B7A64;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1F3A40;
}

/* Header hide/show on scroll */
header {
    transition: transform 0.3s ease-in-out;
}

header.header-hidden {
    transform: translateY(-100%);
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #6B7A64, #1F3A40);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover glow effect */
.card-glow:hover {
    box-shadow: 0 0 30px rgba(107, 122, 100, 0.3);
}

/* Pulse animation for CTA buttons */
@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(107, 122, 100, 0.7);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(107, 122, 100, 0);
    }
}

.pulse-on-hover:hover {
    animation: pulse 1.5s infinite;
}