/* =====================================================
   BIODEBLOOM HOME PAGE
===================================================== */


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --bd-green: #173f2b;
    --bd-green-light: #2d6547;
    --bd-green-soft: #e7efe8;

    --bd-cream: #f6f4ed;

    --bd-white: #ffffff;

    --bd-dark: #15251c;
    --bd-text: #536057;
    --bd-muted: #7a857d;

    --bd-border: #dce3dc;

}


/* =====================================================
   RESET
===================================================== */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: "DM Sans", sans-serif;

    color: var(--bd-dark);

    line-height: 1.6;

    overflow-x: hidden;

}


img {

    max-width: 100%;

    display: block;

}


a {

    text-decoration: none;

    color: inherit;

}


button,
input {

    font-family: inherit;

}


/* =====================================================
   CONTAINER
===================================================== */

.bd-home-container {

    width: min(
        calc(100% - 80px),
        1240px
    );

    margin: auto;

}


/* =====================================================
   COMMON
===================================================== */

.bd-home-label {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--bd-green);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

}


.bd-home-label::before {

    content: "";

    width: 28px;

    height: 2px;

    background: #8da88f;

}


.bd-home-why h2,
.bd-home-products h2,
.bd-home-sustainable h2,
.bd-home-process h2,
.bd-home-cta h2,
.bd-home-blog h2,
.bd-home-testimonials h2,
.bd-home-newsletter h2 {

    font-family: "Playfair Display", serif;

    font-size: clamp(
        38px,
        4vw,
        58px
    );

    font-weight: 600;

    line-height: 1.15;

}


.bd-home-why h2 span,
.bd-home-products h2 span,
.bd-home-sustainable h2 span,
.bd-home-process h2 span,
.bd-home-cta h2 span,
.bd-home-blog h2 span,
.bd-home-testimonials h2 span,
.bd-home-newsletter h2 span {

    color: var(--bd-green-light);

}


/* =====================================================
   BUTTONS
===================================================== */

.bd-home-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 11px;

    padding: 15px 24px;

    border-radius: 100px;

    font-size: 13px;

    font-weight: 700;

    transition: 0.35s ease;

}


.bd-home-btn i {

    transition: 0.35s ease;

}


.bd-home-btn:hover i {

    transform: translateX(4px);

}


.bd-home-btn-primary {

    background: var(--bd-green);

    color: white;

}


.bd-home-btn-primary:hover {

    background: #24583c;

    transform: translateY(-2px);

}


.bd-home-btn-outline {

    border: 1px solid rgba(255,255,255,0.6);

    color: white;

}


.bd-home-btn-outline:hover {

    background: white;

    color: var(--bd-green);

}


.bd-home-btn-dark {

    background: var(--bd-green);

    color: white;

}


.bd-home-btn-dark:hover {

    background: #24583c;

    transform: translateY(-2px);

}


.bd-home-btn-light {

    background: white;

    color: var(--bd-green);

}


.bd-home-btn-light:hover {

    transform: translateY(-3px);

}


/* =====================================================
   HERO
===================================================== */

.bd-home-hero {

    position: relative;

    min-height: 780px;

    display: flex;

    align-items: center;

    padding: 120px 0 80px;

    background: var(--bd-cream);

    overflow: hidden;

}


/*
   Subtle dark green background on left
*/

.bd-home-hero::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 58%;

    height: 100%;

    background:
        linear-gradient(
            135deg,
            #173f2b,
            #234f38
        );

    clip-path:
        polygon(
            0 0,
            90% 0,
            100% 50%,
            90% 100%,
            0 100%
        );

}


.bd-home-hero .bd-home-container {

    position: relative;

    z-index: 2;

}


.bd-home-hero-grid {

    display: grid;

    grid-template-columns:
        1fr
        0.82fr;

    align-items: center;

    gap: 60px;

}


/* =====================================================
   HERO CONTENT
===================================================== */

