/********** Molepse BioResources **********/

:root {
    --primary: #1B4332;
    --primary-mid: #2D6A4F;
    --secondary: #40916C;
    --orange: #E07A2F;
    --orange-soft: #F4A261;
    --orange-deep: #C45F1A;
    --accent: #52796F;
    --earth: #8B7355;
    --ivory: #F7F5F0;
    --ivory-dark: #EDE9E0;
    --charcoal: #1A1F1C;
    --muted: #5A6B5E;
    --white: #FFFFFF;
    --success: #2D6A4F;
    --error: #9B2C2C;
    --shadow: 0 18px 50px rgba(27, 67, 50, 0.12);
    --radius: 4px;
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Outfit", sans-serif;
    --nav-height: 86px;
    --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--ivory);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.brand-name, .section-title, .hero-title {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--charcoal);
    line-height: 1.2;
}

a {
    color: var(--primary-mid);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--orange);
}

.text-orange {
    color: var(--orange) !important;
}

.bg-orange {
    background-color: var(--orange) !important;
}

img {
    max-width: 100%;
    height: auto;
}

.text-primary {
    color: var(--primary-mid) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-muted-custom {
    color: var(--muted) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-primary-mid {
    background-color: var(--primary-mid) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-ivory {
    background-color: var(--ivory) !important;
}

.bg-ivory-dark {
    background-color: var(--ivory-dark) !important;
}

.bg-charcoal {
    background-color: var(--charcoal) !important;
}


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

.btn {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius);
    padding: 0.85rem 1.6rem;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn .material-symbols-outlined,
.btn .bi {
    font-size: 1.15rem;
    line-height: 1;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-mid) !important;
    border-color: var(--primary-mid) !important;
    color: var(--white) !important;
    box-shadow: 0 12px 28px rgba(27, 67, 50, 0.28);
}

.btn-secondary {
    background: var(--orange) !important;
    border-color: var(--orange) !important;
    color: var(--white) !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--orange-deep) !important;
    border-color: var(--orange-deep) !important;
    color: var(--white) !important;
    box-shadow: 0 12px 28px rgba(224, 122, 47, 0.35);
}

.btn-outline-light {
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    color: var(--white) !important;
    background: transparent !important;
}

.btn-outline-light:hover {
    background: var(--white) !important;
    color: var(--primary) !important;
}

.btn-outline-primary {
    border: 1.5px solid var(--primary) !important;
    color: var(--primary) !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}

.btn-cta {
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    border: none;
    color: var(--white) !important;
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--orange-soft), var(--orange));
    box-shadow: 0 12px 28px rgba(224, 122, 47, 0.35);
}

.btn-square {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 24px;
    bottom: 24px;
    z-index: 99;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    display: inline-flex;
    animation: bounceIn 0.45s ease;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar-molepse {
    background: #1A1F1C;
    backdrop-filter: blur(12px);
    min-height: var(--nav-height);
    z-index: 1030;
    transition:
        box-shadow var(--transition),
        background var(--transition);
}

.navbar-molepse.is-scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    background: rgba(26, 31, 28, 0.98);
}

.navbar-molepse .navbar-brand {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--white) !important;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform var(--transition);
}

.navbar-molepse .navbar-brand:hover {
    transform: scale(1.03);
    color: var(--white) !important;
}

.navbar-molepse .navbar-brand .brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px;
    animation: brandPulse 3.5s ease-in-out infinite;
}

.navbar-molepse .navbar-brand .brand-text {
    font-weight: 700;
    line-height: 1.15;
}

.navbar-molepse .navbar-brand span {
    color: var(--orange-soft);
    font-weight: 700;
}

@keyframes brandPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(244, 162, 97, 0);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 6px rgba(244, 162, 97, 0.15);
    }
}

.navbar-molepse .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.65rem 0.85rem !important;
    position: relative;
}

.navbar-molepse .nav-link::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.35rem;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.navbar-molepse .nav-link:hover,
.navbar-molepse .nav-link.active {
    color: var(--white) !important;
}

.navbar-molepse .nav-link:hover::after,
.navbar-molepse .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-molepse .btn-nav-cta {
    margin-left: 0.5rem;
    padding: 0.55rem 1.15rem !important;
    font-size: 0.88rem;
}

