:root {
    --primary-color: #d2691e;
    --primary-light: #e67e22;
    --primary-dark: #b8860b;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
}

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

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    padding-top: 120px; /* Compensate for fixed header */
}

/* Header Principal - Style Rotary International */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    z-index: 1030;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Barre de navigation principale */
.top-nav-bar {
    height: 60px;
    border-bottom: 1px solid #e9ecef;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Section */
.logo-section {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-text {
    color: #004b87;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo:hover {
    transform: scale(1.05);
}

/* Navigation Principale */
.main-nav {
    flex-shrink: 0;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
    align-items: center;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: #004b87;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background: transparent;
}

.nav-link:hover {
    color: #003366;
    opacity: 0.8;
    text-decoration: none;
}

/* Bouton "DEVENEZ MEMBRE" - Bordure bleue, fond transparent */
.nav-link:not(.nav-button-primary) {
    border: 1px solid #004b87;
    color: #004b87;
}

.nav-link:not(.nav-button-primary):hover {
    background: rgba(0, 75, 135, 0.1);
}

/* Bouton "MYWAY4LIFE" - Fond bleu gradient, texte blanc */
.nav-button-member {
    background: linear-gradient(135deg, #4a90e2 0%, #2c5aa0 100%) !important;
    color: #ffffff !important;
    border: 1px solid #4a90e2 !important;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.nav-button-member:hover {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a90e2 100%) !important;
    border-color: #2c5aa0 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

/* Bouton "FAITES UN DON" - Fond bleu, texte blanc */
.nav-button-primary {
    background: #004b87 !important;
    color: #ffffff !important;
    border: 1px solid #004b87 !important;
}

.nav-button-primary:hover {
    background: #003366 !important;
    border-color: #003366 !important;
    color: #ffffff !important;
}

/* Menu de navigation secondaire */
.secondary-nav {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    --secondary-nav-gap: 48px; /* augmenté pour aérer les titres */
    /* Variables communes pour l'alignement */
    --menu-max-width: 1400px;
    --menu-side-padding: 40px;
    --menu-column-gap: 36px; /* augmenté pour plus d'espacement */
}

/* Assure un espacement horizontal accru entre les items du menu principal */
.secondary-nav-list {
    column-gap: var(--secondary-nav-gap);
}

.secondary-nav-list {
    /* Grille 6 colonnes synchronisée avec le mega menu */
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: var(--menu-column-gap, 24px);
    list-style: none;
    justify-items: start;
    max-width: var(--menu-max-width, 1400px);
    margin: 0 auto;
    padding: 0 var(--menu-side-padding, 40px);
}

.secondary-nav-list > .nav-item {
    position: relative;
}

.secondary-nav-list > .nav-item > .nav-link {
    display: block;
    padding: 18px 0; /* seulement vertical pour alignement parfait */
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.secondary-nav-list > .nav-item:hover > .nav-link,
.secondary-nav-list > .nav-item.active > .nav-link {
    color: #00a7e1;
    background: transparent !important;
    border: none !important;
}

/* Neutraliser le style global des nav-link pour le menu secondaire */
.secondary-nav .nav-link:not(.nav-button-primary) {
    border: none !important;
    background: transparent !important;
}

.secondary-nav .nav-link:not(.nav-button-primary):hover {
    background: transparent !important;
}

/* MEGA MENU - Affichage sur toute la largeur */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.mega-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content {
    /* Utiliser les mêmes variables pour garantir l'alignement */
    max-width: var(--menu-max-width, 1400px);
    margin: 0 auto;
    padding: 50px var(--menu-side-padding, 40px);
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: var(--menu-column-gap, 24px);
    align-items: start;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
    padding: 0; /* pas de padding horizontal pour caler avec la grille */
    text-align: left;
}

.mega-menu-column h3 {
    font-size: 14px;
    font-weight: 600;
    color: #00a7e1;
    margin-bottom: 10px; /* ajusté pour mieux caler avec le premier item */
    cursor: pointer;
}

.mega-menu-column h3 a {
    color: #00a7e1;
    text-decoration: none;
    display: inline-block;
}

.mega-menu-column h3 a:hover {
    text-decoration: underline;
}

.mega-menu-column h3:hover {
    text-decoration: underline;
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0; /* reset pour un alignement cohérent */
}

.mega-menu-column li {
    margin-bottom: 12px;
}

.mega-menu-column a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    display: block;
    line-height: 1.5;
    padding: 0; /* pas de padding horizontal */
}

.mega-menu-column a:hover {
    color: #00a7e1;
}

/* Menu Hamburger Mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #004b87;
    margin: 3px 0;
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 110px;
    }

    .top-nav-bar {
        height: 50px;
    }

    .secondary-nav {
        height: 40px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .logo {
        height: 35px;
    }

    .logo-text {
        font-size: 20px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .secondary-nav-list {
        display: none;
    }

    .secondary-nav.show .secondary-nav-list {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        padding: 20px;
        gap: 0;
    }

    .secondary-nav.show .nav-item {
        height: auto;
        margin-bottom: 10px;
    }

    .secondary-nav.show .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid #e9ecef;
    }

    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 10px;
        border-radius: 4px;
    }

    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
    }

    .logo {
        height: 30px;
    }

    .logo-text {
        font-size: 18px;
    }
}

/* Menu Mobile Styles */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section - Responsive */
.hero {
    position: relative;
    overflow: hidden;
    height: 80vh;
    min-height: 500px;
    margin-top: -20px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    color: var(--white);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    color: var(--white);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    background: var(--accent-color);
    border: none;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-hero:hover {
    background: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    color: var(--white);
    text-decoration: none;
}

.btn-join-transparent {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.btn-join-transparent:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.btn-member {
    background: linear-gradient(135deg, #4a90e2 0%, #2c5aa0 100%);
    border: 2px solid #4a90e2;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-member:hover {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a90e2 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
    text-decoration: none;
}

.hero-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.hero-prev,
.hero-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--white);
    transform: scale(1.2);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 30px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.card-text {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(210, 105, 30, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

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

/* Stats */
.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Mission & Vision Section */
.mission-vision {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.mission-vision::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23d2691e" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23d2691e" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23d2691e" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23d2691e" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%23d2691e" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.mission-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.mission-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--accent-color)
    );
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(210, 105, 30, 0.3);
}

.mission-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.mission-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* News Section */
.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.news-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(210, 105, 30, 0.1),
        rgba(243, 156, 18, 0.1)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-image::after {
    opacity: 1;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.news-title {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(
        135deg,
        var(--secondary-color) 0%,
        #34495e 100%
    );
    color: var(--white);
    position: relative;
}

.testimonials::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="testimonial-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23testimonial-pattern)"/></svg>');
    opacity: 0.3;
}

.testimonials .section-title {
    color: var(--white);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--white);
    line-height: 1.8;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: -15px;
    opacity: 0.3;
}

.testimonial-author {
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Projects Section */
.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-content {
    padding: 25px;
}

.project-content .news-title {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.progress {
    height: 8px;
    border-radius: 10px;
    background: #e9ecef;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--accent-color)
    );
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Events Section */
.event-card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--accent-color)
    );
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.event-date {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
    );
    color: var(--white);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    width: 80px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(210, 105, 30, 0.3);
}

.event-month {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.event-card .news-title {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.event-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Help Section */
.help-section {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--accent-color) 100%
    );
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.help-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="help-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23help-pattern)"/></svg>');
    opacity: 0.3;
}

.help-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.help-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.help-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.help-card:hover .help-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.help-card h4,
.help-card h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 15px;
}

/* Style spécifique pour les cartes dans la section nous-rejoindre */
#nous-rejoindre .help-card h5 {
    color: var(--text-light);
}

#nous-rejoindre .help-card p {
    color: var(--text-light);
}

.help-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Nous Rejoindre Section */
#nous-rejoindre {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

#nous-rejoindre .mission-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

#nous-rejoindre .mission-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--accent-color)
    );
}

