@import "../variables.css";

.elementor-231 .elementor-element.elementor-element-3ee6ed6 {
  background-color: var(--couleur-principale-logo) !important;
}

.elementor-231 .elementor-element.elementor-element-c7ffb5f {
  background-color: var(--couleur-accentuation-logo) !important;
}

.elementor-9 .elementor-element.elementor-element-42f37a1 .elementor-button {
  background-color: var(--couleur-principale-logo) !important;
}

.elementor-9 .elementor-element.elementor-element-f0b523f .elementor-button {
  background-color: var(--couleur-principale-logo) !important;
}

.elementor-9
  .elementor-element.elementor-element-4af520c
  .elementor-button:hover,
.elementor-9
  .elementor-element.elementor-element-c39e7cf
  .elementor-button:hover,
.elementor-9
  .elementor-element.elementor-element-034ccf9
  .elementor-button:hover,
.elementor-9
  .elementor-element.elementor-element-4af520c
  .elementor-button:focus,
.elementor-9
  .elementor-element.elementor-element-c39e7cf
  .elementor-button:focus,
.elementor-9
  .elementor-element.elementor-element-034ccf9
  .elementor-button:focus {
  color: white !important;
}

.elementor-9 .elementor-element.elementor-element-c39e7cf .elementor-button,
.elementor-9 .elementor-element.elementor-element-4af520c .elementor-button,
.elementor-9 .elementor-element.elementor-element-034ccf9 .elementor-button {
  fill: var(--couleur-principale-logo) !important;
  color: var(--couleur-principale-logo) !important;
}

.elementor-231
  .elementor-element.elementor-element-c7ffb5f
  > .elementor-widget-container {
  background-color: transparent !important;
}

.elementor-widget-heading .elementor-heading-title {
  color: var(--couleur-principale-logo) !important;
}

.elementor-9
  .elementor-element.elementor-element-278125d
  .elementor-counter-number-wrapper {
  color: var(--couleur-accentuation-logo) !important;
}

/* Swiper container */
.swiper-container {
  width: 100%;
  height: 60vh;
  position: relative;
}

/* Slides */
.swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contenu des slides */
.slide-content {
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
  z-index: 2; /* Pour s'assurer que le contenu est au-dessus de l'image de fond */
}

