/* General Styles */
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal overflow */
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(90deg, #17ad85, #5ee4ee);
    color: #333;
  }
  
  /* Navbar Fix */
  #navbarContainer {
    width: 100%;
    /* position: fixed; Fix navbar at the top */
    top: 0;
    left: 0;
    z-index: 1000; /* Ensure navbar is above other content */

  }
  
  /* Hero Section */
  .hero {
    width: 100%;
    height: 100vh;
    background-image: url('../images/leaves-15757.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

  }
  
  .hero::before {
    
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  .hero-content-box {
    width: 90%;
      /* height:40%; */
      /* max-height:2000px; */
    max-width: 1200px;
    padding: 20px;
    /* background: rgba(255, 255, 255, 0.4); */
    border-radius: 20px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    z-index: 2;
    /* text-align: center; */
      padding:60px;
      
  }
  
  .hero-left {
    margin: 0;
  }
  
  .buy {
    font-size: 2.5rem;
    font-weight: bold;
    color: #004D40;
  }
  
  .hero-text {
    font-size: 1.4rem;
    color: #635f5f;
    margin: 10px 0;
  }
  
  .search-bar {
    /* display: flex; */
    align-items: center;
    justify-content: center;
    margin-top: 20px;  
    
  }
  
  .bar {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .search-butn {
    background: #004D40;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .hero-content-box {
      width: 95%;
      padding: 15px;
    }
  
    .buy {
      font-size: 2rem;
    }
  
    .hero-text {
      font-size: 1rem;
    }
  
    .search-bar {
      flex-direction: column;
    }
  
    .search-butn {
      margin-top: 10px;
      margin-left: 0;
    }
  }
  
  @media (max-width: 480px) {
    .buy {
      font-size: 1.5rem;
    }
  
    .hero-text {
      font-size: 0.9rem;
    }
  
    .bar {
      width: 90%;
    }
  }

/* Best Selling Section */
.best-selling {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px; /* New: Added padding */

}

.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    max-width: 1200px;
}

.h3 {
    text-align: center;
    width: 50%;
    padding: 20px;
    margin-top: 60px;
    border-radius: 1.5rem;
    box-shadow: 0.2px 1px 2px 0.1px #004D40;
    margin-bottom: 40px;
}

.best {
    font-weight: bold;
    font-size: 24px;
    margin-top: 60px;
}

.product {
    color: #bdc3c7;
    width: 200px;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    background-color: #106466;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* New: Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* New: Smooth transition */
}

.product:hover {
    transform: translateY(-10px); /* New: Lift effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* New: Stronger shadow on hover */
}

.product img {
    width: 100%;
    border-radius: 10px;
}

.product h3 {
    margin: 10px 0;
    font-size: 14px;
}

.product p {
    color: #28a745;
    font-size: 14px;
    font-weight: bold;
}

.buy-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s ease; /* New: Smooth transition */
}

