* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header,
footer {
    padding: 1rem;
    text-align: center;
}

body {
    font-family: Arial, sans-serif;
    background: url('image/back1.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.77);
    /* soft white overlay for readability */
    z-index: -1;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    gap: 3rem;
    flex-wrap: wrap;
    text-align: center;
}

.logo-section img {
    max-height: 100px;
    border-radius: 50px;
}

.text-section h1 {
    margin: 0;
    font-size: 3rem;
}

.text-section p {
    margin: 0;
    font-size: 0.9rem;
}

.banner-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.nav-container {
    background: linear-gradient(to bottom left, rgba(255, 255, 255, 0.585),rgba(242, 240, 240, 0.289));
    padding: 0.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    float: right;
    font-size: 40px;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    padding: 1rem;
    transition: max-height 0.3s ease-in-out;

}

nav a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    transition: 0.5s ease;
}

nav a:hover,
nav a.active {
    color: orange;
    transform: scale(1.08);
}

.single-banner {
    background-image: url('image/main123.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    font-size: 30px;
}

.single-banner .whatsapp-button {
    margin-top: 1rem;
    background-color: #25D366;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
}

.product-showcase {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 1rem;
}

.product-box {
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: 0.5s ease;
}

.product-box:hover{
    transform: scale(1.08);
}

.slider {
    display: flex;
    overflow: hidden;
    width: 100%;
    padding: 1rem;
}

.slider-track {
    display: flex;
    animation: scroll-left 20s linear infinite;

}

.slider-track div {
    border: 1px solid #ccc;
    background: #fafafa;
}

.slider div {
    min-width: 250px;
    margin: 0 1rem;
    padding: 1rem;
    border-radius: 8px;
    flex-shrink: 0;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

section {
    padding: 2rem 1rem;
    text-align: center;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.why-choose-us {
    padding: 2rem 1rem;
    text-align: center;
  }
  .why-choose-us h2 {
    font-size: 2rem;
    color: #5d4037;
    margin-bottom: 1.5rem;
  }
  .reasons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .reason-card {
    background-color: #ffffff;
    border: 1px solid #f0c36d;
    border-radius: 10px;
    padding: 1rem;
    width: 230px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  .reason-card h3 {
    font-size: 1.2rem;
    color: #795548;
    margin-bottom: 0.5rem;
  }
  .reason-card p {
    font-size: 0.95rem;
    color: #555;
  }

/*-----------------desighee, a2milk-------------------------*/
.about-gaupalan,
.about-cow-ghee,
.about-desi-ghee,
.about-a2-milk {
    padding: 2rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    background-color: #8d8a8a6b;
  }

  .about-gaupalan,
  .about-cow-ghee,
  .about-desi-ghee,
  .about-a2-milk h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: #333;
  }

  .about-gaupalan,
  .about-cow-ghee,
  .about-desi-ghee,
  .about-a2-milk p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
  }

  /*---------------------a2milk---------------------*/

  .poster-nourishment {
    background-image: url('image/back.jpg');
    background-size: cover;
    background-position: center;
    padding: 4rem 1rem;
    color: white;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
  }
  
  .poster-nourishment::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* dark overlay for readability */
    z-index: 0;
  }

  /*------------desighee and cow ghee----------------*/
  .single-banner-desi {
    background-image: url('image/gheebg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    font-size: 30px;
}

.single-banner-desi .whatsapp-button {
    margin-top: 1rem;
    background-color: #25D366;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
}

.single-banner-milk {
    background-image: url('image/milkbg.jpg');
    background-size: cover;
    background-position: center;
    color: rgb(204, 89, 32);
    text-align: center;
    padding: 4rem 1rem;
    font-size: 30px;
}

.single-banner-milk .whatsapp-button {
    margin-top: 1rem;
    background-color: #25D366;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
}

  .yummy-delight-section {
    padding: 2rem 1rem;
    text-align: center;
    margin-bottom: 20px;
  }

  .yummy-delight-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .yummy-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .yummy-card {
    width: 200px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .yummy-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 0.5rem;
  }
  
  .poster-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
  }
  
  .poster-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .poster-content p {
    font-size: 1.2rem;
  }
  
  @media (max-width: 768px) {
    .poster-content h2 {
      font-size: 1.5rem;
    }
  
    .poster-content p {
      font-size: 1rem;
    }
  }
  


.product-showcase {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 1rem;
}

.product-box {
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.product-box img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
}


  

.whatsapp-button {
    display: inline-block;
    margin-top: 1rem;
    background-color: #25D366;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
}


footer {
    background: #f1f1f1;
    padding: 2rem 1rem;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .text-section h1 {
        font-size: 2rem;
    }

    nav {
        display: none;
        flex-direction: column;
        align-items: center;
    }

    nav.show {
        display: flex;
    }

    .product-box {
        width: 300px;
    }
}

@media (max-width: 600px) {
    .about-desi-ghee {
        padding: 1.5rem 1rem;
    }

    .about-desi-ghee h2 {
        font-size: 1.4rem;
    }

    .about-desi-ghee p {
        font-size: 0.95rem;
        text-align: justify;
    }

    .product-box {
        width: 90%;
    }

    .reasons-container {
        flex-direction: column;
        align-items: center;
      }
      .reason-card, .yummy-card {
        width: 90%;
      }

      .about-gaupalan,
      .about-cow-ghee,
      .about-desi-ghee,
      .about-a2-milk h2 {
        font-size: 1.5rem;
      }

      .about-gaupalan,
      .about-cow-ghee,
      .about-desi-ghee,
      .about-a2-milk p {
        font-size: 0.95rem;
      }

}