/* styles.css */

:root {
  --primary-color: #2ecc71;
  --secondary-color: #27ae60;
  --accent-color: #f1c40f;
  --text-color: #333;
  --light-bg: #f9f9f9;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animations globales */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.95); }
  to { transform: scale(1); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes zoomBackground {
  0% { background-size: 100%; }
  50% { background-size: 120%; }
  100% { background-size: 100%; }
}

@keyframes revealText {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

.container {
  max-width: 1200px; /* Largeur maximale */
  margin: 0 auto; /* Centrage horizontal */
  padding: 6rem 2rem; /* Espacement sur les côtés */
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  transition: var(--transition-smooth);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar.scrolled {
  padding: 0.5rem 2rem;
  background: rgba(255, 255, 255, 0.98);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(46, 204, 113, 0.2);
}

.logo-link h1 {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style-type: none;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
  position: relative;
  font-weight: 500;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-color); /* Garde la couleur active actuelle */
  font-weight: bold;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.phone-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.phone-number:hover {
  color: var(--primary-color);
  transform: scale(1.05);
}

.nav-button {
  background: var(--primary-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
}

.nav-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
}

/* Hero section */
.hero {
  height: 100vh;
  background: url('../img/nuisibles.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 60px;
  position: relative;
  animation: zoomBackground 20s infinite alternate;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  animation: fadeInUp 1s ease-out forwards;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.3s;
}

/* Boutons */
.cta-button, .animated-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  font-size: 1.1rem;
  font-weight: 600;
}

.cta-button:hover, .animated-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.cta-button::after, .animated-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover::after, .animated-button:hover::after {
  width: 300px;
  height: 300px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  padding: 4rem 2rem;
}

.service-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-card h3 {
  color: var(--primary-color);
  padding: 1.5rem 1rem 0.5rem;
  font-size: 1.5rem;
}

.service-card p {
  padding: 0 1rem 1.5rem;
  color: #666;
}

/* Sections */
.about, .contact {
  padding: 6rem 2rem;
  background-color: var(--light-bg);
}

.section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Formulaire de contact */
.contact form {
  display: grid;
  gap: 1.5rem;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--light-bg);
  transition: var(--transition-smooth);
}

.contact input:focus,
.contact textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.1);
  background: white;
}

.submit-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-weight: 600;
}

.submit-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

/* Footer */
footer {
  background: linear-gradient(45deg, #2c3e50, #34495e);
  color: white;
  padding: 4rem 2rem 2rem;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer-section a {
  color: #ffffff; /* Noir ou une autre couleur de votre choix */
  text-decoration: none; /* Pour enlever le soulignement */
}

.footer-section a:hover {
  color: var(--primary-color); 
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.social-icons a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive design */
@media (max-width: 768px) {

  .nav-links {
      width: 100%;
      flex-direction: column;
      display: none;
  }

  .nav-links.active {
      display: flex;
  }

  .navbar-cta {
      width: 100%;
      justify-content: space-between;

  }

  .hero-content h1 {
      margin-top: 50px;
      font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
}

  .services-grid,
  .footer-content {
      grid-template-columns: 1fr;
  }
}

/* Loader */
.loader {
  width: 50px;
  height: 50px;
  border: 3px solid var(--light-bg);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s linear infinite;
}

/* Styles pour la section de prise de rendez-vous */
.appointment-section {
  padding: 6rem 2rem;
  animation: fadeIn 1s ease-out forwards; /* Animation d'entrée */
  margin-top: -2rem;
}

.appointment-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.appointment-info {
  flex: 1 1 40%;
  padding: 2rem;
  background-color: var(--light-bg);
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  animation: slideInRight 0.8s ease-out forwards; /* Animation d'entrée */
  opacity: 0; /* Initialement invisible */
}

.appointment-info h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.appointment-info p {
  margin-bottom: 1rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.appointment-info i {
  color: var(--secondary-color);
}

.appointment-form {
  flex: 1 1 50%;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.8s ease-out forwards; /* Animation d'entrée */
  opacity: 0; /* Initialement invisible */
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--light-bg);
  transition: var(--transition-smooth);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.1);
  background: white;
}

.form-group textarea {
  resize: vertical;
}

/* Style pour le bouton d'envoi */
.submit-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-weight: 600;
  width: 100%;
  margin-top: 0.3rem;

}

.submit-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

/* Style pour les messages de confirmation/erreur */
.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
  font-weight: 500;
}

.form-message.success {
  background-color: rgba(46, 204, 113, 0.2);
  color: var(--primary-color);
}

.form-message.error {
  background-color: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

/* Responsive Design (Ajustements pour les petits écrans) */
@media (max-width: 768px) {
  .appointment-wrapper {
      flex-direction: column;
  }

  .appointment-info,
  .appointment-form {
      flex: 1 1 100%;
  }
}

/* Contact Section */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap; /* Permet aux éléments de se réorganiser sur les petits écrans */
  gap: 2rem; /* Espacement entre les deux colonnes */
  margin-top: -60px;
}

