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

:root {
  /* Couleurs inspirées du logo Fibonafric */
  --green-dark: #2d6e3e;
  --green-light: #90c83c;
  --yellow: #f7dc3a;
  --orange: #f89c31;
  --red: #e63946;
  --blue: #1d3557;
  --white: #ffffff;
  --gray-light: #f8f9fa;
  --gray: #6c757d;
  --shadow: rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--blue) 100%);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow);
}

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

.logo {
  height: 50px;
  width: auto;
  filter: brightness(1.1);
}

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

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--yellow);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-light) 50%, var(--yellow) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::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 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 3px;
}

.tagline {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--yellow);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 1rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: var(--gray-light);
}

.services h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--green-dark);
  position: relative;
  display: inline-block;
  width: 100%;
}

.services h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-light), var(--yellow), var(--orange));
  border-radius: 2px;
}

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

.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--shadow);
  transition: all 0.3s ease;
  border-top: 5px solid var(--green-light);
}

.service-card.formation {
  border-top-color: var(--green-light);
}

.service-card.etudes {
  border-top-color: var(--yellow);
}

.service-card.btp {
  border-top-color: var(--orange);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px var(--shadow);
}

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

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--blue);
}

.service-card p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.service-card ul {
  list-style: none;
  padding-left: 0;
}

.service-card ul li {
  padding: 0.5rem 0;
  color: var(--gray);
  position: relative;
  padding-left: 1.5rem;
}

.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-light);
  font-weight: bold;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: var(--white);
}

.about h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--green-dark);
  position: relative;
  display: inline-block;
  width: 100%;
}

.about h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-light), var(--yellow), var(--orange));
  border-radius: 2px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--gray);
  font-size: 1.1rem;
}

.values {
  margin-top: 2rem;
}

.value {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--gray-light);
  border-radius: 8px;
  border-left: 4px solid var(--green-light);
}

.value-icon {
  font-size: 1.5rem;
  color: var(--green-light);
  font-weight: bold;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat {
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 5px 20px var(--shadow);
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green-dark) 100%);
  color: var(--white);
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-intro {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-item p {
  opacity: 0.9;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--white);
}

.submit-button {
  background: var(--orange);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
  background: var(--blue);
  color: var(--white);
  padding: 3rem 0 1rem;
}

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

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--yellow);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-section a:hover {
  opacity: 1;
}

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

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

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

  .tagline {
    font-size: 1.3rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .nav-menu {
    flex-direction: column;
    gap: 1rem;
    display: none;
  }

  .services-grid,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-direction: row;
  }

  .stat {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

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

/* Projects Gallery Section */
.projects {
  padding: 5rem 0;
  background: var(--white);
}

.projects h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--green-dark);
  position: relative;
  display: inline-block;
  width: 100%;
}

.projects h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-light), var(--yellow), var(--orange));
  border-radius: 2px;
}

.section-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 3rem;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 2rem;
  border: 2px solid var(--green-light);
  background: transparent;
  color: var(--green-dark);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--green-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px var(--shadow);
}

.project-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.project-category {
  background: var(--orange);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--blue);
}

.project-info p {
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--gray);
  gap: 1rem;
  flex-wrap: wrap;
}

.project-year,
.project-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Blog Section */
.blog {
  padding: 5rem 0;
  background: var(--gray-light);
}

.blog h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--green-dark);
  position: relative;
  display: inline-block;
  width: 100%;
}

.blog h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-light), var(--yellow), var(--orange));
  border-radius: 2px;
}

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

.blog-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px var(--shadow);
}

.blog-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--yellow);
  color: var(--blue);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--gray);
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-date,
.blog-author {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--blue);
  line-height: 1.4;
}

.blog-content p {
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.read-more {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

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

section {
  animation: fadeInUp 0.8s ease-out;
}

/* ============================================
   NOUVEAUX STYLES POUR VERSION AMÉLIORÉE
   ============================================ */

/* Hero Section améliorée avec carte d'Afrique */
.hero-content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  z-index: 1;
}

.hero-text {
  text-align: left;
}

/* Carte d'Afrique */
.africa-map-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.africa-map {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  animation: float 6s ease-in-out infinite;
  /* Fond transparent pour se confondre avec le dégradé hero */
  background: transparent;
  mix-blend-mode: normal;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}


.africa-shape:hover {
  filter: brightness(1.1);
}

.map-logo {
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.country-dot {
  cursor: pointer;
  transition: all 0.3s ease;
  animation: dotPulse 2s ease-in-out infinite;
}

.country-dot:hover {
  r: 6;
  fill: var(--yellow);
}

@keyframes dotPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Section des 6 Axes */
.axes-section {
  padding: 5rem 0;
  background: var(--gray-light);
}

.axes-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--green-dark);
  position: relative;
  display: inline-block;
  width: 100%;
}

.axes-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-light), var(--yellow), var(--orange));
  border-radius: 2px;
}

.axes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.axe-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
  transition: all 0.4s ease;
  border-left: 5px solid var(--green-light);
}

