/* =========================================
   ROOT VARIABLES
========================================= */

:root {
    --primary: #17a01c;
    --primary-dark: #17a01c;
    --primary-light: #eaf6e9;

    --secondary: #f4b942;

    --dark: #18301d;
    --text: #5e6b61;
    --light: #f8fbf7;
    --white: #ffffff;

    --border: #e4ebe3;

    --shadow-sm: 0 8px 25px rgba(31, 75, 35, 0.08);
    --shadow-md: 0 15px 40px rgba(31, 75, 35, 0.12);

    --radius: 18px;
}


/* =========================================
   GLOBAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3 {
    color: var(--dark);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    padding: 14px 0;
}

.navbar-brand {
    color: var(--dark);
}

.navbar-brand:hover {
    color: var(--primary);
}

.navbar-brand strong {
    display: block;
    font-size: 1.15rem;
    line-height: 1;
}

.navbar-brand small {
    color: var(--text);
    font-size: 0.72rem;
}

.brand-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--white);
    background: var(--primary);

    font-size: 1.4rem;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    margin: 0 8px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}


/* =========================================
   BUTTONS
========================================= */

.btn-primary-custom {
    color: var(--white);
    background: var(--primary);
    border: 2px solid var(--primary);

    padding: 11px 22px;
    border-radius: 10px;

    font-weight: 600;

    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    color: var(--white);
    background: var(--primary-dark);
    border-color: var(--primary-dark);

    transform: translateY(-2px);
}

.btn-outline-custom {
    color: var(--primary);
    background: transparent;
    border: 2px solid var(--primary);

    padding: 11px 22px;
    border-radius: 10px;

    font-weight: 600;

    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    color: var(--white);
    background: var(--primary);
}


/* =========================================
   HERO
========================================= */

.hero-section {
    background:
        radial-gradient(circle at 90% 20%,
            #e5f4df 0,
            transparent 35%),
        linear-gradient(135deg,
            #f8fcf6,
            #edf7e9);

    padding: 90px 0 100px;

    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: var(--primary-light);
    color: var(--primary);

    padding: 7px 14px;
    border-radius: 50px;

    font-size: 0.9rem;
    font-weight: 600;

    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 1.08;

    letter-spacing: -1.5px;

    max-width: 700px;
}

.hero-title span {
    color: var(--primary);
}

.hero-text {
    max-width: 590px;

    margin: 25px 0;

    font-size: 1.08rem;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;

    margin-top: 30px;

    font-size: 0.9rem;
    color: var(--dark);
}

.hero-features i {
    color: var(--primary);
    margin-right: 5px;
}


/* HERO IMAGE */

.hero-image-wrapper {
    position: relative;
    max-width: 560px;
    margin: auto;
}

.hero-circle {
    position: absolute;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    background: #d8edcf;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 0;
}

.hero-image {
    position: relative;
    z-index: 1;

    width: 100%;
    height: 520px;

    object-fit: cover;

    border-radius: 50% 50% 45% 45%;

    box-shadow: var(--shadow-md);
}

.floating-card {
    position: absolute;

    z-index: 2;

    background: var(--white);

    box-shadow: var(--shadow-md);

    border-radius: 15px;

    padding: 14px 18px;

    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-card i {
    color: var(--primary);
    font-size: 1.6rem;
}

.floating-card strong {
    display: block;
    color: var(--dark);
}

.floating-card small {
    display: block;
    color: var(--text);
}

.floating-card-one {
    left: -25px;
    bottom: 55px;
}

.floating-card-two {
    right: -20px;
    top: 70px;

    display: block;

    text-align: center;
}

.floating-card-two strong {
    color: var(--primary);
    font-size: 1.4rem;
}


/* =========================================
   SECTIONS
========================================= */

.section-padding {
    padding: 90px 0;
}

.section-heading {
    max-width: 650px;
    margin: 0 auto 50px;
}

.section-label {
    display: inline-block;

    color: var(--primary);

    text-transform: uppercase;
    letter-spacing: 2px;

    font-size: 0.78rem;
    font-weight: 700;

    margin-bottom: 10px;
}

.section-heading p {
    margin-top: 15px;
}


/* =========================================
   CATEGORIES
========================================= */

.category-card {
    display: block;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 30px 20px;

    text-align: center;

    height: 100%;

    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-7px);

    border-color: transparent;

    box-shadow: var(--shadow-md);
}

.category-icon {
    width: 70px;
    height: 70px;

    border-radius: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    font-size: 1.8rem;
}

.category-icon.green {
    color: #2f7d32;
    background: #e6f5e3;
}

.category-icon.orange {
    color: #e58c22;
    background: #fff1dc;
}

.category-icon.pink {
    color: #d95b77;
    background: #fde8ee;
}

.category-icon.blue {
    color: #3786a5;
    background: #e4f3f8;
}

.category-card h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.category-card p {
    font-size: 0.85rem;
    margin: 0;
}


/* =========================================
   PLANTS
========================================= */

.plants-section {
    background: var(--light);
}

.view-all-link {
    color: var(--primary);
    font-weight: 600;
}

.view-all-link:hover {
    color: var(--primary-dark);
}

.plant-card {
    background: var(--white);

    border-radius: var(--radius);

    overflow: hidden;

    height: 100%;

    box-shadow: var(--shadow-sm);

    transition: all 0.3s ease;
}

.plant-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.plant-image {
    position: relative;

    height: 270px;

    overflow: hidden;

    background: #edf5e9;
}

.plant-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.plant-card:hover .plant-image img {
    transform: scale(1.06);
}

.plant-badge {
    position: absolute;

    top: 14px;
    left: 14px;

    z-index: 2;

    background: var(--primary);

    color: var(--white);

    padding: 5px 10px;

    border-radius: 50px;

    font-size: 0.72rem;
    font-weight: 600;
}

.plant-content {
    padding: 18px;
}

.plant-category {
    color: var(--primary);

    font-size: 0.75rem;

    font-weight: 600;

    text-transform: uppercase;
}

.plant-content h3 {
    font-size: 1.05rem;

    margin: 5px 0 15px;
}

.plant-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;
}