.contact-info {
  flex: 1 1 40%; /* Occupe 40% de la largeur disponible (ou toute la largeur si l'espace est insuffisant) */
  padding: 2rem;
  background-color: var(--light-bg);
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.contact-form {
  flex: 1 1 50%; /* Occupe 50% de la largeur disponible (ou toute la largeur si l'espace est insuffisant) */
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding-bottom: -4rem;
}

.contact-info h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 1rem;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .contact-wrapper {
      flex-direction: column; /* Empile les éléments verticalement sur les petits écrans */
  }

  .contact-info,
  .contact-form {
      flex: 1 1 100%; /* Occupent toute la largeur disponible */
  }
}

.img-certi {
  width: 360px;
  height: 100px;
}

/* Styles pour la page "À propos" */
/* Hero section spécifique à la page "À propos" */
.about-hero {
  height: 350px; /* Fixe la hauteur */
  background: linear-gradient(to right, rgba(46, 204, 113, 0.8), rgba(39, 174, 96, 0.8)), 
              url('../img/nuisibles.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden; /* Pour que l'animation reste à l'intérieur */
  display: flex;
  align-items: center;
  justify-content: center;
}


.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: slideInDown 1s ease-out forwards;
}

.about-hero p {
  font-size: 1.2rem;
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 0.5s;
}

