:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #1e40af;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --background: #ffffff;
  --white: #ffffff;
  --gradient-start: #3b82f6;
  --gradient-end: #1d4ed8;
  --success-color: #10b981;
  --error-color: #ef4444;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.security-section {
  margin-top: 40px;
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.security-section h2 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #333;
  border-bottom: 2px solid #f0f2f5;
  padding-bottom: 10px;
}

/* S'assurer que le bouton dans la carte de sécurité est bien aligné */
.security-section .info-card .btn {
  padding: 8px 16px;
  font-size: 0.9rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background-color: #007bff; /* Ou votre couleur principale */
  color: white;
  transition: background-color 0.3s;
}

.security-section .info-card .btn:hover {
  background-color: #0056b3; /* Couleur plus foncée au survol */
}

/* Styles pour les labels dans les modales */
.modal-content .form-group {
  margin-bottom: 15px;
}

.modal-content .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #555;
}

.modal-content .form-group input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}
.inscriptions-section h2 {
  margin-top: 5rem;
  text-align: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 1rem;
}
.event-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 1rem;
}
.event-name {
  font-weight: bold;
  color: #333;
}
.btn-recap {
  display: inline-block;
  padding: 10px 15px;
  background-color: #004085;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.btn-recap:hover {
  background-color: #002752;
}
.no-inscriptions {
  text-align: center;
  color: #777;
  padding: 1rem;
  background-color: #f0f0f0;
  border-radius: 5px;
}
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text-color);
  line-height: 1.5;
  background: var(--background);
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* Navbar styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  animation: fadeIn 0.5s ease-out;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  max-width: 1800px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo img {
  max-width: 100%; /* Ensure the image doesn't overflow */
  max-height: 60px; /* Set a maximum height for the logo */
  width: auto; /* Maintain aspect ratio */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Ensure the image fits within the container */
}

/* Optional: Add a hover effect for the image logo */
.logo img:hover {
  opacity: 0.8; /* Slightly fade the image on hover */
  transition: opacity 0.3s ease; /* Smooth transition */
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin-left: 2rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Style actif pour le lien courant */
.nav-links a.active {
  position: relative;
  color: var(--primary-color);
  font-weight: bold;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Style commun à tous les boutons */
.nav-links .btn-base {
  margin-left: 6rem;
  padding: 0.5rem 1rem;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links .btn-base::after {
  content: none;
}
/* Bouton Se connecter (bleu) */
.nav-links .btn {
  background-color: var(--secondary-color);
}

.nav-links .btn:hover {
  background-color: #1e3a8a; /* par exemple un bleu un peu plus foncé */
  color: #fff;
}

/* Bouton Déconnexion (rouge) */
.nav-links .btn_deco {
  background-color: #e11d48;
}

.nav-links .btn_deco:hover {
  background-color: #be123c;
  color: #fff;
}
/* Supprime l'animation d'underline pour les boutons */
.nav-links .btn-base::after {
  content: none;
}

.profile-info p {
  margin-top: -2rem;
  margin-bottom: 2rem;
}

/* Hamburger menu (mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 3px;
}

/* Bouton "éditer" paisible */
.edit-btn {
  opacity: 0.2;
  transition: opacity 0.3s ease;
}
.info-card:hover .edit-btn {
  opacity: 1;
}

/* Style suppression */
.delete-account {
  text-align: center;
  margin-top: 2rem;
}
.delete-btn {
  background-color: #dc2626;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.delete-btn:hover {
  background-color: #b91c1c;
}

/* Toast stylisé */
.toast.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.toast {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background-color: #1f2937;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
  display: none;
}

.toast button {
  margin-left: 1rem;
  background: #ef4444;
  border: none;
  color: white;
  padding: 0.3rem 0.7rem;
  border-radius: 0.3rem;
  cursor: pointer;
}
.toast button:hover {
  background: #b91c1c;
}
.edit-btn {
  opacity: 1 !important;
  visibility: visible !important;
}
/* Profile Styles */
.profile-container {
  padding-top: 50px;
  min-height: 100vh;
}

.profile-header {
  position: relative;
  height: 15rem;
}

.profile-cover {
  height: 100%;
  background: url("img/banner/ban.png");
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.profile-cover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.profile-avatar {
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  border: 5px solid var(--white);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: visible;
  transition: transform 0.3s ease;
}

.profile-avatar:hover {
  transform: translateX(-50%) scale(1.05);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 50%; /* Ajouté pour maintenir l'image ronde même avec overflow: visible */
}
/* Ajout des styles nécessaires pour le conteneur avatar et le bouton */
.avatar-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: visible;
  pointer-events: auto;
}

/* Bouton d'édition d'avatar */
.avatar-edit-btn,
#change-avatar-btn {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
  transition: all 0.2s ease;
  z-index: 9999;
  border: 4px solid white;
  padding: 8px;
  min-width: 65px;
  min-height: 65px;
  pointer-events: auto;
  touch-action: manipulation;
}

.avatar-edit-btn:hover,
#change-avatar-btn:hover {
  background: #0056b3;
  transform: scale(1.2);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.7);
  border-color: #f8f9fa;
}

