:root {
  --primary-color: #095019;
  --secondary-color: #82bc0c;
  --text-dark: #333;
  --text-light: #fff;
  --transition-speed: 0.3s;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-color: #faf9f7;
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  text-align: center;
  font-size: 1rem; /* Taille de police de base */
}

.mobile-header {
  display: none; /* Masqué par défaut pour le bureau */
}

header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 20px;
  background-color: #fff;
  color: var(--text-dark);
  transition: opacity 1s ease, transform 1s ease;
  opacity: 1;
  transform: translateY(0);
}

.header-hidden {
  opacity: 0;
  transform: translateY(-20px);
}

.header-logo {
  height: 100px;
  width: auto;
  opacity: 1;
  transform: translateY(0);
}

.nav-container {
  margin-top: -40px;
  display: flex;
  justify-content: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.1rem;
  position: relative;
  transition: color var(--transition-speed) ease;
}

nav ul li a:hover {
  color: var(--secondary-color);
}

main {
  flex: 1;
  background-color: #fff;
  padding-bottom: 62px;
}

.hero-section {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 50px 20px;
  margin: 10px 40px;
  position: relative;
  height: auto;
  background-color: #fff;
}

.hero-left {
  flex: 1;
  background-color: #fff;
  padding: 20px;
  margin-right: 20px;
  text-align: left;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
}

.hero-left-part1 p {
  font-size: 2.1rem;
  color: var(--primary-color);
  font-weight: bold;
  margin: 0;
  text-align: left;
}

.hero-left-part2 p {
  font-size: 1.06rem;
  color: var(--primary-color);
  line-height: 1;
  margin-top: 10px;
  margin-bottom: 0;
  text-align: left;
}

.hero-right {
  flex: 1;
  background-color: #fff;
  padding: 20px;
  margin-left: 20px;
  text-align: center;
  border-radius: 10px;
  height: 100%;
}

.hero-right img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.mySlides {
  display: none;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.mySlides img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.features-section {
  display: flex;
  justify-content: space-around;
  padding: 30px 20px;
  position: relative;
  background-color: #faf9f7;
  margin: 0;
}

.feature {
  text-align: center;
  max-width: 300px;
  position: relative;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.feature p {
  font-size: 1rem;
  color: #555;
}

.about-section {
  padding: 50px 0 0;
  text-align: center;
  position: relative;
  background-color: #faf9f7;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.swiper-container {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
  transition-timing-function: ease-in-out;
}

.swiper-slide {
  flex: 0 0 auto;
  width: auto;
  margin: 0 !important;
  padding: 0 !important;
}

.swiper-slide img {
  width: 70%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.swiper-pagination {
  position: relative;
  margin-top: 20px;
}

.swiper-pagination-bullet {
  background-color: var(--text-dark);
  opacity: 0.5;
  width: 10px;
  height: 10px;
  margin: 0 5px;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color);
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  display: none !important;
}

footer {
  background-color: #333;
  color: #fff;
  padding: 10px;
  position: fixed;
  bottom: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1000;
}

footer.visible {
  opacity: 1;
}

.language-selector {
  position: absolute;
  top: 20px;
  right: 40px;
  z-index: 1000;
  cursor: pointer;
}

.language-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: transform var(--transition-speed) ease;
}

.language-icon:hover {
  transform: scale(1.1);
}

.language-dropdown {
  display: none;
  position: absolute;
  top: 30px;
  right: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.language-dropdown a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--text-dark);
}

.language-dropdown a:hover {
  background-color: #f9f9f9;
}

.new-section {
  margin-top: 40px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  text-align: center;
}

.animal-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.animal-icon {
  width: 50px;
  height: 50px;
  transition: transform 0.2s ease;
}

.animal-icon:hover {
  transform: scale(1.1);
}

.content-section {
  margin-top: 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  text-align: left;
}

.animal-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.animal-content img {
  width: 100px;
  height: auto;
  border-radius: 10px;
  transition: transform var(--transition-speed) ease;
}

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

.animal-content p {
  font-size: 1rem;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.5;
}

.home-icon {
  width: 24px;
  height: 24px;
  fill: var(--text-dark);
  transition: fill var(--transition-speed) ease;
  margin-top: -5px;
}

.home-icon:hover {
  fill: var(--primary-color);
}

.product-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.product-links a {
  text-decoration: none;
  color: var(--primary-color);
  font-size: 1.1rem;
  padding: 10px 20px;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.product-links a:hover {
  background-color: var(--text-dark);
  color: var(--text-light);
}

.product-links a.active {
  background-color: var(--text-dark);
  color: var(--text-light);
}

.product-section {
  margin-top: 30px;
  padding: 20px;
  background-color: #faf9f7;
  border-radius: 10px;
  text-align: center;
}

.product-section p {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: bold;
}

.description-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  margin-bottom: 100px;
  background-color: #faf9f7;
}