.buy-btn:hover {
    background-color: #5c5c5c;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .product-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .product-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Categories Section */
.category {
    width: calc(20% - 20px);
    background-color: #106466;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* New: Smooth transition */
}

.category:hover {
    transform: translateY(-10px); /* New: Lift effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* New: Stronger shadow on hover */
}

.category img {
    width: 100%;
    border-radius: 10px;
    height: 120px;
    object-fit: cover;
}

.category h3 {
    margin: 10px 0;
    font-size: 16px;
    color: #bdc3c7;
}

.explore-btn:hover {
    background-color: #218838;
}

.plant {
    font-weight: bold;
    font-size: 24px;
}

@media (max-width: 1024px) {
    .category {
        width: calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .category {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .category {
        width: 100%;
    }
}

.cate-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 1.8rem 0 3.8rem 0;
}

.category {
    width: 18%;
    min-width: 180px;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    display: none;
}

.explore-btn {
    background-color: rgb(32 101 110);
    color: #bdc3c7;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background 0.3s ease; /* New: Smooth transition */
}

.explore-btn:hover {
    background-color: #0c0c0b;
}

.h2 {
    display: flex;
    width: 40vw;
    height: 20vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-left: 30%;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 1.5rem;
    box-shadow: 0.2px 1px 2px 0.1px #004D40;
}

/* Responsive */
@media (max-width: 1024px) {
    .category {
        width: 22%;
    }
}

@media (max-width: 768px) {
    .category {
        width: 30%;
    }
}

@media (max-width: 480px) {
    .category {
        width: 45%;
    }
}

/* About Us Section */
.about-us-slider {
    padding: 50px 0;
    text-align: center;
    max-width: 1200px;
    margin: auto;
}

.about-us-slider h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #004D40;
}

.slider {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: #106466;
    padding: 40px 20px;
}

.slide {
    display: none;
    text-align: center;
    transition: opacity 0.7s ease;
}

.slide.active {
    display: block;
}

.slide i {
    font-size: 50px;
    color: #E8F5E9;
    margin-bottom: 20px;
}

.slide h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

.slide p {
    font-size: 16px;
    line-height: 1.6;
    color: #bdc3c7;
    max-width: 600px;
    margin: 0 auto;
}

.slider-controls {
    margin-top: 20px;
}

.slider-controls button {
    background-color: #004D40;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin: 0 10px;
}

.slider-controls button:hover {
    background-color: #00332a; /* New: Darker green on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-us-slider h2 {
        font-size: 28px;
    }

    .slide i {
        font-size: 40px;
    }

    .slide h3 {
        font-size: 20px;
    }

    .slide p {
        font-size: 14px;
    }

    .slider-controls button {
        padding: 8px 16px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .about-us-slider h2 {
        font-size: 24px;
    }

    .slide i {
        font-size: 30px;
    }

    .slide h3 {
        font-size: 18px;
    }

    .slide p {
        font-size: 12px;
    }

    .slider-controls button {
        padding: 6px 12px;
        font-size: 14px;
    }
}

/* Services Section */
.services-box {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.service {
    flex: 1;
    min-width: 250px;
    max-width: 30%;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    background: #fff; /* New: White background */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* New: Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* New: Smooth transition */
}

.service:hover {
    transform: translateY(-10px); /* New: Lift effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* New: Stronger shadow on hover */
}

.service h3 {
    color: #106466;
}

/* Responsive Design */
@media (max-width: 768px) {
    .box {
        width: 80%;
    }

    .services-box {
        flex-direction: column;
        align-items: center;
    }

    .service {
        max-width: 80%;
    }
}

/* Testimonials Section */
.customer-heading {
    font-size: 30px;
    padding: 0 0 4rem 0;
    color: #004D40;
}

.testimonial-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 16px;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonial-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 auto;
    width: 300px;
    height: 250px;
    background-color: #106466;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    scroll-snap-align: start;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* New: Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* New: Smooth transition */
}

.testimonial-card:hover {
    transform: translateY(-10px); /* New: Lift effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* New: Stronger shadow on hover */
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 10px;
}

.testimonial-card p {
    font-size: 14px;
    color: #bdc3c7;
    margin-bottom: 8px;
    max-height: 60px;
    overflow: hidden;
}

.testimonial-card h4 {
    font-weight: bold;
    font-size: 16px;
    color: #bdc3c7;
}

/* Footer Section */
.footer {
    background-color: #106466;
    padding: 3rem 2rem;
}

/* Logo Section - Left Aligned */
.logo-div {
    display: flex;
    align-items: center;
}

/* Logo icon */
.logo-footer {
    width: 100px;
    color: #11e100;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Tagline - Adjusted for Center Alignment */
.tagline {
    font-size: 18px;
    font-weight: bold;
    color: #bdc3c7;
    text-align: center;
    flex: 1;
}

/* Footer Columns - Responsive Grid */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 0.5fr);
    gap: 20px;
    margin-top: 1rem;
    display: flex;
    justify-content: space-around;
}

/* Footer Column Headings */
.footer-columns h4 {
    font-size: 18px;
    font-weight: bold;
}

/* Footer Column Links */
.footer-columns ul {
    list-style: none;
    padding: 0;
}

.footer-columns ul li {
    margin: 5px 0;
}

.footer-columns ul li a {
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-columns ul li a:hover {
    color: #ffffff;
}

/* Bottom Section (Copyright + Social Media) */
.footer-bottom {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    font-size: 14px;
    padding-left: -50px;
    margin-bottom: 3rem;
}

.footer-bottom .social-icons {
    display: flex;
    gap: 27px;
    margin-left: 250px;
}

.footer-bottom .social-icons a {
    font-size: 16px;
    transition: color 0.3s ease-in-out;
}

.footer-bottom .social-icons a:hover {
    color: #004D40;
}

/* Mobile Responsive Styling */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 1rem;
    }

    .logo-div {
        flex-direction: column;
        text-align: center;
    }

    .logo-footer {
        width: 60px;
    }

    .tagline {
        font-size: 16px;
        text-align: center;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }

    .footer-columns h4 {
        font-size: 16px;
    }

    .footer-columns ul li a {
        font-size: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-bottom .social-icons {
        justify-content: center;
    }
}