.navbar-molepse .btn-nav-cta::after {
    display: none;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
}

.navbar-toggler-icon {
    filter: invert(1);
}

@media (max-width: 991.98px) {

    .navbar-molepse .nav-link::after {
        display: none;
    }

    .navbar-molepse .btn-nav-cta {
        margin: 0.75rem 0.85rem 1rem;
        display: inline-block;
        text-align: center;
    }
}


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

.hero {
    position: relative;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            120deg,
            rgba(26, 31, 28, 0.88) 0%,
            rgba(27, 67, 50, 0.72) 45%,
            rgba(27, 67, 50, 0.45) 100%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(224, 122, 47, 0.28),
            transparent 45%
        );
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
    pointer-events: none;
}

.hero-home {
    min-height: 78vh;
    max-height: none;
    background-image: url("../imgs/bg-hero2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    animation: heroKenBurns 18s ease-in-out infinite alternate;
}

/* Pan only — never animate background-size (e.g. 112%), or tall
   mobile heroes tile the landscape image vertically. */
@keyframes heroKenBurns {
    from {
        background-position: 40% 45%;
    }

    to {
        background-position: 60% 55%;
    }
}

.hero-home .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    max-width: 56rem;
    padding: 4.5rem 1rem 4rem;
}

.hero-home .hero-eyebrow {
    font-size: 0.88rem;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.hero-home .hero-title {
    max-width: 22ch;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.1rem, 4.8vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.15rem;
    letter-spacing: -0.025em;
}

.hero-home .hero-lead {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.12rem;
    font-weight: 500;
    line-height: 1.65;
    max-width: 42rem;
    margin-bottom: 1.75rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-home .hero-actions {
    justify-content: center;
    gap: 0.95rem;
}

.hero-home .hero-actions .btn {
    padding: 0.9rem 1.55rem;
    font-size: 1rem;
    font-weight: 700;
}

.hero-home::before {
    background:
        linear-gradient(
            180deg,
            rgba(26, 31, 28, 0.42) 0%,
            rgba(27, 67, 50, 0.38) 50%,
            rgba(26, 31, 28, 0.55) 100%
        ),
        radial-gradient(
            circle at 70% 30%,
            rgba(224, 122, 47, 0.18),
            transparent 55%
        );
}

.hero-page {
    min-height: 42vh;
    background-image: url("../img/hero-agriculture.jpg");
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 5rem 0 4rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--orange-soft);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    margin-bottom: 1rem;
}

.hero-eyebrow .material-symbols-outlined,
.hero-eyebrow .bi {
    font-size: 1.1rem;
    color: var(--orange);
}

.hero-title {
    color: var(--white);
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    max-width: 16ch;
    margin-bottom: 1.25rem;
}

.hero-lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 42rem;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}


/* =========================================================
   TRUST STRIP
   ========================================================= */

.trust-strip {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.85);
    padding: 1.15rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-strip .trust-item {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.35rem 0.5rem;
    color: var(--orange-soft);
}

.trust-strip .trust-item .material-symbols-outlined,
.trust-strip .trust-item .bi {
    font-size: 1.1rem;
    vertical-align: middle;
    margin-right: 0.35rem;
    color: var(--orange);
}

.trust-strip .trust-divider {
    opacity: 0.25;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 5.5rem 0;
}

.section-sm {
    padding: 4rem 0;
}

.section-label {
    color: var(--orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    margin-bottom: 1rem;
}

.section-lead {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 40rem;
}

.section-lead.mx-auto {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   CARDS
   ========================================================= */

.info-card,
.impact-card,
.award-card,
.blog-card,
.why-card,
.contact-card {
    background: var(--white);
    border: 1px solid rgba(27, 67, 50, 0.08);
    border-radius: 8px;
    padding: 1.75rem;
    height: 100%;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.info-card:hover,
.impact-card:hover,
.award-card:hover,
.blog-card:hover,
.why-card:hover,
.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(224, 122, 47, 0.4);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        145deg,
        rgba(224, 122, 47, 0.18),
        rgba(27, 67, 50, 0.08)
    );
    color: var(--orange);
    font-size: 1.35rem;
    margin-bottom: 1.1rem;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.card-icon .material-symbols-outlined,
.card-icon .bi {
    font-size: 1.45rem;
    line-height: 1;
}

.info-card:hover .card-icon,
.why-card:hover .card-icon {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 8px 20px rgba(224, 122, 47, 0.25);
    background: linear-gradient(
        145deg,
        rgba(224, 122, 47, 0.28),
        rgba(27, 67, 50, 0.1)
    );
}


/* =========================================================
   PRODUCT SHOWCASE
   ========================================================= */

.product-showcase {
    background: linear-gradient(
        160deg,
        var(--primary) 0%,
        var(--primary-mid) 55%,
        #1B4332 100%
    );
    color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.product-showcase::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -80px;
    top: -80px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(183, 228, 199, 0.18),
        transparent 70%
    );
}

.product-showcase .product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(224, 122, 47, 0.2);
    border: 1px solid rgba(244, 162, 97, 0.45);
    color: var(--orange-soft);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: pulseSoft 2.8s ease-in-out infinite;
}