.bd-home-hero-content {

    max-width: 690px;

}


.bd-home-hero .bd-home-label {

    color: #d8e8d9;

}


.bd-home-hero .bd-home-label::before {

    background: #a7c7aa;

}


.bd-home-hero h1 {

    margin-top: 22px;

    font-family: "Playfair Display", serif;

    font-size: clamp(
        48px,
        5.3vw,
        76px
    );

    font-weight: 500;

    line-height: 1.05;

    letter-spacing: -2px;

    color: white;

}


.bd-home-hero h1 span {

    color: #b8d5b9;

}


.bd-home-hero-content > p {

    max-width: 600px;

    margin-top: 28px;

    color: rgba(255,255,255,0.80);

    font-size: 16px;

    line-height: 1.8;

}


.bd-home-hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 13px;

    margin-top: 35px;

}


/* =====================================================
   HERO IMAGE
===================================================== */

.bd-home-hero-image {

    position: relative;

    min-height: 560px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.bd-home-hero-image-wrapper {

    position: relative;

    width: 100%;

    height: 560px;

    overflow: hidden;

    border-radius: 25px;

    box-shadow:
        0 30px 70px rgba(0,0,0,0.18);

}


.bd-home-hero-image-wrapper::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(0,0,0,0.25)
        );

}


.bd-home-hero-image-wrapper img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;

}


.bd-home-hero-image-wrapper:hover img {

    transform: scale(1.04);

}


/* =====================================================
   HERO BADGE
===================================================== */

.bd-home-hero-badge {

    position: absolute;

    left: -30px;

    bottom: 45px;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 14px 18px;

    background: white;

    border-radius: 14px;

    box-shadow:
        0 15px 40px rgba(0,0,0,0.15);

}


.bd-home-badge-icon {

    width: 44px;

    height: 44px;

    display: grid;

    place-items: center;

    background: var(--bd-green-soft);

    color: var(--bd-green);

    border-radius: 50%;

}


.bd-home-hero-badge strong,
.bd-home-hero-badge span {

    display: block;

}


.bd-home-hero-badge strong {

    color: var(--bd-green);

    font-size: 13px;

}


.bd-home-hero-badge span {

    color: var(--bd-muted);

    font-size: 11px;

}


/* =====================================================
   HERO SCROLL
===================================================== */

.bd-home-scroll {

    position: absolute;

    left: 50%;

    bottom: 25px;

    z-index: 5;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 14px;

    color: #748078;

    font-size: 9px;

    letter-spacing: 2px;

}


.bd-home-scroll div {

    width: 65px;

    height: 1px;

    background: #aeb8b0;

}


/* =====================================================
   MANUFACTURING / INTRO
===================================================== */

.bd-home-intro {

    padding: 50px 0;

    background: var(--bd-cream);

}


.bd-home-intro-grid {

    display: grid;

    grid-template-columns:
        0.95fr
        1.05fr;

    gap: 90px;

    align-items: center;

}


/* IMAGE LEFT */

.bd-home-intro-image {

    position: relative;

    height: 570px;
}


.bd-home-intro-image img {

    width: 100%;

    height: 90%;

    object-fit: cover;

    border-radius: 24px;


}


.bd-home-intro-image-badge {

    position: absolute;

    left: 25px;

    bottom: 25px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 13px 18px;

    background: white;

    color: var(--bd-green);

    border-radius: 100px;

    font-size: 12px;

    font-weight: 700;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.12);

}


/* RIGHT CONTENT */

.bd-home-intro-content {

    padding-right: 30px;

}


.bd-home-intro-content h2 {

    margin-top: 20px;

    font-family: "Playfair Display", serif;

    font-size: clamp(
        42px,
        4vw,
        60px
    );

    line-height: 1.08;

}


.bd-home-intro-content h2 span {

    display: block;

    color: var(--bd-green-light);

}


