* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
   
}
/* Header */
header {
    background: #2e7d32;
    color: white;
    padding: 8px 0;
   
}

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100%; 
}

.logo {
    display: flex;
    flex-direction: row; 
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
}


.first {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 50%, rgba(255, 0, 0, 0) 50%), linear-gradient(rgb(0, 0, 0) 50%, rgb(0, 0, 0) 50%, rgb(255, 0, 0) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 50px;
    padding-right: 10px;
    margin: 0;
   
}
.second {
 color: black;
 /*font-size: 15px;*/
 font-weight: 500;
 font-size: 25px;
 
}

    
.third{
    color: red;
    margin-bottom: 20%;
    margin-left: 1%;
    font-size: 9px;
    
}

.main2{
   display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}
.hero-banner {
    position: relative;
    background-color: #a5d6a7;
    color: #1b5e20;
    text-align: center;
    padding: 80px 20px;
    min-height: 400px;
    overflow: hidden;
}

#mobileNav {
    display: none;
}


#vermicompost-guide-cta {
    display: none;
}
  
@media (max-width: 650px) {
    #mobileNav {
      display: flex;
      justify-content: space-around;
      position: fixed;
      bottom: 0;
      width: 100%;
      background: white;
      padding: 10px 0;
      box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
      z-index: 1000;
    }
    #mobileNav a {
        text-decoration: none;
        color: #1e5128;
        font-weight: 600;
        font-size: 0.9rem;
      }
    nav, .menu-toggle {
      display: none !important;
    }
    /* === bottom vermicompost guide for mobile only === */
    #vermicompost-guide-cta {
        display: flex;
        flex-direction: column;
        text-align: center;
        background-color: #f0f9f1;
        padding: 20px 10px;
        margin-top: 10px;
        border-top: 1px solid #2e7d32;
      }
      
    #vermicompost-guide-cta p {
        font-size: 16px;
        color: #2e7d32;
        margin-bottom: 10px;
        font-weight: 500;
      }
      
      .cta-button {
        background-color: #2e7d32;
        color: white;
        text-decoration: none;
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 6px;
        transition: background-color 0.3s ease;
      }
      
      .cta-button:hover {
        background-color: #1b5e20;
      }
  }
/* Dropdown */

.dropdown {
  position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    z-index: 999;
  }
  
  .dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
/* Optional: Toggle show/hide using JavaScript */
  .guide-dropdown {
    text-align: center;
    margin: 1rem 0;
  }
  
  button.dropdown-toggle {
    background-color: #2e7d32;
    color: white;
    padding: 12px 20px;
    border: none;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
  }

  a.dropdown-toggle{
  background-color: #2e7d32;
  color: white;
  padding: 12px 20px;
  border: none;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-block; /* so <a> behaves like a button */
  text-decoration: none; 
  }
  .guide-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: none;
  }
  
  .guide-links li {
    margin: 0.5rem 0;
  }
  
  .guide-links a {
    text-decoration: none;
    color: #2e7d32;
    font-weight: 500;
  }
  
  /* Optional: Toggle show/hide using JavaScript */
  

/* Fade background overlay */
.background-fade {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    z-index: 0;
}


/* Keep text above */
.hero-banner h1,
.hero-banner p {
    position: relative;
    z-index: 1;
}
/*
.hero-banner {
    background-color: #a5d6a7;
    background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('images/plant.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    padding: 80px 20px;
    color: #1b5e20;
    text-align: center;
    transition: background-image 1s ease-in-out;
}
*/
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-button {
    background-color: #2e7d32;  /* match navbar green */
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: #1b5e20;
}