#nous-rejoindre .mission-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 10px 25px rgba(210, 105, 30, 0.3);
}

#nous-rejoindre .mission-card h3 {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

#nous-rejoindre .mission-card .lead {
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer p,
.footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

/* Styles pour la nouvelle présentation des projets */
.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.project-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

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

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.project-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-header {
    margin-bottom: 15px;
}

.project-title {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.project-location {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-description {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.project-impact {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
}

.impact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.impact-item i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.impact-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.project-dates {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.project-cta-section {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--primary-dark) 100%
    );
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
}

.project-cta-section h3 {
    color: white;
    font-weight: 700;
}

.project-cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.project-cta-section .btn {
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.project-cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.project-cta-section .btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.project-cta-section .btn-outline-primary {
    color: white;
    border-color: white;
}

.project-cta-section .btn-outline-primary:hover {
    background: white;
    color: var(--primary-color);
}

/* Responsive pour les projets */
@media (max-width: 768px) {
    .project-impact {
        flex-direction: column;
        gap: 10px;
    }

    .impact-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .impact-item i {
        margin-right: 10px;
        margin-bottom: 0;
    }

    .project-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .project-dates {
        text-align: center;
    }

    .project-cta-section {
        padding: 30px 20px;
    }

    .project-cta-section .d-flex {
        flex-direction: column;
        gap: 15px;
    }
}

/* Responsive pour les images du slider */
@media (max-width: 1200px) {
    .hero {
        height: 70vh;
        min-height: 450px;
    }

    .hero-slide {
        background-position: center center;
        background-size: cover;
    }
}

@media (max-width: 992px) {
    .hero {
        height: 65vh;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

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

    .hero {
        height: 60vh;
        min-height: 350px;
    }

    .hero-slide {
        background-position: center center;
        background-size: cover;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-controls {
        padding: 0 10px;
    }

    .hero-prev,
    .hero-next {
        width: 40px;
        height: 40px;
    }

    .hero-indicators {
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 50vh;
        min-height: 300px;
    }

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

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

    .hero-slide {
        background-position: center center;
        background-size: cover;
    }

    .btn-hero,
    .btn-join-transparent {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 45vh;
        min-height: 250px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero-slide {
        background-position: center center;
        background-size: cover;
    }
}