.bd-home-intro-main {

    margin-top: 30px;

    color: var(--bd-dark);

    font-size: 21px;

    line-height: 1.65;

}


.bd-home-intro-content p:not(.bd-home-intro-main) {

    margin-top: 18px;

    color: var(--bd-text);

    font-size: 15px;

    line-height: 1.8;

}


.bd-home-text-link {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 25px;

    color: var(--bd-green);

    font-size: 14px;

    font-weight: 700;

}


.bd-home-text-link i {

    transition: 0.3s ease;

}


.bd-home-text-link:hover i {

    transform: translateX(5px);

}


/* =====================================================
   WHY BIODEBLOOM
===================================================== */

.bd-home-why {

    padding: 50px 0;

    background: white;

}


.bd-home-section-heading {

    display: grid;

    grid-template-columns:
        1fr
        0.8fr;

    gap: 80px;

    align-items: end;

    margin-bottom: 60px;

}


.bd-home-section-heading h2 {

    margin-top: 18px;

}


.bd-home-section-heading > p {

    font-size: 16px;

    line-height: 1.8;

}


.bd-home-feature-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    border-top: 1px solid var(--bd-border);

    border-left: 1px solid var(--bd-border);

}


.bd-home-feature-card {

    min-height: 360px;

    padding: 32px;

    border-right: 1px solid var(--bd-border);

    border-bottom: 1px solid var(--bd-border);

    transition: 0.35s ease;

}


.bd-home-feature-card:hover {

    background: var(--bd-green);

    transform: translateY(-7px);

}


.bd-home-feature-card:hover h3,
.bd-home-feature-card:hover p,
.bd-home-feature-card:hover
.bd-home-feature-number {

    color: white;

}


.bd-home-feature-number {

    color: #aab4ac;

    font-size: 12px;

    font-weight: 700;

}


.bd-home-feature-icon {

    width: 60px;

    height: 60px;

    display: grid;

    place-items: center;

    margin: 45px 0 25px;

    background: var(--bd-green-soft);

    color: var(--bd-green);

    border-radius: 50%;

    font-size: 21px;

}


.bd-home-feature-card h3 {

    margin-bottom: 14px;

    font-size: 19px;

}


.bd-home-feature-card p {

    font-size: 14px;

    line-height: 1.75;

}


/* =====================================================
   PRODUCTS
===================================================== */

.bd-home-products {

    padding: 50px 0;

    background: var(--bd-cream);

}


.bd-home-products-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 55px;

}


.bd-home-products-heading h2 {

    margin-top: 18px;

}


.bd-home-products-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 20px;

}


.bd-home-product-card {

    overflow: hidden;

    background: white;

    border-radius: 20px;

    transition: 0.35s ease;

}


.bd-home-product-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 20px 50px rgba(24,59,40,0.10);

}


.bd-home-product-image {

    position: relative;

    height: 300px;

    overflow: hidden;

    background: #e9eee9;

}


.bd-home-product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: 0.6s ease;

}


.bd-home-product-card:hover
.bd-home-product-image img {

    transform: scale(1.06);

}


.bd-home-product-image span {

    position: absolute;

    top: 15px;

    left: 15px;

    padding: 7px 11px;

    background: white;

    border-radius: 100px;

    color: var(--bd-green);

    font-size: 10px;

    font-weight: 700;

}


.bd-home-product-info {

    padding: 22px;

}


.bd-home-product-info h3 {

    font-size: 18px;

}


.bd-home-product-info a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 12px;

    color: var(--bd-green);

    font-size: 13px;

    font-weight: 700;

}


/* =====================================================
   SUSTAINABILITY
===================================================== */

.bd-home-sustainable {

    padding: 60px 0;

    background: white;

}


.bd-home-sustainable-grid {

    display: grid;

    grid-template-columns:
        0.95fr
        1.05fr;

    gap: 100px;

    align-items: center;

}


.bd-home-sustainable-image {

    position: relative;

    height: 620px;

}