/* about */
.about-section {
    background-color: #f9fdf9;
    color: #2e7d32;
    padding: 60px 20px;
    text-align: center;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.about-content .intro,
.about-content .vision {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background: #e8f5e9;
    border-radius: 20px;
    padding: 25px 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.feature-item h4 {
    margin: 10px 0 5px;
    font-size: 18px;
}

.feature-item p {
    font-size: 15px;
    line-height: 1.4;
}

/* Products */
.products-section {
    background-color: #f9fdf9; /* same as about-section */
    color: #2e7d32;
    padding: 40px 20px;
    text-align: center;
}

.products-content {
    max-width: 1000px;
    margin: 0 auto;
}

.products-section h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.products-section p {
    font-size: 17px;
    margin-bottom: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* Force 3 columns on wider screens */
@media (min-width: 768px) {
    .products-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  
  .product-card {
    width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    padding: 16px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
  }
  
  .product-card:hover {
    transform: scale(1.03);
  }

  @media (max-width: 900px) {
    .product-card {
      width: calc(50% - 16px); /* 2 per row on tablet */
    }
  }
  
  @media (max-width: 600px) {
    .product-card {
      width: 100%; /* full width on mobile */
    }
  }
  


  /*
.product-info {
    flex-grow: 1;
  }
  
*/

.product-card img {
    max-width: 100%;
    height: 350px;          /* FIXED height */
    object-fit: contain;    /* Prevent stretching */
    display: block;
    margin: 0 auto 15px;
    border-radius: 8px;
    background-color: #fff;
    padding: 10px;          /* Optional: adds space around image */
}


.product-card h4 {
    margin-bottom: 4px;
    font-size: 18px;
}

.product-card p {
    font-size: 15px;
    line-height: 1.3;
    margin: 8px;
}
.product-card .product-mrp {
    margin: 0;
    font-weight: bold;
    color: #2e7d32;
}

.mrpclass{
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #000;
}

.offer-price {
  color: #d32f2f;
  font-weight: bold;
  font-size: 10px;
  margin: 1px 0;
}
.buy-now-btn {
    display: inline-block;
    margin-top: auto;
    padding: 8px 16px;
    background-color: #2e7d32; /* Green color matching theme */
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease;
  }
  
  .buy-now-btn:hover {
    background-color: #256c28; /* Darker green on hover */
}
  

/* Benefits */
.why-choose-section {
    background-color: #f9fdf9; /* same as above sections */
    color: #2e7d32;
    padding: 40px 20px;
    text-align: center;
}

.why-content {
    max-width: 1000px;
    margin: 0 auto;
}

.why-choose-section h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.why-choose-section p {
    font-size: 17px;
    margin-bottom: 30px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.why-card {
    background-color: #e8f5e9;
    border-radius: 20px;
    padding: 25px 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.why-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 15px;
    line-height: 1.5;
}

.footer-logo {
    width: 100%;
    background-color: white;
    padding: 10px 0;
    text-align: center;
}

.footer-logo img {
    max-width: 250px;      /* scales logo nicely */
    height: auto;
    display: block;
    margin: 0 auto;        /* centers the image */
}

/* Footer */
footer {
    background: #2e7d32;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.section-divider {
    border: 0;
    height: 1px;
    background-color: #d0e8d0;
    margin: 10px auto;
    width: 80%;
}

.container2{
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-bottom: 10px;
}
.container2 p a {
  color: white; 
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

.lang-switchindex{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  padding: 0;
}

.lang-switchindex a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  margin-left: 8px;
}

.lang-switch{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  padding: 0;
}

.lang-switch a {
  font-size: 14px;
  margin-left: 8px;
  text-decoration: none;
  color: #2d6a4f; /* greenish tone to match organic theme */
}
.lang-switch a:hover {
  text-decoration: underline;
}

/* size the big V as you like */
.first span {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 50%, rgba(255, 0, 0, 0) 50%), 
  linear-gradient(rgb(0, 0, 0) 50%, rgb(0, 0, 0) 50%, rgb(255, 0, 0) 50%);
  /*font-size: 15px;*/
  color: #000; /* keep your original text color */
  overflow: hidden;

  background: linear-gradient(
    to right,
    black 20%,
    #000000 40%,
    red 60%,
    black 80%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineMove 8s linear infinite;
}

@keyframes shineMove {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* 
VISUAL FLOW 
[Hero Banner: Sliding image]
↓
[About Vyavasthit: Welcome, Vision, Features Grid]
↓
[Products Section: Inline tone, product cards]
↓
[Testimonials or Call-to-Action?]
↓
[Footer with full-width logo]
 
*/