/* PRODUCT CATEGORIES SECTION */
.product-categories {
    padding: 50px 0px;

    .categories-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        margin-top: 0px;
        transition: all 0.3s ease;

        a:hover,
        a:focus {
            color: #0ea55900;
        }


        h3 {
            font-size: 16PX;
            font-weight: 600;
        }

        img {
            width: 150px;
            object-fit: cover;
            margin-bottom: 15px;
            height: 150px;
            border-radius: 100px;
            border: 2px solid #eee;
            padding: 15px;
            transition: 0.3s ease-in-out;
        }

        .category-box {
            transition: all 0.3s ease;

            &:hover {
                img {
                    transform: scale(0.9);
                }
            }
        }


    }
}




/* HERO SECTION */
.home-hero {
    .swiper-slide {

        picture,
        img {
            width: 100%;
            height: 100%;
            display: block;
        }
    }

    .swiper-button-next,
    .swiper-button-prev {
        background: #ffffff;
        color: #000;
        border-radius: 35px;
    }

    .swiper-pagination-bullet-active {
        background: var(--ast-global-color-0);
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: var(--ast-global-color-0);
        color: #fff;
    }

    .heroSwiper img {
        width: 100%;
    }

}



/* ================= PRODUCT SLIDER ================= */
.home-product-slider {
    position: relative;
    padding: 50px 0px;

    h2 {
        font-size: 28px;
        font-weight: 700;
        text-align: center;
        margin-bottom: 40px;
        color: #222;
    }

    .swiper {
        padding-bottom: 50px;
    }

    .swiper-slide {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 12px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;

        &:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
        }

        img {
            width: 100%;
            height: 345px;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        &:hover img {
            transform: scale(1.05);
        }

        h3 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 5px;
            color: #111;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        small {
            display: block;
            font-size: 14px;
            color: #777;
            margin-bottom: 8px;
        }

        p {
            font-weight: 700;
            color: #222;
            font-size: 16px;
            margin: 0;
        }
    }

    /* Swiper arrows */
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #032220;
        color: #f3f3f3;
        top: 50%;
        transform: translateY(-50%);
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: #0f766e;
        color: #fff;
    }

    .swiper-button-prev {
        left: 10%;
    }

    .swiper-button-next {
        right: 10%;
    }
}





/* ===== FAQ SECTION BASE ===== */
.home_faq {
    padding: 70px 20px;
    background: #f8f8f8;

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

    /* ===== GRID LAYOUT ===== */
    .faq-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
    }

    /* ===== LEFT SLIDER ===== */
    .faq_slider {
        width: 100%;
        overflow: hidden;
        border-radius: 16px;
    }

    .faqSwiper {
        width: 100%;
        height: 100%;

        .swiper-slide {
            width: 100% !important;
        }

        .swiper-pagination-bullet {
            background: #cbd5e1;
            opacity: 1;
            display: none;
        }

        .swiper-pagination-bullet-active {
            background: #0f766e;
        }
    }

    .faq-home-img {
        width: 100%;
        height: 580px;
        object-fit: cover;
        border-radius: 16px;
        display: block;
    }

    /* ===== RIGHT CONTENT ===== */
    .faq_content {
        width: 100%;
    }

    .faq-title {
        font-size: 36px;
        line-height: 1.25;
        font-weight: 700;
        color: #111827;
        margin-bottom: 30px;

        span {
            color: #0f766e;
            font-weight: 200;
            font-size: 22px;
        }
    }

    /* ===== FAQ ITEMS ===== */
    .faq-item {
        padding: 5px;
        border-radius: 5px;
        margin-bottom: 10px;

        &.active .faq-question::after {
            content: "−";
        }

        &.active .faq-answer {
            display: block;
            opacity: 1;
        }
    }

    .faq-question {
        width: 100%;
        background: none;
        border: none;
        text-align: left;
        font-size: 17px;
        font-weight: 600;
        color: #111827;
        cursor: pointer;
        position: relative;
        box-shadow: none;
        padding: 10px;
        padding-right: 40px;

        &::after {
            content: "+";
            position: absolute;
            right: 11px;
            top: 19%;
            font-size: 22px;
            color: #050505;
            transition: transform 0.3s ease;
        }


    }

    /* Answer */
    .faq-answer {
        display: none;
        font-size: 15px;
        color: #4b5563;
        line-height: 1.7;

        max-width: 95%;
        padding: 10px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease;
        opacity: 0;
    }


}



