/* General Styles */
:root {
    --blue-primary: #0066cc;
    --green-accent: rgb(4, 26, 90);
    --white-bg: #ffffff;
    --light-gray-bg: #f9f9f9;
    --dark-text: #333;
    --gray-text: #555;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-gray-bg);
    color: var(--dark-text);
    line-height: 1.6;
}
/*Publiciter ADSENSE */
.pub {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0; /* pour garder un peu d’espace */
}

.ads-container {
    width: 100%;
    max-width: 1000px; /* limite sur grand écran */
    overflow: hidden;   /* empêche la pub de dépasser la hauteur */
}

.pub2 {
    
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0; /* pour garder un peu d’espace */
}

.ads-container2 {
    width: 100%;
    max-width: 1000px; /* limite sur grand écran */
    overflow: hidden;   /* empêche la pub de dépasser la hauteur */
}
/*les Animations */
/* État initial : hors écran à gauche */
 .slide-left {
    opacity: 0;
    transform: translateX(-200px);
    transition: all 5s cubic-bezier(.2, .9, .2, 1);
}

/* Quand l'animation commence */
.slide-left.in {
    opacity: 1;
    transform: translateX(0);
}
/* État initial : hors écran à droit */
.slide-right {
    opacity: 0;
    transform: translateX(200px); /* positif = vient de la droite */
    transition: all 5s cubic-bezier(.2, .9, .2, 1);
}

/* État final : visible et à sa position */
.slide-right.in {
    opacity: 1;
    transform: translateX(0);
}
/* Position initiale : en haut + invisible */
.slide-down {
    opacity: 0;
    transform: translateY(-40px);
    transition: all 5s cubic-bezier(.2, .9, .2, 1);
}

/* Position finale : visible et revenu à sa place */
.slide-down.in {
    opacity: 1;
    transform: translateY(0);
}

 



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

h1 h2 h3 h4 {
    color: var(--blue-primary);
    margin-top: 0;
}
.hero h1 {
 margin-top: 100px;
}

h2.section-title {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

h2.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: rgb(236, 192, 79);
    border-radius: 2px;
}

