/* =========================================================
   Navbar Responsive
========================================================= */
@media (max-width: 992px) {
  .nav-links-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hamburger_border {
    border: 2px solid #06c167;
    padding: 6px;
    transition: background 0.3s, border-color 0.3s;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.8rem;
  }

  .nav-mobile {
    width: 80%;
  }
}

@media (max-width: 320px) {
  .logo {
    font-size: 1.4rem;
  }

  .hamburger {
    width: 22px;
    height: 18px;
  }

  .nav-mobile ul li a {
    font-size: 1rem;
  }
}



/* =========================================================
   Hero and Brand Responsive
========================================================= */
/* ---------- Large Tablets (≤ 1024 px) ---------- */
@media (max-width: 1024px) {
  .hero {
    margin-bottom: 100px;
  }

  .hero-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
    height: auto;
  }

  .left {
    position: static;
    max-width: 90%;
  }

  .right {
    justify-content: center;
    position: static;
  }

  .image-wrapper {
    width: 400px;
    height: 540px;
    margin: 0 auto;
  }

  /* badges moved to bottom */
  .rating-badge,
  .review-badge {
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
  }

  .rating-badge {
    bottom: 80px;
    top: auto;
  }

  .review-badge {
    bottom: 20px;
    top: auto;
  }


}

/* ---------- Tablets / Landscape phones (≤ 768 px) ---------- */
@media (max-width: 768px) {
  .left h1 {
    font-size: 2.8rem;
  }

  .left p {
    font-size: 0.95rem;
  }

  .image-wrapper {
    width: 320px;
    height: 440px;
  }

  .dots {
    width: 120px;
    right: -20px;
  }

  .rating-badge,
  .review-badge {
    width: 200px;
    height: 48px;
    font-size: 0.95rem;
    z-index: 99;
  }

  .rating-badge {
    bottom: 70px;
  }

  .review-badge {
    bottom: 15px;
  }

  .btn-primary {
    width: auto;
    padding: 0.8rem 1.6rem;
  }
}

/* ---------- Phones (≤ 480 px) ---------- */
@media (max-width: 480px) {
  .small-title {
    text-align: center;
  }

  .section-title {
    font-size: 30px;
    text-align: center;
  }

  .footer-text {
    margin: 15px;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .left h1 {
    font-size: 2.1rem;
  }

  .left p {
    font-size: 0.9rem;
  }

  .image-wrapper {
    width: 85%;
    height: auto;
  }

  .rating-badge,
  .review-badge {
    font-size: 0.8rem;
    width: 180px;
    height: 42px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
  }

  .rating-badge {
    bottom: 70px;
    top: auto;
  }

  .review-badge {
    bottom: 20px;
    top: auto;
  }

  .btn-primary {
    width: 100%;
    padding: 1.5rem 0;
  }

}

/* ---------- Extra‑small phones (≤ 320 px) ---------- */
@media (max-width: 320px) {
  .hero {
    padding: 1.5rem 0.5rem;
  }

  .left h1 {
    font-size: 1.7rem;
  }

  .left p {
    font-size: 0.85rem;
  }

  .rating-badge,
  .review-badge {
    width: 180px;
    height: 40px;
    font-size: 0.75rem;
    z-index: 99;
  }


  .btn-primary {
    font-size: 0.9rem;
    padding: 1rem 1.2rem;
  }
}


/* =========================================================
   Brand Logos — tablet, mobile & 320px
========================================================= */

/* ---------- Tablet (≤ 1024 px) --------*/
@media (max-width: 1024px) {
  .brands-section {
    top: 0;
    padding: 40px 0;
  }

  .brands-wrapper {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 120px;
  }

  .logos {
    justify-content: center;
  }
}

/* ---------- Mobile & Small (≤ 480 px) --------- */
@media (max-width: 480px) {
  .brands-section {
    padding: 25px 0 40px;
    background-color: #fff;
    top: -25px;
  }

  .brands-wrapper {
    justify-content: center;
  }

  .logos {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 40px;
    row-gap: 25px;
  }

  .logos img {
    width: 130px;
    height: 28px;
    object-fit: contain;
  }
}

/* ---------- Extra‑small (≤ 320 px) ---------*/
@media (max-width: 320px) {
  .logos {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 30px;
    row-gap: 25px;
  }

  .logos img {
    width: 110px;
    height: 26px;
  }
}

/* =========================================================
  Features / Services Section
========================================================= */

@media (max-width: 768px) {

   .features-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
    gap: 5rem 1.5rem;
    padding: 3rem 0;
    /* border-top: none; */
    /* border-bottom: none; */
  }

  .feature-box {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 180px;
    height: auto;
    text-align: center;
  }
}

