 * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    body {
      font-family: 'Poppins', sans-serif;
      background: #f9f9f9;
      color: #333;
      line-height: 1.6;
    }

    /* ----- HEADER ----- */
    header {
      background-color: #2f855a;
      color: white;
      padding: 1rem 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
    }
    .logo {
      font-size: 1.5rem;
      font-weight: 600;
    }
    .nav-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    .nav-buttons button {
      background: white;
      color: #2f855a;
      border: none;
      padding: 0.5rem 1rem;
      border-radius: 20px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s ease;
    }
    .nav-buttons button:hover {
      background: #d2e9de;
    }

    /* ----- HERO ----- */
.hero {
background-image: url('/assets/images/bg-bo.jpg'); /* ✅ correct */
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 100px 20px;
  color: white;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
}

.search-bar {
  background: white;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.search-bar select,
.search-bar input {
  flex: 1 1 150px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.search-bar button {
  padding: 10px 20px;
  background-color: #2f855a;
  color: white;
  border: none;
  border-radius: 6px;
}


    /* ----- FEATURES ----- */
    .features {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
      padding: 2rem;
    }
    .feature-box {
      background: white;
      padding: 1.5rem;
      border-radius: 12px;
      box-shadow: 0 8px 16px rgba(0,0,0,0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .feature-box:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 20px rgba(0,0,0,0.08);
    }
    .feature-box h3 {
      color: #2f855a;
      margin-bottom: 0.5rem;
      font-size: 1.2rem;
    }

    /* ----- FOOTER ----- */
    footer {
      text-align: center;
      padding: 1rem;
      background: #eeeeee;
      font-size: 0.85rem;
      color: #555;
    }
* Hamburger menu */

.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .nav-buttons {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 65px;
    right: 20px;
    background: white;
    border: 1px solid #ccc;
    padding: 10px;
    z-index: 1000;
  }

  #menu-toggle:checked + .menu-icon + .nav-buttons {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
}

/* Apparition douce */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Témoignages */
.testimonials .testimonial-card {
  animation: fadeInUp 1s ease forwards;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  margin: 0 auto;
}

/* Carte notaire */
.partner-card {
  animation: fadeInUp 0.8s ease forwards;
  transition: box-shadow 0.3s ease;
}

.partner-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Bouton mobile */
.mobile-cta button {
  animation: fadeInUp 1s ease forwards;
  font-size: 1.1em;
}
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 15px;
  background-color: #25d366;
  color: white;
  padding: 10px 15px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  z-index: 1000;
}

.quick-filters button {
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 30px;
  white-space: nowrap;
}

.quick-filters .btn {
  transition: all 0.3s ease;
}

.quick-filters .btn:hover {
  background-color: rgba(255,255,255,0.2);
  border-color: #fff;
}
.filter-btn {
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 30px;
  white-space: nowrap;
  flex-shrink: 0;
}

.quick-filters .btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}
.cert-badge {
  font-size: 0.75rem;
  z-index: 1;
  cursor: pointer;
}
.card-img-top {
  object-fit: cover;
  height: 200px;
}
.card {
  min-height: 100%;
}

.navbar .btn {
  white-space: nowrap;
  margin-bottom: 5px;
}

.partner-card img {
  flex-shrink: 0;
  border: 2px solid #f1f1f1;
}

.partner-card .btn {
  font-size: 0.85rem;
  padding: 6px 10px;
}

@media (max-width: 576px) {
  .partner-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .partner-card img {
    margin-bottom: 10px;
  }
}
.scrolling-wrapper {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.scrolling-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
