/* Custom CSS to complement Tailwind */

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Custom gradient text */
.text-gradient {
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-light {
    background: linear-gradient(135deg, #fca5a5 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero highlight text */
.hero-highlight {
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating elements animation */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

.floating-element-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s;
}

/* Custom hover effects */
.session-card:hover {
    transform: translateY(-8px);
}

.stats-card:hover {
    transform: translateY(-4px);
}

/* Navigation link hover effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Story card custom styling */
.story-card {
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
}

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

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

::-webkit-scrollbar-thumb {
    background: #ef4444;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #dc2626;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom button hover effects */
.donate-btn:hover {
    box-shadow: 0 20px 25px -5px rgba(239, 68, 68, 0.3), 0 8px 10px -6px rgba(239, 68, 68, 0.3);
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease;
}
.mobile-menu.translate-y-0 {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Hamburger animation */
.hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-active span:nth-child(2) {
    opacity: 0;
}

.hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
#mobile-menu.show {
    display: block !important;
    animation: fadeIn 0.3s ease;
}

/* Intersection Observer fade-in effect */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom focus styles */
button:focus,
a:focus {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Custom shadow utilities */
.shadow-custom {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-custom-lg {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Responsive typography adjustments */
@media (max-width: 640px) {
    .hero-highlight {
        font-size: 2.5rem;
        line-height: 1.1;
    }
}

/* Print styles */
@media print {
    .fixed,
    .sticky {
        position: static !important;
    }
    
    .shadow-lg,
    .shadow-xl,
    .shadow-2xl {
        box-shadow: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gradient,
    .text-gradient-light,
    .hero-highlight {
        background: none;
        -webkit-text-fill-color: initial;
        color: #dc2626;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-element,
    .floating-element-delayed {
        animation: none;
    }
}




        * {
            font-family: 'Poppins', sans-serif;
        }

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

        @keyframes pulse-glow {
            0%, 100% { box-shadow: 0 0 20px rgba(229, 62, 62, 0.3); }
            50% { box-shadow: 0 0 40px rgba(229, 62, 62, 0.6); }
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        @keyframes particle-float {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            33% { transform: translate(30px, -30px) rotate(120deg); }
            66% { transform: translate(-20px, 20px) rotate(240deg); }
        }

        /* Navigation scroll effect */
        .navbar-scrolled {
            background: rgba(255, 255, 255, 0.98) !important;
            backdrop-filter: blur(20px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

        /* Hero background */
        .hero-bg {
            background: linear-gradient(135deg, rgba(229, 62, 62, 0.9) 0%, rgba(45, 55, 72, 0.9) 100%),
                        url('/Images/home.png.jpg');
            background-size: cover;
            background-position: center;
        }

        /* Gradient text */
        .gradient-text {
            background: linear-gradient(135deg, #e53e3e 0%, #ed8936 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Button hover effects */
        .btn-hover {
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .btn-hover::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .btn-hover:hover::before {
            left: 100%;
        }

        .btn-hover:hover {
            transform: translateY(-2px);
        }

        /* Card hover effects */
        .card-hover {
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .card-hover:hover {
            transform: scale(1.05) translateY(-10px);
        }

        /* Mobile menu toggle */
        .mobile-menu-open {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }

        .hamburger-active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger-active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger-active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

        /* Navigation link hover effect */
        .nav-link {
            position: relative;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(135deg, #e53e3e 0%, #ed8936 100%);
            transition: width 0.3s ease;
        }

        .nav-link:hover::after {
            width: 100%;
        }

        /* Floating particles */
        .floating-particles {
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 2;
        }

        .particle {
            position: absolute;
            border-radius: 50%;
            animation: particle-float 6s ease-in-out infinite;
        }

        /* Scroll behavior */
        html {
            scroll-behavior: smooth;
        }

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

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

        ::-webkit-scrollbar-thumb {
            background: #e53e3e;
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #c53030;
        }

        /* Logo styling */
        .logo-container {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .logo-img {
            width: 40px;
            height: 40px;
        }
        
        /* Image visibility toggle */
        .img-toggle-container {
            position: fixed;
            bottom: 100px;
            right: 8px;
            z-index: 50;
        }
        
        .img-toggle-btn {
            width: 40px;
            height: 40px;
            background: #e53e3e;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .toggleable-img {
            transition: opacity 0.3s ease;
        }
        
        .img-hidden {
            opacity: 0;
            pointer-events: none;
        }
    