* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Navbar */
.navbar {
  background-color: rgba(0, 102, 204, 0.95);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 60px;
  width: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: white;
}

.logo-text .devise {
  font-size: 0.9rem;
  color: #ffd700;
  font-style: italic;
}

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

.nav-links li {
  margin: 0;
  position: relative;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffd700;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  color: #ffd700;
}

.nav-links a:hover::before {
  transform: translateX(0);
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.language-btn {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.language-btn:hover {
  background: #fff;
  color: #0066cc;
}

.language-btn.active {
  background: #fff;
  color: #0066cc;
}

/* Translate Button */
.translate-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.translate-btn:hover {
  background: #fff;
  color: #333;
}

.translate-btn i {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    padding: 1rem;
  }

  .logo-container {
    margin-bottom: 1rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .logo-text h1 {
    font-size: 1.2rem;
    text-align: center;
  }

  .logo-img {
    height: 50px;
    width: 50px;
  }

  .language-switcher {
    margin: 10px 0;
  }

  .translate-btn {
    margin: 1rem 0;
  }
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background-color: #ffd700;
  color: #333;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #e6c200;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 0;
  background: none;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  text-align: center;
  width: 100%;
  color: white;
  padding: 2rem;
  /* background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(1px); */
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-content .slogan {
  font-style: italic;
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: #ffd700;
}

/* About Section */
.about {
  padding: 5rem 0;
}

.about h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #0066cc;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  animation: fadeIn 1s ease-out 0.3s backwards;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* President Section */
.president {
  background-color: #f0f8ff;
  padding: 5rem 0;
  text-align: center;
}

.president h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0066cc;
}

.president-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  animation: slideIn 1s ease-out;
}

.president-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.president-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.president-quote {
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.president-name {
  font-weight: bold;
  font-size: 1.3rem;
  color: #0066cc;
}

/* Team Section */
.team {
  padding: 5rem 0;
}

.team h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #0066cc;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.team-member {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  width: 250px;
  text-align: center;
  transition: transform 0.3s;
  animation: fadeIn 0.8s ease-out backwards;
}

.team-member:hover {
  transform: translateY(-10px);
}

.team-member:nth-child(1) { animation-delay: 0.2s; }
.team-member:nth-child(2) { animation-delay: 0.4s; }
.team-member:nth-child(3) { animation-delay: 0.6s; }
.team-member:nth-child(4) { animation-delay: 0.8s; }

.member-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-name {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #0066cc;
}

.member-role {
  color: #666;
  margin-bottom: 1rem;
}

/* Resources Section */
.resources {
    padding: 4rem 2rem;
    background-color: #fff;
}

.resources-title {
    text-align: center;
    color: #0066cc;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.resource-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-title {
    color: #0066cc;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.resource-links {
    list-style: none;
}

.resource-links li {
    margin-bottom: 0.8rem;
}

.resource-links a {
    color: #555;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.resource-links a:hover {
    color: #0066cc;
}

.resource-links a::before {
    content: "→";
    margin-right: 0.5rem;
    color: #0066cc;
}

.contact-info {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f0f8ff;
    border-radius: 8px;
}

/* History Section */
.history {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.history h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #0066cc;
}

.history-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.video-container {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.history-text {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
}

.history-text h3 {
    color: #0066cc;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.history-text p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.history-btn {
    display: inline-block;
    background-color: #0066cc;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.history-btn:hover {
    background-color: #0052a3;
}

@media (max-width: 768px) {
    .history-content {
        flex-direction: column;
    }
}

/* Gallery Section */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.8s ease-out;
}

.gallery-item img {
  width: 100%;
  height: 200px; /* Réduit de 300px à 200px */
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.gallery-item:nth-child(1) { animation-delay: 0.2s; }
.gallery-item:nth-child(2) { animation-delay: 0.4s; }
.gallery-item:nth-child(3) { animation-delay: 0.6s; }
.gallery-item:nth-child(4) { animation-delay: 0.8s; }

@media (max-width: 768px) {
  .about-gallery {
    grid-template-columns: 1fr;
  }
  
  .gallery-item img {
    height: 180px; /* Réduit de 250px à 180px pour mobile */
  }
}

/* Footer Styles */
footer {
  background-color: #f8f9fa;
  color: #333;
  padding: 4rem 0 2rem;
  border-top: 1px solid #eee;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding: 0 1rem;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: #0066cc;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  position: relative;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: #0066cc;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  width: 70px;
  height: auto;
}

.footer-logo h3 {
  color: #0066cc;
  font-size: 1.4rem;
  font-weight: 600;
}

.footer-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 300px;
}

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

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #0066cc;
  transform: translateX(5px);
}