.slide-content h1 {
  font-family: "Agrandir Text Bold", sans-serif;
  font-size: 40px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.slide-content p {
  font-family: "Agrandir", sans-serif;
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.slide-content .button {
  font-family: "Agrandir Narrow", sans-serif;
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--couleur-secondaire-logo);
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: background-color 0.3s;
}

.slide-content .button:hover {
  background-color: rgba(255, 99, 71, 0.8);
}

/* Images de fond pour chaque slide */
.slide1 {
  background-image: url("wp-content/uploads/2021/images/IMG-20240920-WA0028.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide2 {
  background-image: url("wp-content/uploads/2021/images/a_propos_2-scaled.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide3 {
  background-image: url("wp-content/uploads/2021/images/img_4.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Flèches de navigation */

/* Supprimer les flèches par défaut de Swiper */
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

/* Flèches de navigation personnalisées */
.swiper-button-next,
.swiper-button-prev {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-sizing: border-box; /* Inclure le padding et la bordure dans la taille totale */
  padding: 0; /* Éviter tout padding qui pourrait déformer le cercle */
  margin: 0;
}

.swiper-button-next {
  right: 15px;
}

.swiper-button-prev {
  left: 15px;
}

.swiper-button-next i,
.swiper-button-prev i {
  color: #fff; /* Couleur de l'icône */
  font-size: 25px; /* Taille de l'icône */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #007520; /* Fond vert opaque au survol */
}

/* Pagination */

.swiper-pagination {
  position: absolute;
  bottom: 10px; /* Ajuste la distance par rapport au bas de la slide */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10; /* Pour s'assurer que les bullet points restent au-dessus du contenu */
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.7);
  width: 12px;
  height: 12px;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #ff7f50;
}

/* Overlay pour assombrir l'image de fond et améliorer la lisibilité du texte */
.swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .slide-content h1 {
    font-size: 32px;
  }

  .slide-content p {
    font-size: 16px;
  }

  .slide-content .button {
    padding: 10px 20px;
  }
}

/* Réinitialiser l'opacité des éléments */
.swiper-slide .slide-content > * {
  opacity: 0;
}

/* Animer le titre */
.swiper-slide-active .slide-content h1 {
  animation: slideInTitle 1.5s ease-out forwards;
  animation-delay: 0.3s;
}

/* Animer la description */
.swiper-slide-active .slide-content p {
  animation: slideInDescription 1.5s ease-out forwards;
  animation-delay: 0.6s;
}

/* Animer le bouton */
.swiper-slide-active .slide-content .button {
  animation: zoomInButton 1.5s ease-out forwards;
  animation-delay: 0.9s;
}

/* Réinitialiser l'opacité des éléments lorsqu'ils ne sont plus actifs */
.swiper-slide:not(.swiper-slide-active) .slide-content > * {
  opacity: 0;
}

/* ****************************** */

/* Conteneur principal de la section */
.section-changement {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px;
  background: #f4f4f9;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Première colonne : Texte */
.text-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

/* Titre principal */
.section-title {
  font-family: "Agrandir Text Bold", sans-serif; /* Appliquer Agrandir Text Bold */
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
}

/* Citation */
.section-quote {
  font-family: "Agrandir Narrow", sans-serif; /* Appliquer Agrandir Narrow */
  font-size: 18px;
  color: #555;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
  border-left: 4px solid #3498db;
}

.section-quote span {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #777;
}

/* Description du texte */
.section-description {
  font-family: "Agrandir", sans-serif; /* Appliquer Agrandir Regular */
  font-size: 16px;
  color: #34495e;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Boutons */
.button-group {
  display: flex;
  gap: 10px;
}

.btn-primary,
.btn-secondary {
  font-family: "Agrandir Narrow", sans-serif; /* Appliquer Agrandir Narrow pour les boutons */
  padding: 12px 24px;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--couleur-principale-logo);
  color: #fff !important;
}

.btn-primary:hover {
  background-color: var(--couleur-principale-logo);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--couleur-accentuation-logo);
  color: #fff !important;
}

.btn-secondary:hover {
  background-color: var(--couleur-accentuation-logo);
  transform: translateY(-2px);
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

.modal-footer {
  margin-top: 20px;
  font-style: italic;
}

.elementor-236
  .elementor-element.elementor-element-9412da4:not(
    .elementor-motion-effects-element-type-background
  ),
.elementor-236
  .elementor-element.elementor-element-9412da4
  > .elementor-motion-effects-container
  > .elementor-motion-effects-layer {
  background-color: var(--couleur-principale-logo) !important;
}

/* Cacher les sous-menus par défaut */
.sub-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  padding: 10px;
  z-index: 1000;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  white-space: nowrap; /* Empêche le texte de se couper et fait en sorte que le cadre s'ajuste à la taille du texte */
  min-width: 200px; /* Valeur optionnelle pour définir une largeur minimale du sous-menu */
}

/* Afficher le sous-menu au survol de l'élément parent */
.menu-item:hover .sub-menu,
.menu-item:focus-within .sub-menu {
  display: block;
}

/* Styliser les éléments du sous-menu */
.sub-menu li {
  list-style: none;
  margin-bottom: 10px;
  white-space: nowrap; /* Garde le texte sur une seule ligne, forçant le cadre à s'ajuster */
}

/* Ajuster les liens du sous-menu pour qu'ils s'affichent correctement dans le cadre */
.sub-menu a {
  text-decoration: none;
  color: #333;
  padding: 5px 10px;
  display: block;
  white-space: nowrap; /* Empêche le texte de se couper sur plusieurs lignes */
  width: 100%; /* Assure que l'élément lien prend toute la largeur de l'élément */
}

/* Ajout d'un effet de survol sur les liens */
.sub-menu a:hover {
  background-color: #f5f5f5;
}

/* S'assurer que les sous-menus sont alignés sous l'élément parent */
.menu-item {
  position: relative;
  white-space: nowrap; /* Évite que le texte déborde hors du cadre */
}

.elementor-widget-nav-menu
  .elementor-nav-menu--main:not(.e--pointer-framed)
  .elementor-item:before,
.elementor-widget-nav-menu
  .elementor-nav-menu--main:not(.e--pointer-framed)
  .elementor-item:after {
  background-color: var(--couleur-principale-logo) !important;
}

.elementor-231
  .elementor-element.elementor-element-9550d6b
  .elementor-nav-menu--dropdown
  a:hover,
.elementor-231
  .elementor-element.elementor-element-9550d6b
  .elementor-nav-menu--dropdown
  a.elementor-item-active,
.elementor-231
  .elementor-element.elementor-element-9550d6b
  .elementor-nav-menu--dropdown
  a.highlighted {
  background-color: var(--couleur-principale-logo) !important;
}

body {
  font-family: "Agrandir", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9fb;
  color: #333;
}

.hero-section {
  background: url("../wp-content/uploads/2021/images/a_propos_2-scaled.jpg")
    center/cover no-repeat;
  position: relative; /* Ajouté pour positionner l'overlay */
  height: 400px; /* Ajustez la hauteur selon votre image */
  width: 100%;
  overflow: hidden;
}

.overlay {
  position: absolute; /* Positionnement absolu pour couvrir toute la section */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px; /* Ajustez le padding si nécessaire */
}

/* Section Hero */
.hero-title {
  font-size: 48px;
  font-family: "Agrandir", sans-serif;
  font-weight: 700; /* Utiliser le poids 700 pour le texte en gras */
  margin-bottom: 20px;
  color: #fff;
}

.hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #fff;
  font-family: "Agrandir", sans-serif;
}

/* Bouton CTA */
.cta-button {
  font-family: "Agrandir", sans-serif;
  /* Autres styles */
}

/* Section Présidente */
.president-section h2,
.president-message h2 {
  font-family: "Agrandir", sans-serif;
}

.president-message p,
.president-message blockquote {
  font-family: "Agrandir", sans-serif;
}

/* Section Philosophie */
.philosophy-section h2,
.main-objectives h2 {
  font-family: "Agrandir", sans-serif;
}

.philosophy-section p,
.main-objectives ul li {
  font-family: "Agrandir", sans-serif;
}

/* Section Réalisations */
.achievements-section h2,
.stat-item h3,
.stat-item p {
  font-family: "Agrandir", sans-serif;
}

/* Section Donateur */
.donor-section h2,
.donor-section p,
.donor-section ul li {
  font-family: "Agrandir", sans-serif;
}

/* Section Dons */
.donate-section h2,
.donate-section p {
  font-family: "Agrandir", sans-serif;
}

/* Section Présidente */
.president-section {
  background-color: #f9f9fb;
  padding: 80px 20px;
}

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

.section-title {
  font-size: 36px;
  font-family: "Agrandir Text Bold", sans-serif;
  text-align: center;
  margin-bottom: 50px;
  color: #2c3e50;
}

.president-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.president-photo {
  flex: 1;
  text-align: center;
  margin-bottom: 100px;
}

.president-photo img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.president-photo img:hover {
  transform: scale(1.05);
}

.president-message {
  flex: 1;
  /* max-width: 800px; */
  padding: 0 20px;
}

.president-message h3 {
  font-size: 28px;
  font-family: "Agrandir Text Bold", sans-serif;
  color: #2c3e50;
  margin-bottom: 20px;
}

.president-intro {
  font-size: 18px;
  color: #34495e;
  margin-bottom: 20px;
}

blockquote {
  font-size: 20px;
  font-style: italic;
  color: #7f8c8d;
  margin-bottom: 30px;
  position: relative;
  padding-left: 20px;
}

blockquote::before {
  content: "“";
  font-size: 50px;
  position: absolute;
  left: 0;
  top: -10px;
  color: #3498db;
}

.cta-button {
  display: inline-block;
  background-color: #3498db;
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #2980b9;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .president-content {
    flex-direction: column;
  }

  .president-photo,
  .president-message {
    flex: none;
    max-width: 100%;
  }

  .president-photo img {
    width: 200px;
    height: 200px;
  }
}

/* Section Philosophie */
.philosophy-section {
  background-color: #fff;
  padding: 80px 20px;
}

.philosophy-description {
  font-size: 18px;
  color: #34495e;
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.objectives {
  text-align: center;
}

.objective-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.objective-card {
  background-color: #f9f9fb;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  max-width: 300px;
  transition: transform 0.3s ease;
}

.objective-card:hover {
  transform: translateY(-10px);
}

.objective-card .icon {
  margin-bottom: 20px;
}

.objective-card .icon img {
  width: 60px;
  height: 60px;
}

.objective-card h3 {
  font-size: 22px;
  color: #2c3e50;
  margin-bottom: 15px;
}

.objective-card p {
  font-size: 16px;
  color: #7f8c8d;
}

/* .cta-button {
  display: inline-block;
  margin-top: 50px;
  background-color: #e74c3c;
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
} */

.cta-button:hover {
  background-color: #c0392b;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .objective-cards {
    flex-direction: column;
    align-items: center;
  }
}

/* Section Réalisations */

.achievements-section {
  background-color: #ecf0f1;
  padding: 80px 20px;
  text-align: center;
}

.statistics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  /* margin-top: 40px; */
}

