/* Base Styles */
body {
    font-family: "Inter", sans-serif;
    color: #111;
    margin: 0;
    background-color: #fff;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Typography Utility */
.text-center {
    text-align: center;
}

/* Common Button Style */
.btn {
    background: #0fa30f; /* Green */
    color: #fff;
    border: none;
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn:hover {
    background: #0c7e0c; /* Darker Green */
}

/* Section Headings */
h5 {
    
    color:#000;
    font-size: 1rem;
    font-weight: 600;
    /* text-transform: uppercase; */
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: 700;
}

/*
HEADER & BACKGROUND
*/
.bg-section {
    background-image: url('../images/Background.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    /* Adjusted padding-bottom to contain the brand logos */
    padding-bottom: 5rem; 
    /* margin-top: 4rem; */
    background-size: 100% 70%;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 4rem;
}

.logo {
    color: #0fa30f; /* Green */
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a.active,
.nav-links a:hover {
    color: #0fa30f; /* Green */
}

.menu-icon {
    display: none; /* Hidden on desktop */
}

.ellipse {
    position: absolute;
    margin-top: 16px;
    right: 562px;
    
    
}


    /* HERO SECTION */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 0;
    
}

.hero-text {
    flex: 1 1 45%;
    max-width: 50%;
    margin-bottom: 10rem;
   margin-right: 6rem;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    margin: 1rem 0;
    line-height: 1.2;
    

}

.hero-text p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Hero Image and Elements */
.hero-img {
    flex: 1 1 45%;
    position: relative;
    max-width: 50%;
    margin-top: 4rem;
}

.hero-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.rating {
    position: absolute;
    top: 30%;
    left: -20%;
    background: #ffffff;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rating i {
    color: rgb(0, 255, 21);
}

.quality {
    position: absolute;
    top: 20%;
    right: -10%;
}

/* Corrected Polkadot positioning */
.polkadot {
    position: absolute;
    bottom: 0; 
    right: -10%;
    width: 160px; 
    height: auto;
    z-index: 1;
}

/* Brand Logos (Now inside .bg-section) */
.brands {
    text-align: center;
    margin: 3rem auto 0 auto; 
    padding: 0 0 2rem 0; 
}

.brands img {
    max-width: 100%;
    height: auto;
    opacity: 0.9;
    margin-top: 1rem;
    margin-right: 5rem;
    /* margin-bottom: 15rem; */
    
}

/* 
    SERVICES SECTION
 */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    text-align: left;
    
    
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.service-item img {
    width: 40px; 
    height: 40px;
    object-fit: contain;
}

.service-item h3 {
    color: #111;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.service-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* 
    BENEFITS SECTION
 */
.benefits {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 3rem 0;
   
    
}

.benefit-img, .benefit-text {
    flex: 1 1 45%;
}

.benefit-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 1rem;

}

.benefit-text h2 {
    font-size: 2.5rem;
    margin: 1rem 0;
    line-height: 1.2;
}

.benefit-text ul {
    list-style: none;
    padding: 0;
}

.benefit-text li {
    margin-bottom: 0.7rem;
    font-size: 1rem;
    color: #333;
}

.benefit-text li i {
    color: #09cc09; /* Green */
    /* font-weight: bold; */
    margin-right: 8px;
}

/*
    STATS & VEGGIE DRINK
 */
.stats-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 3rem 0;
}

.stats-text {
    flex: 1 1 45%;
}

.stats-text h2 {
    font-size: 2.5rem;
    margin: 1rem 0 2rem 0;
}

.stats-counter {
    display: flex;
    gap: 2rem;
}

.counter-item h3 {
    color: #0fa30f; /* Green */
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
}

.counter-item p {
    color: #555;
    font-size: 1rem;
    margin: 0;
}

.veggie-img {
    flex: 1 1 45%;
}

.veggie-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}
 /* Features/ varities of Food  */

 .variety-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 10px 50px 10px;
  text-align: center;
}

/* Titles */
.section-feature {
  color: #888;
  margin-bottom: 5px;
}

.main-title {
  font-size: 2.5em;
  margin-bottom: 40px;
}

/*  (Desktop/4 Columns) --- */
.parent-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 0;
}

/* General box styling */
.box {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  justify-content: center;
  /* min-height: 25vw; */
  border: 2px solid green;
}

/* Image box styling */
.image-box {
  padding: 0;
}

.food-img {
  width: 100%;
  height: 100%;
  /* width: 292px;
  height: 292px; */

  object-fit: cover;
  /* object-fit: fill; */
  /* object-fit:none; */
  display: block;
}

/* Content box styling */
.content-box {
  text-align: left;
  background-color: #f3fcf7;
}

.content-box h3 {
  margin-bottom: 10px;
  font-size: 1.5em;
}

.content-box p {
  margin-bottom: 20px;
  color: #555;
}

.discover-link {
  color: #4caf50;
  background: #e6f9f0;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: color 0.2s;
  /* border: 1px solid rgba(235, 222, 222, 0.918); */
  display: inline-block;
}