.bd-home-sustainable-image img {

    width: 100%;

    height: 95%;

    object-fit: cover;

    border-radius: 25px;

}


.bd-home-image-tag {

    position: absolute;

    left: 25px;

    bottom: 25px;

    padding: 13px 18px;

    display: flex;

    align-items: center;

    gap: 10px;

    background: white;

    color: var(--bd-green);

    border-radius: 100px;

    font-size: 12px;

    font-weight: 700;

}


.bd-home-sustainable-content h2 {

    margin: 20px 0 40px;

}


.bd-home-sustainable-list {

    display: flex;

    flex-direction: column;

    gap: 25px;

}


.bd-home-sustainable-item {

    display: grid;

    grid-template-columns:
        42px 1fr;

    gap: 18px;

}


.bd-home-check {

    width: 42px;

    height: 42px;

    display: grid;

    place-items: center;

    background: var(--bd-green-soft);

    color: var(--bd-green);

    border-radius: 50%;

}


.bd-home-sustainable-item h3 {

    margin-bottom: 8px;

    font-size: 18px;

}


.bd-home-sustainable-item p {

    font-size: 14px;

    line-height: 1.7;

}


/* =====================================================
   PROCESS
===================================================== */

.bd-home-process {

    padding: 60px 0;

    background: var(--bd-green);

    color: white;

}


.bd-home-process .bd-home-label {

    color: #b8d5b9;

}


.bd-home-process .bd-home-label::before {

    background: #b8d5b9;

}


.bd-home-process h2 {

    margin-top: 20px;

    color: white;

}


.bd-home-process h2 span {

    color: #b8d5b9;

}


.bd-home-process-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 40px;

    margin-top: 70px;

}


.bd-home-process-card {

    position: relative;

}


.bd-home-process-number {

    width: 76px;

    height: 76px;

    display: grid;

    place-items: center;

    margin-bottom: 30px;

    border: 1px solid rgba(255,255,255,0.25);

    border-radius: 50%;

    color: #b8d5b9;

    font-family: "Playfair Display",serif;

    font-size: 22px;

}


.bd-home-process-icon {

    margin-bottom: 18px;

    color: #b8d5b9;

    font-size: 22px;

}


.bd-home-process-card h3 {

    margin-bottom: 14px;

    font-size: 20px;

}


.bd-home-process-card p {

    max-width: 350px;

    color: rgba(255,255,255,0.68);

    font-size: 14px;

    line-height: 1.8;

}


/* =====================================================
   CTA
===================================================== */

.bd-home-cta {

    padding: 60px 0;

    background: var(--bd-cream);

}


.bd-home-cta-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    padding: 60px;

    background:
        linear-gradient(
            120deg,
            #244f37,
            #173f2b
        );

    border-radius: 28px;

}


.bd-home-cta .bd-home-label {

    color: #b8d5b9;

}


.bd-home-cta .bd-home-label::before {

    background: #b8d5b9;

}


.bd-home-cta h2 {

    margin-top: 20px;

    color: white;

}


.bd-home-cta h2 span {

    color: #b8d5b9;

}


/* =====================================================
   BLOG
===================================================== */

.bd-home-blog {

    padding: 60px 0;

    background: white;

}


.bd-home-blog-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    margin-bottom: 55px;

}


.bd-home-blog-heading h2 {

    margin-top: 18px;

}


.bd-home-blog-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 25px;

}


.bd-home-blog-card {

    overflow: hidden;

    border: 1px solid var(--bd-border);

    border-radius: 18px;

    transition: 0.35s ease;

}


.bd-home-blog-card:hover {

    transform: translateY(-7px);

}


.bd-home-blog-image {

    height: 260px;

    overflow: hidden;

}


.bd-home-blog-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: 0.6s ease;

}


.bd-home-blog-card:hover
.bd-home-blog-image img {

    transform: scale(1.06);

}


.bd-home-blog-content {

    padding: 25px;

}