@media (max-width: 320px) {
  .features-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
    gap: 3rem 1.5rem;
    padding: 20px 0;
  }

  .feature-box {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 150px;
    height: auto;
    text-align: left;
  }

  .icon-box {
    width: 50px;
    height: 50px;
  }

  .icon-box img {
    width: 22px;
    height: 18px;
  }

  .text h4 {
    font-size: 0.85rem;
  }

  .text p {
    font-size: 0.75rem;
  }
}

/* =========================================================
   Benefit / Healthy Food Section Responsive
========================================================= */

/* ---------- Tablet (≤ 1024 px) ---------- */
@media (max-width:1024px) {
  .benefit-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
  }

  .benefit-image-box {
    width: 80%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .benefit-main-img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .benefit-content {
    max-width: 600px;
  }

  .benefit-content .small-title {
    font-size: 0.9rem;
  }

  .benefit-content h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .heading-dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
  }
}

/* ---------- Mobile (≤ 768 px) ---------- */
@media (max-width:768px) {
  .benefit-section {
    padding: 172px 0;
    padding-bottom: 0;
  }

  .benefit-wrapper {
    gap: 45px;
  }

  .benefit-content h1 {
    font-size: 1.8rem;
  }

  .benefit-image-box {
    width: 90%;
  }
}

/* ---------- Small phones (≤ 480 px) ---------- */
@media (max-width:480px) {
  .benefit-wrapper {
    width: 320px;
    margin: 0 auto;
    align-items: center;
    position: relative;
    flex-direction: column;
  }

  .benefit-image-box {
    width: 320px;
    height: 460px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
  }

  .benefit-main-img {
    width: 277px;
    height: 489px;
    object-fit: cover;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
  }

  .benefit-content {
    width: 100%;
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ---------- Extra‑small (≤ 320 px) ---------- */
@media (max-width:320px) {
  .benefit-image-box {
    width: 100%;
    height: 460px;
  }

  .benefit-main-img {
    width: 250px;
    height: 470px;
    top: -25px;
  }
}

/* =========================================================
  Our Stars Section Responsive
========================================================= */

/* ---------- Tablet (≤ 1024 px) ---------- */
@media (max-width:1024px) {
  .stars-wrapper {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    height: auto;
    gap: 60px;
    text-align: center;
  }

  .stars-content {
    max-width: 600px;
  }

  .stars-image-box {
    width: 80%;
    height: auto;
  }

  .stars-main-img {
    position: static;
    width: 100%;
    height: auto;
  }

  .stars-content h1 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
  }

  .heading-dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
  }

  .stats-row {
    justify-content: center;
    gap: 40px;
  }

  .stat h2 {
    font-size: 1.8rem;
  }
}

/* ---------- Mobile (≤ 768 px) ---------- */
@media (max-width:768px) {
  .stars-section {
    padding: 80px 0;
    padding-bottom: 0;
  }

  .stars-wrapper {
    gap: 45px;
  }

  .stars-content h1 {
    font-size: 2rem;
  }

.stats-row {
    flex-direction: column;
    gap: 30px 50px;
    align-items: center;
}

  .stat h2 {
    font-size: 1.6rem;
  }

  .stars-image-box {
    width: 90%;
  }
}

