.row {
  --bs-gutter-x: 0px;
}

body {
  font-family: "arboria", sans-serif;
}

p {
  font-size: 24px;;
}

a {
  cursor: pointer!important;
}

.navbar {
  z-index:1000;
  border-bottom: none!important;
  padding-top:35px;
  padding-left:20px;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  background-image: url(../images/menu.png) ;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-collapse {
  /* padding: 45px; */
  width: 100%;
  max-width: 350px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.25);
  padding: 20px 0px;
}

.nav-link {
  color: #606a40;
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 20px 20px 20px 45px;
}

.navbar-nav .nav-link.active {
  color: #606a40;
  font-weight: 700;
}

.nav-link:hover {
  background-color: #f9e5bd;
}

@media (max-width: 575.98px) {
  .navbar {
    padding-top:15px;
    padding-left:0px;
  }

  .nav-link {
    padding-left: 25px;
  }
}



/* LOGO------------------------------ */

#logo {
  background-image: url(../images/backgrounds/logo.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative; /* Ensures it can overlap elements below */
  z-index: 2;
  margin-top: -95px;
}

#logo img {
  padding: 25px;
  width: 100%;
  max-width: 380px;
}

@media (max-width: 767.98px) {
  #logo {
    background-image: none; 
    background-color: white;
    border-bottom: 7px solid #5e6a3a;
  }
}

@media (max-width: 575.98px) {
  #logo {
    margin-top: -75px;
  }
  #logo img {
    width: 100%;
    max-width: 250px;
    padding-bottom: 20px;
  }
}

/* CATEGORIES------------------------ */

#categories {
  height: 600px;
  margin-top:-125px;
  z-index: 0;
}

@media (min-width: 768px) and (max-width: 1068px) {
  #categories {
    height: 500px;
  }
}

#categories a {
  text-decoration: none;
}

#categories img {
  padding-bottom:20px;
  width: 100%;
  max-width: 500px;
  z-index: 5;
}

#categories h2 {
  padding-bottom:20px;
  color: white;
  text-transform: uppercase;
  text-shadow: 0px 0px 4px rgba(0, 0, 0, 1);
  font-weight: 700;
  letter-spacing: 2px;
}

#products {
  background-color: #5e6a3a;
}

#products h2 {
  color: white;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  margin: 10px;
  padding: 15px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  text-shadow: 0px 0px 4px rgba(0, 0, 0, 1);
}

#products a {
  /* padding: 0px 0px; */
  text-decoration: none;
}

#bamboo-tissue h2 {
  background-image: url(../images/backgrounds/bamboo.jpg);
}

#bagasse-disposable h2 {
  background-image: url(../images/backgrounds/bagasse.jpg);
}

#conventional-tissue  h2 {
  background-image: url(../images/backgrounds/tree.jpg);
}

#conventional-tissue h2:hover {
  background-image: none;
  background-color: #FFE08A;
}

#bagasse-disposable h2:hover {
  background-image: none;
  background-color: #9fd8d6;
}

#bamboo-tissue h2:hover {
  background-image: none;
  background-color: #f1c35d;
}


@media (min-width: 576px) and (max-width: 868px) {
  #categories h2 {
    font-size:1.2em;
  }
  #products h2 {
    font-size:1em;
  }
}

/* @media (max-width: 868px) {
  #products h2 {
    font: 20px;
  }
} */

#bamboo, #bagasse, #tree {
  position: relative;
  background-size: cover;
  background-position: center;
}

#bamboo {
  background-image: url(../images/backgrounds/bamboo.jpg);
}

#bagasse {
  background-image: url(../images/backgrounds/bagasse.jpg);
  border-right: 7px solid #5e6a3a;
  border-left: 7px solid #5e6a3a;
}

#tree {
  background-image: url(../images/backgrounds/tree.jpg);
}

#bamboo::before, #bagasse::before, #tree::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0); /* Initial gradient */
  transition: background 0.4s ease; /* Smooth fading */
  z-index: 1; /* Ensure it stays below the content */
}

#bamboo:hover::before, #bagasse:hover::before, #tree:hover::before {
  background: rgba(255, 255, 255, 0.5); /* Initial gradient */
}

#bamboo > div, #bagasse > div, #tree > div {
  position: relative;
  z-index: 2; /* Ensure content appears above the gradient */
}


