/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #fff;
    z-index: 999;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
  }
  
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Container for logo image and text */
  .logoo {
    display: flex; /* Make sure the image and text are aligned side by side */
    align-items: center; /* Vertically align image and text */
  }
  
  /* Logo image styling */
  .logoo img {
    height: 2rem; /* Set image height */
    margin-right: 20px; /* Ensure there's exactly 20px space between image and text */
  }
  
  /* Logo text styling */
  .logoo .logo-text {
    font-weight: 600;
    font-size: 2rem; /* Adjust font size to match image height */
    color: #55C597;
    text-decoration: none;
    display: flex;
    align-items: center;
  }
  
  /* Logo span styling */
  .logoo .logo-text span {
    color: #C06B3E;
  }
  

/* Logo image styling */
.navbar img {
  height: 2rem; /* Ensures both logo and image are of equal height */
  margin-right: 20px; /* Adds 20px gap between image and logo text */
}

/* Logo text styling */
.navbar .logo {
  font-weight: 600;
  font-size: 2rem; /* Adjust to match image size */
  color: #55C597;
  text-decoration: none;
  display: flex;
  align-items: center;
}

/* Logo span styling */
.navbar .logo span {
  color: #16855d;
}

/* Menu links styling */
.navbar .menu-links {
  display: flex;
  list-style: none;
  gap: 35px;
}

/* Link styling */
.navbar a {
  color: #000;
  text-decoration: none;
  transition: 0.2s ease;
}

.navbar a:hover {
  color: #16855d;
}

/* Body text styles */
.hero-section .content p {
  color: #000; /* Ensure body text is black */
  padding-top: 20px;
}


.hero-section {
  height: 88vh;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  padding: 0px;
  padding-left: 10%;
}

.hero-section .content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  color: #000;
}

.hero-section .content h2 {
  font-size: 3rem;
  max-width: 600px;
  line-height: 70px;
}


/* Anchor tag styled as a button */
.order-now {
  background: #55C597;
  padding: 12px 30px;
  border: none;
  font-size: 1rem;
  border-radius: 6px;
  margin-top: 38px;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none; 
  color: #fff; 
  display: inline-block;
  transition: 0.2s ease;
}

.order-now:hover {
  color: #fff;
  background: #16855d;
}


.hero-section .content button:hover {
  color: #fff;
  background: #C06B3E;
}


/* Container for the images on the right */
.images-container {
    position: relative;
    max-width: 40%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  .product-img {
    max-width: 110%;
    height: 110%;
    position: relative;
    z-index: 2;
  }
  
  .vector-img {
    position: absolute;
    right: 0;
    bottom: -20px;
    max-width: 120%;
    z-index: 1;
    opacity: 0.8; /* Slight transparency to show the overlay effect */
  }
  

#close-menu-btn {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
  display: none;
}

#hamburger-btn {
  color: #fff;
  cursor: pointer;
  display: none;
}

@media (max-width: 768px) {
  header {
      padding: 10px;
  }

  header.show-mobile-menu::before {
      content: "";
      position: fixed;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      backdrop-filter: blur(5px);
  }

  #hamburger-btn, #close-menu-btn {
      display: block;
      color: #000;
      order: -1;
  }

  .navbar .menu-links {
      position: fixed;
      top: 0;
      left: -250px; /* Hide off-screen initially */
      width: 250px;
      height: 100vh;
      background: #fff;
      flex-direction: column;
      padding: 70px 40px 0;
      transition: left 0.2s ease;
  }

  header.show-mobile-menu .navbar .menu-links {
      left: 0; /* Slide into view */
      color: #000;
  }

  .navbar a {
      color: #000;
  }

  .navbar img {
    height: 2.5rem; /* Adjust image size for smaller screens */
  }

  .navbar .logo {
    font-size: 1.5rem; /* Adjust logo text size for smaller screens */
  }

  .search-and-products .Products-preview .Products .product-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .product-cards .card {
    width: 100%; 
    height: auto; 
  }

    .logoo {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      align-items: center;
  }

  .images-container{
    display: none;
  }
}


@media (max-width: 1200px) {
    .card-list .card-item {
        padding: 15px;
    }
   
}
@media screen and (max-width: 980px) {
    .card-list {
        margin: 0 auto;
    }
}
  
  /* Overall Products */
  .Products-preview {
    padding: 50px 10%;
    background-color: #F5F5F5;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}
  
  .search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    width: 50%;
    width: 100%; /* Full width for better centering */
    max-width: 800px; /* Optional: limit width of search section */
  }
  
  .search-bar {
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #ccc;
    width: 60%; /* Adjust the width of the search bar */
    flex: 1;
  }
  
  .search-button {
    padding: 10px 20px;
    margin-left: 10px;
    background-color: #55C597;
    border: none;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
  }
  
  .search-button:hover {
    background-color: #C06B3E;
    transition: background-color 0.3s ease;
  }
  
  /* Products layout */
.Products{
  text-align: left;
}

.Products h2 {
  font-size: 4vh;
  margin-bottom: 30px;
  color:#000000;
  border-radius: 10px;
  font-weight: bold;
  width: 40%;
  margin-top: 20px;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 30px;
  overflow: visible;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.product-cards .card {
  background: #F5F5F5;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 300px;
  height: 400px;
  text-align: left;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  margin-top: 1rem;
}

.card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  z-index: 999;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.05); /* Scale up the card slightly */
  box-shadow: 0 4px 20px rgba(44, 140, 100, 0.815); /* Green box shadow */
}

.card:nth-child(n+4)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(to top, #16855d, rgba(85, 197, 151, 0)); 
  z-index: 1;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: none;
}