p.section-intro {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
    color: var(--gray-text);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

a {
    color: var(--blue-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--green-accent);
}

.bouton-principal,
.bouton-secondaire {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
}

.bouton-principal {
    background-color: var(--green-accent);
    color: var(--white-bg);
    border: 2px solid var(--green-accent);
}

.bouton-principal:hover {
    background-color: rgb(236, 192, 79);
    border-color: rgb(188, 154, 66);
    color: var(--white-bg);
}

.bouton-secondaire {
    background-color: transparent;
    color: var(--blue-primary);
    border: 2px solid var(--blue-primary);
}

.bouton-secondaire:hover {
    background-color: var(--blue-primary);
    color: var(--white-bg);
}

.bouton-en-savoir-plus {
    display: inline-block;
    padding: 8px 15px;
    background-color: rgb(236, 192, 79);
    color: var(--white-bg);
    border-radius: 5px;
    font-size: 0.9em;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.bouton-en-savoir-plus:hover {
    background-color: #0055aa;
}

.section-padding {
    padding: 150px 0;
}

.bg-light {
    background-color: var(--light-gray-bg);
}

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

.mt-20 {
    margin-top: 20px;
    color: #0055aa;
}

.mt-40 {
    margin-top: 40px;
}
.hero .image-hero-image{
    width: auto;
    height: 350px;
    object-fit: cover;
}
@media (max-width: 768px) {
    .section-padding {
    padding: 80px 0;
}
.hero .image-hero-image{
    width: 100%;
    object-fit: cover;
}
}

/* Header Styles */
/* ========================
   Header général
======================== */
header {
    background: white;
    color: var(--white-bg);
    padding: 15px 0;
    border-bottom: 4px solid var(--green-accent);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo .imglogo{
    width: 50px;
    height: 50px;
}

/* Contenu du header */
header .header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo */
header .logo img {
    height: 60px;
    vertical-align: middle;
}
.logo{
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.Container-text-logo{
    display: block;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-right: 10px;
}
.Container-text-logo .text-logo{
    color: rgb(4, 26, 90);
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}
.Container-text-logo .text-logo-spam{
    color: rgb(4, 26, 90);
    font-size: 14px;
    margin: 0;
}
.Container-text-logo .text-logo-spam2{
    color: rgb(4, 26, 90);
    font-size: 14px;
    font-weight: bold;
    margin: 0;
}

/* Navigation desktop */
header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 25px;
}

header nav a {
    color: black;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05em;
    padding: 5px 0;
    position: relative;
}

header nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--green-accent);
    transition: width 0.3s ease;
}

header nav a:hover::after,
header nav a.active::after {
    width: 100%;
}

/* Bouton don */
header .bouton-don {
    background: var(--green-accent);
    color: white;
    padding: 5px 10px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    margin-left: 25px;
}

header .bouton-don:hover {
    background-color: rgb(236, 192, 79);
}

/* Hamburger menu - caché sur desktop */
.menu-toggle {
    display: none;
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    background: black;
    width: 100%;
}

/* ========================= */
/* MENU MOBILE – Caché sur PC */
/* ========================= */
.nav-mobile {
    display: none;       /* caché par défaut */
    position: fixed;
    top: 130px;
    right: -100%;
    width: 70%;
    height: 100%;
    background: white;
    padding: 30px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
    z-index: 999;
}

.nav-mobile.open {
    right: 0;
}

.nav-mobile ul {
    list-style: none;
    padding: 0;
}

.nav-mobile li {
    margin: 20px 0;
}

.nav-mobile a {
    font-size: 18px;
    color: #333;
    text-decoration: none;
}

/* ========================
   RESPONSIVE MOBILE
======================== */
@media (max-width: 900px) {
    /* Cacher menu desktop + bouton don */
    #main-nav {
        display: none !important;
    }

    .bouton-don {
        display: none !important;
    }

    /* Afficher hamburger */
    .menu-toggle {
        display: flex !important;
    }

    /* Activer menu mobile */
    .nav-mobile {
        display: block;
    }

    /* Réduire logo */
    header .logo img {
        height: 45px;
    }

    /* Masquer les petits textes sous AJ3E */
    .Container-text-logo .text-logo-spam,
    .Container-text-logo .text-logo-spam2 {
        display: none;
    }
    .don-mobile{
    background-color: rgb(236, 192, 79);
    color: white;
    padding: 5px 10px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    }
}


/* Hero Section */
.hero {
    /*background: linear-gradient(rgb(4, 26, 90), rgba(255, 255, 255, 0.6)), 
                url('images/hero-bg.jpg') no-repeat center center/cover;*/
    color: var(--white-bg);
    text-align: center;
    /*padding: 120px 50px 0 50px;*/
    padding: 30px 50px 0 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh; /* Ensure it takes a good portion of the viewport height */
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 25px;
    line-height: 1.2;
    color: black;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero .hero-buttons a {
    margin: 0 10px;
}
 .image-hero-image{
    width: 100%;
 }

/* Responsive design */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px;
        min-height: 60vh;
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.1em;
    }
    .image-hero-image{
        width: 95%;
    }
}


/* Qui sommes-nous & Nos missions & valeurs (Content Block) */
.content-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

.content-block h3 {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--green-accent);
}