.plant-bottom strong {
    color: var(--dark);
    font-size: 1.15rem;
}

.whatsapp-btn {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--white);

    background: #25d366;

    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    color: var(--white);
    background: #1da851;

    transform: scale(1.08);
}


/* =========================================
   WHY SECTION
========================================= */

.why-section {
    background: var(--white);
}

.about-text {
    margin: 20px 0 30px;
}

.benefit {
    display: flex;
    gap: 15px;

    margin-bottom: 22px;
}

.benefit-icon {
    flex-shrink: 0;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: var(--primary);

    background: var(--primary-light);

    font-size: 1.3rem;
}

.benefit h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.benefit p {
    margin: 0;
    font-size: 0.9rem;
}


/* =========================================
   CTA
========================================= */

.cta-section {
    padding: 30px 0 90px;
}

.cta-box {
    position: relative;

    overflow: hidden;

    padding: 65px 25px;

    border-radius: 28px;

    color: var(--white);

    background:
        linear-gradient(135deg,
            #2f7d32,
            #1e6127);
}

.cta-box::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.06);

    top: -120px;
    right: -80px;
}

.cta-icon {
    display: inline-flex;

    width: 60px;
    height: 60px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);

    font-size: 1.5rem;

    margin-bottom: 15px;
}

.cta-box h2 {
    color: var(--white);

    max-width: 650px;

    margin: auto auto 15px;
}

.cta-box p {
    max-width: 600px;

    margin: 0 auto 25px;

    opacity: 0.9;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: #132318;

    color: #b9c7bc;

    padding: 65px 0 0;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--white);

    font-size: 1.2rem;
    font-weight: 700;

    margin-bottom: 15px;
}

.footer-brand i {
    color: #7fc97f;
}

.footer p {
    max-width: 400px;
}

.footer h3 {
    color: var(--white);

    font-size: 1rem;

    margin-bottom: 18px;
}

.footer ul {
    list-style: none;

    padding: 0;
    margin: 0;
}

.footer li {
    margin-bottom: 9px;
}

.footer a {
    color: #b9c7bc;
}

.footer a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 10px;

    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.contact-list i {
    color: #7fc97f;

    margin-right: 7px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);

    margin-top: 45px;

    padding: 20px 0;

    text-align: center;
}

.footer-bottom p {
    margin: 0;

    max-width: none;

    font-size: 0.85rem;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .navbar-collapse {
        padding-top: 15px;
    }

    .nav-link {
        margin: 5px 0;
    }

    .hero-section {
        padding: 65px 0 80px;
    }

    .hero-image-wrapper {
        margin-top: 30px;
    }

    .hero-image {
        height: 450px;
    }

    .hero-circle {
        width: 380px;
        height: 380px;
    }

    .floating-card-one {
        left: 0;
    }

    .floating-card-two {
        right: 0;
    }
}


@media (max-width: 767px) {

    .section-padding {
        padding: 65px 0;
    }

    .hero-section {
        padding: 50px 0 65px;
    }

    .hero-title {
        font-size: 2.65rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-features {
        flex-direction: column;
        gap: 8px;
    }

    .hero-image {
        height: 370px;
    }

    .hero-circle {
        width: 310px;
        height: 310px;
    }

    .floating-card {
        transform: scale(0.9);
    }

    .floating-card-one {
        left: -5px;
        bottom: 25px;
    }

    .floating-card-two {
        right: -5px;
        top: 30px;
    }

    .plant-image {
        height: 220px;
    }

    .plant-content {
        padding: 14px;
    }

    .plant-content h3 {
        font-size: 0.95rem;
    }

    .category-card {
        padding: 22px 12px;
    }

    .category-icon {
        width: 58px;
        height: 58px;
    }

    .cta-section {
        padding-bottom: 65px;
    }
}


@media (max-width: 400px) {

    .hero-title {
        font-size: 2.35rem;
    }

    .plant-image {
        height: 190px;
    }

    .floating-card {
        display: none;
    }
}

/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.breadcrumb-item a {
    color: #179c1d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #1b5e20;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999;
}