.bd-home-blog-content > span {

    color: var(--bd-muted);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

}


.bd-home-blog-content h3 {

    margin: 12px 0 20px;

    font-family: "Playfair Display",serif;

    font-size: 21px;

    line-height: 1.3;

}


.bd-home-blog-content a {

    color: var(--bd-green);

    font-size: 13px;

    font-weight: 700;

}


/* =====================================================
   REVIEWS
===================================================== */

.bd-home-testimonials {

    padding: 60px 0;

    background: var(--bd-cream);

}


.bd-home-testimonial-heading {

    text-align: center;

    margin-bottom: 50px;

}


.bd-home-testimonial-heading h2 {

    max-width: 650px;

    margin: 18px auto 0;

}


/* =====================================================
   HORIZONTAL REVIEW WRAPPER
===================================================== */

.bd-home-review-wrapper {

    position: relative;

}


.bd-home-review-track {

    display: flex;

    gap: 22px;

    overflow-x: auto;

    overflow-y: hidden;

    padding: 10px 5px 25px;

    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;

    cursor: grab;

}


/*
   Hide scrollbar but keep scrolling
*/

.bd-home-review-track::-webkit-scrollbar {

    height: 5px;

}


.bd-home-review-track::-webkit-scrollbar-track {

    background: #dfe6df;

    border-radius: 10px;

}


.bd-home-review-track::-webkit-scrollbar-thumb {

    background: #729077;

    border-radius: 10px;

}


.bd-home-review-card {

    flex: 0 0 370px;

    min-height: 270px;

    padding: 28px;

    background: white;

    border: 1px solid var(--bd-border);

    border-radius: 18px;

    scroll-snap-align: start;

    box-shadow:
        0 8px 25px rgba(24,59,40,0.05);

    transition: 0.3s ease;

}


.bd-home-review-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(24,59,40,0.10);

}


/* REVIEW TOP */

.bd-home-review-top {

    display: flex;

    align-items: center;

    gap: 12px;

}


.bd-home-review-avatar {

    width: 48px;

    height: 48px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    background: var(--bd-green);

    color: white;

    border-radius: 50%;

    font-size: 12px;

    font-weight: 700;

}


.bd-home-review-top strong,
.bd-home-review-top span {

    display: block;

}


.bd-home-review-top strong {

    font-size: 14px;

}


.bd-home-review-top span {

    margin-top: 2px;

    color: var(--bd-muted);

    font-size: 11px;

}


/* STARS */

.bd-home-stars {

    display: flex;

    gap: 4px;

    margin: 20px 0 15px;

    color: #d5a83d;

    font-size: 12px;

}


/* REVIEW TEXT */

.bd-home-review-card p {

    color: var(--bd-text);

    font-size: 14px;

    line-height: 1.75;

}


/* SCROLL HINT */

.bd-home-review-scroll-hint {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 9px;

    margin-top: 14px;

    color: var(--bd-muted);

    font-size: 11px;

    letter-spacing: 0.5px;

}


/* =====================================================
   NEWSLETTER
===================================================== */

.bd-home-newsletter {

    padding: 60px 0;

    background: white;

}


.bd-home-newsletter-inner {

    display: grid;

    grid-template-columns:
        0.8fr
        1fr;

    gap: 100px;

    align-items: center;

    padding: 60px;

    background: var(--bd-green-soft);

    border-radius: 25px;

}


.bd-home-newsletter-text h2 {

    margin-top: 18px;

}


.bd-home-newsletter-text p {

    max-width: 450px;

    margin-top: 15px;

}


.bd-home-newsletter-form {

    display: flex;

    gap: 10px;

}


.bd-home-input {

    position: relative;

    flex: 1;

}


.bd-home-input i {

    position: absolute;

    left: 18px;

    top: 50%;

    transform: translateY(-50%);

    color: var(--bd-muted);

}