.product-showcase .product-badge .material-symbols-outlined,
.product-showcase .product-badge .bi {
    font-size: 1rem;
}

.product-showcase h2,
.product-showcase h3 {
    color: var(--white);
}

.product-feature {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 1.15rem;
    height: 100%;
    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.product-feature:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
    border-color: rgba(244, 162, 97, 0.45);
}

.product-feature .bi {
    display: inline-block;
    transition:
        transform var(--transition),
        color var(--transition);
}

.product-feature:hover .bi {
    transform: scale(1.15) rotate(-6deg);
    color: var(--orange-soft) !important;
}

.product-visual {
    min-height: 280px;
    background:
        linear-gradient(
            rgba(27, 67, 50, 0.15),
            rgba(27, 67, 50, 0.35)
        ),
        url("../img/products/dudukit.jpg") center/cover;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-visual img,
.product-photo {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.product-visual-label {
    position: absolute;
    background: rgba(247, 245, 240, 0.95);
    color: var(--primary);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 650;
}

.product-card-media {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    border: 1px solid rgba(27, 67, 50, 0.08);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.product-card-media:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(27, 67, 50, 0.16);
}

.product-card-media img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.product-card-media .card-body {
    padding: 1.5rem;
}


/* =========================================================
   GALLERY
   ========================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 160px;
    gap: 0.85rem;
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--charcoal);
    grid-column: span 4;
    box-shadow: 0 10px 30px rgba(27, 67, 50, 0.1);
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow var(--transition);
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gallery-item:nth-child(1) {
    grid-column: span 7;
    grid-row: span 2;
}

.gallery-item:nth-child(2) {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item:nth-child(3),
.gallery-item:nth-child(4),
.gallery-item:nth-child(5) {
    grid-column: span 4;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.5s ease;
}

.gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(26, 31, 28, 0.88) 100%
    );
    z-index: 1;
    opacity: 0.75;
    transition: opacity var(--transition);
}

.gallery-item:hover {
    box-shadow: 0 22px 50px rgba(224, 122, 47, 0.28);
    transform: translateY(-6px) scale(1);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: saturate(1.1);
}

.gallery-item:hover::before {
    opacity: 0.9;
}

.gallery-item .gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem 1.35rem;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 2;
    transform: translateY(8px);
    transition: transform var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-item .gallery-caption small {
    display: block;
    margin-top: 0.25rem;
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--orange-soft);
    opacity: 0.95;
}

.gallery-item .gallery-zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transform: scale(0.7);
    transition:
        opacity var(--transition),
        transform var(--transition);
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: scale(1);
}

.crop-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(224, 122, 47, 0.12);
    color: var(--orange-deep);
    border: 1px solid rgba(224, 122, 47, 0.25);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0.25rem;
}

.team-photo {
    width: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}


/* =========================================================
   MEDIA LINKS
   ========================================================= */

.media-link-card {
    display: block;
    background: var(--white);
    border: 1px solid rgba(27, 67, 50, 0.08);
    border-radius: 10px;
    padding: 1.15rem 1.25rem;
    height: 100%;
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
    color: var(--charcoal);
}

.media-link-card:hover {
    transform: translateY(-4px);
    border-color: rgba(224, 122, 47, 0.4);
    box-shadow: var(--shadow);
    color: var(--charcoal);
}

.media-link-card .bi {
    color: var(--orange);
    margin-right: 0.35rem;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.logo-lockup img {
    width: min(160px, 40vw);
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

.logo-lockup .brand-line {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--white);
    font-weight: 650;
    letter-spacing: -0.02em;
}

.logo-lockup .brand-line em {
    font-style: normal;
    color: var(--orange-soft);
    font-weight: 500;
}


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

.process-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
}

.process-step {
    background: var(--white);
    border: 1px solid rgba(27, 67, 50, 0.1);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    min-width: 120px;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
}

.process-arrow {
    color: var(--orange);
    font-size: 1.25rem;
}

.timeline {
    position: relative;
    padding-left: 1.5rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(var(--orange), var(--primary));
}

.timeline-item {
    position: relative;
    padding: 0 0 2rem 1.75rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 0.35rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--orange);
    border: 3px solid var(--ivory);
    box-shadow: 0 0 0 2px var(--orange);
}


/* =========================================================
   AWARDS
   ========================================================= */

.award-card.featured {
    background: linear-gradient(
        145deg,
        var(--primary),
        var(--primary-mid)
    );
    color: var(--white);
    border: none;
}

.award-card.featured h3,
.award-card.featured h4,
.award-card.featured p {
    color: var(--white);
}

.award-card .award-org {
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.award-card.featured .award-org {
    color: #B7E4C7;
}


/* =========================================================
   AWARDS TABLE
   ========================================================= */

.awards-table-wrap {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(27, 67, 50, 0.08);
    overflow: hidden;
    overflow-x: auto;
}

.awards-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    margin: 0;
}

.awards-table thead {
    background: #1A1F1C !important;
    color: var(--white);
}

.awards-table th {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 1rem 1.15rem;
    text-align: left;
    white-space: nowrap;
    border: none;
}

.awards-table td {
    padding: 1rem 1.15rem;
    vertical-align: top;
    border-top: 1px solid rgba(27, 67, 50, 0.08);
    color: var(--charcoal);
    font-size: 0.95rem;
    line-height: 1.45;
}

.awards-table tbody tr {
    transition: background var(--transition);
}

.awards-table tbody tr:nth-child(even) {
    background: rgba(247, 245, 240, 0.65);
}

.awards-table tbody tr:hover {
    background: rgba(224, 122, 47, 0.1);
}

.awards-table td:first-child {
    font-weight: 700;
    color: var(--orange-deep);
    white-space: nowrap;
    width: 7.5rem;
}

.awards-table td:nth-child(2) {
    font-weight: 600;
    color: var(--primary);
}

.award-status {
    display: inline-block;
    background: rgba(27, 67, 50, 0.08);
    color: var(--primary-mid);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
}

.award-status-highlight {
    background: rgba(224, 122, 47, 0.16);
    color: var(--orange-deep);
}


/* =========================================================
   FOUNDER
   ========================================================= */

.founder-panel {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.founder-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(27, 67, 50, 0.16);
}

.founder-photo {
    min-height: 420px;
    height: 100%;
    background: #EDE9E0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.founder-panel:hover .founder-photo img {
    transform: scale(1.04);
}

.founder-photo-placeholder {
    background: rgba(247, 245, 240, 0.92);
    color: var(--muted);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
}

.founder-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(224, 122, 47, 0.12);
    color: var(--orange-deep);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.founder-badge .material-symbols-outlined,
.founder-badge .bi {
    font-size: 1rem;
    color: var(--orange);
}


/* =========================================================
   LAB / SCIENCE
   ========================================================= */

.lab-panel {
    background:
        linear-gradient(
            135deg,
            rgba(27, 67, 50, 0.92),
            rgba(45, 106, 79, 0.88)
        ),
        url("../img/science-lab.jpg") center/cover;
    border-radius: 16px;
    color: var(--white);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.lab-panel::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(
            circle at 30% 40%,
            rgba(183, 228, 199, 0.15),
            transparent 40%
        ),
        radial-gradient(
            circle at 70% 60%,
            rgba(64, 145, 108, 0.2),
            transparent 35%
        );
    animation: pulseOrb 10s ease-in-out infinite;
}

@keyframes pulseOrb {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.lab-panel > * {
    position: relative;
    z-index: 1;
}


/* =========================================================
   SDG
   ========================================================= */

.sdg-card {
    border-left: 4px solid var(--orange);
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    height: 100%;
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.06);
}

.sdg-number {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary);
    line-height: 1;
}


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

