/* Reset et variables CSS */
:root {
    --primary-color: #4A90E2;
    --secondary-color: #00CC66;
    --primary-dark: #2C5282;
    --secondary-dark: #00A855;
    --text-dark: #333333;
    --text-light: #666666;
    --background-light: #F8F9FA;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 10px; /* Zone de clic agrandie */
    margin-right: -10px; /* Compensation du padding */
    z-index: 2001;
    position: relative;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333333; /* Couleur forcée pour contraste */
    transition: var(--transition);
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    color: #ffffff;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.8) 0%, rgba(0, 204, 102, 0.8) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Mission Section */
.mission {
    padding: 80px 0;
    background-color: var(--background-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.mission-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.mission-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.mission-description {
    color: var(--text-light);
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--background-light);
    text-align: center;
}

.cta-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Presentation Page Styles */
.page-header {
    background: linear-gradient(135deg, #00CC66 0%, #0066CC 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.content-section {
    padding: 80px 0;
    background-color: white;
}

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

.content-block {
    margin-bottom: 3rem;
}

.content-block h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.content-block h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-block p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 1rem;
}

.service.footer-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
}

.service-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.value-title {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.cta-block {
    background: linear-gradient(135deg, #00CC66 0%, #0066CC 100%);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

.cta-block h2 {
    color: white;
}

.cta-block p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .content-block h2 {
        font-size: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #00CC66 0%, #0066CC 100%);
    color: #ffffff !important;
    padding: 3rem 0 1rem;
}

.footer * {
    color: #ffffff !important;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section {
    color: #ffffff !important;
}

.footer-section * {
    color: #ffffff !important;
}

.footer-section:first-child {
    text-align: left;
}

.footer-section:last-child {
    text-align: right;
}

.footer-section h4 {
    color: #ffffff !important;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section h4:nth-of-type(2) {
    margin-top: 2rem;
}

.banking-label {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    margin-top: 0 !important;
}

.banking-label:nth-of-type(3) {
    margin-top: 2rem !important;
}

/* Contact Section - utilise les mêmes styles que la page contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1rem;
}

.contact-icon {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-item h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-reasons {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.contact-reasons li {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.contact-reasons li:before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact-form h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Membership Page Styles */
.membership-content {
    max-width: 1000px;
    margin: 0 auto;
}

.membership-benefits h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.benefit-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.membership-cta {
    text-align: center;
    padding: 3rem;
    background: var(--background-light);
    border-radius: 16px;
    margin-top: 3rem;
}

.membership-cta h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.membership-cta > p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.payment-options {
    margin: 2rem 0;
}

.bank-transfer {
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--secondary-color);
}

.bank-transfer h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.bank-details {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.bank-details p {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.bank-details strong {
    color: var(--primary-color);
    font-weight: 600;
}

.membership-note {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.membership-note p {
    color: var(--text-light);
    margin: 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .membership-benefits h2 {
        font-size: 1.6rem;
    }
    
    .membership-cta {
        padding: 2rem 1rem;
    }
    
    .bank-transfer {
        padding: 1.5rem;
    }
}

.footer-section p {
    color: #ffffff !important;
    margin-bottom: 0.5rem;
}

.footer-logo {
    max-height: 60px;
    margin-bottom: 1rem;
}

.footer-description {
    color: #ffffff;
    line-height: 1.4;
}

.social-link {
    display: block;
    color: #ffffff !important;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 0.8;
}

.footer-banking-info {
    text-align: right;
}

.banking-label {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
}

.footer-bottom
{
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 2rem;
}

.footer-bottom p {
    color: #ffffff;
    margin: 0;
}
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #ffffff;
    margin: 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px; /* Ajusté pour être sous l'en-tête */
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        border-top: 1px solid #eee;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 0.8rem 1rem;
        font-size: 1.1rem;
        border-radius: var(--border-radius);
        transition: var(--transition);
    }
    
    .nav-link:hover {
        background-color: var(--background-light);
        color: var(--primary-color);
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle span {
        transition: all 0.3s ease;
    }
    
    /* Amélioration du bouton "Faire un don" sur mobile */
    .nav-menu .btn {
        width: 100%;
        margin-top: 1rem;
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}


/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    padding: 140px 0 80px;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start; /* Changé de center à start pour aligner en haut */
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.content-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.section-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.value-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 80px 0;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-secondary);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Page Styles */
.contact-info {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

/* Donation Page Styles */
.donation-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.amount-btn {
    padding: 1rem;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.amount-btn:hover,
.amount-btn.active {
    background-color: var(--primary-color);
    color: #ffffff;
}

.custom-amount {
    grid-column: 1 / -1;
}

/* News/Blog Styles */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.news-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);
}

/* Responsive Design for Internal Pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-grid.reverse {
        direction: ltr;
    }
    
    .section-image {
        height: 250px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .donation-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 120px 0 60px;
    }
    
    .content-section,
    .values-section,
    .team-section {
        padding: 60px 0;
    }
    
    .donation-amounts {
        grid-template-columns: 1fr;
    }
}


/* Activity Lists */
.activity-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.activity-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.activity-list li::before {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Testimonials */
.testimonial {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.testimonial cite {
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
}


/* Donation Page Specific Styles */
.impact-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-primary);
}

.donation-form-container {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.donation-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    margin: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    margin-top: 0.25rem;
}

.payment-info {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e1e5e9;
}

.tax-info {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    border-left: 4px solid var(--secondary-color);
}

.tax-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Contact Form Styles */
.content-form {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h2 {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Button States */
.btn.active {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

/* Responsive adjustments for forms */
@media (max-width: 768px) {
    .donation-form-container,
    .content-form {
        padding: 1.5rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .contact-icon {
        align-self: flex-start;
    }
}


/* Logo complet styles */
.logo-complet {
    height: 60px;
    width: auto;
    max-width: 300px;
}

@media (max-width: 768px) {
    .logo-complet {
        height: 40px;
        max-width: 200px;
    }
}

/* Founder page styles */
.founder-image {
    width: 200px; /* Largeur encore réduite */
    height: 280px; /* Hauteur proportionnelle réduite */
    object-fit: contain; /* Retour à contain pour voir l'image entière */
    object-position: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background-color: var(--background-light);
    margin: 0 auto; /* Centrer l'image si le conteneur est plus large */
    display: block; /* Pour que margin: auto fonctionne */
}

.founder-quote {
    background-color: var(--background-light);
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 2rem 0;
}

/* Timeline styles */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--primary-color);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Team grid styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
}

.member-name {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.member-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Sponsors styles */
.sponsors-grid {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.sponsor-category {
    text-align: center;
}

.sponsor-title {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.sponsor-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.sponsor-placeholder {
    text-align: center;
}

.sponsor-logo-placeholder {
    width: 150px;
    height: 80px;
    background-color: var(--background-light);
    border: 2px dashed var(--primary-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.sponsor-name {
    color: var(--text-dark);
    font-weight: 600;
}

/* Benefits grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.benefit-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA grid */
.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.cta-card {
    background-color: #ffffff;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.cta-card-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.cta-card-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-marker {
        left: 5px;
        width: 15px;
        height: 15px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        padding: 2rem;
    }
    
    .sponsor-logos {
        grid-template-columns: 1fr;
    }
}


/* Projects page styles */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background-color: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card:nth-child(even) {
    grid-template-columns: 2fr 1fr;
}

.service-card:nth-child(even) .service-image {
    order: 2;
}

.service-card:nth-child(even) .service-content {
    order: 1;
}

.service-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Projects grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-card {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.project-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.project-status {
    margin-top: auto;
}

.status-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--background-light);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.testimonial-author strong {
    color: var(--text-dark);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Emergency contact */
.emergency-contact {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.emergency-card {
    background-color: #ffffff;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 2px solid #ff4444;
    max-width: 400px;
}

.emergency-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.emergency-card h3 {
    color: #ff4444;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.emergency-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* PayPal button container */
.paypal-button-container {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
}

.donation-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.6;
}

.donation-intro h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.donation-intro p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid {
        gap: 2rem;
    }
    
    .service-card {
        grid-template-columns: 1fr;
    }
    
    .service-card:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .service-card:nth-child(even) .service-image {
        order: 1;
    }
    
    .service-card:nth-child(even) .service-content {
        order: 2;
    }
    
    .service-image {
        height: 200px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .emergency-card {
        padding: 2rem;
        margin: 0 1rem;
    }
}


/* Footer mini logo styles */
.footer-mini-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    display: block;
}

.footer-logo {
    margin-bottom: 1rem;
}

/* Responsive adjustments for footer logos */
@media (max-width: 768px) {
    .footer-mini-logo {
        width: 50px;
        height: 50px;
    }
}


/* Masquer la mention "Made with Manus" */
[data-manus-branding],
.manus-branding,
*[class*="manus"],
*[id*="manus"],
div[style*="Made with Manus"],
a[href*="manus.space"]:not([href*="unpasdeplus"]) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Masquer tout élément contenant "Made with Manus" */
*:contains("Made with Manus") {
    display: none !important;
}


/* Styles pour la section donation dans le hero */
.hero-donation-message {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-donation-message h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.hero-donation-message p {
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.hero-donation-message p:last-child {
    margin-bottom: 0;
}

/* Styles pour la section explicative de la mission */
.mission-explanation {
    background: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 10px;
    margin-top: 3rem;
    border-left: 4px solid #00CC66;
}

.mission-explanation p {
    color: #2c3e50;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.mission-explanation h3 {
    color: #00CC66;
    margin: 2rem 0 1.5rem 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.mission-explanation p:last-child {
    margin-bottom: 0;
}

/* Responsive pour les nouvelles sections */
@media (max-width: 768px) {
    .hero-donation-message {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .hero-donation-message h3 {
        font-size: 1.3rem;
    }
    
    .mission-explanation {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }
    
    .mission-explanation-content {
        margin-left: 0.5rem;
        padding-left: 1.5rem;
    }
    
    .mission-explanation-content p {
        font-size: 1rem;
    }
    
    .mission-explanation h3 {
        font-size: 1.2rem;
    }
}


/* Styles pour le titre hero agrandi */
.hero-title-large {
    font-size: 4rem !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Styles pour la section donation séparée */
.donation-message {
    background: #f8f9fa;
    padding: 3rem 0;
    border-bottom: 3px solid #00CC66;
}

.donation-content {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #00CC66;
    text-align: center;
}

.donation-content h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.donation-content p {
    color: #34495e;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.donation-content p:last-child {
    margin-bottom: 0;
    font-size: 1.2rem;
}

/* Styles pour l'article complet */
.article-content {
    padding: 4rem 0;
    background: #f8f9fa;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #00CC66;
}

.article-date {
    color: #00CC66;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.article-title {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.article-subtitle {
    color: #7f8c8d;
    font-size: 1.2rem;
    font-style: italic;
}

.article-body {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

.article-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.article-body h2 {
    color: #00CC66;
    margin: 2.5rem 0 1.5rem 0;
    font-size: 1.6rem;
    font-weight: 600;
}

.article-body p {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.1rem;
}

.article-body ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.article-cta {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
    text-align: center;
}

.article-cta h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

/* Suppression définitive de "Made with Manus" */
*[class*="manus"],
*[id*="manus"],
*[data-manus],
div[style*="Made with Manus"],
a[href*="manus.space"]:not([href*="unpasdeplus"]),
*:contains("Made with Manus") {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Responsive pour les nouvelles sections */
@media (max-width: 768px) {
    .hero-title-large {
        font-size: 2.5rem !important;
    }
    
    .donation-content {
        padding: 2rem 1.5rem;
    }
    
    .donation-content h3 {
        font-size: 1.5rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-body {
        padding: 2rem 1.5rem;
    }
}


/* En-tête opaque blanc */
.header {
    background-color: rgba(255, 255, 255, 1) !important;
    backdrop-filter: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    background-color: white !important;
}


/* Messages d'alerte */
.alert {
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* Améliorations supplémentaires pour mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .nav-menu {
        padding: 1.5rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.7rem 0.8rem;
    }
}

/* Assurer/* Mobile responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex !important;
        position: relative;
        z-index: 1002;
        flex-direction: column;
        cursor: pointer;
        gap: 4px;
        padding: 10px;
    }
    
    .nav-toggle span {
        display: block !important;
        width: 25px;
        height: 3px;
        background-color: var(--text-dark) !important;
        margin: 3px 0;
        transition: 0.3s;
    }
    
    .language-selector {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .language-menu {
        right: auto;
        left: 0;
    }
}@media (max-width: 768px) {
    .nav-menu {
        max-height: 0;
        overflow: hidden;
    }
    
    .nav-menu.active {
        max-height: 500px;
    }
}


/* Gestion de l'affichage du bouton "Faire un don" */
.nav-item-mobile {
    display: none !important;
}

.nav-item-mobile .nav-link-donation {
    display: none !important;
}

.nav-link-donation {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.nav-link-donation:hover {
    background-color: var(--primary-dark) !important;
    color: var(--white) !important;
}

@media (max-width: 768px) {
    .nav-item-mobile {
        display: block !important;
        margin-top: 1rem;
    }
    
    .nav-item-mobile .nav-link-donation {
        display: block !important;
    }
    
    .nav-link-donation {
        padding: 1rem !important;
        text-align: center;
        font-size: 1.1rem !important;
    }
}

@media (min-width: 769px) {
    .nav-item-mobile {
        display: none !important;
    }
    
    .nav-item-mobile .nav-link-donation {
        display: none !important;
    }
}


/* Language Selector Dropdown */
.language-selector {
    position: relative;
    margin-left: 15px;
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-current {
    display: inline-block;
    padding: 6px 8px;
    background: #207a5b;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.language-current:hover {
    background: rgba(255, 255, 255, 0.2);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 60px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e0e0e0;
}

.language-dropdown:hover .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-flag {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.2s ease;
    text-align: center;
}



.language-flag:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.language-flag.active {
    background-color: #007bff;
    color: white;
}

.language-flag.active:hover {
    background-color: #0056b3;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .language-selector {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .language-menu {
        right: auto;
        left: 0;
    }
}



/* Correction complète du menu mobile */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        background-color: white !important;
        flex-direction: column !important;
        padding: 2rem !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
        transform: translateY(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
        z-index: 999 !important;
        border-top: 1px solid #eee !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
    }
    
    .nav-menu.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-list {
        flex-direction: column !important;
        gap: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
    }
    
    .nav-item {
        width: 100% !important;
        text-align: center !important;
    }
    
    .nav-link {
        display: block !important;
        padding: 1rem !important;
        font-size: 1.1rem !important;
        border-radius: 5px !important;
        transition: all 0.3s ease !important;
        color: #333 !important;
    }
    
    .nav-link:hover {
        background-color: #f8f9fa !important;
        color: #007bff !important;
    }
    
    .nav-toggle {
        display: flex !important;
        position: relative !important;
        z-index: 1002 !important;
        flex-direction: column !important;
        cursor: pointer !important;
        gap: 4px !important;
        padding: 10px !important;
        background: none !important;
        border: none !important;
    }
    
    .nav-toggle span {
        display: block !important;
        width: 25px !important;
        height: 3px !important;
        background-color: #333 !important;
        margin: 2px 0 !important;
        transition: 0.3s !important;
        border-radius: 2px !important;
    }
}


/* Sponsors Section */
.sponsors-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.sponsor-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.sponsor-logo {
    max-width: 300px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .sponsor-logo {
        max-width: 250px;
        max-height: 120px;
    }
}


.sponsor-description {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}



/* Partners Section */
.partners {
    padding: 80px 0;
    background-color: var(--background-light);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: nowrap;
    flex-direction: row;
}

.partner-item {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    transition: var(--transition);
    width: auto;
    max-width: none;
}

.partner-item:hover {
    transform: scale(1.05);
    box-shadow: none;
}

.partner-logo {
    margin-bottom: 0;
    object-fit: contain;
}

.hopper-logo {
    width: 240px;
    height: 150px;
}

.lhf-logo {
    width: 180px;
    height: 120px;
}

.vigo-logo {
    width: 180px;
    height: 120px;
    object-fit: contain;
}

.maillaj-logo {
    width: 180px;
    height: 120px;
    object-fit: contain;
}

.mobilis-logo {
    width: 180px;
    height: 120px;
    object-fit: contain;
}

.trooper-logo {
    width: 180px;
    height: 120px;
    object-fit: contain;
}

.partner-name {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin: 0;
}

/* Mission Explanation Section */
.mission-explanation {
    padding: 80px 0;
    background-color: #ffffff;
}

.mission-explanation .container {
    max-width: 800px;
}

.mission-explanation-content {
    border-left: 5px solid #00CC66;
    padding-left: 2rem;
    margin-left: 1rem;
}

.mission-explanation-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.mission-explanation-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-item {
        max-width: 250px;
    }
    
    .mission-explanation-content {
        margin-left: 0.5rem;
        padding-left: 1.5rem;
    }
    
    .mission-explanation-content p {
        font-size: 1rem;
    }
}

/* CTA List with checkmarks */
.cta-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.cta-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

.checkmark {
    color: #00CC66;
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .cta-list li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .checkmark {
        margin-right: 0.5rem;
    }
}





.footer-brand p {
    color: #ccc;
}

.footer-links h4,
.footer-social h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #2a8a6b;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #fff;
    color: #333;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

/* Footer Banking Information */
.footer-banking-info {
    margin-top: 0;
    padding-right: 0;
    color: #ffffff !important;
    text-align: right;
}

.footer-banking-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.1;
    color: #ffffff !important;
}

.footer-banking-info p:first-child {
    margin-bottom: 1.5rem;
}

.footer-banking-info p:nth-child(2) {
    margin-bottom: 0;
}

.banking-label {
    color: #ffffff;
    font-size: 1.45rem;
    display: block;
    margin-bottom: 0;
    font-weight: bold;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-banking-info {
        padding-right: 0;
        color: #ffffff;
        text-align: center; /* Centré sur mobile */
        margin-top: 2rem;
    }
    
    .footer-banking-info p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        color: #ffffff;
    }
    
    .footer-banking-info p:nth-child(2) {
        margin-bottom: 1rem;
    }
    
    .banking-label {
        font-size: 1.2rem;
        font-weight: bold;
    }
}


/* Gallery Section Styles */
.gallery-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4 / 3;
    background-color: #f0f0f0;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-section {
        padding: 2rem 0;
    }
}

/* Bannière Trooper */
.trooper-banner {
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: block;
}

.trooper-banner a {
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trooper-banner a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.trooper-banner img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

@media (max-width: 768px) {
    .trooper-banner {
        margin: 2rem auto;
        padding: 0 1rem;
    }
}

/* Style pour le logo Evō Sport Nutrition */
.evo-logo {
    width: 180px;
    height: 120px;
    object-fit: contain;
}

/* Styles nettoyés pour le carrousel - suppression des anciennes règles de grille */

/* Correction pour la bannière Trooper sur mobile */
@media (max-width: 768px) {
    .trooper-banner {
        padding: 0 10px;
        margin: 1.5rem auto;
    }
    
    .trooper-banner img {
        border-radius: 6px;
    }
}

/* Styles pour les images d'événements dans l'agenda */
.event-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image {
    transform: scale(1.05);
}

.event-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Styles globaux pour les logos dans le carrousel */
.partner-logo {
    max-height: 80px !important;
    width: auto !important;
    max-width: 100%;
    object-fit: contain;
    /* filter: grayscale(100%);  Supprimé pour garder les couleurs */
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05); /* Léger zoom au survol au lieu du changement de couleur */
}

/* Ajustement spécifique pour Evō Sport dans le carrousel */
img[src*="evo_sport_logo.png"].partner-logo {
    padding: 5px;
    max-height: 70px !important; /* Légèrement plus petit pour s'aligner visuellement */
}

/* Restauration forcée de la grille Projets */
.values-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
    margin-top: 2rem !important;
}

.value-card {
    background: #ffffff !important;
    padding: 2rem !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    text-align: center !important;
    transition: transform 0.3s ease !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.value-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}

.value-icon {
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
}

.value-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    color: #333 !important;
}

.value-description {
    font-size: 1rem !important;
    color: #666 !important;
    line-height: 1.6 !important;
}

/* Styles pour les statuts des projets */
.project-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: auto; /* Pousse le badge vers le bas de la carte */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-dev {
    background-color: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.status-planning {
    background-color: #f3e5f5;
    color: #7b1fa2;
    border: 1px solid #e1bee7;
}

.status-active {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.status-priority {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.status-ongoing {
    background-color: #fff3e0;
    color: #ef6c00;
    border: 1px solid #ffe0b2;
}

.status-new {
    background-color: #e0f7fa;
    color: #0097a7;
    border: 1px solid #b2ebf2;
}

/* Suppression du menu hamburger et affichage permanent du menu */
.nav-toggle {
    display: none !important;
}

.nav-menu {
    display: flex !important;
    position: static !important;
    background-color: transparent !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    box-shadow: none !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1rem !important;
}

.nav-list {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
}

/* Ajustements pour mobile : menu scrollable horizontalement ou wrap si nécessaire */
@media (max-width: 992px) {
    .navbar .container {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .nav-menu {
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    
    .nav-list {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }

    .nav-link {
        font-size: 0.9rem !important;
        padding: 0.5rem !important;
    }
    
    .btn-primary {
        margin-top: 0.5rem !important;
    }
}

/* Stabilisation du layout pour éviter le saut du menu */
html {
    overflow-y: scroll; /* Force la barre de défilement verticale toujours visible */
}

/* Assurer que le header est bien fixé en haut si nécessaire (optionnel selon design actuel, mais recommandé pour la stabilité) */
/* 
.header {
    width: 100%;
    top: 0;
    z-index: 1000;
} 
*/

/* Styles pour le carrousel des partenaires */
.partners-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
    background: white;
}

.partners-track {
    display: flex;
    width: calc(250px * 14); /* 250px par slide * 14 slides (7 originaux + 7 dupliqués) */
    animation: scroll 40s linear infinite;
}

.partner-slide {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.partner-slide img {
    max-width: 100%;
    max-height: 80px; /* Hauteur harmonisée pour tous les logos */
    width: auto;
    height: auto;
    object-fit: contain;
    /* filter: grayscale(100%); Supprimé pour garder les couleurs */
    transition: transform 0.3s ease;
}

.partner-slide img:hover {
    transform: scale(1.05); /* Léger zoom au survol */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 7)); /* Défilement de la moitié de la largeur totale (7 slides) */
    }
}

/* Ajustement mobile pour le carrousel */
@media (max-width: 768px) {
    .partner-slide {
        width: 150px; /* Plus petit sur mobile */
    }
    .partners-track {
        width: calc(150px * 14);
        animation: scroll 20s linear infinite; /* Plus rapide sur mobile car moins de distance */
    }
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 7));
        }
    }
}

/* --- CORRECTIFS RESPONSIVE MOBILE & TABLETTE --- */

/* Ajustement global du conteneur pour éviter le débordement */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    /* Navigation Tablette/Mobile */
    .navbar .container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        padding: 0;
    }

    .nav-item {
        margin: 0;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
        display: block;
        white-space: nowrap;
    }
    
    .btn-primary {
        margin-top: 0.5rem;
        width: auto;
    }
}

/* Mobile spécifique (< 768px) */
@media (max-width: 768px) {
    /* Header compact */
    .header {
        position: relative; /* Évite que le header fixe ne cache le contenu sur petit écran si trop haut */
    }

    .logo {
        height: 50px; /* Logo plus petit */
    }

    /* Hero Section */
    .hero {
        padding: 60px 0 40px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Grilles en une colonne */
    .mission-grid, 
    .stats-grid, 
    .values-grid,
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-section {
        margin-bottom: 1rem;
    }

    .footer-banking-info {
        text-align: center !important;
        margin-top: 1rem;
    }

    /* Formulaire Inscription */
    .form-container {
        padding: 1.5rem;
    }
    
    .step-item {
        padding-left: 1rem;
    }
}

/* Très petits écrans (< 480px) */
@media (max-width: 480px) {
    .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn {
        width: 100%; /* Boutons pleine largeur */
        margin-bottom: 0.5rem;
    }
    
    .btn-large {
        padding: 12px 20px;
    }
}

/* Styles pour les titres en bulle */
.bubble-title {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.bubble-title-blue {
    background-color: rgba(74, 144, 226, 0.1); /* Bleu très clair */
    border: 2px solid #4A90E2;
    color: #4A90E2;
}

.bubble-title-green {
    background-color: rgba(0, 204, 102, 0.1); /* Vert très clair */
    border: 2px solid #00CC66;
    color: #00CC66;
}

/* Ajustement pour que le sous-titre ne colle pas trop à la bulle */
.section-header .section-subtitle {
    margin-top: 15px;
}

/* --- MOBILE NAVIGATION & RESPONSIVE FIXES --- */

/* Empêcher le débordement horizontal qui cause l'écran blanc */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Style du bouton hamburger */
.nav-toggle {
    display: none; /* Caché sur desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Animation du hamburger quand actif */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Media Queries pour Mobile */
@media (max-width: 992px) {
    /* Afficher le hamburger */
    .nav-toggle {
        display: flex;
    }

    /* Cacher le menu par défaut sur mobile */
    .nav-menu {
        position: fixed;
        top: 70px; /* Hauteur du header */
        left: -100%; /* Caché à gauche */
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    /* Afficher le menu quand actif */
    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 1.5rem;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
    }

    /* Bouton Don dans le menu mobile */
    .nav-menu .btn-primary {
        margin-top: 1.5rem;
        width: 80%;
        text-align: center;
    }
    
    /* Afficher le lien "Faire un don" dans la liste sur mobile si on veut l'intégrer */
    .nav-item-mobile {
        display: block;
    }
    
    /* Cacher le bouton "Faire un don" hors du menu sur mobile pour éviter doublon */
    .navbar > .btn-primary {
        display: none; 
    }
    
    /* Ajustements généraux pour mobile */
    .container {
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Grilles en une colonne */
    .mission-grid, 
    .values-grid, 
    .services-grid, 
    .gallery-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Ajustement Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    /* Ajustement Images */
    img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 80px; /* Réduire l'espace en haut sur mobile */
        min-height: 50vh; /* Réduire la hauteur minimale sur mobile */
    }
}

/* Correction critique pour le menu mobile */
@media (max-width: 992px) {
    /* S'assurer que le header est visible et au-dessus */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 2000;
        background-color: white;
    }

    /* Le menu doit être caché par défaut et s'afficher quand actif */
    .nav-menu {
        display: none; /* Caché par défaut */
        position: fixed;
        top: 70px; /* Hauteur du header */
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        overflow-y: auto;
        z-index: 1999;
    }

    /* Quand la classe .active est ajoutée via JS */
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-list {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-link {
        display: block;
        font-size: 1.1rem;
        padding: 15px 0;
        color: #333;
        text-decoration: none;
    }

    /* Bouton hamburger visible */
    .nav-toggle {
        display: flex;
        z-index: 2001;
    }
    
    /* Ajustement du Hero pour éviter l'espace blanc ou le chevauchement */
    .hero {
        margin-top: 0; /* Reset margin */
        padding-top: 100px; /* Padding interne pour compenser le header fixe */
        min-height: auto;
    }
    
    /* Cacher le bouton don desktop dans le menu mobile pour éviter doublon */
    .nav-menu > .btn-primary {
        display: none;
    }
}

/* Header Subtitle Styles */
.brand-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.brand-subtitle {
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #00CC66;
    text-transform: uppercase;
}



/* Adjust for sticky header where background might be white */


@media (max-width: 768px) {
    .brand-subtitle {
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #00CC66;
    text-transform: uppercase;
}
}

/* New Footer Styles */
.footer {
    background: linear-gradient(135deg, #00CC66 0%, #0066CC 100%);
    color: #ffffff;
    padding: 40px 0 15px;
    font-family: 'Inter', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    padding: 0 20px;
}

.footer-logo {
    max-height: 60px;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-bce {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-heading {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-heading-elegant {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-iban {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
    color: #ffffff;
    display: inline-block;
    margin-top: 10px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 25px auto 0;
    padding: 15px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #ffffff;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* --- NEW HOMEPAGE STYLES --- */

/* Typography */
.hero-title-serif, .section-title-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.1;
}

.text-white { color: #ffffff !important; }
.text-light-gray { color: #e0e0e0 !important; }

/* Hero Section */
.hero-new {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    padding: 200px 0 40px;
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(74, 144, 226, 0.7) 0%, rgba(74, 144, 226, 0.2) 100%);
}

.hero-container-new {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.hero-title-serif {
    font-size: 3.2rem;
    color: #ffffff;
    margin-bottom: 30px;
}

.hero-subtitle-new {
    font-family: \'Montserrat\', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #e0e0e0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons-new {
    display: flex;
    gap: 20px;
}

.btn-outline-white {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background-color: #ffffff;
    color: #333333;
}

.hero-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.55);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-card-header {
    margin-bottom: 10px;
}

.hero-card-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: #00CC66;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.hero-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #333333;
    margin: 0;
}

.hero-card-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #444444;
    line-height: 1.5;
    margin-bottom: 15px;
}

.btn-full {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.btn-outline-dark {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #333333;
    color: #333333;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: #333333;
    color: #ffffff;
}

/* Slogan & Numbers Section */
.slogan-numbers-section {
    position: relative;
    z-index: 10;
    margin-top: 40px;
    margin-bottom: 40px;
}

.slogan-banner {
    background-color: #4A90E2;
    padding: 20px 0;
    text-align: center;
    border-radius: 12px 12px 0 0;
    max-width: 1200px;
    margin: 0 auto;
}

.slogan-text {
    font-family: 'Caveat', cursive;
    font-size: 3rem;
    color: #ffffff;
    margin: 0;
}

.numbers-banner {
    background-color: #f8f9fa;
    padding: 40px 0;
    border-radius: 0 0 12px 12px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.numbers-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.number-item {
    text-align: center;
    flex: 1;
}

.number-value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #4A90E2;
    line-height: 1;
    margin-bottom: 3px;
}

.number-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #666666;
    font-weight: 500;
    font-style: normal;
}

.number-divider {
    width: 1px;
    height: 60px;
    background-color: #dddddd;
}

/* Common Section Styles */
.section-tag {
    font-size: 0.75rem;
    font-weight: 900;
    color: #00CC66;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 15px;
}

.tag-light {
    color: #4A90E2;
}

.section-title-serif {
    font-size: 3rem;
    color: #333333;
    margin-bottom: 30px;
}

.section-title-small {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #333333;
    margin-bottom: 30px;
    font-weight: 700;
}

.section-intro-text {
    font-size: 1.1rem;
    color: #555555;
    line-height: 1.6;
    max-width: 800px;
}

/* Domaines Section */
.domaines-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.domaines-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.domaine-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
}

.domaine-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: #00CC66;
}

.domaine-icon {
    width: 50px;
    height: 50px;
    background-color: #e8f5e9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #00CC66;
    font-size: 1.5rem;
    font-weight: bold;
}

.domaine-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: #333333;
    margin-bottom: 15px;
}

.domaine-text {
    font-family: \'Montserrat\', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #555555;
    line-height: 1.6;
}

/* Projets Section */
.projets-section {
    padding: 100px 0;
    background-color: #4A90E2; /* Dark blue */
}

.projets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.projet-card {
    background: #2a4a73;
    border: 1px solid #3a5a83;
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
}

.projet-card:hover {
    background: #207a5b;
}

.projet-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.status-encours {
    background-color: #e8f5e9;
    color: #00CC66;
}

.status-realise {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.projet-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.projet-text {
    font-family: \'Montserrat\', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #e0e0e0;
    line-height: 1.6;
}

.card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #2a8a6b;
}

.projet-link-full {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}


/* Témoignage & Najmeddine Section */
.temoignage-section {
    padding: 100px 0;
    background-color: #f4f5f4;
}

.temoignage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.temoignage-quote-col {
    padding-right: 20px;
}

.quote-large {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #4A90E2;
    font-style: italic;
    line-height: 1.4;
    margin: 20px 0;
    padding-left: 20px;
    border-left: 3px solid #00CC66;
}

.quote-author {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 0;
}

.author-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
}

.author-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: #e3f2fd;
    color: #4A90E2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-name {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #333333;
    font-weight: 600;
}

.author-role {
    margin: 0;
    font-size: 0.9rem;
    color: #666666;
}

.author-text {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* Najmeddine Section */
.najmeddine-section {
    padding: 0 0 100px 0;
    background-color: #f4f5f4;
}

.najmeddine-card-large {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
}

.najmeddine-header {
    background-color: #4A90E2;
    padding: 30px 40px;
    color: #ffffff;
}

.najmeddine-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 0 0 5px 0;
    font-weight: 400;
}

.najmeddine-subtitle {
    margin: 0;
    color: #a0aec0;
    font-size: 1rem;
}

.najmeddine-body {
    padding: 40px;
}

.najmeddine-body p {
    font-size: 1.05rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.najmeddine-highlight {
    background-color: #e8f5e9;
    padding: 20px 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.highlight-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #19694d;
    line-height: 1;
}

.highlight-text {
    font-size: 1rem;
    color: #19694d;
    font-weight: 500;
}

@media (max-width: 992px) {
    .temoignage-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .temoignage-quote-col {
        padding-right: 0;
    }
}

/* Soutenir Section */
.soutenir-section {
    padding: 100px 0;
    background-color: #19694d; /* Dark green */
    text-align: left;
}

.soutenir-intro {
    font-size: 1.1rem;
    color: #e0e0e0;
    max-width: 700px;
    margin: 0 0 50px 0;
    line-height: 1.6;
}

.dons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.don-card {
    background: #207a5b;
    border: 1px solid #2a8a6b;
    border-radius: 12px;
    padding: 40px 20px;
    position: relative;
    transition: all 0.3s ease;
}

.don-card-popular {
    background: #ffffff;
    transform: scale(1.05);
    z-index: 2;
}

.don-popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #e8f5e9;
    color: #00CC66;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.don-amount {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #ffffff;
    margin: 0 0 15px 0;
}

.don-card-popular .don-amount {
    color: #19694d;
}

.don-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #666666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.don-card-popular .don-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #666666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.soutenir-actions {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.soutenir-actions .btn-white,
.soutenir-actions .btn-outline-white {
    border-radius: 8px;
}

.btn-white {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ffffff;
    color: #19694d;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background-color: #e8f5e9;
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.partners-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 40px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-new {
        padding: 100px 0 20px;
    }
    
    .hero-title-serif {
        font-size: 2.2rem;
    }

    .hero-container-new {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-card {
        text-align: left;
    }
    
    .hero-content-new {
        max-width: 100%;
    }
    
    .hero-subtitle-new {
    font-family: \'Montserrat\', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #e0e0e0;
    margin-bottom: 30px;
    line-height: 1.6;
}
    
    .hero-buttons-new {
        justify-content: center;
    }
    
    .hero-title-serif {
        font-size: 3rem;
    }
    
    .numbers-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    .number-divider {
        width: 60px;
        height: 1px;
    }
    
    .projets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .temoignage-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .domaines-grid {
        grid-template-columns: 1fr;
    }
    
    .projets-grid {
        grid-template-columns: 1fr;
    }
    
    .dons-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .don-card-popular {
        transform: scale(1);
    }
    
    .slogan-text {
        font-size: 2rem;
    }
    
    .section-title-serif {
        font-size: 2.2rem;
    }
}

.hero-card-link {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1A365D;
    text-decoration: none;
    margin-top: 5px;
    transition: color 0.3s ease;
}

.hero-card-link:hover {
    color: #00CC66;
}

.elegant-text-dark {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #444444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.elegant-text-light {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #E0E0E0;
    line-height: 1.6;
    margin-bottom: 15px;
}

.donation-list-container {
    max-width: 800px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.donation-list-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 20px 30px;
    transition: all 0.3s ease;
}

.donation-list-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.donation-list-item.highlight {
    background: #ffffff;
    color: #19694d;
}

.donation-list-item.highlight:hover {
    background: #f8f9fa;
}

.donation-amount {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    min-width: 120px;
    color: #ffffff;
}

.donation-list-item.highlight .donation-amount {
    color: #19694d;
}

.donation-details {
    flex-grow: 1;
    text-align: left;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.donation-list-item.highlight .donation-details {
    border-left: 1px solid rgba(25, 105, 77, 0.2);
}

.donation-tag {
    display: inline-block;
    background: #e6f7ef;
    color: #19694d;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.donation-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    margin: 0;
    color: #ffffff;
}

.donation-list-item.highlight .donation-desc {
    color: #444444;
}

.fiscal-text {
    text-align: center;
    margin-top: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .soutenir-actions {
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
    }
    .soutenir-actions .btn {
        text-align: center;
        width: 100%;
    }
    .donation-list-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .donation-amount {
        margin-bottom: 15px;
        min-width: auto;
    }
    .donation-details {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 15px;
        text-align: center;
    }
    .donation-list-item.highlight .donation-details {
        border-top: 1px solid rgba(26, 54, 93, 0.2);
    }
}
