  
  html {
    scroll-behavior: smooth;
}
  /* Custom Hover Effect */
  .nav-link {
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.nav-link:hover {
    transform: translateY(-2px);
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 4px;
    background-color: #95bb72;
    border-radius: 8px;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}
.nav-link:hover {
    color: #4b6043;
}
.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Floating Elements Animation */
.floating-bg {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
    animation: float 20s infinite;
}

.floating-bg:nth-child(1) {
    width: 300px;
    height: 300px;
    background: #87ab69;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-bg:nth-child(2) {
    width: 200px;
    height: 200px;
    background: #4A5D3F;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.floating-bg:nth-child(3) {
    width: 150px;
    height: 150px;
    background: #95bb72;
    top: 30%;
    right: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(0, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
}
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 15s ease infinite;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger children animations */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-out forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }

/* Pulse Animation for Badge */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 157, 119, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(139, 157, 119, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(139, 157, 119, 0);
    }
}

/* Scale Animation for Stats */
.scale-in {
    animation: scaleIn 0.5s ease-out forwards;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Hover Effects for Cards */
.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Image Hover Effect */
.image-hover {
    transition: all 0.5s ease;
}

.image-hover:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .hero-content {
        padding: 2rem 1rem;
    }
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #87ab69;
    z-index: 1000;
    transition: width 0.1s ease-out;
}