.axe-card.formation {
  border-left-color: var(--green-light);
}

.axe-card.logistics {
  border-left-color: var(--blue);
}

.axe-card.technology {
  border-left-color: #9333ea;
}

.axe-card.agro {
  border-left-color: #059669;
}

.axe-card.btp {
  border-left-color: var(--orange);
}

.axe-card.etudes {
  border-left-color: var(--yellow);
}

.axe-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow);
}

.axe-header {
  position: relative;
  height: 250px;
  overflow: hidden;
}

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

.axe-card:hover .axe-image {
  transform: scale(1.1);
}

.axe-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.axe-icon {
  font-size: 3rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.axe-overlay h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.axe-body {
  padding: 2rem;
}

.axe-description {
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.axe-categories {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-details {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.category-details[open] {
  border-color: var(--green-light);
  box-shadow: 0 2px 8px var(--shadow);
}

.category-name {
  background: linear-gradient(135deg, var(--gray-light) 0%, #e5e7eb 100%);
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--blue);
  transition: all 0.3s ease;
  list-style: none;
  position: relative;
  user-select: none;
}

.category-name::-webkit-details-marker {
  display: none;
}

.category-name::after {
  content: '▼';
  position: absolute;
  right: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--green-light);
}

.category-details[open] .category-name::after {
  transform: rotate(-180deg);
}

.category-name:hover {
  background: linear-gradient(135deg, #e5e7eb 0%, var(--green-light) 100%);
  color: var(--white);
}

.category-items {
  list-style: none;
  padding: 1.5rem;
  background: var(--white);
}

.category-items li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  color: var(--gray);
  position: relative;
  border-bottom: 1px solid #f3f4f6;
  transition: all 0.2s ease;
}

.category-items li:last-child {
  border-bottom: none;
}

.category-items li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-light);
  font-weight: bold;
  font-size: 1.1rem;
}

.category-items li:hover {
  padding-left: 2rem;
  color: var(--green-dark);
}

/* Ajout dans la section Contact */
.contact-form select {
  padding: 1rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact-form select:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--white);
}

/* Responsive pour Hero avec carte */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .africa-map-container {
    max-width: 450px;
  }
}

/* Responsive pour les axes */
@media (max-width: 768px) {
  .axes-grid {
    grid-template-columns: 1fr;
  }
  
  .axe-header {
    height: 200px;
  }
  
  .axe-icon {
    font-size: 2rem;
  }
  
  .axe-overlay h3 {
    font-size: 1.2rem;
  }
}

/* Animation d'entrée pour les cartes axes */
.axe-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.axe-card:nth-child(1) { animation-delay: 0.1s; }
.axe-card:nth-child(2) { animation-delay: 0.2s; }
.axe-card:nth-child(3) { animation-delay: 0.3s; }
.axe-card:nth-child(4) { animation-delay: 0.4s; }
.axe-card:nth-child(5) { animation-delay: 0.5s; }
.axe-card:nth-child(6) { animation-delay: 0.6s; }

/* Amélioration du loading des images */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded {
  opacity: 1;
}


/* Animation du logo gravitant au centre de la carte */


@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(247, 220, 58, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 35px rgba(247, 220, 58, 1)) drop-shadow(0 0 50px rgba(248, 156, 49, 0.7));
  }
}


/* Points capitales avec animation pulsante */

.capital-dot:hover {
  filter: drop-shadow(0 0 12px rgba(247, 220, 58, 1));
  transform: scale(1.3);
  transition: all 0.3s ease;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    r: 5;
  }
  50% {
    opacity: 0.6;
    r: 6;
  }
}

/* Carte d'Afrique avec effet de brillance */

@keyframes shimmer {
  0%, 100% {
    filter: drop-shadow(0 5px 8px rgba(0,0,0,0.3)) brightness(1);
  }
  50% {
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.4)) brightness(1.05);
  }
}

/* Amélioration de la section hero avec le nouveau texte */
.hero .subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 700px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 2rem;
}

.hero .tagline {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
  letter-spacing: 1px;
}

/* Container de la carte avec meilleur centrage */
.africa-map-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.map-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.africa-map-image {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.4)) brightness(1.05);
  animation: map-breathe 8s ease-in-out infinite;
}


@keyframes map-breathe {
  0%, 100% {
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.4)) brightness(1.05);
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 20px 45px rgba(0,0,0,0.5)) brightness(1.08);
    transform: scale(1.02);
  }
}


/* Responsive adjustments for map */
@media (max-width: 968px) {
  .map-wrapper {
    max-width: 500px;
  }
  
  .floating-logo {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .map-wrapper {
    max-width: 350px;
  }
  
  .floating-logo {
    width: 80px;
    height: 80px;
  }
  
  .hero .tagline {
    font-size: 1.5rem;
  }
  
  .hero .subtitle {
    font-size: 0.95rem;
  }
  
  .africa-map-container {
    padding: 1rem;
  }
}
