/* Modern visual enhancements */

/* Gradient text effect for main titles */
.hero-title {
    background: linear-gradient(135deg, #ffffff 0%, #e8f5e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

/* Enhanced statistics with pulse animation */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    }
}

.stat-item {
    animation: pulse-glow 3s ease-in-out infinite;
}

.stat-item:nth-child(2) {
    animation-delay: 1s;
}

.stat-item:nth-child(3) {
    animation-delay: 2s;
}

/* Modern card with glassmorphism effect */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(26, 71, 42, 0.1);
}

/* Enhanced program features list */
.program-features li {
    position: relative;
    padding-left: 2rem;
    margin: 0.8rem 0;
    transition: all 0.3s ease;
}

.program-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(26, 71, 42, 0.3);
    transition: all 0.3s ease;
}

.program-features li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.program-features li:hover::before {
    transform: translateY(-50%) scale(1.3);
    box-shadow: 0 4px 12px rgba(26, 71, 42, 0.4);
}

/* Enhanced member statistics with counter animation */
.member-number {
    position: relative;
    font-weight: 800;
    font-size: 2.2rem;
}

.member-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 1px;
}

/* Enhanced gallery with better overlay effects */
.gallery-item img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9) contrast(1.1);
}

.gallery-item:hover img {
    filter: brightness(1.1) contrast(1.2) saturate(1.3);
}

/* Modern form styling */
.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    background: rgba(248, 249, 250, 0.8);
    border: 2px solid rgba(26, 71, 42, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 71, 42, 0.1);
}

/* Advanced button effects */
.btn {
    position: relative;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn:hover::after {
    opacity: 1;
}

/* Floating elements animation */
@keyframes floating {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(10px, -10px) rotate(1deg);
    }
    66% {
        transform: translate(-5px, 5px) rotate(-1deg);
    }
}

.floating-element {
    animation: floating 6s ease-in-out infinite;
}

/* Enhanced section dividers */
.section-divider {
    height: 100px;
    background: linear-gradient(180deg, var(--lighter-gray) 0%, var(--white) 50%, var(--lighter-gray) 100%);
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Enhanced impact section */
.impact-text {
    position: relative;
}

.impact-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 4rem;
    color: rgba(26, 71, 42, 0.1);
    font-family: serif;
    line-height: 1;
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Enhanced partner logos */
.partner-item img {
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

/* Modern contact cards */
.contact-card {
    background: linear-gradient(135deg, var(--white) 0%, rgba(248, 249, 250, 0.8) 100%);
}

.contact-card h3 i {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 0.5rem;
}

/* Enhanced footer with wave effect */
.footer::after {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(45deg, transparent 49%, var(--dark-green) 51%);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* Responsive text sizing */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        background: linear-gradient(135deg, #ffffff 0%, #f0f8f0 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .member-number {
        font-size: 1.8rem;
    }
    
    .stat-item {
        animation: none;
    }
    
    .floating-element {
        animation: none;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .glass-card {
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}