/* Animation pour faire glisser le titre depuis le haut */
@keyframes slideInDown {
  from {
      transform: translateY(-50px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

.about-hero-image {
  width: 100%;
  max-width: 400px; /* Ajustez selon vos besoins */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  margin-top: 2rem;
  animation: scaleUp 1s ease-out forwards; /* Applique l'animation d'agrandissement */
}

/* Section des valeurs */
.values {
  padding: 4rem 2rem;
  margin-top: -0.75rem;
}

.values h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 5rem;
  margin-left: 6rem;
  margin-right: 6rem;
}

.value-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-card i {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.value-card h3 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

/* Section Expertise */
.expertise {
  padding: 4rem 2rem;
  background: var(--light-bg);
}

.expertise h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.expertise ul {
  list-style: none;
  padding: 0;
}

.expertise li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--text-color);
  animation: slideInRight 0.5s ease-out forwards; /* Applique l'animation de glissement depuis la droite */
  opacity: 0; /* Initialement invisible */
}

/* Animation pour faire glisser les éléments depuis la droite */
@keyframes slideInRight {
  from {
      transform: translateX(50px);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

.expertise li:nth-child(1) { animation-delay: 0.1s; }
.expertise li:nth-child(2) { animation-delay: 0.2s; }
.expertise li:nth-child(3) { animation-delay: 0.3s; }
.expertise li:nth-child(4) { animation-delay: 0.4s; }
.expertise li:nth-child(5) { animation-delay: 0.5s; }

.expertise li i {
  color: var(--primary-color);
  margin-right: 1rem;
  font-size: 1.2rem;
}

/* Styles spécifiques à services.html */
.services-details {
  padding: 4rem 2rem;
}

.service-section {
  margin-bottom: 3rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 2rem;
  animation: fadeIn 1s ease-out forwards;
}

.service-title {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.service-description {
  color: #666;
  margin-bottom: 1rem;
}

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: #555;
}

.service-list li i {
  color: var(--secondary-color);
  margin-right: 0.5rem;
}

.service-target {
  font-style: italic;
  color: #777;
  margin-bottom: 1rem;
}

/* Styles spécifiques aux sections de services */
.deratisation-section {
  background-color: #f0f8ff; /* Bleu clair */
}

.desinsectisation-section {
  background-color: #f0fff0; /* Vert très clair */
}

.traitement-punaises-section {
  background-color: #fffafa; /* Blanc cassé */
}

.service-section {
  margin-bottom: 3rem;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.service-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.service-section h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.service-section p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-section ul {
  list-style: none;
  padding: 0;
}

.service-section li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: #666;
}

.service-section li i {
  color: var(--secondary-color);
  margin-right: 0.5rem;
}

.service-section .cta-button {
  display: inline-block;
  margin-top: 1rem;
}

/* Styles spécifiques à contact.html */
.contact-details {
  padding: 4rem 2rem;
}

.contact-section {
  margin-bottom: 3rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 2rem;
  animation: fadeIn 1s ease-out forwards;
}

.contact-title {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-address {
  color: #666;
  margin-bottom: 0.5rem;
}

.contact-phone {
  color: #666;
}

.contact-hours-title {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-hours {
  color: #777;
  margin-bottom: 0.5rem;
}

.contact-emergency {
  color: #e74c3c;
  font-weight: bold;
}

/* Animations globales */
@keyframes slideIn {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Bande verte d'urgence */
.emergency-bar {
  background-color: var(--primary-color); /* Utilise ta couleur verte principale */
  color: white;
  text-align: center;
  padding: 10px 0; /* Réduction du padding pour compenser la taille du texte */
  position: fixed; /* Pour qu'elle reste en bas de l'écran */
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Pour qu'elle soit au-dessus des autres éléments */
  animation: slideIn 0.5s ease-out; /* Ajout de l'animation */
  font-size: 0.9rem; /* Réduction de la taille du texte */
}

.emergency-bar a {
  background-color: var(--secondary-color); /* Couleur secondaire pour le bouton */
  color: white;
  text-decoration: none; /* Suppression du soulignement */
  padding: 5px 10px; /* Ajustement du padding du bouton */
  border-radius: 5px; /* Bords arrondis pour le bouton */
  font-weight: bold;
  display: inline-block; /* Pour appliquer padding et border-radius */
  margin-left: 10px; /* Ajout d'un espace entre le texte et le bouton */
  transition: background-color 0.3s ease; /* Transition pour l'effet au survol */
}

.emergency-bar a:hover {
  background-color: var(--accent-color); /* Couleur d'accentuation au survol */
}

/* Styles pour la section expertise */
.expertise ul {
  list-style: none;
  padding: 0;
}

.expertise ul li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-color);
}


/* Styles pour les statistiques */
.stats {
  display: flex;
  justify-content: space-around;
  gap: 8rem; /* Ajoute un espace de 2rem entre chaque item */
}


.stat-item {
  text-align: center;
  padding-top: -3rem;
}

.stats-counter {
  font-size: 2.5rem;
  font-weight: bold;
  color: #FFFFFF;
}

/* Styles pour les témoignages */
.testimonials blockquote {
  font-style: italic;
  margin: 1rem auto;
  padding: 1rem;
  border-left: 5px solid var(--primary-color);
}

/* Styles pour la section engagement */
.engagement {
  background-color: var(--light-bg);
  padding: 20px;
  border-radius: 10px;
}

label {
  display: flex;
  align-items: center;
  height: auto;
  
}

label input[type="checkbox"] {
  width: auto;
  vertical-align: middle;
  margin-right: 5px;
}


.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background-color: var(--text-color);
  margin-bottom: 4px;
  transition: var(--transition-smooth);
}












/* POUR TELEPHONE */

@media (max-width: 768px) {
  .menu-toggle {
      display: flex;
      margin-top: 15px;
      margin-left: -5px;
      margin-right: 10px;
  }

  .nav-links {
      display: none;
      width: 100%;
      flex-direction: column;
      background-color: white;
      position: absolute;
      top: 100%;
      left: 0;
      padding: 1rem;
      box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }

  .nav-links.active {
      display: flex;
  }

  .nav-link {
      padding: 1rem 0;
  }

  .navbar {
    padding: 0.5rem 1rem; /* Réduire le padding global */
    flex-direction: row; /* Aligne les éléments en ligne */
        justify-content: space-between; /* Espace les éléments uniformément */
        align-items: center; /* Centre verticalement les éléments */
    padding-bottom: 20px;
}


  .logo-link h1 {
    font-size: 1.5rem; /* Réduire la taille de la police */
    margin-top: 12px;
  }
  
  .logo-img {
    width: 40px; /* Réduire la largeur */
    height: 40px; /* Réduire la hauteur */
    margin-top: 12px;
  }
  
  .nav-button {
    padding: 0.5rem 0.5rem; /* Réduire le padding des boutons */
    font-size: 0.9rem; /* Réduire la taille de la police */
    margin-left: 20px;
    margin-top: 12px;
    

  }

  .phone-number {
    display: none;
  }

  .about-hero {
    display : none;
  }

    .values {
        padding: 4rem 1rem; /* Réduire le padding latéral */
    }

    .values h2 {
        text-align: center; /* S'assurer que le titre est centré */
    }

    .values-grid {
        display: flex;
        flex-direction: column; /* Empiler les cartes */
        align-items: center; /* Centrer horizontalement */
        margin-left: auto; /* Supprimer les marges latérales */
        margin-right: auto;
        width: 100%; /* Utiliser toute la largeur disponible */
        gap: 20px;
    }

    .values.section-animate {
      margin-top: 0rem;
    }

    .value-card {
        width: 90%; /* Ajuster la largeur des cartes */
        margin-bottom: 2rem; /* Ajouter un espacement entre les cartes */
    }

    .contact {
      padding: 4rem 1rem; /* Réduire le padding latéral */
  }

  .contact h2 {
      text-align: center; /* S'assurer que le titre est centré */
  }

  .contact-wrapper {
      display: flex;
      flex-direction: column; /* Empiler les colonnes */
      align-items: center; /* Centrer horizontalement */
  }

  .contact-info,
  .contact-form {
      width: 90%; /* Ajuster la largeur des colonnes */
      margin-bottom: 2rem; /* Ajouter un espacement entre les colonnes */
  }

  .img-certi {
    width: 100%; /* Prend toute la largeur disponible */
    height: auto; /* Ajuste automatiquement la hauteur pour conserver les proportions */
    display: block; /* Supprime les marges implicites des éléments inline */
    margin: 0 auto; /* Centre horizontalement */
    max-width: 360px; /* Limite la largeur maximale de l'image */
}
  
  .hero {
    height: auto;
    width: auto;
    /* margin-top: 4rem; */
    background-position: center 90%; 
  }

  @keyframes zoomBackground {
    0% { background-size: 104%; }
    50% { background-size: 120%; }
    100% { background-size: 104%; }
  }

  .cta-button {
    margin-bottom: 25px;
  }

  .contact-map {
    display: none;
  }

}



