:root {
  --primary-color: #039d6a;
  --secondary-color: #ff8f4e;
  --yellow: #ffd65d;
  --light: #ffffff;
  --dark: #0d0202;
}
body {
  font-family: "Inter", sans-serif !important;
  padding: 1.5em;
  font-size: 0.8rem !important;
  line-height: 1.3em;
  font-size: 1rem !important;
  letter-spacing: 0.5px;
}
body h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  color: var(--primary-color);
}

.navbar-brand {
  font-weight: bold;
  color: var(--primary-color);
}
.nav-link {
  font-weight: 500;
}
.hero {
  background-color: var(--light);
  padding-top: 7em;
  color: var(--primary-color);
}

.float {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: start;
  /* margin: 0.1rem; */
}

@media screen and (max-width: 900px) {
  .navbar > .container {
    display: flex;
    flex-direction: row;
  }
  #buttonToggler {
    order: 1;
  }
  #navbarBrand {
    order: 2;
    transform: translateX(-5.5rem);
  }
  #navbarNav {
    order: 3;
  }
  .footer {
    display: flex;
    align-content: center;
  }
  .img {
    width: 12rem;
  }
}

.footer {
  background-color: var(--primary-color);
  color: var(--light);
  text-decoration: none;
}
#navbarNav ul li::after {
  display: block;
  content: "";
  border-bottom: solid 3px var(--primary-color);
  transform: scaleX(0);
  transition: 250ms ease-in-out;
}
#navbarNav ul li:hover::after {
  transform: scaleX(1);
}
.iframe-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 56.25%;
}
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

footer {
  background-color: var(--light);
  padding: 20px 0;
}

.consultation-section .container {
  background-image: linear-gradient(
      to right,
      rgba(5, 30, 24, 1),
      rgba(6, 87, 63, 1),
      rgba(3, 108, 86, 1),
      rgba(3, 152, 120, 1)
    ),
    url("consultation.png");
  background-blend-mode: multiply;
}
.subscribe-section {
  background-color: var(--primary-color);
}
footer a {
  color: #000;
  text-decoration: none;
  /* font-size: 0.8rem; */
}

footer .col-md-4 a:first-child {
  color: black;
  font-size: larger;
}

.arrow-button {
  text-decoration: none;
  font-size: 2rem;
  transition-duration: 0.4s;
  background-color: var(--light);
  color: var(--primary-color);
  padding: 0.4rem;
}
.arrow-button:hover {
  background-color: var(--primary-color);
  color: var(--light);
}

.product-wrapper {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 10px;
  gap: 20px;
  justify-content: space-around;
}
.flex-product {
  position: relative;
  min-width: 300px;
  flex-shrink: 0;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  text-align: center;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 5px;
}
.img-product {
  border-radius: 0.4rem;
  width: 100%;
  height: 200px;
  display: block;
  object-fit: cover;
  margin-bottom: 1.2rem;
}
.middle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(3, 152, 120, 0.7), rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
#product #productWrapper .flex-product:hover .middle {
  opacity: 1;
}

.flex-product:hover .text {
  opacity: 1;
  transform: translateY(0);
}

.text {
  color: var(--light);
  font-size: 1rem;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.5s ease, opacity 0.5s ease;
  margin-bottom: 20px;
}
.nav-pills .nav-item .nav-link {
  border: 1px solid var(--primary-color);
  margin: 0 10px;
  color: var(--primary-color);
  border-radius: 4px;
}
.nav-pills .nav-item .active {
  background-color: var(--primary-color) !important;
  color: #f8f8f8;
}
#map {
  height: 400px;
  width: 100%;
}

.info-box {
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
