/* --- Sections General --- */
section {
    padding: 6rem 0;
}

/* --- Hero Section --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
    min-height: 600px;
    background: url('../hero-background.png') no-repeat center center/cover;
    position: relative;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.hero-buttons .btn {
    margin: 0 0.5rem;
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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


/* --- Urgence Section --- */
.urgence-section {
    background-color: #f9f9f9;
}
.urgence-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.urgence-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--color-primary);
    position: relative; /* Ensure tags can be absolutely positioned within */
}
.urgence-card h3 {
    margin: 1rem 0;
    font-size: 1.5rem;
}
.urgence-tag {
    background-color: var(--color-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.urgence-image-wrapper {
    position: relative;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow); /* Apply shadow to wrapper to include tags */
}

.urgence-card-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius); /* Keep on image */
    object-fit: cover;
    /* Remove box-shadow from image, apply to wrapper instead */
}

.ongoing-collect-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--color-primary); /* Use red for visibility */
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 5;
}

/* --- About Section (Home Page) --- */
.about-section { background-color: #fff; }
.about-text {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.1rem;
}
.about-button-container {
    text-align: center;
}

/* --- Work Section --- */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.work-card {
    text-align: center;
    padding: 2rem;
}
.work-card img {
    height: 60px;
    margin-bottom: 1rem;
}
.work-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* --- Stories Section --- */
.stories-section { background-color: #f9f9f9; }
.stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.story-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-accent);
}
.story-card p {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.story-card cite {
    font-weight: 700;
    color: var(--color-secondary);
}

/* --- Event Gallery Section --- */
.event-gallery-section {
    padding: 6rem 0;
    background: url('/gallery-bg.png') no-repeat center center/cover;
    position: relative;
    color: white;
    text-align: center;
}

.event-gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1;
}

.event-gallery-section .container {
    position: relative;
    z-index: 2;
}

.event-gallery-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.event-gallery-content h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.event-gallery-content h2::after {
    background-color: white; /* White line under title */
}

.event-gallery-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.event-gallery-content .btn {
    margin-top: 1rem;
}

/* --- FAQ Section --- */
.faq-section {
    background-color: #fff;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-category {
    margin-bottom: 2.5rem;
}
.faq-category:last-child {
    margin-bottom: 0;
}
.faq-category-title {
    font-size: 1.6rem;
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-accent);
}
.faq-item {
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
}
.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.faq-question {
    font-size: 1.2rem;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 2rem; /* space for icon */
}
.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.faq-answer p, .faq-answer ul, .faq-answer div {
    padding-top: 1rem;
}
.faq-answer ul {
    list-style-position: inside;
    padding-left: 1rem;
}
.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-contact-btn {
    margin-top: 1rem;
}

/* --- Donate Section --- */
.donate-section {
    text-align: center;
    background-color: var(--color-dark-green); 
    color: #f1f1f1;
}
.donate-section .section-title { color: white; }
.donate-text { max-width: 600px; margin: 0 auto 2.5rem; }
.donation-options {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.donate-amount { border-color: #777; color: #f1f1f1; }
.donate-amount:hover { background-color: rgba(255,255,255,0.1); }
.donate-amount.active { background-color: var(--color-accent); border-color: var(--color-accent); color: white;}

/* --- New Donation Info Section --- */
.donation-info-section {
    background-color: #f1f1f1; /* A light grey background for the section */
    padding: 6rem 0;
    text-align: center;
}

.donation-info-section .section-intro {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
}

.donation-block {
    display: none; /* Hide the old donation block */
}

/* --- Contact Section --- */
.contact-content {
    max-width: 700px; /* Limit form width for better readability */
    margin: 0 auto; /* Center the form */
    padding-bottom: 2rem;
}
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem; /* ensure consistent font size */
    color: var(--color-text); /* ensure consistent text color */
    background-color: white; /* ensure consistent background */
}

#form-additional-content {
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    text-align: left;
    font-size: 0.9rem;
}

.download-form-link a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

.download-form-link a:hover {
    text-decoration: none;
}

.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 1.5rem; }
.social-links a { 
    text-decoration: none; 
    margin-right: 0.5rem; 
}
.social-links img {
    height: 24px; /* Reduced size */
    width: 24px; /* Reduced size */
    transition: opacity 0.3s ease;
}
.social-links img:hover {
    opacity: 0.7;
}