.card-text {
  position: absolute;
  bottom: 10px; 
  left: 50%;
  transform: translateX(-50%); 
  color: #d6f5e4; 
  font-size: 30px;
  font-weight: 900; 
  z-index: 2; 
  text-align: center; 
}

.card-text-left {
  position: absolute;
  top: 120px; 
  left: 10px;
  color: #07271e;
  font-size: 20px; 
  z-index: 2; 
}

.card-text-left b{
  font-size: 30px;
}

.card-text-left p{
  font-size: 110px;
  font-weight: 800;
  color: #b0eacc;
  line-height: 80%;
}

/* Blob effect */
.blob {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 125%;
    height: 125%;
    background: radial-gradient(circle, rgb(70, 199, 145), rgba(255, 255, 255));
    filter: blur(80px);
    animation: blobAnimation 10s infinite alternate;
    z-index: -1;
  }

@keyframes blobAnimation {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-20%, -20%);
  }
  100% {
    transform: translate(20%, 20%);
  }
}
  
  
  .cart-container {
    display: flex;
    align-items: center;
    margin-left: 15px;
  }
  
  .icon-cart {
    position: relative;
    cursor: pointer;
  }
  
  .icon-cart svg {
    width: 24px;
    height: 24px;
  }

  #cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
  }

 /* Footer */
.site-footer {
  background-color: #7cd9b0;
  padding: 45px 100px 20px;
  font-size: 15px;
  line-height: 24px;
  color: #11543e;
}

.site-footer h6 {
  color: #11543e;
  font-size: 16px;
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 2px;
}

.site-footer a {
  color: #11543e;
}

.site-footer a:hover {
  color: #eefbf4;
  text-decoration: none;
}

/* Footer Links */
.footer-links {
  padding-left: 0;
  list-style: none;
}

.footer-links li {
  display: block;
  text-align: left;
}

.footer-links a {
  color:  #11543e;
  text-decoration: none;
}

.footer-links a:hover {
  color: #eefbf4;
}

/* Social Icons */
.social-icons {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  padding: 0;
}

.social-icons li {
  margin: 0 10px;
}

.social-icons li a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #eefbf4;
  font-size: 36px;
  width: 50px; 
  height: 50px; 
  border-radius: 50%; 
  background-color: #11543e;
}

.social-icons li a:hover {
  background-color: #eefbf4; /* Green on hover */
  color: #11543e;
  transition: background-color 0.5s ease;
}


/* Footer Layout */
.footer-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 20px;
}

.footer-flex > div {
  flex: 1;
  margin: 10px;
}

.footer-logo{
  width: 25%;
  height: 50%;
}

/* Footer About Section Styling */
.About {
  text-align: left;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Align logos horizontally */
  gap: 20px; /* Add space between the two logos */
}

.footer-logo-container a img {
  width: 100px; /* Adjust size of the logos */
  height: auto;
}

.footer-logo-container a {
  text-decoration: none;
  font-size: 1rem;
  color: #fff;
}

@media (max-width: 768px) {
  .footer-flex {
    flex-direction: column;
    text-align: center;
  }
  .social-icons {
    text-align: center;
  }
  .About{
    display: none;
  }
}

/* Additional styling for spacing and copyright text */
.copyright-text {
  margin-top: 15px;
  color:  #11543e;
}

.site-footer hr {
  border-top-color:  #11543e;
  border-bottom-color:  #11543e;
  opacity: 0.5;
}

/* About Us Section Styling */
.about-us {
  padding: 50px 10%;
  background-color: #b0eacc;
  display: flex;
  justify-content: center; 
  align-items: center; 
  height: auto; 
  text-align: center; 
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center; 
  flex-direction: column; 
  max-width: 800px;
}

.logo-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #eefbf4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo-circle img {
  width: 80%;
  height: auto;
  border-radius: 50%;
}

.about-text {
  max-width: 600px;
  color: #000;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #16855d;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #07271e;
}

.active{
  color: #16855d !important;
  font-weight: 400;
}

@media (min-width: 425px) and (max-width: 765px) {
  header {
    padding: 10px;
    padding-top: 20px;
    height: 4rem;
  }

  .navbar img {
    height: none;
  }

  .navbar .logo {
    font-size: 1.2rem; 
    margin-right: -1px;
  }

  .hero-section .content h2{
    font-size: 2rem;
    line-height: 2rem;
  }

  .hero-section .content p{
    font-size: 0.7rem;
    width: 60%;
  }

  .about-text h2{
    font-size: 1.5rem;
  }

  .about-text p{
    font-size: 0.7rem;
  }

  .Products-preview .Products .product-cards {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .product-cards .card {
    width: 100%; 
    height: 80%; 
  }

  .site-footer{
    padding: 45px 30px 20px;
  }

  .site-footer .About{
    display: none;
  }
}

@media (min-width: 320px) and (max-width: 424px) {
  header {
    padding: 10px;
    padding-top: 20px;
    height: 4rem;
  }

  .navbar img {
    height: none;
  }

  .navbar .logo {
    font-size: 1.2rem; 
    margin-right: -1px;
  }

  .hero-section .content h2{
    font-size: 2rem;
    line-height: 2rem;
  }

  .hero-section .content p{
    font-size: 0.7rem;
    width: 60%;
  }

  .about-text h2{
    font-size: 1.5rem;
  }

  .about-text p{
    font-size: 0.7rem;
  }

  .Products-preview .Products .product-cards {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .product-cards .card {
    width: 100%; 
    height: 80%; 
  }

  .site-footer{
    padding: 45px 30px 20px;
  }

  .site-footer .About{
    display: none;
  }
}