html {
  scroll-behavior: smooth;
}
body {
  font-family: Verdana, sans-serif;
  display: block;
  overflow-x: hidden;
}
nav {
  background-color: #017439;
}
.bioacoustic {
  background-color: #017439 !important;
}
.data-management {
  background-color: #006fa0 !important;
}
.aerial {
  background-color: #713a09 !important;
}
.environment {
  background-color: #38483d !important;
}

.navbar a:hover {
  color:#8ceaa5;
  background-color: #017439;
}
.bioacoustic a:hover {
  color:#8ceaa5 !important;
  background-color: #017439 !important;
}
.data-management a:hover {
  color:#00a9df !important;
  background-color: #006fa0 !important;
}
.aerial a:hover {
  color:#e2b78a !important;
  background-color: #713a09 !important;
}
.environment a:hover {
  color:#9dafa3 !important;
  background-color: #38483d !important;
}

.navbar-brand img {
  max-height: 70px;
}
.navbar-brand {
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 900;
  color: white;
}
.navbar-brand:hover {
  color: #8ceaa5;
}
nav a:hover {
  color: #8ceaa5;
}
.navbar-collapse {
  justify-content: flex-end;
}
.navbar-nav .nav-link {
  color: white;
  font-size: 22px;
  margin: auto 10px;
}
.navbar-nav .nav-link:hover {
  color: #8ceaa5;
}
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  outline: none;
  box-shadow: none;
}
.navbar-toggler {
    border-color: white;
}
.navbar-toggler-icon {
	display: inline-block;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2c255%2c255%2c1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

section {
  padding-top: 100px;
  padding-bottom: 100px;
}
section#footer {
  padding-top: 50px;
  padding-bottom: 50px;
}
section h1 {
  text-transform: uppercase;
  font-weight: 900;
  color: #017439;
  text-align: left;
}
section p {
  font-size: 16px;
  font-weight: 300;
}

#hero {
  background: url(/images/background_forest_blur.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  padding-top: 20%;
}
@media (max-width: 991px) {
  #hero {
    padding-top: 30%;
    background: url(/images/background_forest_blur_mobile.webp);
  }
}
#hero h1 {
	color: white;
}
#hero .col {
  justify-content: center; 
  flex-direction: column;
  display: flex;
}
#hero .hero-text {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
#hero .img-col {
  justify-content: flex-end; 
}
#hero img {
  max-width: 80% !important;
  width: 50%;
}
#hero .card {
  border: 0;
  border-radius: 25px;
  text-align: center;
  color: black;
  margin-top: 10%;
}
#hero .icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

#about-us {
	width: 65%;
	margin-left: auto;
	margin-right: auto;
}

#about-us img {
  max-width: 50% !important;
  width: 50%;
}

@media (max-width: 991px) {
  #about-us img {
    max-width: 70% !important;
    width: 70%;
    margin-bottom: 50px;
  }
}

#projects {
  background: url(/images/background_forest_2_blur.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
}
#projects h1 {
  color: white;
}
#projects .card {
  border: 0;
  border-radius: 25px;
  text-align: center;
  color: black;
}
#projects .projects {
  margin-bottom: 50px;
}

#projects img {
  max-width: 30% !important;
  width: 30%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 5%;
}

#projects .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

#footer {
  background-color: #017439;
  color: white;
}
#footer a {
	text-decoration: none;
	color: white;
}
#footer .col-footer {
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}
#footer .col-footer-button {
  display: flex;
  justify-content: center;
  align-items: center;
}
#footer button {
	padding-left: 30px;
	padding-right: 30px;
}

#contact-us {
    background: url(/images/background_forest_blur.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 10%;
}
@media (max-width: 991px) {
  #contact-us {
    padding-top: 40%;
  }
}
#contact-us .contact-panel {
    background: white;
    width: 80%;
    margin: auto;
    padding: 50px;
    border-radius: 25px;
    position: relative;
    min-height: 625px;
}
#img-contact {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 50%;
    margin-left: 25px;
}
.contact-error {
	color: firebrick;
}

/* Dropdown */
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.dropdown-menu {
  background-color:#017439;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: none;
}

.dropdown-item {
  color:white;
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: #017439;
  color: #8ceaa5;
}

/* Empêcher Bootstrap de gérer le toggle du dropdown */
.dropdown-toggle::after {
  
}

/* solutions */
#solutions {
  padding-top: 10%;
  background: url(/images/background_forest_2_blur.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
}

@media (max-width: 991px) {
  #solutions {
    padding-top: 40%;
  }
}

#solutions h1, #solutions h2 {
  color: white;
}

#solutions .card {
  border: 0;
  border-radius: 25px;
  text-align: center;
  color: black;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

#solutions .card-header {
  background-color: white;
}

#solutions .card-img-top {
  height: 200px;
  object-fit: cover;
  max-width: 30% !important;
  width: 30%;
  margin: 0 auto;
  padding-top: 5%;
}

#solutions .card-body {
  padding: 1.5rem;
}

#solutions .name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  margin-left: 0.5rem;
}

#solutions .gap-2 {
  gap: 0.5rem;
}

#solutions ul {
  font-size: 14px;
}

#solutions .list-unstyled li {
  margin-bottom: 0.25rem;
}

#solutions .status-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#solutions .status-circle {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-block;
}

/* Couleurs par statut */
#solutions .status-dot-orange .status-circle {
  background-color: #fd7e14; /* in-development */
}

#solutions .status-dot-yellow .status-circle {
  background-color: #ffc107; /* in-production */
}

#solutions .status-dot-green .status-circle {
  background-color: #198754; /* active */
}

#solutions .status-dot-red .status-circle {
  background-color: #dc3545; /* sold-out-discontinued */
}


#privacy {
    padding-top: 20%;
    padding-bottom: 80px;
    min-height: 100vh;
}
@media (max-width: 991px) {
  #privacy {
    padding-top: 40%;
  }
}
#privacy h1 {
    color: #017439;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}
#privacy h2 {
    color: #017439;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #e8f5ee;
}
#privacy .lead {
    color: #555;
    font-size: 0.95rem;
}
#privacy p, #privacy li {
    font-size: 0.95rem;
    font-weight: 300;
    color: #333;
}
#privacy .last-updated {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 2rem;
}
#privacy .contact-box {
    background-color: #f0f9f4;
    border-left: 4px solid #017439;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
}
#privacy .contact-box a {
    color: #017439;
    font-weight: 600;
}