.description-container {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 700px;
}

.description-left {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  background-color: var(--text-dark);
  border-radius: 10px 0 0 10px;
  color: var(--text-light) !important;
  margin: 0;
  padding: 0;
}

.left-top {
  background-color: #fff;
  padding: 10px;
  border-radius: 10px 0 0 0;
  text-align: center;
}

.left-top img {
  max-width: 300px;
  height: auto;
  border-radius: 0;
}

.left-bottom {
  padding: 15px;
  text-align: left;
  flex-grow: 1;
  overflow-y: auto;
}

.left-bottom h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.left-bottom p {
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--text-light);
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
}

.left-bottom .highlight {
  color: var(--secondary-color);
  font-weight: 700;
}

.description-right {
  flex: 0 0 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
  border-radius: 0 10px 10px 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: 100%;
}

.description-right img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0 10px 10px 0;
  position: relative;
  top: 0px;
}

.boost-logo {
  max-width: 200px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.description-left .left-bottom h2,
.description-left .left-bottom .highlight {
  color: var(--secondary-color) !important;
}

.content-container {
  display: flex;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  margin-top: 100px;
  padding-bottom: 20px;
}

.left-section {
  flex: 1.5;
  margin-right: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border-radius: 0 20px 0 20px;
  overflow: hidden;
  min-height: 400px;
}

.left-section img {
  width: 100%;
  height: auto;
  border-radius: 0 50px 0 50px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.right-section {
  flex: 2;
  text-align: left;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.right-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.right-section p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 15px;
}

.contact-section-index {
  background-color: #f0f0f0;
  padding: 10px 20px 30px 20px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contact-container {
  max-width: 500px;
  width: 100%;
  text-align: left;
}

.contact-section-index h2 {
  font-size: 1.8rem;
  color: #939393;
  margin-bottom: 10px;
  font-weight: bold;
}

.contact-section-index .subtitle {
  font-size: 1rem;
  color: #939393;
  margin-bottom: 20px;
  line-height: 1.4;
}

.contact-section-index .contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-section-index .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item .icon {
  width: 20px;
  height: 20px;
  fill: #939393;
}

.contact-item span {
  font-size: 0.95rem;
  color: #939393;
}

.contact-section-contact {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  gap: 20px;
}

.contact-section-contact .contact-form-container {
  flex: 1;
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-section-contact .contact-info-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.contact-section-contact .contact-image-wrapper {
  width: 80%;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-section-contact .contact-details {
  background-color: #f9f9f9;
  padding: 20px;
  text-align: left;
  border-radius: 0 0 10px 10px;
}

.contact-form-container {
  flex: 1;
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 500px;
  width: 90%;
  margin: 0 auto;
  margin-left: 30px;
  box-sizing: border-box;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.form-group label {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
  text-align: left;
}

.form-group label::after {
  content: " *";
  color: red;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  padding-left: 15px;
  padding-right: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text-dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 8px rgba(9, 80, 25, 0.2);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 12px 24px;
  border: none;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: auto;
  max-width: 200px;
  align-self: flex-start;
  box-sizing: border-box;
}

.submit-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.submit-button:active {
  transform: translateY(0);
}

.contact-info-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.contact-image-wrapper {
  width: 80%;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.contact-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 300px;
  display: block;
  object-fit: cover;
}

.contact-image-wrapper .contact-details {
  background-color: #f9f9f9;
  padding: 20px;
  text-align: left;
  border-radius: 0 0 10px 10px;
  flex-grow: 1;
}

.contact-image-wrapper .contact-details p {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.contact-image-wrapper .contact-details hr {
  border: 0;
  height: 1px;
  background: #ccc;
  margin: 15px 0;
}

.contact-details i {
  margin-right: 10px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

@keyframes float {
  0% {
    transform: translateY(-50%) translateY(0);
  }
  50% {
    transform: translateY(-50%) translateY(-10px);
  }
  100% {
    transform: translateY(-50%) translateY(0);
  }
}

.floating-contact-button {
  position: fixed;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  padding: 12px 24px;
  font-size: 1rem;
  background-color: #82bc0c;
  color: var(--text-light);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.floating-contact-button:hover {
  animation-play-state: paused;
  background-color: #333333;
  transform: translateY(-50%) scale(1.05);
}

.floating-contact-button:active {
  transform: translateY(-50%) scale(1);
}