:root {
    --pageBackgroundColor: #F1FFD9;
    --whiteColor: #FFFFFF;
    --DarkgreenColor: #052A0B;
    --greenColor: #0B843A;
    --lightgreenColor: #20af35;
    --textColor: #052A0B;
}
/* page transition */
.fade-up.no-animation,
.slide-in-right.no-animation {
  transition: none !important;
  opacity: 1;
  transform: none;
}

/* fade in bottom to up */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* fade in right to left */
.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  .slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
  }
  

* {
    padding: 0;
    margin: 0;
}

html {
    overflow-x: hidden;
}
@media (max-width: 700px) {
   html, body{
    overflow-x: hidden;
   }
}

body {
    background-color: var(--pageBackgroundColor);
    max-width: 100vw;
    overflow-x: hidden;
}

/* nav bar */


.navbar {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 12px 30px;
    border-radius: 40px;
    width: 60%;
    margin: auto;
    position: sticky;
    top: 30px;
    z-index: 100;
}

.logo img {
    width: 120px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--greenColor);
}

.contact-btn {
    background: linear-gradient(to right, var(--greenColor), var(--lightgreenColor));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-btn:hover {
    background: linear-gradient(to right, var(--greenColor), var(--lightgreenColor));
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger div {
    width: 30px;
    height: 3px;
    background: black;
    transition: 0.3s ease;
}

@media (max-width: 1240px) {
    .navbar {
        width: 60%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }


}

@media (max-width: 700px) {
    .navbar {
        width: 80%;

    }
}

/* nav bar  */



/* products */
.productsMainbox {
    width: 100%;
    padding: 2rem 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .toptexts {
    width: 250px;
    margin: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  @media (max-width: 900px) {
    .toptexts {
      scale: 50%;
    }
  }
  
  .toptexts img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  
  .texts {
    font-family: 'Montserrat', sans-serif;
    margin: 10px;
    text-align: center;
    font-size: larger;
  }
  
  .productsBox {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    padding: 2rem 1rem;
    box-sizing: border-box;
    justify-items: center;
  }
  
  .productsCard {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 450 / 348;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .productsCard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .productsCard:hover {
    transform: translateY(-5px);
  }
  
  @media (max-width: 900px) {
    .texts {
      font-size: small;
      margin: 10px 20px;
    }
  
    .viewAllProductBTN {
      width: 150px;
    }
  }
  
  .viewAllProductBTN {
    margin: 20px;
  }
  
  .viewAllProductBTN img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  
  .viewAllProductBTN:hover {
    cursor: pointer;
  }
  
  /* footer */
  .footerbgBox {
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("/public/footerBg.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
  }
  
  .contents {
    width: 99%;
    height: 95%;
    display: flex;
    align-items: end;
    justify-content: center;
  }
  
  .footerLogo {
    overflow: hidden;
    height: auto;
    margin-bottom: 40px;
  }
  
  .footerLogo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  
  .footeraddress {
    overflow: hidden;
    height: auto;
  }
  
  .footercontacts {
    overflow: hidden;
    height: auto;
  }
  
  .containImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  
  @media (max-width: 900px) {
    .footerLogo {
      margin-bottom: 5px;
    }
  
    .footerbgBox {
      height: 30vh;
    }
  }
  
  .footer {
    background-color: #0b7333;
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    font-family: 'Arial', sans-serif;
    position: relative;
    bottom: 0;
    width: 100%;
  }
  
  @media (max-width: 600px) {
    .footer {
      font-size: 12px;
      padding: 8px 10px;
    }
  }
  