/* ---------- Small phones (≤ 480 px) ---------- */
@media (max-width:480px) {
  .stars-image-box {
    width: 320px;
    height: 460px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    margin: 0 auto;
  }

  .stars-main-img {
    width: 277px;
    height: 489px;
    object-fit: cover;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width:320px) {
  .stars-image-box {
    width: 100%;
    height: 460px;
  }

  .stars-main-img {
    width: 250px;
    height: 470px;
    top: -25px;
  }
}

/* =========================================================
  Variety Of Foods  Responsive
========================================================= */

/* ---------- Tablets ≤1024px ---------- */
@media (max-width: 1024px) {
  .foods-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .food-card,
  .food-card.reverse,
  .food-card.reverse-bottom {
    flex-direction: row;
    height: auto;
    border-right: none;
  }

  .food-left,
  .food-right {
    width: 50%;
    height: auto;
  }

  .food-right {
    padding: 1.5rem;
  }

  .food-right h2 { font-size: 1.8rem; }
  .food-right p { font-size: 0.95rem; }
}

/* ---------- Phones ≤768px ---------- */
@media (max-width: 768px) {
  .foods-grid {
    display: flex;
    flex-direction: column;
  }

  .food-card,
  .food-card.reverse,
  .food-card.reverse-bottom {
    flex-direction: column;
    width: 100%;
  }

  .food-left,
  .food-right {
    width: 100%;
    height: auto;
  }
}

/* ---------- Extra‑small (≤375 px) ---------- */
@media (max-width: 468px) {
  .foods-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    border: none;
  }

  .food-card,
  .food-card.reverse,
  .food-card.reverse-bottom {
    flex-direction: column;
    align-items: center;
    width: 320px;
    margin: 0;
    padding: 0;
    height: auto;
  }

  .food-card .food-left,
  .food-card .food-right {
    flex: 0 0 auto;
    display: block;
  }


  .food-card:nth-child(1) .food-left,
  .food-card:nth-child(1) .food-right {
    width: 320px;
    height: 292.5px !important;
  }

  .food-card:nth-child(n+2) .food-left {
    width: 292.5px;
    height: 292.5px !important;
  }
  .food-card:nth-child(n+2) .food-right {
    width: 320px;
    height: 292.5px !important;
  }

  .food-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .food-right {
    background: #fff;
    border: 1px solid #06C167;
    padding: 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
  }

 .food-right h2 {
    font-size: 2.2rem;
    margin: 10px 0;
}

 .food-right p {
    font-size: 1.3rem;
    margin: 20px 0;
}

  .discover-link {
    margin-top: 6px;
    height: 34px;
    font-size: 0.9rem;
    padding: 0 12px;
  }

  .food-card{
    border-bottom: none;
  }
}

/* ---------- Minimal phones ≤320 px ---------- */
@media (max-width: 320px) {
  .food-card,
  .food-left,
  .food-right {
    width: 100% !important;
  }
}

/* =========================================================
   Most Popular Product Section Responsive
========================================================= */


@media (max-width: 1024px) {
  .products-wrapper {
    height: auto;
  }

  .products-grid {
    justify-content: center;
    gap: 30px;
  }

  .product-card {
    width: 45%;
  }
}

@media (max-width: 640px) {
  .product-card {
    width: 100%;
    max-width: 320px;
  }
}

/* =========================================================
   Veggie Foods Banner Section Responsive
========================================================= */



@media (max-width: 768px) {
  .banner-title {
    font-size: 1.8rem;
  }

  .banner-btn {
    width: 180px;
    height: 65px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .banner-title {
    font-size: 1.4rem;
  }

  .banner-btn {
    width: 160px;
    height: 60px;
    font-size: 0.9rem;
  }
}


/* =========================================================
   Footer Responsive
========================================================= */


@media (max-width: 992px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .get-touch .subscribe-form {
    justify-content: center;
  }
}


/* hero section problem fixed */

@media (max-width: 1064px) {}