.discover-link:hover {
  color: #2e8b57;
}



/*  POPULAR PRODUCTS */
.products-section {
    padding: 3rem 0;
    /* text-align: center; */
}

.products-grid {
    display: flex;
    justify-content: space-around;
    gap: 1.5rem;
    flex-wrap: wrap; 
}

.product-item {
    flex: 1 1 200px; 
    max-width: 250px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1.5rem;
    transition: box-shadow 0.3s;
}

.product-item:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.product-img-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-item h4 {
    font-size: 1.2rem;
    margin: 0.5rem 0 0.2rem 0;
}

.product-item p {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-item .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.banana-border {
    border: 2ps solid green;
}





/* Individual product background colors for the circle image wrapper */
.product-item:nth-child(1) .product-img-wrapper { background-color: #e6ffe6; } 
.product-item:nth-child(2) .product-img-wrapper { background-color: #ffefe6; } 
.product-item:nth-child(3) .product-img-wrapper { background-color: #ffe6f2; } 
.product-item:nth-child(4) .product-img-wrapper { background-color: #ffffcc; } 


/* =====================
    CTA SECTION
===================== */
.cta-section {
    background-image: url('../images/vegan.png'); 
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    margin-bottom: 3rem;
    border-radius: 10px;
    text-align: center;
}

.cta-content {
    color: #fff;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.cta-content .btn {
    background: #0fa30f;
    color: #fff; /* White text on green background */
    font-weight: 600;
}

.cta-content .btn:hover {
    background: #eee;
}


    /* FOOTER */

.footer {
    padding: 2rem 0;
    border-top: 1px solid #eee;
    color: #555;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr) 2fr;
    gap: 2rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    color: #111;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-col p, .footer-col li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #0fa30f; /* Green */
}

.social-icons a {
    color: #555;
    font-size: 1.2rem;
    margin-right: 1rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #0fa30f; /* Green */
}

/* Newsletter */
.newsletter-form {
    display: flex;
    margin-top: 1rem;
    
}

.newsletter-form input[type="email"] {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    flex-grow: 1;
    font-size: 0.9rem;
    margin-right: 1rem;
}

.newsletter-form button {
    padding: 0.8rem 1rem;
    background: #0fa30f; /* Green */
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background: #0c7e0c;
}

.copyright {
    text-align: center;
    padding: 1rem 0 0 0;
    margin-top: 2rem;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
}


/* =====================
    RESPONSIVE DESIGN (Adjustments for Tablet & Mobile)
===================== */
@media (max-width: 992px) {
    /* Navbar & Header */
    .nav-links {
        display: none; 
    }

    .menu-icon {
        display: block; 
        font-size: 1.5rem;
        color: #09cc09;
    }

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

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

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-img {
        max-width: 80%;
        margin: auto;
    }

    .rating, .quality {
        position: static;
        margin-top: 1rem;
        display: inline-block; 
    }

    .polkadot {
        /* Keep it positioned absolutely within hero-img, but adjust for small screens */
        position: absolute;
        bottom: 0;
        right: 0;
        width: 80px;
        display: block; 
        z-index: 100px;
    }

    /* Sections with two columns */
    .benefits, .stats-section {
        flex-direction: column;
        text-align: center;
    }

    .stats-text {
        order: 2; 
    }

    .veggie-img {
        order: 1; 
    }
    
    .stats-counter {
        justify-content: center;
    }

    /* Variety Grid */
    /* .variety-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    } */

    .parent-grid {
    /* On tablets  show 2 columns */
    grid-template-columns: repeat(2, 1fr);
  }

  .box {
    min-height: 40vw;
  }

  .main-title {
    font-size: 2em;
  }
    
    
    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 576px) {
    /* Mobile-specific adjustments */
    .hero-text h1 {
        font-size: 2rem;
        /* justify-items: center;
        margin: 0 auto; */

       
    }
    
    .hero-img {
        max-width: 100%;
    }

    
    .polkadot {
    position: absolute;
    bottom: 0; 
    right: -10%;
    z-index: -1; 
    width: 180px; 
    /* height: auto; */
    z-index: 1;
}

    .services {
        grid-template-columns: 1fr; 
        text-align: center;
    }
    
    .service-item {
        justify-content: center;
    }

    .benefits, .stats-section {
        gap: 1.5rem;
    }

    .benefit-text h2, .stats-text h2 {
        font-size: 2rem;
    }

    /* Variety Grid */
    /* .variety-grid {
        grid-template-columns: 1fr; 
    } */

     .parent-grid {
   
    grid-template-columns: 1fr;
  }

  .box {
    
    min-height: 300px;
  }

  .content-box {
    
    padding: 20px;
  }

  .main-title {
    font-size: 1.5em;
  }

    /* Popular Products */
    .products-grid {
        justify-content: center;
    }

    .product-item {
        max-width: 100%; 
    }

    /* Footer */
    .footer-col {
       justify-content: center;
       justify-items: center;

    }
    .footer-grid {
        grid-template-columns: 1fr; 
        
    }
}