.contact-info, .address-info {
  list-style: none;
  padding: 0;
}

.contact-info li, .address-info li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: #555;
}

.contact-info i, .address-info i {
  color: #0066cc;
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.contact-info a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.contact-info a:hover {
  color: #0066cc;
}

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

.whatsapp {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #25D366;
}

.whatsapp i {
  color: #25D366;
}

.whatsapp:hover {
  color: #128C7E;
}

.whatsapp:hover i {
  color: #128C7E;
}

.address-info span {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  border-top: 1px solid #eee;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-link {
  color: #666;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f1f1f1;
}

.social-link:hover {
  color: #fff;
  transform: translateY(-3px);
}

.social-link:hover:nth-child(1) { background-color: #1877f2; } /* Facebook */
.social-link:hover:nth-child(2) { background-color: #1da1f2; } /* Twitter */
.social-link:hover:nth-child(3) { background-color: #0077b5; } /* LinkedIn */
.social-link:hover:nth-child(4) { background-color: #e4405f; } /* Instagram */

.copyright {
  color: #777;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-section h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-description {
    margin: 0 auto;
  }
  
  .contact-info li, .address-info li {
    justify-content: center;
  }
  
  .contact-info div {
    align-items: center;
  }
  
  .footer-links a:hover {
    transform: translateX(0) scale(1.05);
  }
}

/* Responsive Design Rules */
@media screen and (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

  .carousel {
    height: 500px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }
}

@media screen and (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .about-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .formations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-members {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    padding: 1rem;
  }

  .logo-container {
    margin-bottom: 1rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .logo-text h1 {
    font-size: 1.2rem;
  }

  .carousel {
    height: 400px;
  }

  .hero-content {
    padding: 1rem;
  }

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

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

  .about-gallery {
    grid-template-columns: 1fr;
  }

  .about-gallery img {
    height: 250px;
  }

  .president-image {
    width: 200px;
    height: 200px;
  }

  .president-quote {
    font-size: 1rem;
    padding: 1.5rem;
  }

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

  .formations-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

  .footer-section h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  .carousel {
    height: 300px;
  }

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

  .hero-content .slogan {
    font-size: 1.1rem;
  }

  .about h2, .president h2, .team h2 {
    font-size: 1.8rem;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

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

  .accordion-header {
    padding: 0.8rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-dots {
    bottom: 1rem;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .footer-section {
    padding: 1rem;
  }

  .social-links {
    gap: 1rem;
  }

  .social-link {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
}

/* Ajout de styles pour le menu burger sur mobile */
.menu-toggle {
  display: none;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  color: white;
}

.menu-toggle i {
  font-size: 1.5rem;
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    right: 1rem;
    top: 1rem;
  }

  .nav-links {
    display: none;
    width: 100%;
  }

  .nav-links.active {
    display: flex;
  }

  /* Animation du menu mobile */
  .nav-links li {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
  .nav-links.active li:nth-child(5) { transition-delay: 0.5s; }
}

/* Partners Section */
.partners {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.partners h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    justify-items: center;
    align-items: center;
}

.partner-item {
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.partner-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.partner-item:first-child a {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.partner-item:hover {
    transform: translateY(-5px);
}

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

.partner-item:first-child img {
    margin-bottom: 0;
}

.partner-item h3 {
    font-size: 1.1rem;
    color: #333;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.partner-item:hover h3 {
    color: #0066cc;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* Events Section */
.events {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

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

.event-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-card h3 {
  color: #333;
  margin-bottom: 1rem;
}

.event-date, .event-location {
  color: #666;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-description {
  margin: 1rem 0;
  line-height: 1.6;
}

.event-button {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.event-button:hover {
  background-color: #0056b3;
}

/* Announcements Section */
.announcements {
  margin-top: 3rem;
}

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

.announcement {
  background: white;
  border-left: 4px solid #007bff;
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.announcement h4 {
  color: #333;
  margin-bottom: 0.5rem;
}

.announcement p {
  color: #666;
  margin-bottom: 1rem;
}

.announcement-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.announcement-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .events-container,
  .announcement-list {
    grid-template-columns: 1fr;
  }
  
  .event-card,
  .announcement {
    margin-bottom: 1rem;
  }
}

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

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.hero {
  animation: fadeIn 1s ease-out;
}

.about-content {
  animation: fadeIn 1s ease-out 0.3s backwards;
}

.gallery-item {
  animation: fadeIn 0.8s ease-out;
}

.gallery-item:nth-child(1) { animation-delay: 0.2s; }
.gallery-item:nth-child(2) { animation-delay: 0.4s; }
.gallery-item:nth-child(3) { animation-delay: 0.6s; }
.gallery-item:nth-child(4) { animation-delay: 0.8s; }

.team-member {
  animation: fadeIn 0.8s ease-out backwards;
}

.team-member:nth-child(1) { animation-delay: 0.2s; }
.team-member:nth-child(2) { animation-delay: 0.4s; }
.team-member:nth-child(3) { animation-delay: 0.6s; }
.team-member:nth-child(4) { animation-delay: 0.8s; }

.president-content {
  animation: slideIn 1s ease-out;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
  }

  .logo {
    margin-bottom: 1rem;
  }

  .about-content {
    flex-direction: column;
  }

  .team-members {
    gap: 3rem;
  }
}

/* Carousel Styles */
.carousel {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.carousel-inner {
  position: absolute;
  width: 400%;
  height: 100%;
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  width: 25%;
  height: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 1rem;
  border: none;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.carousel-btn:hover, .carousel-btn:focus {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.prev {
  left: 1rem;
}

.next {
  right: 1rem;
}

.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 10;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 2rem;
}

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

.dot:hover, .dot:focus {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.dot.active {
  background: white;
  transform: scale(1.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 600px;
}

/* About Section Styles */
.about-section {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-section:hover {
  transform: translateY(-5px);
}

.section-title {
  color: #0066cc;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: #0066cc;
}

.section-content {
  color: #444;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.mission-list, .objectives-list {
  list-style: none;
  padding-left: 0;
}

.mission-list li, .objectives-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.mission-list li::before, .objectives-list li::before {
  content: '⚫';
  color: #0066cc;
  position: absolute;
  left: 0;
  font-size: 0.8rem;
}

/* Accordion Styles */
.accordion {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #f8f9fa;
}

.accordion-icon {
  font-size: 1.5rem;
  color: #0066cc;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 1rem;
}

.savoir-plus-btn {
    display: inline-block;
    background-color: #0066cc;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.savoir-plus-btn:hover {
    background-color: #0052a3;
}

.presence-content {
    display: none;
    margin-top: 10px;
}

.accordion-item.active .presence-content {
    display: block;
}

/* Formations Section */
.formations {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

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

.formation-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.formation-card:hover {
  transform: translateY(-5px);
}

.formation-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.formation-card h3 {
  padding: 1.5rem 1rem 0.5rem;
  color: #333;
  font-size: 1.2rem;
}

.formation-card p {
  padding: 0 1rem;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.formation-details {
  list-style: none;
  padding: 0 1rem 1rem;
  margin: 0;
}

.formation-details li {
  color: #555;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.formation-details li i {
  margin-right: 0.5rem;
  color: #007bff;
}