.blog-card .blog-meta {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.blog-card .placeholder-tag {
    display: inline-block;
    background: rgba(139, 115, 85, 0.12);
    color: var(--earth);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.category-chip {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: var(--ivory-dark);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0.25rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.category-chip:hover,
.category-chip.active {
    background: var(--primary);
    color: var(--white);
}


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

.cta-band {
    background:
        linear-gradient(
            120deg,
            rgba(27, 67, 50, 0.94),
            rgba(45, 106, 79, 0.9)
        ),
        url("../img/hero-agriculture.jpg") center/cover;
    color: var(--white);
    border-radius: 16px;
    padding: 3.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            110deg,
            transparent 30%,
            rgba(255,255,255,0.08) 50%,
            transparent 70%
        );
    background-size: 200% 100%;
    animation: shimmer 4.5s ease-in-out infinite;
    pointer-events: none;
}

.cta-band > * {
    position: relative;
    z-index: 1;
}

.cta-band h2 {
    color: var(--white);
}

.cta-band p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 36rem;
    margin: 0 auto 1.75rem;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-form-wrap {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.form-control,
.form-select {
    border: 1px solid rgba(27, 67, 50, 0.15);
    border-radius: 6px;
    padding: 0.85rem 1rem;
    background: var(--ivory);
    font-family: var(--font-body);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(64, 145, 108, 0.2);
    background: var(--white);
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--charcoal);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--error);
}

.form-feedback {
    display: none;
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 8px;
    font-weight: 500;
}

.form-feedback.success {
    display: block;
    background: rgba(45, 106, 79, 0.12);
    color: var(--success);
    border: 1px solid rgba(45, 106, 79, 0.25);
}

.form-feedback.error {
    display: block;
    background: rgba(155, 44, 44, 0.08);
    color: var(--error);
    border: 1px solid rgba(155, 44, 44, 0.2);
}

.invalid-hint {
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

.is-invalid + .invalid-hint,
.was-validated .form-control:invalid + .invalid-hint {
    display: block;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer-molepse {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.78);
    padding-top: 4rem;
}

.footer-molepse h5 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 1.15rem;
}

.footer-molepse a {
    color: rgba(255, 255, 255, 0.75);
}

.footer-molepse a:hover {
    color: #B7E4C7;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--orange-soft);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding: 1.25rem 0;
    font-size: 0.9rem;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-36px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(36px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}


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

.hero-anim .hero-eyebrow,
.hero-anim .hero-title,
.hero-anim .hero-lead,
.hero-anim .hero-actions {
    opacity: 0;
}

.hero-anim .hero-eyebrow {
    animation:
        slideInDown
        0.9s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.12s
        forwards;
}

.hero-anim .hero-title {
    animation:
        heroTitleIn
        1.05s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.28s
        forwards;
}

.hero-anim .hero-lead {
    animation:
        slideInUp
        0.95s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.5s
        forwards;
}

.hero-anim .hero-actions {
    animation:
        slideInUp
        0.95s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.68s
        forwards;
}

.hero-anim .hero-actions .btn {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.hero-anim .hero-actions .btn:hover {
    transform: translateY(-4px) scale(1.03);
}

@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.96);
        letter-spacing: 0.04em;
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: -0.025em;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-36px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(36px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-48px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(48px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroRise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes pulseSoft {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(224, 122, 47, 0.35);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(224, 122, 47, 0);
    }
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }

    60% {
        transform: scale(1.08);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}


/* =========================================================
   ICONS / EXTRA EFFECTS
   ========================================================= */

.icon-float {
    animation: floatIcon 3.2s ease-in-out infinite;
}

.icon-pulse {
    animation: pulseSoft 2.4s ease-in-out infinite;
}

.trust-strip .trust-item {
    animation: fadeSlideIn 0.7s ease both;
}

.trust-strip .trust-item:nth-child(1) {
    animation-delay: 0.1s;
}

.trust-strip .trust-item:nth-child(3) {
    animation-delay: 0.25s;
}

.trust-strip .trust-item:nth-child(5) {
    animation-delay: 0.4s;
}

.trust-strip .trust-item:nth-child(7) {
    animation-delay: 0.55s;
}

.award-card .card-icon {
    transition: transform var(--transition);
}

.award-card:hover .card-icon {
    transform: scale(1.1) rotate(-8deg);
}

.impact-card-dark {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.impact-card-dark:hover {
    background: rgba(224, 122, 47, 0.12);
    border-color: rgba(224, 122, 47, 0.35);
}

.card-icon-dark {
    background: linear-gradient(
        145deg,
        rgba(224, 122, 47, 0.25),
        rgba(255, 255, 255, 0.06)
    );
    color: var(--orange-soft);
}

.card-icon-on-dark {
    background: rgba(255, 255, 255, 0.15);
    color: var(--orange-soft);
}

.col-md-6:nth-child(1) .icon-float,
.col-lg-3:nth-child(1) .icon-float {
    animation-delay: 0s;
}

.col-md-6:nth-child(2) .icon-float,
.col-lg-3:nth-child(2) .icon-float {
    animation-delay: 0.4s;
}

.col-md-6:nth-child(3) .icon-float,
.col-lg-3:nth-child(3) .icon-float {
    animation-delay: 0.8s;
}

.col-md-6:nth-child(4) .icon-float,
.col-lg-3:nth-child(4) .icon-float {
    animation-delay: 1.2s;
}


/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .slide-left,
    .slide-right,
    .slide-up,
    .gallery-item,
    .hero-anim .hero-eyebrow,
    .hero-anim .hero-title,
    .hero-anim .hero-lead,
    .hero-anim .hero-actions,
    .hero-home,
    .navbar-molepse .navbar-brand .brand-logo,
    .icon-float,
    .icon-pulse,
    .product-showcase .product-badge,
    .trust-strip .trust-item,
    .cta-band::after,
    .back-to-top.show {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}


/* =========================================================
   UTILITY
   ========================================================= */

.grain-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231B4332' fill-opacity='0.03'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10S0 14.5 0 20s4.5 10 10 10 10-4.5 10-10zm20 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
}

.divider-soft {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(27, 67, 50, 0.2),
        transparent
    );
    margin: 2rem 0;
}

.placeholder-note {
    font-size: 0.8rem;
    color: var(--earth);
    font-style: italic;
}


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

@media (max-width: 991.98px) {

    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 140px;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2) {
        grid-column: span 6;
        grid-row: span 2;
    }

    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: span 3;
        grid-row: span 2;
    }
}


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