.stat-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  width: 250px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-icon {
  font-size: 30px;
  /* color: var(--couleur-accentuation-logo); */
  margin-bottom: 20px;
}

.stat-icon img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.counter {
  font-size: 48px;
  color: #3498db;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 16px;
  color: #34495e;
}

.cta-button {
  display: inline-block;
  margin-top: 50px;
  background-color: #27ae60;
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #219150;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .statistics {
    flex-direction: column;
    align-items: center;
  }

  .stat-item {
    width: 100%;
    max-width: 300px;
  }
}

/* Section Donateur */
.donor-section {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.donor-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.benefit-item {
  background-color: #f9f9fb;
  border-radius: 10px;
  padding: 30px 20px;
  max-width: 300px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item:hover {
  transform: translateY(-10px);
}

.benefit-icon img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.benefit-item h3 {
  font-size: 22px;
  color: #2c3e50;
  margin-bottom: 15px;
}

.benefit-item p {
  font-size: 16px;
  color: #7f8c8d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .donor-benefits {
    flex-direction: column;
    align-items: center;
  }
}

/* Section Dons */
.donate-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("images/donate-background.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.donate-section h2 {
  font-size: 36px;
  font-family: "Agrandir Text Bold", sans-serif;
  margin-bottom: 30px;
}

.donate-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../wp-content/uploads/2021/images/galery/a_propos_1-scaled.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
  position: relative;
}

