body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background: #f5f5f5;
}

header {
  background: #2f4f4f;
  color: #fff;
  padding: 1.5rem 0;
}

.header-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0rem 2rem;
}

.branding-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.branding-left img {
  max-width: 170px;
  height: auto;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.slogan {
  font-size: 1.1rem;
  color: #7f8c8d;
  font-style: italic;
  margin: 0;
  margin-bottom: 1rem;
}

.nav-right ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-right li {
  display: inline-block;
}



.container {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0;
}

nav a, #lang-toggle {
  color: white;
  text-decoration: none;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
}

#hero {
  background: #dcefe2;
  padding: 2rem 0;
  text-align: center;
}

section {
  padding: 2rem 0;
}

ul {
  list-style: square;
  padding-left: 1.5rem;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap; /* pour que ça reste responsive sur petits écrans */
}

.about-text {
  flex: 1 1 400px; /* texte prend plus de place */
}

.about-image {
  flex: 1 1 300px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}



/* Optionnel, pour que la nav reste sur une ligne */
nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

nav ul li {
  display: inline-block;
}



.tab-container {
      display: flex;
      background-color: #2d4a4b;
      border-radius: 0px;
      overflow: hidden;
      width: 100%;
      border-radius: 10px;
      box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
}
.tab {
      flex: 1; /* rend chaque onglet de même largeur */
      padding: 12px 24px;
      color: white;
      cursor: pointer;
      text-align: center;
      transition: background-color 0.3s ease;
      border-right: 1px solid #1c3333;
}

.tab:last-child {
      border-right: none;
}

.tab:hover {
      background-color: #3b6667;
}

.tab.active {
      background-color: #ffffff;
      color: #2d4a4b;
      font-weight: bold;
}


.contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
 
}

.contact-form label {
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-btn {
  background-color: #2d4a4b;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 5px;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #3b6667;
}

.contact-form button {
  margin-top: 15px;
  padding: 10px;
  background-color: #2d4a4b;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #3b6667;
}



footer {
  background: #2f4f4f;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}

/* pour la page RSDE */






@media (max-width: 768px) {
  .header-layout {
    flex-direction: column;
    align-items: center; /* ✅ Centre horizontalement */
    text-align: center;  /* ✅ Centre le texte */
  }

  .branding-left {
    align-items: center; /* ✅ Centre l'image + slogan */
    padding-bottom: 1rem;
  }
  .branding-left img {
    margin-left: -1rem;
}

  .nav-right ul {
    justify-content: center; /* ✅ Centre la nav */
    flex-wrap: wrap;
  }
}