.content-block ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.content-block ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.content-block ul li::before {
    content: '\f00c'; /* FontAwesome check icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--green-accent);
    position: absolute;
    left: 0;
    top: 0;
}

/* Missions List (on Nos missions & valeurs section) */
.mission-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.mission-list .mission-item {
    background-color: var(--white-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    flex: 1 1 calc(33% - 40px); /* 3 items per row */
    max-width: calc(33% - 40px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-list .mission-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mission-list .mission-item i {
    font-size: 3.5em;
    color: rgb(236, 192, 79);
    margin-bottom: 20px;
}

.mission-list .mission-item h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--blue-primary);
}

.mission-list .mission-item p {
    font-size: 0.95em;
    color: var(--gray-text);
}

/* Actions / Programmes */


.action-details {
    display: flex;
    justify-content: center;
    flex-direction: column;  /* empile verticalement */
    gap: 25px;               /* espace entre les cartes */
    align-items: center;     /* centrer les cartes horizontalement */
}
.action-details #activitesContainer{
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* centre horizontalement */
    gap: 25px;
}

.action-details .action-item {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;  /* image, titre, texte, bouton en colonne */
    width: 300px;            /* largeur fixe de chaque carte */
}


.action-details .action-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.action-details .action-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.action-details .action-item h3 {
    font-size: 20px;
    margin: 15px 20px 10px 20px;
    color: #1e40af;
}

.action-details .action-item p {
    margin: 0 20px 20px 20px;
    font-size: 0.95em;
    color: #555;
    flex-grow: 1;
}

.action-details .action-item button {
    margin: 0 20px 15px 20px;
    padding: 10px;
    background-color: #1e40af;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.action-details .action-item button:hover {
    background-color: #2563eb;
}


/* Actualités & événements */
.actualite-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.actualite-list .actualite-item {
    background-color: var(--white-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actualite-list .actualite-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.actualite-list .actualite-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.actualite-list .actualite-item h3 {
    font-size: 1.5em;
    margin: 20px 20px 10px 20px;
    color: var(--blue-primary);
}

.actualite-list .actualite-item .date {
    font-size: 0.85em;
    color: var(--green-accent);
    margin: 0 20px 15px 20px;
    display: block;
}

.actualite-list .actualite-item p {
    margin: 0 20px 20px 20px;
    color: var(--gray-text);
    font-size: 0.9em;
}

.actualite-list .actualite-item .bouton-en-savoir-plus {
    display: block;
    width: fit-content;
    margin: 0 20px 20px auto;
    padding: 8px 18px;
    border-radius: 5px;
}

/* Membres de l'association */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.member-card {
    background-color: var(--white-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.member-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid rgb(236, 192, 79);
}

.member-card h3 {
    font-size: 1.6em;
    margin-bottom: 5px;
    color: var(--blue-primary);
}

.member-card h4 {
    font-size: 1.1em;
    color: var(--gray-text);
    margin-bottom: 15px;
}

.member-card p {
    font-style: italic;
    font-size: 0.95em;
    color: var(--gray-text);
}
.btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 30px;
}

.all {
  border: none;
  background-color: transparent;
  color: rgb(236, 192, 79);
  cursor: pointer;
  transition: font-size 0.3s ease;
}

.all:hover {
  font-size: 16px;
}
/* Sponsors & Partenaires */
.partner-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.partner-item {
    background-color: var(--white-bg);
    padding: 10px 10px 10px 10px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    flex: 1 1 calc(25% - 10%); /* 4 items per row */
    max-width: calc(25% - 10%);
}

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

.partner-item img {
    max-width: 150px;
    height: 120px;
    margin-bottom: 0px;
    
}

.partner-item:hover img {
    filter: grayscale(0%);
}
@media (max-width: 768px) {
    .partner-item {
        background-color: transparent;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 5px 20px transparent;
        text-align: center;
        flex: 0 0 10%; /* occupe 50% de la ligne */
        max-width: 50%;
    }
}



/* Calerie*/
.section-calerie{
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 0px;
}
    .gallery-container {
      /*display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    }

    .gallery-item {
      background: white;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .gallery-item img,
    .gallery-item video {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    /* Pagination buttons */
    .pagination {
      margin-top: 40px;
      display: flex;
      justify-content: center;
      gap: 15px;
    }
.section-calerie a .allImages {
    display: flex;
    justify-content: center;
  border: none;
  background-color: transparent;
  color: rgb(236, 192, 79);
  cursor: pointer;
  transition: font-size 0.3s ease;
  padding-top: 210px;
}

.section-calerie a .allImages:hover {
  font-size: 16px;
}


@media (max-width: 768px) {
  .gallery-item img,
.gallery-item video {
    width: 150px;
    height: 200px;
    object-fit: cover;
    display: block;
}
}

/* Devenez bénévole / Participez */
.volunteer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.volunteer-form,
.volunteer-types {
    flex: 1 1 45%;
    background-color: var(--white-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.volunteer-form h3,
.volunteer-types h3 {
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--blue-primary);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--dark-text);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
}

.volunteer-form .bouton-principal {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}

.volunteer-types ul {
    list-style: none;
    padding: 0;
}

.volunteer-types ul li {
    background-color: var(--light-gray-bg);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-size: 1.05em;
    color: var(--gray-text);
}

.volunteer-types ul li i {
    color: rgb(236, 192, 79);
    font-size: 1.5em;
    margin-right: 15px;
}

/* Faire un don / Soutenir */
.donation-info {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .donation-info {
      display: grid;
      justify-content: center;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      width: 90%;
      margin: 0 auto;
}
}

.donation-impact,
.donation-methods {
    flex: 1 1 50%;
    background-color: var(--white-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.donation-impact h3,
.donation-methods h3 {
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--blue-primary);
    text-align: center;
}

.donation-impact ul {
    list-style: none;
    padding: 0;
}

.donation-impact ul li {
    background-color: var(--light-gray-bg);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-size: 1.05em;
    color: var(--gray-text);
}

.donation-impact ul li i {
    color: rgb(236, 192, 79);
    font-size: 1.5em;
    margin-right: 15px;
}

.donation-impact ul li strong {
    color: var(--blue-primary);
}

.donation-methods p {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.1em;
}

.donation-methods .large-button {
    display: block;
    width: fit-content;
    margin: 0 auto 30px auto;
    padding: 18px 40px;
    font-size: 1.2em;
}
.box-card-donation{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 100px;
}

.payment-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.payment-options img {
    max-height: 40px;
    width: auto;
}

.payment-options p {
    font-size: 0.95em;
    color: var(--gray-text);
    margin: 0;
}
.donation-card {
      background: #ebf2f9;
      border-radius: 20px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      text-align: center;
      padding: 2rem;
      width: 180px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .donation-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    }
    .h-donation-card{
       color: #0055aa;
    }
    .p-donation-card{
        font-size: 14px;
        color: rgb(100, 100, 100);
    }

/* Contact Section */
.contact-section {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 2rem;
      padding: 4rem 2rem;
    }

    .contact-card {
      background: #ebf2f9;
      border-radius: 20px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      text-align: center;
      padding: 2rem;
      width: 320px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .contact-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    }

    .icon {
      width: 80px;
      height: 80px;
      margin: 0 auto 1rem;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .icon.blue {
      background: #1e73e8;
    }

    .icon.green {
      background: rgb(236, 192, 79);
    }

    .icon.gradient {
      background: linear-gradient(135deg, #007aff, #1dbf73);
    }

    .icon svg {
      width: 40px;
      height: 40px;
      color: white;
    }

    h3 {
      color: #1565d8;
      margin-bottom: 0.5rem;
      font-size: 1.25rem;
    }

    p {
      color: #4b5563;
      margin: 0.3rem 0;
      font-size: 1rem;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
    }

    @media (max-width: 768px) {
      .contact-card {
        width: 100%;
        max-width: 350px;
      }
    }
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.card-contact{
    width: 200px;
    height: 200px;
    background-color: red;
}

.contact-form,
.contact-info {
    flex: 1 1 45%;
    background-color: var(--white-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h3,
.contact-info h3 {
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--blue-primary);
    text-align: center;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: var(--gray-text);
}

.contact-info p i {
    color: var(--green-accent);
    font-size: 1.3em;
    margin-right: 15px;
    margin-top: 3px; /* Align icon with text */
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.social-icons a {
    font-size: 1.8em;
    color: var(--blue-primary);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: rgb(236, 192, 79);
    transform: translateY(-5px);
}

/* Footer Styles */
footer {
    background: #cbcaca5b;
    color: var(--white-bg);
    padding: 60px 0 20px 0;
    font-size: 0.95em;
}

footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

footer .footer-col h4 {
    color: var(--green-accent);
    font-size: 1.3em;
    margin-bottom: 25px;
}

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

footer .footer-col ul li {
    margin-bottom: 10px;
}

footer .footer-col ul li a {
    color: rgb(4, 26, 90);
    opacity: 0.8;
}

footer .footer-col ul li a:hover {
    opacity: 1;
    color: rgb(236, 192, 79);
}

footer .footer-logo {
    height: 100px;
    width: 100px;
    margin-bottom: 15px;
}
.footer-text-logo{
    color: rgb(4, 26, 90);
    font-size: 34px;
    margin-bottom: 0px;
    margin-top: 0px;
}

footer .footer-slogan {
    font-style: italic;
    opacity: 0.9;
}

footer .footer-col p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    opacity: 0.9;
    color: rgb(4, 26, 90);
}

footer .footer-col p i {
    margin-right: 10px;
    color: var(--green-accent);
    font-size: 1.1em;
    margin-top: 3px;
}

footer .footer-col .social-icons {
    justify-content: flex-start;
    margin-top: 15px;
}

footer .footer-col .social-icons a {
    color: rgb(4, 26, 90);
    font-size: 1.5em;
    opacity: 0.8;
}

footer .footer-col .social-icons a:hover {
    color: var(--green-accent);
    opacity: 1;
}

.footer-copyright {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85em;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    header nav li {
        margin-left: 18px;
    }

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

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

    .section-title {
        font-size: 2.2em;
    }

    .mission-list .mission-item,
    .partner-item {
        flex: 1 1 calc(50% - 30px); /* 2 items per row */
        max-width: calc(50% - 30px);
    }

    .team-members-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .volunteer-content,
    .donation-info,
    .contact-grid {
        flex-direction: column;
        gap: 30px;
    }

    .volunteer-form,
    .volunteer-types,
    .donation-impact,
    .donation-methods,
    .contact-form,
    .contact-info {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    header .header-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    header .logo {
        margin-bottom: 15px;
        width: 100%;
        text-align: center;
    }

    header nav {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    header nav ul li {
        margin: 0 10px;
    }

    header .bouton-don {
        width: fit-content;
        margin: 0 auto;
    }

    .hero {
        padding: 80px 0;
        min-height: 60vh;
    }

    .hero h1 {
        font-size: 2.5em;
    }

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

    .hero .hero-buttons a {
        display: block;
        margin: 15px auto;
        width: 80%;
    }

    .section-padding {
        padding: 60px 0;
    }

    h2.section-title {
        font-size: 2em;
        margin-bottom: 40px;
    }

    .mission-list .mission-item,
    .action-details .action-item,
    .actualite-list .actualite-item,
    .partner-item {
        flex: 1 1 100%; /* 1 item per row */
        max-width: 100%;
    }

    .team-members-grid {
        grid-template-columns: 1fr;
    }

    footer .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    footer .footer-col {
        margin-bottom: 30px;
        
    }

    footer .footer-col ul {
        text-align: center;
        
    }

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

@media (max-width: 480px) {
    header nav ul li {
        display: block;
        margin: 10px 0;
    }

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

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

    .bouton-principal, .bouton-secondaire {
        padding: 12px 20px;
        font-size: 0.9em;
    }

    .section-title {
        font-size: 1.8em;
    }

    .member-card img {
        width: 100px;
        height: 100px;
    }

    .partner-item img {
        max-width: 120px;
    }

    .volunteer-form h3, .volunteer-types h3,
    .donation-impact h3, .donation-methods h3,
    .contact-form h3, .contact-info h3 {
        font-size: 1.8em;
    }
}
