/* Custom Styles */
body {
    font-family: 'Manrope', sans-serif;
    background-color: #FFFFFF;
    color: #212529;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

/* Particle.js Background Styling */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1; /* Place it behind all content */
}

/* Light Mode Design System - Following documentation */
.bg-lm-white { background-color: #FFFFFF; }
.bg-lm-offwhite { background-color: #F8F9FA; }
.text-lm-dark { color: #212529; }
.text-lm-gray { color: #6C757D; }
.text-lm-accent { color: #6EC1E4; }
.bg-lm-accent { background-color: #6EC1E4; }
.border-lm-accent { border-color: #6EC1E4; }
.shadow-lm-accent { box-shadow: 0 0 15px rgba(110, 193, 228, 0.5); }

/* Legacy dt-* classes for backward compatibility during transition */
.bg-dt-navy { background-color: #FFFFFF; }
.bg-dt-charcoal { background-color: #F8F9FA; }
.text-dt-slate { color: #6C757D; }
.text-dt-silver { color: #212529; }
.text-dt-teal { color: #6EC1E4; }
.border-dt-teal { border-color: #6EC1E4; }
.shadow-dt-teal { box-shadow: 0 0 15px rgba(110, 193, 228, 0.5); }
/* Enhanced shadows for light mode */
.shadow-soft { box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02); transition: box-shadow 0.3s ease-in-out; }

/* Animation for sections fading in on scroll */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pulsing button effect */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(110, 193, 228, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 25px rgba(110, 193, 228, 0.8);
    }
}
.pulse-btn {
    animation: pulse 2.5s infinite;
}

/* Lock screen notification animation */
@keyframes slide-in-notification {
    0% { 
        transform: translateY(-100%); 
        opacity: 0; 
        scale: 0.95;
    }
    15% { 
        transform: translateY(0); 
        opacity: 1; 
        scale: 1;
    }
    85% { 
        transform: translateY(0); 
        opacity: 1; 
        scale: 1;
    }
    100% { 
        transform: translateY(-100%); 
        opacity: 0; 
        scale: 0.95;
    }
}

/* Progressive fade animation for lock screen elements */
@keyframes lock-screen-fade-out {
    0% { 
        opacity: 1;
    }
    15% { 
        opacity: 0.3;
    }
    85% { 
        opacity: 0.3;
    }
    100% { 
        opacity: 1;
    }
}

.notification-bubble {
    animation: slide-in-notification 6s ease-in-out infinite;
    animation-delay: 2s;
}

.lock-screen-fade {
    opacity: 1;
    animation: lock-screen-fade-out 6s ease-in-out infinite;
    animation-delay: 2s;
}

/* Card flip animation */
.flipper-card { perspective: 1000px; }
.flipper-card-inner { position: relative; width: 100%; height: 100%; transition: transform 0.8s; transform-style: preserve-3d; }
.flipper-card:hover .flipper-card-inner { transform: rotateY(180deg); }
.flipper-card-front, .flipper-card-back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2rem; border-radius: 0.75rem; }
.flipper-card-front { background-color: #FFFFFF; border: 1px solid #E9ECEF; }
.flipper-card-back { background-color: #E9ECEF; transform: rotateY(180deg); }

/* Glitch effect for donor voices */
.glitch-text { transition: color 0.2s; }
.glitch-text:hover {
    color: #d90429;
    text-shadow: 1px 1px 1px #6EC1E4, -1px -1px 1px #fff;
}

/* Header height optimization - match WordPress app navigation */
header .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Add vertical padding to navigation links instead of header container */
nav a {
    padding-top: 25px;
    padding-bottom: 25px;
}

/* Ensure logo and CTA button maintain proper vertical alignment */
header img,
header .bg-dt-charcoal {
    margin-top: 0;
    margin-bottom: 0;
}

/* Get Started button - pill/capsule style using light mode colors */
.get-started-btn {
    background-color: transparent !important;
    border: 1px solid #CED4DA !important;
    border-radius: 50px !important;
    color: #212529 !important;
    padding: 8px 20px !important;
    font-weight: 400 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.get-started-btn:hover {
    background-color: #6EC1E4 !important;
    border-color: #6EC1E4 !important;
    color: white !important;
}

/* Essential Utility Classes for Fundraising Guide Page */
.scroll-smooth { scroll-behavior: smooth; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-50 { z-index: 50; }
.bg-opacity-80 { background-color: rgba(255, 255, 255, 0.8); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.container { max-width: 1200px; margin: 0 auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-24 { padding-top: 6rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 1rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.hidden { display: none; }
@media (min-width: 768px) { .md\\:flex { display: flex; } }
.h-12 { height: 3rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
@media (min-width: 768px) { .md\\:text-5xl { font-size: 3rem; } }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.leading-relaxed { line-height: 1.625; }
.text-center { text-align: center; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.transition { transition: all 0.15s ease-in-out; }
.hover\\:text-lm-dark:hover { color: #212529; }
.hover\\:scale-105:hover { transform: scale(1.05); }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.border { border-width: 1px; }
.border-gray-200 { border-color: #e5e7eb; }
.border-l-4 { border-left-width: 4px; }
.grid { display: grid; }
@media (min-width: 768px) { .md\\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .md\\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gap-8 { gap: 2rem; }
.gap-4 { gap: 1rem; }
.inline-block { display: inline-block; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.rounded-full { border-radius: 9999px; }
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.text-white { color: white; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.bg-white { background-color: white; }
.bg-opacity-30 { background-color: rgba(255, 255, 255, 0.3); }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.ml-2 { margin-left: 0.5rem; }
@media (min-width: 768px) { .md\\:ml-4 { margin-left: 1rem; } }
@media (min-width: 1024px) { .lg\\:ml-6 { margin-left: 1.5rem; } }