.avatar-edit-btn:active,
#change-avatar-btn:active {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.6);
  background: #004085;
}

.avatar-edit-btn i,
#change-avatar-btn i {
  font-size: 22px;
  pointer-events: none;
}

/* Zone de clic étendue */
.avatar-edit-btn::before,
#change-avatar-btn::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border-radius: 50%;
  z-index: -1;
}

.avatar-edit-btn:focus,
#change-avatar-btn:focus {
  outline: 3px solid #0066cc;
  outline-offset: 3px;
  background: #0056b3;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .profile-avatar {
    width: 10rem;
    height: 10rem;
  }

  .avatar-edit-btn,
  #change-avatar-btn {
    width: 60px;
    height: 60px;
    font-size: 20px;
    bottom: -8px;
    right: -8px;
    border: 3px solid white;
    padding: 10px;
  }

  .avatar-edit-btn::before,
  #change-avatar-btn::before {
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
  }
}

@media (max-width: 480px) {
  .profile-avatar {
    width: 8rem;
    height: 8rem;
  }

  .avatar-edit-btn,
  #change-avatar-btn {
    width: 55px;
    height: 55px;
    font-size: 18px;
    bottom: -10px;
    right: -10px;
    padding: 12px;
  }

  .avatar-edit-btn::before,
  #change-avatar-btn::before {
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
  }
}
.profile-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

.profile-info {
  padding-top: 4rem;
  text-align: center;
}

.profile-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 3rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.profile-name .highlight {
  color: var(--primary-color);
}

.highlight {
  color: #004085;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

.info-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.info-icon {
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  padding: 1rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.info-card:hover .info-icon {
  background: var(--primary-color);
  color: var(--white);
  transform: rotate(5deg);
}

.info-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.info-label {
  font-size: 0.875rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.editable-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-color);
}

.edit-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card:hover .edit-btn {
  opacity: 1;
}

.edit-btn:hover {
  transform: scale(1.2);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

.modal.show {
  opacity: 1;
}

.modal-content {
  background-color: #fff;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  width: 90%;
  animation: slideDown 0.3s ease-out;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.3s ease;
}

/* Styles pour le modal de sélection d'avatar */
.avatar-selection-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.avatar-selection-modal .modal-content {
  background: white;
  padding: 30px;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.avatar-selection-modal h2 {
  margin-bottom: 25px;
  color: #333;
  font-size: 24px;
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0 30px 0;
}

.avatar-option {
  position: relative;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.avatar-option:hover {
  transform: scale(1.05);
  border-color: #007bff;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.avatar-option.selected {
  border-color: #28a745;
  box-shadow: 0 0 20px rgba(40, 167, 69, 0.4);
  transform: scale(1.02);
}

.avatar-option img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.avatar-option::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  background: #28a745;
  color: white;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.avatar-option.selected::after {
  display: flex;
}

/* Bouton de fermeture du modal */
.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #333;
}

/* Styles pour les boutons d'action */
.form-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.save-btn {
  background: #28a745;
  color: white;
}

.save-btn:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.cancel-btn {
  background: #6c757d;
  color: white;
}

.cancel-btn:hover {
  background: #5a6268;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .profile-avatar {
    width: 10rem;
    height: 10rem;
  }

  .avatar-edit-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
    bottom: 5px;
    right: 5px;
  }

  .avatar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .avatar-option img {
    height: 100px;
  }

  .avatar-selection-modal .modal-content {
    padding: 20px;
    width: 95%;
  }
}

@media (max-width: 480px) {
  .profile-avatar {
    width: 8rem;
    height: 8rem;
  }

  .avatar-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }
}

.close-modal:hover {
  color: var(--text-color);
}

