/* Custom CSS for The Forgotten Ones Program Services */

/* Animation Keyframes */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
    opacity: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #0f766e;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Smooth transitions for images */
img {
    transition: transform 0.3s ease;
}

/* Donation button selected state */
.donation-btn.selected {
    border-color: #0d9488;
    background-color: #f0fdfa;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.donation-btn.selected .text-slate-900 {
    color: #0d9488;
}

/* Form focus effects */
input:focus, select:focus, textarea:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Mobile menu animation */
#mobile-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Navbar scroll effect */
nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Card hover lift effect */
.group:hover {
    transform: translateY(-4px);
}

/* Custom selection color */
::selection {
    background-color: #0d9488;
    color: white;
}

/* Hero text shadow for better readability */
h1 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive typography adjustments */
@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.875rem;
    }
}

/* Print styles */
@media print {
    nav, footer, #donate {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: black;
    }
}