@media (max-width: 767.98px) {

    .section {
        padding: 3.75rem 0;
    }

    .hero-content {
        padding: 3.5rem 0 3rem;
    }

    .hero-home {
        min-height: 78vh;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        animation: none;
    }

    .hero-home .hero-content {
        padding: 3.25rem 0.85rem 3rem;
    }

    .hero-home .hero-title {
        font-size: clamp(1.95rem, 7.5vw, 2.7rem);
        font-weight: 700;
        max-width: 18ch;
    }

    .hero-home .hero-lead {
        font-size: 1.02rem;
        font-weight: 500;
    }

    .navbar-molepse .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-molepse .navbar-brand .brand-logo {
        width: 46px;
        height: 46px;
    }

    .process-arrow {
        transform: rotate(90deg);
        width: 100%;
        text-align: center;
    }

    .process-flow {
        flex-direction: column;
    }

    .awards-table {
        min-width: 0;
    }

    .awards-table thead {
        display: none;
    }

    .awards-table,
    .awards-table tbody,
    .awards-table tr,
    .awards-table td {
        display: block;
        width: 100%;
    }

    .awards-table tr {
        padding: 1rem 1.1rem;
        border-bottom: 1px solid rgba(27, 67, 50, 0.1);
    }

    .awards-table td {
        border: none;
        padding: 0.35rem 0;
    }

    .awards-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 0.2rem;
    }

    .awards-table td:first-child {
        width: auto;
        margin-bottom: 0.35rem;
    }
}


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

@media (max-width: 575.98px) {

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-item:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hero-home {
        min-height: 72vh;
    }

    .hero-home .hero-title {
        font-size: clamp(1.85rem, 8vw, 2.4rem);
        max-width: 17ch;
    }

    .hero-home .hero-lead {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-home .hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .hero-home .hero-actions .btn {
        width: min(100%, 300px);
    }
}