.modal h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  text-align: center;
}

#edit-form {
  width: 100%;
}

#edit-form .form-group {
  margin-bottom: 1.5rem;
}

#edit-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#edit-form input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
  outline: none;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.save-btn {
  background-color: var(--primary-color);
  color: white;
}

.save-btn:hover {
  background-color: var(--primary-dark);
}

.cancel-btn {
  background-color: #e5e7eb;
  color: var(--text-color);
}

.cancel-btn:hover {
  background-color: #d1d5db;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 12px 24px;
  background-color: var(--white);
  color: var(--text-color);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 1300;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.success {
  background-color: var(--success-color);
  color: white;
}

.toast.error {
  background-color: var(--error-color);
  color: white;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    display: none;
    animation: fadeIn 0.3s ease-in-out;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a,
  .nav-links .btn-base {
    margin: 0;
  }

  .nav-links .btn-base {
    margin-top: 1rem;
  }
  navbar .container {
    flex-wrap: wrap;
  }
  .profile-header {
    height: 12rem;
  }

  .profile-avatar {
    width: 10rem;
    height: 10rem;
    bottom: -2rem;
  }

  .profile-name {
    font-size: 2rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .modal-content {
    width: 95%;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .profile-header {
    height: 10rem;
  }

  .profile-avatar {
    width: 8rem;
    height: 8rem;
  }

  .profile-name {
    font-size: 1.75rem;
    margin-top: 0.5rem;
  }

  .info-card {
    padding: 1rem;
    gap: 1rem;
  }

  .info-icon {
    padding: 0.75rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }
}

/* Footer styles */
.footer {
  margin-top: 5rem;
  background: linear-gradient(to bottom right, #111827, #1f2937);
  color: white;
  position: relative;
}

.decorative-border {
  height: 4px;
  background: linear-gradient(to right, #3b82f6, #8b5cf6, #ec4899);
}

.footer-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1rem;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3rem;
  position: relative;
}

/* Separator lines */
.footer-separator {
  display: none;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-separator {
    display: none;
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-separator {
    display: block;
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    width: 1px;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(255, 255, 255, 0.1) 20%,
      rgba(255, 255, 255, 0.1) 80%,
      transparent
    );
  }

  .footer-separator:nth-of-type(1) {
    left: 25%;
  }
  .footer-separator:nth-of-type(2) {
    left: 50%;
  }
  .footer-separator:nth-of-type(3) {
    left: 75%;
  }
}

/* Logo section */
.logo1 {
  font-size: 1.875rem;
  font-weight: bold;
  background: linear-gradient(to right, #60a5fa, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  margin-right: 2rem;
}

.tagline {
  color: #d1d5db;
  font-size: 0.875rem;
}

/* Section titles */
.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  display: inline-block;
  position: relative;
  color: white;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
}

.nav-title::after {
  background: #3b82f6;
}
.contact-title::after {
  background: #8b5cf6;
}
.social-title::after,
.about-title::after {
  background: #ec4899;
}

/* Navigation links */
.nav-footer {
  list-style: none;
}

.nav-footer li {
  margin-top: 1rem;
}

.nav-footer a,
.contact-info a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s, color 0.3s;
}

.nav-footer a:hover,
.contact-info a:hover {
  transform: translateX(0.5rem);
  color: #93c5fd;
}
.nav-footer a {
  display: block; /* Assure que chaque lien prend une ligne entière */
  margin-top: 1rem; /* Ajoute de l'espacement entre les liens */
}

/* Contact section */
.contact-info {
  list-style: none;
  margin-bottom: 1.5rem;
}

.contact-info li {
  margin-bottom: 1rem;
}

.contact-info .address {
  display: flex;
  gap: 0.75rem;
  color: #d1d5db;
}

.map-container {
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #374151;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  filter: grayscale(100%);
  transition: filter 0.5s;
}

.map-container iframe:hover {
  filter: grayscale(0%);
}

.about-text {
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.7;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(55, 65, 81, 0.5);
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(4px);
}

.footer-bottom p {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}
/* Styles pour la section partenaires */
.partners-section {
  width: 100%;
  padding: 20px 0;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.partners-title {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.partners-logos img {
  max-height: 60px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.partners-logos img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Media query pour les petits écrans */
@media (max-width: 768px) {
  .partners-logos {
    gap: 15px;
  }

  .partners-logos img {
    max-height: 40px;
    max-width: 80px;
  }
}
