.ong-section {
  margin: 40px 0;
  padding: 40px 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.ong-section h2 {
  font-size: 32px;
  color: #098aa1;
  font-family: 'Bergant', Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.section-icon {
  font-size: 32px;
  margin-left: 40px; /* Alignement avec le titre */
}

.section-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.section-img img {
  width: 300px;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-left: 40px; /* Alignement avec le texte */
}

.section-text {
  flex: 1;
  font-size: 20px;
  color: #333;
  font-family: 'Bergant', Arial, sans-serif;
  line-height: 1.6;
}

/* --- Missions Section : Cartes en grille --- */
.missions-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.missions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: contents; /* Utilise la grille du container */
}

.mission-item {
  background: #f5fafd;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(9, 138, 161, 0.08);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}

.mission-item:hover {
  box-shadow: 0 4px 16px rgba(9, 138, 161, 0.18);
}

.mission-content {
  width: 100%;
}

.mission-text h3 {
  font-size: 22px;
  color: #098aa1;
  font-family: 'Bergant', Arial, sans-serif;
  margin-bottom: 12px;
  font-weight: bold;
}

.mission-text p {
  font-size: 17px;
  color: #333;
  font-family: 'Bergant', Arial, sans-serif;
  margin-bottom: 0;
  line-height: 1.5;
}

/* --- Responsive Missions --- */
@media (max-width: 1100px) {
  .missions-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .missions-container {
    grid-template-columns: 1fr;
  }
  .mission-item {
    padding: 18px 10px;
  }
}

/* Join Section */
.join-section {
    background: linear-gradient(rgba(25, 33, 44, 0.9), rgba(25, 33, 44, 0.9)), url('../images/arm.jpg') no-repeat center center/cover;
    color: #ffffff;
    position: relative;
}

.join-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.join-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.join-option {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.join-option:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.join-option h3 {
    color: #E74C3C;
    margin-bottom: 1rem;
}


/* --- Domaines Section --- */
.domains-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.domains-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 1.5rem;
}

.domain-item {
  flex: 0 0 calc(50% - 1.5rem); /* Pour que deux éléments s'affichent par ligne */
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.domain-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.75rem;
  height: 0.75rem;
  background-color: #FF8C00; /* Puce orange */
  border-radius: 50%;
}

.domain-content {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.domain-content:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.domain-content h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #333;
  font-size: 1.2rem;
}

.domain-content p {
  margin-bottom: 0;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .domain-item {
    flex: 0 0 100%; /* Format sur une seule colonne pour les petits écrans */
  }
}

@media (min-width: 1200px) {
  .domain-item {
    flex: 0 0 calc(33.333% - 1.5rem); /* Trois éléments par ligne sur grand écran */
  }
}

/* --- Valeurs Section --- */
.values-list-container {
  max-width: 1000px;
  margin: 0 auto;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.value-list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.value-list-item:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.value-icon {
  flex: 0 0 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  border-radius: 50%;
  margin-right: 1.5rem;
  color: #3a86ff;
  font-size: 1.5rem;
}

.value-content {
  flex: 1;
}

.value-content h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 1.2rem;
}

.value-content p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .value-list-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .value-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}


/* --- Responsive Section Content --- */
@media (max-width: 900px) {
  .section-content {
    flex-direction: column;
    gap: 20px;
  }
  .section-img img {
    width: 100%;
    max-width: 350px;
    margin-left: 0;
  }
}

/* --- Ajout des styles manquants depuis styles.css --- */
:root {
    --primary-color: #3C5FAB;
    --primary-dark: #2C3E50;
    --primary-light: #ECF0F1;
    --accent-color: #E74C3C;
    --dark-color: #2C3E50;
    --light-color: #ECF0F1;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    
}

.section-padding {
    padding: 100px 0;
}

.section-alternating {
    background-color: var(--primary-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.light-header {
    color: var(--white);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.light-header h2 {
    color: var(--white);
}

.underline {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: #3C5FAB;
    color: #ffffff;
    border: 2px solid #3C5FAB;
}

.btn-primary:hover {
    background-color: transparent;
    color: #3C5FAB;
}

.btn-secondary {
    background-color: #E74C3C;
    color: #ffffff;
    border: 2px solid #E74C3C;
}

.btn-secondary:hover {
    background-color: transparent;
    color: #E74C3C;
}

.btn-light {
    background-color: #ffffff;
    color: #3C5FAB;
    border: 2px solid #ffffff;
}

.btn-light:hover {
    background-color: transparent;
    color: #ffffff;
}

.btn-outline {
    background-color: transparent;
    color: #3C5FAB;
    border: 2px solid #3C5FAB;
}

.btn-outline:hover {
    background-color: #3C5FAB;
    color: #ffffff;
}

/* Header Styles */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
}

.logo-text h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--dark-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.cta-button {
    background-color: #E74C3C;
    color: #ffffff !important;
    padding: 8px 20px;
    border-radius: 30px;
}

.cta-button:hover {
    background-color: #3C5FAB;
}

.cta-button::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    margin: 6px 0;
    transition: var(--transition);
}

/* Slides carousel pour la page détail actualité */
.slides-carousel-container {
  position: relative;
  max-width: 700px;
  margin: 40px auto 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(9,138,161,0.08);
  overflow: hidden;
  padding: 0;
}

.slides-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.slides-carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  height: 350px;
  position: relative;
  overflow: hidden;
}

.slides-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* L'image couvre toute la div, sans déformation */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(9,138,161,0.08);
  display: block;
}