.bd-home-input input {

    width: 100%;

    height: 54px;

    padding: 0 20px 0 48px;

    border: 1px solid var(--bd-border);

    border-radius: 100px;

    outline: none;

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

    .bd-home-container {

        width: calc(100% - 60px);

    }


    .bd-home-hero-grid {

        gap: 35px;

    }


    .bd-home-feature-grid {

        grid-template-columns:
            repeat(2,1fr);

    }


    .bd-home-products-grid {

        grid-template-columns:
            repeat(2,1fr);

    }


    .bd-home-hero-image-wrapper {

        height: 500px;

    }

}


/* =====================================================
   TABLET / MOBILE
===================================================== */

@media (max-width: 850px) {

    .bd-home-container {

        width: calc(100% - 40px);

    }


    /* HERO */

    .bd-home-hero {

        min-height: auto;

        padding:
            145px 0 80px;

    }


    .bd-home-hero::before {

        width: 100%;

        clip-path: none;

    }


    .bd-home-hero-grid {

        grid-template-columns: 1fr;

    }


    .bd-home-hero-content {

        max-width: 650px;

    }


    .bd-home-hero-image {

        min-height: 400px;

    }


    .bd-home-hero-image-wrapper {

        height: 420px;

    }


    .bd-home-hero-badge {

        left: 20px;

        bottom: 25px;

    }


    .bd-home-scroll {

        display: none;

    }


    /* INTRO */

    .bd-home-intro {

        padding: 80px 0;

    }


    .bd-home-intro-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .bd-home-intro-image {

        height: 430px;

    }


    .bd-home-intro-content {

        padding-right: 0;

    }


    /* WHY */

    .bd-home-section-heading {

        grid-template-columns: 1fr;

        gap: 25px;

    }


    .bd-home-feature-grid {

        grid-template-columns: 1fr;

    }


    /* PRODUCTS */

    .bd-home-products-heading {

        display: flex;

        flex-direction: column;

        align-items: flex-start;

    }


    .bd-home-products-grid {

        grid-template-columns:
            repeat(2,1fr);

    }


    /* SUSTAINABILITY */

    .bd-home-sustainable-grid {

        grid-template-columns: 1fr;

        gap: 50px;

    }


    .bd-home-sustainable-image {

        height: 450px;

    }


    /* PROCESS */

    .bd-home-process-grid {

        grid-template-columns: 1fr;

        gap: 50px;

    }


    /* CTA */

    .bd-home-cta-inner {

        flex-direction: column;

        align-items: flex-start;

    }


    /* BLOG */

    .bd-home-blog-heading {

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

    }


    .bd-home-blog-grid {

        grid-template-columns: 1fr;

    }


    /* REVIEWS */

    .bd-home-review-card {

        flex-basis: 330px;

    }


    /* NEWSLETTER */

    .bd-home-newsletter-inner {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .bd-home-newsletter-form {

        flex-direction: column;

    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 500px) {

    .bd-home-container {

        width: calc(100% - 30px);

    }


    .bd-home-hero {

        padding-top: 125px;

    }


    .bd-home-hero h1 {

        font-size: 43px;

        letter-spacing: -1px;

    }


    .bd-home-hero-content > p {

        font-size: 15px;

    }


    .bd-home-hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }


    .bd-home-btn {

        width: 100%;

    }


    .bd-home-hero-image-wrapper {

        height: 350px;

    }


    .bd-home-intro-image {

        height: 350px;

    }


    .bd-home-products-grid {

        grid-template-columns: 1fr;

    }


    .bd-home-product-image {

        height: 280px;

    }


    .bd-home-sustainable-image {

        height: 360px;

    }


    .bd-home-cta-inner {

        padding: 35px 25px;

    }


    .bd-home-testimonials {

        padding: 75px 0;

    }


    .bd-home-review-card {

        flex-basis: 290px;

        min-height: 275px;

        padding: 23px;

    }


    .bd-home-newsletter-inner {

        padding: 35px 25px;

    }

}

/* =====================================================
   HOME HERO — VIDEO SHOWCASE OVERRIDES
   Keeps the original Home page styling below the hero intact.
===================================================== */

.bd-home-video-hero {
    min-height: auto !important;
    padding: 92px 0 48px !important;
    display: block !important;
    background: #f4f5f1 !important;
    overflow: visible !important;
}

.bd-home-video-hero::before,
.bd-home-video-hero::after {
    display: none !important;
}

.bd-home-video-container {
    width: min(calc(100% - 48px), 1320px);
    margin: 0 auto;
}

.bd-home-video-stage {
    position: relative;
    height: min(68vh, 650px);
    min-height: 470px;
    overflow: hidden;
    border-radius: 24px;
    background: #14241c;
    box-shadow: 0 22px 55px rgba(19, 49, 34, .13);
    isolation: isolate;
}

.bd-home-main-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #172d22;
}

