@font-face {
  font-family: "Bainsley";
  src: url("../fonts/Bainsley_Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Bainsley";
  src: url("../fonts/Bainsley_Bold_Italic.woff2") format("woff2");
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: "Bainsley";
  src: url("../fonts/Bainsley_Italic.woff2") format("woff2");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Bainsley";
  src: url("../fonts/Bainsley_Roman.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  border: 0;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Bainsley", sans-serif;
}

body {
  background-color: #1b203e;
}

header {
  position: relative; /* 👈 needed for absolute children */
  height: 12vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  overflow: hidden; /* 👈 prevent children from overflowing */
}

header .logo {
  width: auto;
  height: 6vh;
  margin-top: 3.5vh;
}

header .blue-plant-left {
  position: absolute;
  top: -10vh;
  left: 0;
  transform: translateX(-35vw); /* 👈 replaces left: -35vw */
  height: 19vh;
  width: auto;
}

header .blue-plant-right {
  position: absolute;
  top: -10vh;
  right: 0;
  transform: translateX(32.5vw) scaleX(-1);
  height: 19vh;
  width: auto;
}

.main-content {
  position: relative;
  background-color: white;
  height: 25vh;
  width: 100%;
  /* overflow: hidden; */
  overflow-x: clip;
}

.main-content .text-container {
  display: flex;
  flex-direction: column;
  padding-left: 38vw;
  padding-right: 6vw;
  padding-top: 4.25vh;
  gap: 0.5rem;
}

.main-content .text-container h2 {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  font-weight: bold;
  line-height: 1.2;
  color: #000000;
  margin: 0;
}

.main-content .text-container h3 {
  font-size: clamp(1rem, 1.5vw, 2rem);
  font-weight: bold;
  line-height: 1.2;
  color: #000000;
  margin: 0;
}

.main-content .jellyfish {
  position: absolute;
  top: -4vh;
  right: 0;
  transform: translateX(6vw); /* 👈 replaces right: -6vw */
  height: 15vh;
  width: auto;
}

.main-content .big-bush {
  position: absolute;
  bottom: -3vh;
  left: 0;
  transform: translateX(-12vw); /* 👈 replaces left: -12vw */
  height: 29.5vh;
  width: auto;
}

.main-content .long-bush {
  position: absolute;
  bottom: -2.5vh;
  left: 5vw;
  height: 10vh;
  width: auto;
}

.main-content .long-bush.flipX {
  right: 0;
  transform: translateX(47vw) scaleX(-1); /* 👈 replaces right: -47vw + flip */
  left: auto; /* keep left unset */
}

.slogan-container {
  height: auto;
  text-align: center;
  padding-top: 5vh;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 20px;
}

.slogan-content {
  display: flex;
  flex-direction: row;
  margin: auto;
  width: fit-content;
  gap: 1rem;
}

.slogan-content .icon {
  width: 10vw;
  height: auto;
}

.icon-with-text {
  display: flex;
  flex-direction: row;
  text-align: center;
  align-items: center;
  gap: 1rem;
}

.icon-with-text h3 {
  font-size: 15px !important;
  color: white !important;
}

.slogan-container h3 {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  font-weight: bold;
  line-height: 1.2;
  color: #0ea1c3;
  margin: 0;
}

.properties-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  align-items: center;
  width: fit-content;
  margin: auto;
  padding-bottom: 50px;
}

.properties-content .property {
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
  align-items: center;
}

.properties-content .property h4 {
  color: white;
  height: fit-content;
  margin: auto;
  position: absolute;
  bottom: -10px;
}

.properties-content .icon {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: auto;
}

.products-container {
  display: flex;
  flex-direction: column;
  margin: auto;
  text-align: center;
  align-items: center;
  padding-bottom: 5vh;
  gap: 2rem;
}

.products-container h3 {
  font-size: clamp(2.5rem, 2.5vw, 3rem);
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
  margin: 0;
}

.products-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.product-card {
  height: 620px;
  width: 80vw;
  background-color: #d9d9d9;
  border-radius: 20px;
}

.product-card img {
  margin-top: 20px;
  width: 80%;
  height: auto;
}

.product-card h3 {
  font-size: clamp(1rem, 1.5vw, 2rem);
  font-weight: light;
  line-height: 1.2;
  color: #000000;
  margin: 20px;
}

.product-card .horizontal-options {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  text-align: center;
  align-items: center;
  margin: auto;
  width: fit-content;
}

.horizontal-options button {
  height: 65px;
  width: 150px;
  background-color: #1b203e;
  color: white;
  border-radius: 20px;
  border-color: #1b203e;
  border-style: hidden;
}

/* Floating Button */
.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #d9d9d9;
  color: white;
  border: none;
  border-radius: 50%;
  /* padding: 15px; */
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
  z-index: 1000;
  text-decoration: none;
}

.floating-btn:hover {
  background-color: #1b203e;
  transform: scale(1.1);
}

.floating-btn img {
  width: 75%;
  height: auto;
}

/* HELPERS */
.flipX {
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

@media (min-width: 801px) {
  header .blue-plant-left {
    top: -8vh;
    left: 0;
    transform: translateX(-6vw);
  }

  header .blue-plant-right {
    top: -8vh;
    right: 0;
    transform: translateX(6vw) scaleX(-1);
  }

  .main-content .big-bush {
    bottom: -30px;
    transform: translateX(-3vw);
  }

  .main-content .long-bush {
    bottom: -25px;
    left: 10px;
  }

  .main-content .text-container {
    padding-left: 0;
    padding-right: 0;
    align-items: center;
    padding-top: 6.25vh;
    gap: 2rem;
  }

  .main-content .jellyfish {
    transform: translateX(1.25vw);
    height: 25vh;
    top: -7vh;
  }

  .slogan-content .icon {
    width: 4vw;
  }

  .icon-with-text h3 {
    font-size: 22px !important;
  }

  .properties-content {
    grid-template-columns: 150px 150px 150px 150px 150px 150px;
    align-items: center;
    width: fit-content;
    margin: auto;
  }

  .products-content {
    display: grid;
    grid-template-columns: 25vw 25vw;
    gap: 2rem;
  }

  .product-card {
    height: 660px;
    width: 25vw;
  }

  .product-card img {
    width: 200px;
  }
}
