:root {
    --color-primary: #A91C1E; /* Deep Red */
    --color-secondary: #333333; /* Dark Grey */
    --color-accent: #C0A062; /* Gold */
    --color-background: #FFFFFF;
    --color-text: #4F4F4F;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --border-radius: 5px;
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
    --color-dark-green: #2B574D; /* Dark Green for the donate section */
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Typography & Buttons --- */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-weight: 700;
}

h2.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 0.5rem auto 0;
}

.actuality-wide h2.section-title::after {
    background-color: white;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}
.btn-primary:hover {
    background-color: #8c1618;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border-color: #ddd;
}
.btn-secondary:hover {
    background-color: #f1f1f1;
    border-color: #ccc;
}

.btn-accent {
    background-color: var(--color-accent);
    color: white;
}
.btn-accent:hover {
    background-color: #a68b4a;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

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

/* --- Urgence Section --- */
.urgence-section {
    background-color: #f9f9f9;
}
.urgence-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.urgence-card {
    position: relative;
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--color-primary);
}
.urgence-card h3 {
    margin: 1rem 0;
    font-size: 1.5rem;
}

.urgence-card-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.book-note {
    font-style: italic;
    font-size: 0.9em;
    margin-top: -1em; /* Adjust to move closer to the paragraph above */
    margin-bottom: 1.5em; /* Space before the button */
    color: white; /* Ensure it's readable on dark background */
}

/* --- 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;
}

/* --- Your Engagement Section --- */
.engagement-section {
    background-color: #f1f1f1;
}

.engagement-intro-text, .engagement-call-to-action {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-secondary);
}

.engagement-call-to-action {
    font-weight: 600;
    margin-bottom: 3rem;
}

.engagement-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.engagement-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--color-primary);
    display: flex;
    flex-direction: column; 
    text-align: left;
}

.engagement-card .engagement-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.engagement-card .engagement-text {
    flex: none; /* Do not grow/shrink */
    width: 100%; /* Take full width of parent */
}

.engagement-card h3 {
    margin-top: 0;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-primary); /* Make card titles stand out */
}

.engagement-legacy h3 {
    margin-top: 0;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-primary); /* Make card titles stand out */
}

.engagement-legacy ul {
    list-style: none; /* Remove default list bullets */
    padding: 0;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left; /* Align list items to the left */
}

.engagement-legacy ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.engagement-legacy ul li::before {
    content: '★'; /* Star bullet point */
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-size: 1rem;
    line-height: inherit;
}

.engagement-legacy h4 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-secondary);
}

.engagement-legacy .btn {
    display: inline-block;
    text-align: center;
}

.engagement-legacy p {
    font-size: 1rem;
    text-align: left;
}

/* --- Work Section --- */
.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 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);
}

/* --- 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;
    text-align: center;
}
.donation-info-section .section-intro {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
}

/* --- Contact Section --- */
.contact-content {
    /* This will now only contain the form */
    max-width: 700px; /* Limit form width for better readability */
    margin: 0 auto; /* Center the form */
    padding-bottom: 2rem; /* Add some space before the next section */
}

.contact-form {
    width: 100%; /* Ensure the form takes full width of its container */
}

.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 */
}

.privacy-checkbox-container {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-align: left;
}

.privacy-checkbox-container input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--color-primary);
}

.privacy-checkbox-container a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.privacy-checkbox-container a:hover {
    text-decoration: none;
}

/* New section for Our Information */
.our-info-section {
    padding: 6rem 0;
    background-color: #f9f9f9; /* Light background for this section */
    text-align: center; /* Center the entire info block */
}

.our-info-section .contact-info {
    max-width: 400px; /* Max width for the info card */
    margin: 0 auto; /* Center the card horizontally */
    background-color: white; /* Card background */
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--color-primary);
    display: flex;
    flex-direction: column;
    text-align: left; /* Text content aligns left within the card */
}

.contact-image {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.contact-info-text {
    flex-grow: 1;
}

.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;
}

/* --- Privacy Section --- */
.privacy-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.privacy-section .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}
.privacy-section .section-title::after {
    margin-left: 0;
    margin-right: auto;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.privacy-content ul {
    list-style-position: inside;
    padding-left: 1rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
}

@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); }
}

/* --- Privacy Modal --- */
.privacy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
}

.privacy-modal-overlay.active {
    display: flex;
}

.privacy-modal {
    background-color: white;
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.privacy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.privacy-modal-title {
    font-size: 1.4rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.privacy-modal-close {
    background: none;
    border: none;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    color: #888;
}

.privacy-modal-close:hover {
    color: var(--color-secondary);
}

.privacy-modal-content {
    padding: 1.5rem;
    overflow-y: auto;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.privacy-modal-content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.privacy-modal-content ul {
    list-style-position: inside;
    padding-left: 1rem;
}

.privacy-modal-content li {
    margin-bottom: 0.5rem;
}