/* --- SCROLL NAV TRANSITION --- */
.scrolled-nav {
    background-color: #042f2e; /* eco-900 */
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #cff5eb; /* eco-100 */
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #14b8a6; /* eco-500 */
    left: 0;
    bottom: -4px;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* --- SCROLL REVEAL ANIMATIONS (Sections) --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- HERO ENTRANCE ANIMATIONS (Sequence) --- */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-animate {
    opacity: 0; 
    animation: heroFadeInUp 1s ease-out forwards;
}

.hero-animate.delay-1 { animation-delay: 0.1s; }
.hero-animate.delay-2 { animation-delay: 0.3s; }
.hero-animate.delay-3 { animation-delay: 0.5s; }
.hero-animate.delay-4 { animation-delay: 0.7s; }
.hero-animate.delay-5 { animation-delay: 1.0s; }

/* --- BUTTON PULSE ANIMATION (NEW) --- */
@keyframes softPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        transform: scale(1);
    }
}

.btn-pulse {
    animation: softPulse 2.5s infinite;
}

/* --- RAIN EFFECT --- */
.rain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
.raindrop {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.15);
    width: 1px;
    height: 60px;
    top: -60px;
    animation: fall linear infinite;
}
@keyframes fall {
    to { transform: translateY(110vh); }
}