/* BLOG SECTION */
.home-blog {



    padding: 60px 20px;
    background: #fff;


    .blog-title {
        text-align: center;
        font-size: 34px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .blog-subtitle {
        text-align: center;
        max-width: 700px;
        margin: 0 auto 50px;
        color: #666;
        font-size: 16px;
    }

    .blog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .blog-card {
        background: #fff;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
        transition: transform .3s ease, box-shadow .3s ease;
        cursor: pointer;

        &:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .blog-card__image-link {
            display: block;
        }

        img {
            width: 100%;
            height: 267px;
            object-fit: cover;
        }

        .blog-card__thumb-fallback {
            display: block;
            width: 100%;
            height: 267px;
            background: #e5e7eb;
        }

        &:hover .post-meta {
            color: #14532d;
        }

        &:hover .post-meta i {
            color: #22c55e;
        }
    }

    .blog-content {
        padding: 22px;

        h3 {
            font-size: 20px;
            margin-bottom: 12px;

            a {
                color: inherit;
                text-decoration: none;

                &:hover {
                    color: #1aa86c;
                }
            }
        }

        p {
            font-size: 15px;
            color: #555;
            line-height: 1.6;
        }
    }

    .blog-tag {
        display: inline-block;
        margin-top: 14px;
        padding: 6px 14px;
        background: #1aa86c;
        color: #fff;
        font-size: 12px;
        border-radius: 20px;
    }

    .post-meta {
        display: flex;
        gap: 16px;
        font-size: 13px;
        color: #6b7280;
        margin-bottom: 8px;

        span {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        i {
            color: #16a34a;
            /* green wellness vibe */
            font-size: 13px;
        }
    }

    .blog-view-all {
        text-align: center;
        margin-top: 40px;
    }
}

.benefits {
    padding: 30px;
}



.home-reviews {
    padding: 80px 0;
    background: #fff;
    position: relative;

    @media (max-width: 767px) {
        padding-bottom: 40px;
    }

    .reviews-title {
        text-align: center;
        font-size: 32px;
        font-weight: 700;
        color: #0f172a;
    }

    .reviews-subtitle {
        text-align: center;
        max-width: 620px;
        margin: 10px auto 40px;
        color: #64748b;
    }


    .review-card {
        background: #ffffff;
        border-radius: 14px;
        padding: 24px 22px;
        min-height: 170px;
  

        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
        transition: transform 0.3s ease, box-shadow 0.3s ease;

        &:hover {
            transform: translateY(-6px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        }
    }

    .review-stars {
        color: #fbbf24;
        margin-bottom: 15px;
    }

    .review-text {
        font-size: 15px;
        color: #334155;
        line-height: 1.6;
        margin-bottom: 20px;

        p {
            margin: 0 0 0.5em;

            &:last-child {
                margin-bottom: 0;
            }
        }
    }

    .review-user {
        display: flex;
        align-items: center;
        gap: 12px;

        img {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid #eee;
            padding: 5px;

        }
    }

    .swiper-pagination-bullet {
        background: #16a34a;
        opacity: 0.4;
    }

    .swiper-pagination-bullet-active {
        opacity: 1;
    }

    .container {
        position: relative;
    }

    .reviewsSwiper {
        position: relative;
        padding: 20px 10px 50px;

        .swiper-wrapper {
            align-items: stretch;
            /* IMPORTANT */


        }
    }

    .reviews-prev,
    .reviews-next {
        position: absolute;
        bottom: 30%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        top: unset;
        background: #ffffff;
        color: #032220;
        border-radius: 50%;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 30;
        transition: 0.3s ease;

        &:hover {
            background: #16a34a;
            color: #fff;
            transform: translateY(-50%) scale(1.1);
        }

        @media (max-width: 767px) {
          display: none!important;
        }
    }

    .reviews-prev {
        left: -60px;
    }

    .reviews-next {
        right: -60px;
    }

    .swiper-slide {
        height: auto;
    }


}





.swiper-wrapper {
    padding: 10px 0px;
}


/* SWIPER BUTTONS */

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #ffffff;
    color: #032220;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    transition: 0.3s ease;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 1.5s infinite;
    transition: 0.3s ease-in-out;

}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* TOP ANNOUNCEMENT BAR */

.top-announcement-bar {
    width: 100%;
    background: #006315;
    color: #ffffff;
    overflow: hidden;
    font-size: 14px;
    padding: 8px 0;
    position: relative;
    z-index: 9999;

    .announcement-track {
        display: flex;
        width: max-content;
        animation: scrollLeft 25s linear infinite;
    }

    .announcement-content {
        display: flex;
        align-items: center;
        white-space: nowrap;

        span {
            margin-right: 15px;
        }

        a {
            color: #ffd700;
            text-decoration: none;
            font-weight: 600;

            &:hover {
                text-decoration: underline;
            }
        }

        .divider {
            opacity: 0.5;
        }
    }
}

@keyframes scrollLeft {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-50%);
    }
}