.bd-home-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0,0,0,.03) 0%, transparent 46%, rgba(0,0,0,.38) 100%),
        linear-gradient(90deg, rgba(0,0,0,.08), transparent 30%, transparent 70%, rgba(0,0,0,.08));
}





.bd-home-video-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(20, 78, 75, .88);
    color: white;
    cursor: pointer;
    font-size: 14px;
    transition: transform .25s ease, background .25s ease;
}

.bd-home-video-arrow:hover {
    background: #174c49;
    transform: translateY(-50%) scale(1.08);
}

.bd-home-video-prev { left: 0; }
.bd-home-video-next { right: 0; }













































/* Prevent the original hero grid/image rules from affecting the video hero. */
.bd-home-video-hero .bd-home-container,
.bd-home-video-hero .bd-home-hero-grid,
.bd-home-video-hero .bd-home-hero-content,
.bd-home-video-hero .bd-home-hero-image,
.bd-home-video-hero .bd-home-scroll {
    display: none !important;
}

@media (max-width: 800px) {
    .bd-home-video-hero {
        padding: 82px 0 28px !important;
    }

    .bd-home-video-container {
        width: calc(100% - 24px);
    }

    .bd-home-video-stage {
        height: 68vw;
        min-height: 310px;
        border-radius: 16px;
    }

    

    .bd-home-video-arrow {
        width: 36px;
        height: 36px;
    }
    

    

    
}


/* =====================================================
   REVIEWS — GRAB TO SCROLL
===================================================== */

.bd-home-review-track {
    cursor: grab !important;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.bd-home-review-track.is-grabbing {
    cursor: grabbing !important;
    scroll-behavior: auto;
}

.bd-home-review-track.is-grabbing .bd-home-review-card {
    pointer-events: none;
}


/* =====================================================
   SETTINGS-DRIVEN HERO MEDIA
===================================================== */
.bd-home-hero-media[hidden] { display: none !important; }

.bd-home-hero-image-media,
.bd-home-hero-youtube {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border: 0;
    background: #14241c;
}

.bd-home-hero-youtube {
    pointer-events: none;
}

.bd-home-video-stage .bd-home-video-overlay {
    z-index: 1;
}
/* =====================================================
   MOBILE HOME LAYOUT — FINAL
   2 cards per row for Why + Products.
   How It Works: 2 cards + third full width.
   ===================================================== */

@media (max-width: 850px) {

    /* WHY BIODEBLOOM — 2 cards per row */
    .bd-home-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0;
    }

    .bd-home-feature-card {
        min-height: 300px;
        padding: 24px 18px;
    }

    .bd-home-feature-icon {
        margin: 28px 0 18px;
        width: 48px;
        height: 48px;
        font-size: 17px;
    }

    .bd-home-feature-card h3 {
        font-size: 16px;
        line-height: 1.35;
    }

    .bd-home-feature-card p {
        font-size: 12px;
        line-height: 1.6;
    }

    /* PRODUCTS — 2 cards per row */
    .bd-home-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px;
    }

    .bd-home-product-image {
        height: 220px;
    }

    .bd-home-product-info {
        padding: 16px;
    }

    .bd-home-product-info h3 {
        font-size: 15px;
        line-height: 1.35;
    }

    .bd-home-product-info a {
        font-size: 11px;
    }

    /* HOW IT WORKS — 2 cards + third full width */
    .bd-home-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 28px 18px;
    }

    .bd-home-process-card:nth-child(3) {
        grid-column: 1 / -1;
    }

    .bd-home-process-card p {
        max-width: none;
        font-size: 12px;
    }

    .bd-home-process-card h3 {
        font-size: 16px;
        line-height: 1.4;
    }

    .bd-home-process-number {
        width: 58px;
        height: 58px;
        margin-bottom: 20px;
        font-size: 17px;
    }
}

