@media (min-width: 300px) and (max-width: 500px) {

    /* Force 4 cards in one row */
    .product-category-item {
        padding: 8px !important;
        margin: 0 !important;
        text-align: center;
    }

    /* Reduce the column spacing */
    .row.g-3,
    .row.g-sm-6 {
        --bs-gutter-x: 6px !important;
        --bs-gutter-y: 6px !important;
    }

    /* Reduce icon size */
    .product-category-item .icon {
        width: 45px !important;
        height: 45px !important;
        margin-bottom: 4px !important;
    }

    /* Smaller title text */
    .product-category-item .title {
        font-size: 12px !important;
        margin: 3px !important;
        padding: 3px !important;
        line-height: 1.2;
    }

    /* Remove extra top margins on other breakpoints */
    .mt-xl-0, .mt-sm-6, .mt-4 {
        margin-top: 5px !important;
    }

    /* Optional: reduce container padding */
    .container {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
    .section-space{
        padding: 10px;
        margin: 20px;
    }
    /* Make product image larger on mobile */
    .product-item .product-thumb img {
        width: 90% !important;
        height: auto !important;
        padding: 20px !important;   /* reduce padding so image appears bigger */
    }

    /* Center the image inside its container */
    .product-item .product-thumb a.d-block {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        /* margin-right:30px ; */
    }

    /* Remove unwanted spacing */
    .product-item .product-thumb {
        padding: 0 !important;
        margin: 0 auto !important;
    }

    /* Adjust title size */
    .product-item .product-info .title {
        font-size: 14px !important;
        /* text-align: center !important;*/
        padding-left: 10px;
    }
    .product-rating{
        padding-left: 10px;
    }
}

@media (min-width: 280px) and (max-width: 400px) {
    .product-category-item {
       padding: 20px !important;
       margin: 0 !important;
       text-align: center;
   }

   /* Reduce the column spacing */
   .row.g-3,
   .row.g-sm-6 {
       --bs-gutter-x: 6px !important;
       --bs-gutter-y: 6px !important;
   }

   /* Reduce icon size */
   .product-category-item .icon {
       width: 23px !important;
       height: 24px !important;
       margin-bottom: 4px !important;
   }

   /* Smaller title text */
   .product-category-item .title {
       font-size: 5px !important;
       margin: 3px !important;
       padding: 3px !important;
       line-height: 1.2;
   }

   /* Remove extra top margins on other breakpoints */
   .mt-xl-0, .mt-sm-6, .mt-4 {
       margin-top: 5px !important;
   }

   /* Optional: reduce container padding */
   .container {
       padding-left: 6px !important;
       padding-right: 6px !important;
   }
   .section-space{
       margin: 15px;
   }

}
.img1:hover{
    opacity: 0.7;
}

.image1{
    width: 570px;
    height: 678px;
}

/* left and right arrow */
.related-product-wrap {
    position: relative;
    width: 100%;
  }
  
  /* slider: horizontal scroll, don't hide images */
  .related-product-slide-container .swiper-wrapper {
    display: flex;
    gap: 15px;   
    margin: auto;               /* space between slides */
    overflow-x: auto;
    scroll-behavior: smooth;    /* smooth scrolling when buttons clicked */
    -webkit-overflow-scrolling: touch;
  }
  
  /* arrows styling (adjust colors/sizes as needed) */
  .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .slider-arrow.left { left:35px; }
  .slider-arrow.right { right:8px; }
  .slider-arrow.disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: default;
  }
  
  .slider-arrow:focus { outline: 2px solid #fff; }
  
  /* optional: hide scrollbar on some browsers */
  .related-product-slide-container .swiper-wrapper::-webkit-scrollbar { height: 8px; }

  /* hhh */
.footer-widget__social-box a {
  margin-right: 10px;
  font-size: 20px;
  color: #333;
  transition: 0.3s;
}

/* 
 */
    /* grid-template-columns: repeat(3, 1fr); EXACT 3 VIDEOS PER ROW */
/* =============== VIDEO GRID =============== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px;
}

/* =============== CARD DESIGN =============== */
.video-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.video-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.video-card p {
    padding: 15px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 22px;
    height: 58px;
    display: flex;
    align-items: center;
}

/* =============== MODAL BACKDROP =============== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

/* =============== MODAL BOX =============== */
.modal-content {
    background: #fff;
    width: 90%;
    max-width: 450px;
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    animation: popup 0.3s ease;
    position: relative;
}

/* POPUP EFFECT */
@keyframes popup {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* CLOSE BUTTON */
.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 32px;
    cursor: pointer;
}

/* MODAL THUMB */
.modal-thumb {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* WATCH BUTTON */
.watch-btn {
    display: block;
    background: #ff0000;
    color: #fff;
    padding: 14px;
    margin-top: 15px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 17px;
    text-decoration: none;
    transition: 0.2s;
}

.watch-btn:hover {
    background: #cc0000;
}

/* =============== RESPONSIVE BREAKPOINTS =============== */

/* 3 per row on large screens */
@media (min-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 2 per row on tablets */
@media (min-width: 600px) and (max-width: 1023px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1 per row on mobile */
@media (max-width: 599px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* hedding for videopage */
.hero-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40vh;
  text-align: center;
}

.interactive-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #2a7a4b; /* primary green */
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.interactive-heading:hover {
  transform: scale(1.05) rotate(-1deg);
  color: #1c1c2b; /* dark text on hover */
}

.interactive-heading .highlight {
  background: linear-gradient(90deg, #56ab2f, #a0d6a7); /* gradient green */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background 0.5s ease;
}

.interactive-heading:hover .highlight {
  background: linear-gradient(90deg, #a0d6a7, #56ab2f); /* animate gradient on hover */
}

/*  */
/* Lightbox overlay */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Lightbox image */
.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.lightbox-overlay img:hover {
    transform: scale(1.05);
}

/* Close button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: #ff0000;
}

@media (min-width: 300px) and (max-width: 550px) {
    .interactive-heading{
        font-size: 33px;
    }
}
/*  */
.plans-section {
    padding: 50px 20px;
    text-align: center;
    background: #f4f8f2; /* matches your GreenLife theme */
}

.plans-heading {
    font-size: 32px;
    font-weight: 700;
    color: #231942;
    margin-bottom: 30px;
}

.plan-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.plan-image {
    width: 90%;
    max-width: 700px;    /* Big size but responsive */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
