﻿/* ===============================
   GLOBAL SAFETY
================================ */
html, body {
    overflow-x: hidden;
}

:root {
    --site-container: 1240px;
    --site-padding: 6vw;
}

/* ===============================
   CATEGORY HERO
================================ */
.category-hero-yara {
    position: relative;
    width: 100vw;
    height: 52vh;
    min-height: 400px;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

.category-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.category-hero-inner {
    position: relative;
    max-width: var(--site-container);
    margin: 0 auto;
    padding: 0 var(--site-padding);
    height: 100%;
}

.category-hero-panel {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    background: rgba(10, 36, 76, 0.92);
    padding: 26px 36px;
    max-width: 780px;
    color: #ffffff;
}

.category-eyebrow {
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #c7d7f0;
    margin-bottom: 12px;
}

.category-title {
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
}

.category-hero-desc {
    margin-top: 14px;
    font-size: 15.5px;
    line-height: 1.6;
    color: #d6e2ff;
    max-width: 520px;
}

/* MOBILE HERO */
@media (max-width: 768px) {
    .category-hero-yara {
        height: auto;
    }

    .category-hero-inner {
        padding: 0;
    }

    .category-hero-bg {
        position: relative;
        height: 240px;
    }

    .category-hero-panel {
        position: relative;
        transform: none;
        margin: -36px auto 0;
        max-width: 90%;
        padding: 22px 20px;
    }
}

/* ===============================
   WHY GEOLIFE
================================ */
.why-category {
    padding: 60px 0 30px; /* ⬅️ was 60px */
}

    .why-category .rd-container {
        max-width: 1100px;
    }

.section-eyebrow {
    font-size: 12px;
    letter-spacing: 2.5px;
    color: #1f7f5c;
    margin-bottom: 12px;
    display: block;
}

.section-heading {
    font-size: 28px; /* ⬅️ DESKTOP FINAL */
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-intro {
    max-width: 820px;
    font-size: 16px;
    line-height: 1.7;
    color: #4f6b64;
    margin: 0;
}

/* ===============================
   CATEGORY PRODUCTS GRID
================================ */
.category-products {
    padding: 30px 0 70px; /* ⬅️ was 60px top */
}

    .category-products .rd-container {
        max-width: 1240px;
    }

.section-label {
    font-size: 12px;
    letter-spacing: 2.5px;
    color: #1f7f5c;
    display: block;
    margin-bottom: 10px;
}

/* GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 36px;
}

/* CARD */
.product-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    }



/* IMAGE */
.product-image {
    padding: 18px 18px 8px;
    background: #ffffff;
    display: flex;
    justify-content: center;
}

    .product-image img {
        height: 210px;
        object-fit: contain;
    }

/* CONTENT */
.product-content {
    padding: 18px 22px 24px;
}

    .product-content h4 {
        font-size: 17px;
        font-weight: 600;
        color: #153e35;
        margin-bottom: 6px;
    }

    .product-content p {
        font-size: 14.5px;
        line-height: 1.6;
        color: #5e7770;
        margin: 0;
    }

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .category-products {
        padding: 50px 0 60px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .section-heading {
        font-size: 24px;
        line-height: 1.3;
    }
    .product-image img {
        height: 180px;
    }
}



.product-btn {
    display: inline-block;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 500;
    color: #1f7f5c;
    text-decoration: none;
    transition: all 0.25s ease;
}

.product-card:hover .product-btn {
    transform: translateX(4px);
}


/* ===============================
   BREADCRUMB – CLEAN & CORPORATE
================================ */

.breadcrumb-wrap {
    background: #ffffff;
    padding: 14px 0 10px;
}

.breadcrumb {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 6vw;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
}

    /* LINKS */
    .breadcrumb a {
        color: #2f80ed;
        text-decoration: none;
        font-weight: 400;
    }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

/* SEPARATOR */
.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    margin: 0 6px;
    color: #9aa5a1;
}

/* ACTIVE (LAST) */
.breadcrumb-item.active {
    color: #2c3e37;
    font-weight: 400;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: 13px;
    }
}




/* ===============================
   USE CASES / CROPS
================================ */

.category-crops {
    padding: 20px 0 30px;
    background: #ffffff;
}

/* GRID */
.crop-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 36px;
}

/* CARD */
.crop-card {
    background: #f8fbfa;
    border-radius: 14px;
    padding: 26px 18px 28px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    box-shadow: 0 8px 22px rgba(0,0,0,0.04);
}

    .crop-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 34px rgba(0,0,0,0.08);
    }

/* ICON */
.crop-icon {
    font-size: 34px;
    display: block;
    margin-bottom: 14px;
}

/* TITLE */
.crop-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #153e35;
    margin-bottom: 6px;
}

/* SUBTEXT */
.crop-card p {
    font-size: 13.5px;
    line-height: 1.5;
    color: #5e7770;
    margin: 0;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
    .crop-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .category-crops {
        padding: 40px 0 55px;
    }

    .crop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .crop-icon {
        font-size: 30px;
    }
}

/* ===============================
   SOFT CTA SECTION
================================ */

.soft-cta {
    background: #f8fbfa;
    padding: 60px 20px;
}

.soft-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* TEXT */
.soft-cta-content {
    max-width: 640px;
}

.soft-cta-heading {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.3;
    color: #122b26;
    margin-bottom: 14px;
}

.soft-cta-text {
    font-size: 16px;
    line-height: 1.65;
    color: #4f6b64;
    margin: 0;
}

/* ACTIONS */
.soft-cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* BUTTONS */
.cta-btn-primary {
    background: #1f7f5c;
    color: #ffffff;
    padding: 14px 26px;
    border-radius: 30px;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

    .cta-btn-primary:hover {
        background: #176a4d;
    }

.cta-btn-secondary {
    background: transparent;
    color: #1f7f5c;
    padding: 14px 22px;
    border-radius: 30px;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #cfe6dd;
    transition: all 0.25s ease;
}

    .cta-btn-secondary:hover {
        background: #eef6f3;
    }

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

    .soft-cta {
        padding: 30px 0;
    }

    .soft-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .soft-cta-heading {
        font-size: 22px;
    }

    .soft-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        text-align: center;
    }
}