.services-intro {
  text-align: center;
  padding: 3rem 2rem 2rem;
  max-width: 900px;
  margin: auto;
}

.services-intro h2 {
  font-size: 2.2rem;
  color: #2f8f2f;
  margin-bottom: 1rem;
}

.services-intro p {
  font-size: 1.1rem;
  color: #333;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1100px;
  margin: auto;
}

.service-card {
  background-color: #f0fff0;
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: #2f8f2f;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #444;
}

.how-it-works {
  text-align: center;
  padding: 3rem 2rem;
  background-color: #e6ffe6;
}

.how-it-works h2 {
  color: #2f8f2f;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.step {
  background-color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  color: #2f8f2f;
}

.why-us {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.why-us h2 {
  color: #2f8f2f;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.why-us-reasons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.reason-circle {
  background-color: #e6ffe6;
  border: 2px solid #2f8f2f;
  color: #2e2e2e;
  border-radius: 30px;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.reason-circle:hover {
  transform: scale(1.05);
  background-color: #d9ffd9;
}

@media (max-width: 600px) {
  .reason-circle {
    width: 140px;
    height: 140px;
    font-size: 0.9rem;
  }
}

.cta-banner {
  background-color: #2f8f2f;
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

.cta-banner p {
  font-size: 1.2rem;
  margin: 0;
}

.cta-banner a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}

.books-section {
  max-width: 1200px;
  margin: auto;
  padding: 3rem 2rem;
  text-align: center;
}

.books-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.book-card {
  background-color: #f0fff0;
  border-radius: 12px;
  padding: 1.5rem;
  width: 300px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.book-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.book-card h3 {
  color: #2f8f2f;
  margin-bottom: 0.5rem;
}

.book-card .description {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.book-card .price {
  font-weight: bold;
  margin-bottom: 1rem;
  color: #2f8f2f;
}

.buy-btn {
  background-color: #2f8f2f;
  color: white;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.buy-btn:hover {
  background-color: #256b25;
}

.maladies-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.maladies-title {
  text-align: center;
  font-size: 2.2rem;
  color: #2f8f2f;
  margin-bottom: 2.5rem;
}

.maladie {
  text-align: left;
  margin-bottom: 3rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 2rem;
}

.maladie h2 {
  color: #2f8f2f;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.maladie p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1rem;
}

.maladie img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


html {
  scroll-behavior: smooth;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 3px solid rgba(0, 0, 0, .12);
  background: green;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
  backdrop-filter: blur(6px);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#svgx {
  color: #e6ffe6;
}

#svgx:hover {
  color: #2f8f2f
}

.back-to-top:hover {
  background: white;
}

.back-to-top:active {
  transform: translateY(1px) scale(.98);
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: #2e2e2e;
}

.full-width-ad img {
  width: 100vw;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 300px;
  margin-bottom: 2rem;
}

.full-width-ad {
  width: 99.2vw;
  max-height: 300px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #e6ffe6;
  border-bottom: 1px solid #ccc;
  position: relative;
}

.logo {
  font-size: 1.7rem;
  font-weight: bold;
  color: #2f8f2f;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.navbar a {
  text-decoration: none;
  color: #2e2e2e;
  font-weight: 600;
  transition: all 0.3s ease;
}

.navbar a:hover {
  color: #2f8f2f;
  text-decoration: underline;
}

.navbar ul::after {
  content: "";
  display: block;
  height: 2px;
  background-color: #2f8f2f;
  margin-top: 5px;
  border-radius: 1px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #2e2e2e;
  border-radius: 2px;
}

.documents-section {
  max-width: 1200px;
  margin: auto;
  padding: 3rem 2rem;
}

.documents-section .section-title {
  text-align: center;
  color: #2f8f2f;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.document-card {
  background-color: #f0fff0;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.document-card img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.document-card h3 {
  color: #2f8f2f;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.document-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.download-btn {
  background-color: #2f8f2f;
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: #256b25;
}

.footer {
  background-color: #e6ffe6;
  padding: 2rem;
  border-top: 1px solid #ccc;
  margin-top: 2rem;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-logo {
  font-weight: bold;
  font-size: 1.2rem;
  color: #2f8f2f;
  margin-bottom: 1rem;
}

.socials {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.socials a {
  text-decoration: none;
  color: #2e2e2e;
}

.social-icons {
  display: flex;
  gap: 1rem;
  font-size: 1.2rem;
  margin-bottom: -1rem;
}

.social-icons a {
  color: #2e2e2e;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #2f8f2f;
}

.contact-info {
  margin-top: 1rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #666;
}

.footer-logo-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-slogan {
  font-style: italic;
  color: #2f8f2f;
  font-size: 0.9rem;
  margin-top: -1rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #e6ffe6;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 220px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 10;
  }

  .nav-links.active {
    display: flex !important;
  }

  .menu-toggle {
    display: flex;
  }
}

#search-input {
  display: block;
  margin: 1rem auto 2rem auto;
  padding: 0.8rem 1rem;
  width: 80%;
  max-width: 500px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

#search-species {
  display: block;
  margin: 1rem auto 2rem auto;
  padding: 0.8rem 1rem;
  width: 80%;
  max-width: 500px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}


#results {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.plant-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-left: 5px solid #2f8f2f;
  padding: 1rem;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.plant-card:hover {
  transform: scale(1.01);
  background-color: #f0fff0;
}

.plant-details {
  margin-top: 2rem;
  background: #ffffff;
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid #ccc;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.plant-details h3 {
  margin-top: 0;
  color: #2f8f2f;
}

.no-result {
  text-align: center;
  color: #888;
  margin-top: 1rem;
}
.btn-container {
  text-align: center;
}

.contact-btn {
  background-color: #2f8f2f;
  color: white;
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #256b25;
}
.news-section {
  max-width: 900px;
  margin: auto;
  padding: 4rem 2rem;
}

.news-post {
  background-color: #f7fff7;
  border-left: 5px solid #2f8f2f;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.news-title {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  color: #2f8f2f;
}

.news-date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.news-content {
  line-height: 1.6;
  color: #333;
}
.news-post {
  background-color: #f7fff7;
  border-left: 5px solid #2f8f2f;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.news-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  background-color: #2f8f2f;
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}

.read-more:hover {
  background-color: #256b25;
}