@media (max-width: 767.98px) {
  #categories {
    height: auto;
    margin-top:0px;
  }
  #categories img {
    padding-top:20px;
  }
  
  #categories h2 {
    padding-bottom:10px;
  }
}

@media (max-width: 575.98px) {
  #bagasse, #bagasse-disposable {
    border-left: none;
    border-right: none;
    border-top: 7px solid #5e6a3a;
    border-bottom: 7px solid #5e6a3a;
  }
  #tree {
    border-bottom: 7px solid #5e6a3a;
  }
}


/* LEADER------------------------ */

#leader {
  background-color: #5e6a3a;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.25;
  letter-spacing: 2px;
  padding-top: 10px;
}

#leader p {
  font-size: 35px;
  font-weight: 300;
}


#leader .fst-italic {
  font-weight: 400;
}

/* WHO WHY DESCRIPTION------------------------ */

#who, #why, #bring {
  background-size: cover;
  background-repeat: no-repeat;
}

#who {
  background-image: url(../images/backgrounds/who.png);
}

#why {
  background-image: url(../images/backgrounds/why.png);
}

#bring {
  background-image: url(../images/backgrounds/bring.jpg);
  border-bottom: 7px solid #5e6a3a;
  /* border-top: 7px solid #5e6a3a; */
}

#description {
  max-width: 80%;
  margin: auto;
  padding: 40px 20px;
}

h3 {
  text-transform: uppercase;
  font-size: 75px;
  font-weight: 300;
  letter-spacing: 10px;
  padding: 70px 0px 50px 0px;
  background-image: url(../images/backgrounds/white.png);
  background-repeat: no-repeat;
  background-position: 50% 62%;
  background-size: 90%;
}



.highlight-word {
  color: #535f33;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.image-above {
  position: absolute;
  top: -30px;
  bottom: 100%; /* Positions the image above the word */
  left: 53%; /* Centers the image horizontally relative to the word */
  transform: translateX(-50%); /* Adjusts for the image's width to center it properly */
  width: 28px; /* Adjust the size of the image */
  height: auto; /* Maintains aspect ratio */
}

#bring h3 {
  background-image: none;
  padding-bottom: 35px;
  margin: auto;
  max-width: 800px;
}

#bring .image-above {
  left: 19%; 
}

#shop-button {
  width: 100%;
  max-width: 300px;
  padding-bottom: 50px;
}

#shop-button:hover{
  opacity: .9;
  transition-duration: .2s;
  transform: scale(0.98);
}


@media (max-width: 719px) {
  h3 {
    font-size: 40px;
    background-size: 100%;}

  .image-above {
    width: 18px; /* Adjust the size of the image */
    height: auto; /* Maintains aspect ratio */
    top: -20px;
  }

  #shop-button {
    max-width: 250px;
  }

  #description {
    max-width: 100%;
  }
}

@media (max-width: 530px) {
  h3 {
    background-image: none;
  }
}


/* INFO SECTION------------------------ */

.info-section {
  background-image: url(../images/backgrounds/leaves.png);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: auto 95%;
}

@media (max-width: 575.98px) {
  .info-section {
    background-image: none;
  }
}

.info-container {
  max-width: 1280px;
  padding: 80px 20px;
  margin: auto;
}

.info-section img {
  width: 100%;
  max-width: 100px;
}

.info-text {
  max-width: 100%;
}

.info-text h5, .info-text p {
  max-width: 500px;
  line-height: 1.25;
  letter-spacing: 1px;
}

.info-text h5 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #5e6a3a;
}
.info-text p {
  margin: 0;
}

/* CERTIFICATIONS------------------------ */

#certifications {
  padding: 60px 20px;
}

#certifications img {
  width: 100%;
  max-width: 170px;
}

/* FOOTER------------------------------------------------------ */

footer {
  background-color: #606a40;
  color: white;
  /* height: 150px; */
}

.social-icon {
  max-width: 60px;
}

footer a {
  color: white;
}
footer p {
  margin: 0px;
  font-size: 18px;
}

footer a:hover {
  text-decoration: none;
  transition-duration: .2s;
}

footer img {
  max-height: 100px;
  padding: 10px;
}

body > footer > div > div:nth-child(3) > img:nth-child(1) {
  padding-left: 25px;
}

@media screen and (max-width: 768px) {
  body > footer > div > div:nth-child(3) > img:nth-child(1) {
      padding-left: 0px;
  }
}