.donate-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(
    0,
    0,
    0,
    0.01
  ); /* Superposition sombre pour améliorer le contraste */
}

.donate-section .container {
  position: relative;
  z-index: 1;
}

.donate-section h2 {
  font-size: 36px;
  font-family: "Agrandir Text Bold", sans-serif;
  margin-bottom: 30px;
  color: #fff;
}

.donate-section p {
  font-size: 18px;
  margin-bottom: 40px;
  color: #fff;
}

.cta-button.large {
  font-size: 20px;
  padding: 20px 40px;
}

.cta-button.large:hover {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .donate-section {
    padding: 80px 20px;
  }
}

/* Styles généraux pour les titres de section */
.section-title {
  font-size: 36px;
  font-family: "Agrandir", sans-serif;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Ligne décorative sous le titre */
.section-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background-color: var(--couleur-principale-logo);
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-title .title-icon {
  width: 40px;
  height: 40px;
  margin-right: 15px;
  vertical-align: middle;
}

.title-icon {
  font-size: 40px;
  color: #3498db;
  margin-right: 15px;
}

.objective-card .icon {
  font-size: 50px;
  color: var(
    --couleur-accentuation-logo
  ); /* Vous pouvez ajuster la couleur selon votre préférence */
  margin-bottom: 20px;
}

/* Optionnel : ajuster la couleur des titres pour correspondre à l'icône */
.objective-card h3 {
  color: #2c3e50;
  margin-bottom: 15px;
}

.cta-button {
  color: white !important;
}