.slides-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #098aa1;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: background 0.2s;
}
.slides-carousel-btn.prev { left: 16px; }
.slides-carousel-btn.next { right: 16px; }
.slides-carousel-btn:hover { background: #0074be; }

.slides-carousel-pagination {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20,20,20,0.7);
  color: #fff;
  padding: 10px 36px; /* Augmenté pour plus d'espace */
  border-radius: 32px;
  font-size: 1.3rem; /* Plus grand pour la visibilité */
  font-family: 'Bergant', Arial, sans-serif;
  z-index: 2;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 28px; /* Plus d'espace entre flèches et numéros */
  min-width: 220px; /* Largeur minimale pour bien encadrer */
  justify-content: center;
}

.slides-carousel-current,
.slides-carousel-total {
  font-size: 1.4em;
  font-weight: bold;
  color: #fff;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-text h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.social-media {
    margin-top: 2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(60, 95, 171, 0.2);
}

/* --- Footer --- */
footer {
    background-color: #2C3E50;
    color: #ECF0F1;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid #E74C3C;
}

.footer-logo p {
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-links h3,
.footer-newsletter h3 {
    color: #E74C3C;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after,
.footer-newsletter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #E74C3C;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #ECF0F1;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #E74C3C;
    text-decoration: underline;
    padding-left: 5px;
}

.footer-newsletter p {
    margin-bottom: 1rem;
}

.footer-newsletter form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links ul.horizontal-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: flex-start;
}

.footer-links ul.horizontal-links li {
    margin-bottom: 0.5rem;
}

/* Style pour la section contact du footer */
.footer-contact {
    margin-top: 1rem;
}

.footer-newsletter input {
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    font-family: inherit;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-section.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .about-content,
    .targets-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .vision-quote p {
        background-color: var(--primary-color);
        padding: 3rem 2rem;
        border-radius: var(--border-radius);
        color: var(--white);
        text-align: center;
        position: relative;
        box-shadow: var(--box-shadow);
    }
    
    .hero-content h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        transition: var(--transition);
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .mission-card, 
    .value-item, 
    .domain-item {
        padding: 1.5rem;
    }
    
    .join-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .logo img {
        width: 40px;
        height: 40px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .vision-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h3::after,
    .footer-newsletter h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Vision Section */
.vision-quote {
  font-size: 20px;
  color: #098aa1;
  font-family: 'Bergant', Arial, sans-serif;
  margin-bottom: 24px;
  font-style: italic;
  background: #f5fafd;
  padding: 18px 24px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(9, 138, 161, 0.08);  
}

.vision-steps {
  /*display: flex;*/
  flex-direction: column;
  gap: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.vision-step {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(9, 138, 161, 0.06);
  padding: 16px 18px;
  transition: box-shadow 0.2s;
  display: flex;
  gap: 1.5rem;
}

.vision-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.vision-step:hover {
  box-shadow: 0 4px 16px rgba(9, 138, 161, 0.18);
}

.step-number {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background: #098aa1;
  color: #fff;
  font-size: 22px;
  font-family: 'Bergant', Arial, sans-serif;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 18px;
  margin-top: 4px;
}

.step-content {
  flex: 1;
  font-size: 18px;
  color: #333;
  font-family: 'Bergant', Arial, sans-serif;
  line-height: 1.5;
}

/* Responsive Vision Section */
@media (max-width: 900px) {
  .section-content {
    flex-direction: column;
    gap: 20px;
  }
  .section-img img {
    width: 100%;
    max-width: 350px;
    margin-left: 0;
  }
  .vision-quote {
    font-size: 18px;
    padding: 12px 10px;
  }
  .vision-step {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 8px;
  }
  .step-number {
    margin-bottom: 8px;
    margin-right: 0;
  }
}

/* === Carousel Styles (for Vision, Rejoindre, Contact) === */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 auto 32px auto;
  max-width: 900px;
  background: #f5fafd;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(9,138,161,0.08);
  padding: 24px 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.carousel-btn {
  background: #098aa1;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover {
  background: #0074be;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.carousel-indicator {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  display: inline-block;
  transition: background 0.2s;
}
.carousel-indicator.active {
  background: #098aa1;
}

/* Responsive carousel */
@media (max-width: 900px) {
  .carousel-container {
    padding: 12px 0;
    max-width: 100%;
  }
  .carousel-slide {
    padding: 0 8px;
  }
}
