:root {
    --primary-color: #137840;
    --secondary-color: #083723;
    --accent-color: #45e68a;
    --light-color: #f5f5f5;
    --dark-color: #f5f5f5;
    --text-color: #e0e0e0;
    --white: #fff;
    --background-light: #1a1a1a;
    --background-dark: #121212;
    --card-background: #222;
    --shadow-dark: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* Global Dark Mode Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background-dark);
    line-height: 1.6;
}

/* Header Styles */
.page-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('assets/imgs/20.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 80px;
}

/* Main Content */
.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--background-dark);
    border-radius: 15px;
    box-shadow: var(--shadow-dark);
    position: relative;
    margin-top: -50px;
    margin-bottom: 50px;
}

/* Donate Section */
.donate-section {
    text-align: center;
    margin-bottom: 60px;
}

.donate-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.donate-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.donate-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Impact Section */
.impact-section {
    background-color: var(--background-light);
    padding: 50px;
    border-radius: 10px;
    margin-bottom: 60px;
}

.impact-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.impact-item {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #333;
}

.impact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.impact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.impact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.impact-item p {
    color: var(--text-color);
    font-size: 1rem;
}

/* Ways to Donate Section */
.ways-section {
    margin-bottom: 60px;
}

.ways-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.ways-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.way-item {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    border: 1px solid #333;
}

.way-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.way-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.way-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.way-item p {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Buttons */
.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.donate-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--background-dark);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(50, 189, 112, 0.2);
    margin-top: 20px;
}

.donate-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(50, 189, 112, 0.3);
}

/* FAQ Section */
.faq-section {
    margin-bottom: 60px;
}

.faq-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    background-color: var(--card-background);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
}

.faq-question {
    padding: 20px;
    background-color: var(--background-light);
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #333;
}

.faq-question:hover {
    background-color: var(--card-background);
}

.faq-answer {
    padding: 20px;
    color: var(--text-color);
    display: none;
    background-color: var(--card-background);
}

.faq-question.active + .faq-answer {
    display: block;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-question.active i {
    transform: rotate(180deg);
}

/* Call to Action */
.cta-section {
    text-align: center;
    margin: 60px 0 30px;
    padding: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 15px;
    color: white;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background-color: var(--dark-color);
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--background-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Navbar Styles */
.nav-link {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.don-button {
    background-color: var(--primary-color);
    color: var(--background-dark);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.don-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .impact-grid, 
    .ways-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .impact-item, 
    .way-item {
        padding: 20px;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
}

@media screen and (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .donate-title {
        font-size: 1.8rem;
    }
    
    .donate-text {
        font-size: 1rem;
    }
    
    .impact-section, 
    .ways-section {
        padding: 30px 20px;
    }
}

/* Style to indicate active menu item */
.nav-item .nav-link.active span {
    color: var(--primary-color) !important;
}

.nav-item .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Specifics for the Donation page in dark mode */
.page-faireundon .main-content p,
.page-faireundon .main-content li,
.page-faireundon .donate-text {
    color: var(--text-color);
}

.page-faireundon #smooth-content > .main-bg > *:not(footer) {
    background-color: var(--background-dark);
}

.page-faireundon .donate-section,
.page-faireundon .ways-section {
    background-color: var(--background-dark);
}

.page-faireundon .main-content strong {
    color: var(--primary-color);
    font-weight: bold;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation: fadeInUp 1s ease;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}