@media (max-width: 500px) {

    /* Keep the requested 2-column mobile layout even on small phones */
    .bd-home-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .bd-home-feature-card {
        min-height: 0;
        padding: 14px 10px 16px;
    }

    .bd-home-feature-icon {
        margin: 12px 0 10px;
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .bd-home-feature-card h3 {
        margin-bottom: 7px;
        font-size: 12px;
        line-height: 1.3;
    }

    .bd-home-feature-card p {
        font-size: 9px;
        line-height: 1.45;
    }

    .bd-home-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    .bd-home-product-image {
        height: 180px;
    }

    .bd-home-product-info {
        padding: 13px 12px;
    }

    .bd-home-product-info h3 {
        font-size: 13px;
    }

    .bd-home-product-info a {
        font-size: 10px;
    }

    .bd-home-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px 14px;
    }

    .bd-home-process-card:nth-child(3) {
        grid-column: 1 / -1;
    }

    .bd-home-process-number {
        width: 50px;
        height: 50px;
        font-size: 15px;
    }

    /* Clean video hero — only left/right arrows */
    .bd-home-video-stage {
        min-height: 280px;
        height: 68vw;
    }

    .bd-home-video-arrow {
        width: 36px;
        height: 36px;
    }
}


/* Static hero image must fill the complete hero stage */
.bd-home-hero-image-media {
    object-fit: contain;
    background: #14241c
}



/* Homepage dynamic product/blog card layout fixes */
.bd-home-product-image {
    display: block;
    width: 100%;
    text-decoration: none;
}
.bd-home-empty-message {
    grid-column: 1 / -1;
    width: 100%;
    margin: 12px 0;
    padding: 24px;
    border: 1px solid rgba(16, 56, 42, .12);
    border-radius: 14px;
    color: #68736e;
    background: rgba(255, 255, 255, .7);
    text-align: center;
    line-height: 1.7;
}
.bd-home-product-image-placeholder,
.bd-home-blog-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: grid;
    place-items: center;
    color: #1c5b46;
    background: #eaf2ee;
    font-size: 32px;
}
.bd-home-blog-image {
    display: block;
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #eaf2ee;
}
.bd-home-blog-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bd-home-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    background: #fff;
}
.bd-home-blog-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
    padding: 25px;
}
.bd-home-blog-content h3 {
    margin: 12px 0 14px;
    overflow-wrap: anywhere;
}
.bd-home-blog-content > p {
    margin: 0 0 18px;
    color: #68736e;
    font-size: 13px;
    line-height: 1.65;
}
.bd-home-blog-content > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}
@media (max-width: 850px) {
    .bd-home-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    .bd-home-blog-image { height: 220px; }
    .bd-home-blog-content { padding: 18px; }
}
@media (max-width: 560px) {
    .bd-home-blog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .bd-home-blog-image { height: 230px; }
    .bd-home-blog-content { padding: 18px; }
    .bd-home-blog-content h3 { font-size: 19px; }
    .bd-home-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .bd-home-product-image { height: 175px; }
}
