/*
Theme Name: REBDA - Reign Business Development Agency
Theme URI: https://rebda.co.ug
Author: REBDA
Author URI: https://rebda.co.ug
Description: Custom one-page theme for Reign Business Development Agency (REBDA). Includes full homepage with field slideshow, team, KRAs, impact metrics and gallery.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rebda
*/

:root {
            --brand-blue: #1d4ed8;
            --agri-green: #1b4d3e;
            --light-green: #2e7d32;
            --amber-gold: #d97706;
            --slate-navy: #0f172a;
            --light-bg: #f8fafc;
            --text-dark: #1e293b;
            --border-color: #e2e8f0;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
        }

        html {
            scroll-behavior: smooth;
        }

        html, body {
            width: 100%;
            min-height: 100%;
            background-color: #ffffff;
            color: var(--text-dark);
            line-height: 1.75;
            overflow-x: hidden;
            font-size: 16px;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            position: relative;
        }

        /* Typography hierarchy */
        h1, h2, h3, h4, h5, h6 {
            font-weight: 800;
            line-height: 1.25;
            letter-spacing: -0.02em;
            color: var(--agri-green);
        }
        p {
            line-height: 1.75;
            margin-bottom: 0.85em;
        }
        .section-heading {
            font-size: clamp(28px, 3.5vw, 40px) !important;
            font-weight: 900 !important;
            letter-spacing: -0.03em;
            line-height: 1.2 !important;
            margin-bottom: 12px;
        }
        .section-subtitle {
            font-size: 14px !important;
            font-weight: 700 !important;
            letter-spacing: 1.4px;
            margin-bottom: 10px;
        }
        .section-title p {
            font-size: 16px;
            line-height: 1.7;
            max-width: 720px;
            margin-left: auto;
            margin-right: auto;
        }
        .hero h1 {
            font-size: clamp(32px, 5vw, 52px) !important;
            font-weight: 900 !important;
            line-height: 1.15 !important;
            letter-spacing: -0.03em;
        }
        .hero p.mission-quote {
            font-size: 18px !important;
            line-height: 1.7 !important;
        }
        .card h4, .inclusive-card h4, .kra-content h4 {
            font-size: 19px !important;
            font-weight: 800 !important;
            line-height: 1.3;
        }
        .card p, .inclusive-card > p, .kra-content p {
            font-size: 15px !important;
            line-height: 1.7 !important;
            color: #475569;
        }

        /* SCROLL REVEAL — desktop only. Mobile always visible (iOS Safari can miss IntersectionObserver). */
        .reveal {
            opacity: 1;
            transform: none;
        }

        @media (min-width: 901px) {
            .reveal {
                opacity: 0;
                transform: translateY(24px);
                transition: opacity 0.7s ease-out, transform 0.7s ease-out;
            }
            .reveal.active {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .reveal {
                opacity: 1 !important;
                transform: none !important;
                transition: none !important;
            }
        }

        /* TOP BAR */
        .top-bar {
            background: var(--agri-green);
            color: white;
            padding: 8px 5%;
            font-size: 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 2001;
            height: 36px;
            box-sizing: border-box;
        }
        header {
            top: 36px !important;
        }
        .page-start {
            height: calc(36px + 76px);
        }


        .badge {
            background: var(--amber-gold);
            color: white;
            padding: 3px 10px;
            border-radius: 4px;
            font-weight: 700;
            text-transform: uppercase;
            font-size: 11px;
            display: inline-block;
        }

        /* HEADER & NAVIGATION */
        header {
            background: rgba(255, 255, 255, 0.97);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            width: 100%;
            z-index: 2000;
            transition: box-shadow 0.3s ease, background 0.3s ease;
        }
        header.is-scrolled {
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
        }
        /* Offset page content under fixed header */
        body {
            padding-top: 0;
        }
        .site-offset {
            /* top-bar height ~36px + header ~76px — set via JS/CSS vars */
            padding-top: 0;
        }
        #top-bar-wrap {
            /* top bar scrolls away; header stays fixed below it once scrolled */
        }


        nav {
            max-width: 1280px;
            margin: 0 auto;
            padding: 14px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 14px;
            text-decoration: none;
        }

        .logo-img {
            height: 48px;
            width: auto;
            display: block;
            object-fit: contain;
        }

        .logo-title {
            font-weight: 800;
            font-size: 15px;
            color: var(--agri-green);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            line-height: 1.2;
            white-space: nowrap;
        }

        .nav-links {
            display: flex;
            gap: 28px;
            align-items: center;
        }

        .nav-links > a, .dropdown > span {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: color 0.2s;
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 0;
            position: relative;
        }

        .nav-links > a.active-link {
            color: var(--brand-blue);
        }

        .nav-links > a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0%;
            height: 2px;
            background: var(--brand-blue);
            transition: width 0.3s ease;
        }

        .nav-links > a:hover::after, .nav-links > a.active-link::after {
            width: 100%;
        }

        .nav-links > a:hover, .dropdown > span:hover {
            color: var(--brand-blue);
        }

        /* DROPDOWN MENU */
        .dropdown {
            position: relative;
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            box-shadow: 0 10px 25px rgba(0,0,0,0.12);
            border-radius: 8px;
            padding: 8px 0;
            min-width: 260px;
            display: none;
            flex-direction: column;
            border-top: 3px solid var(--agri-green);
            list-style: none;
            animation: fadeIn 0.3s ease;
        }

        .dropdown:hover .dropdown-menu {
            display: flex;
        }

        .dropdown-menu a {
            padding: 10px 18px;
            color: var(--text-dark);
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            transition: background 0.2s, color 0.2s;
        }

        .dropdown-menu a:hover {
            background: var(--light-bg);
            color: var(--brand-blue);
        }

        /* BUTTONS */
        .btn-gold {
            background: var(--amber-gold);
            color: white;
            padding: 10px 22px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 700;
            font-size: 13px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            display: inline-block;
            box-shadow: 0 4px 10px rgba(217, 119, 6, 0.2);
        }

        .btn-gold:hover {
            background: #b45309;
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(217, 119, 6, 0.3);
        }

        .btn-green {
            background: var(--agri-green);
            color: white;
            padding: 10px 22px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 700;
            font-size: 13px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            display: inline-block;
        }

        .btn-green:hover {
            background: #123329;
            transform: translateY(-2px);
        }

        .btn-menu {
            background: var(--agri-green);
            color: white;
            border: none;
            padding: 8px 14px;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            font-size: 13px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* SIDE MENU DRAWER OVERLAY & PANEL */
        .drawer-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 23, 42, 0.6);
            backdrop-filter: blur(4px);
            z-index: 3000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .drawer-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .drawer {
            position: fixed;
            top: 0;
            right: -320px;
            width: 320px;
            height: 100%;
            background: var(--slate-navy);
            color: white;
            z-index: 3001;
            box-shadow: -10px 0 30px rgba(0,0,0,0.3);
            transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 30px 24px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            overflow-y: auto;
        }

        .drawer.active {
            right: 0;
        }

        .drawer-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 16px;
        }

        .drawer-brand {
            font-weight: 900;
            font-size: 20px;
            color: var(--amber-gold);
            letter-spacing: 0.5px;
        }

        .drawer-close {
            background: rgba(255,255,255,0.1);
            border: none;
            color: white;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }

        .drawer-close:hover {
            background: var(--amber-gold);
        }

        .drawer-section-title {
            font-size: 11px;
            font-weight: 800;
            color: var(--amber-gold);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin: 14px 0 6px 10px;
        }

        .drawer-nav {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .drawer-nav li a {
            color: #e2e8f0;
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 12px;
            border-radius: 6px;
            transition: all 0.2s;
        }

        .drawer-nav li a:hover {
            background: rgba(255,255,255,0.08);
            color: var(--amber-gold);
            padding-left: 16px;
        }

        .drawer-contact-info {
            background: rgba(255,255,255,0.05);
            border-radius: 10px;
            padding: 14px;
            margin-top: 20px;
            border: 1px solid rgba(255,255,255,0.08);
            font-size: 12px;
            color: #cbd5e1;
        }

        /* HERO SLIDESHOW */
        .hero {
            position: relative;
            width: 100%;
            min-height: 85vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            padding: 60px 20px;
            overflow: hidden;
            background-color: var(--slate-navy);
        }

        .hero-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 1.2s ease-in-out, transform 6s ease-out;
            transform: scale(1);
            z-index: 1;
        }

        .hero-slide.active {
            opacity: 1;
            transform: scale(1.05);
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(15,23,42,0.88), rgba(27,77,62,0.80));
            z-index: 2;
        }

        .hero-content {
            position: relative;
            z-index: 3;
            max-width: 900px;
            margin: 0 auto;
            animation: fadeInUp 1s ease;
        }

        .hero h1 {
            font-size: 44px;
            font-weight: 900;
            line-height: 1.25;
            margin-bottom: 20px;
            color: #ffffff;
        }

        .hero h1 span {
            color: var(--amber-gold);
        }

        .hero p.mission-quote {
            font-size: 18px;
            color: #e2e8f0;
            margin-bottom: 30px;
            font-weight: 500;
            line-height: 1.6;
            border-left: 4px solid var(--agri-green);
            text-align: left;
            background: rgba(255,255,255,0.08);
            padding: 16px 20px;
            border-radius: 0 8px 8px 0;
            backdrop-filter: blur(5px);
        }

        .hero p.mission-quote strong {
            color: #4ade80;
        }



        /* SECTIONS GENERAL */
        section {
            padding: 80px 20px;
        }

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

        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-subtitle {
            color: var(--amber-gold);
            font-weight: 700;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            margin-bottom: 8px;
        }

        .section-heading {
            font-size: 32px;
            font-weight: 900;
            color: var(--agri-green);
        }

        .section-heading.blue {
            color: var(--brand-blue);
        }

        .section-heading.green {
            color: var(--agri-green);
        }

        /* TAB SYSTEM */
        .tab-buttons {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 20px;
        }

        .tab-btn {
            background: white;
            border: 2px solid var(--agri-green);
            color: var(--agri-green);
            padding: 10px 24px;
            border-radius: 30px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .tab-btn.active, .tab-btn:hover {
            background: var(--agri-green);
            color: white;
        }

        .tab-content {
            display: none;
            animation: fadeIn 0.5s ease;
        }

        .tab-content.active {
            display: block;
        }

        /* FILTER BUTTONS & SEARCH */
        .filter-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
            margin-bottom: 30px;
        }

        .filter-buttons {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .filter-btn {
            background: #e2e8f0;
            border: none;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            color: var(--slate-navy);
            cursor: pointer;
            transition: all 0.2s;
        }

        .filter-btn.active, .filter-btn:hover {
            background: var(--brand-blue);
            color: white;
        }

        .search-input {
            padding: 8px 16px;
            border: 1px solid var(--border-color);
            border-radius: 20px;
            outline: none;
            font-size: 13px;
            width: 220px;
            transition: width 0.3s;
        }

        .search-input:focus {
            width: 280px;
            border-color: var(--brand-blue);
        }


        /* ========== 3D SURFACE SYSTEM ========== */
        .surface-3d {
            position: relative;
            background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
            border-radius: 18px;
            border: 1px solid rgba(15, 23, 42, 0.06);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.9) inset,
                0 -1px 0 rgba(15,23,42,0.04) inset,
                0 10px 24px rgba(15, 23, 42, 0.08),
                0 2px 6px rgba(15, 23, 42, 0.04);
            transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
            transform-style: preserve-3d;
        }

        .surface-3d::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: linear-gradient(135deg, rgba(255,255,255,0.55) 0%, transparent 42%);
            pointer-events: none;
            z-index: 0;
        }

        .surface-3d > * {
            position: relative;
            z-index: 1;
        }

        .surface-3d:hover {
            transform: translateY(-8px) rotateX(2deg);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.95) inset,
                0 18px 40px rgba(15, 23, 42, 0.14),
                0 6px 12px rgba(15, 23, 42, 0.06);
        }

        .surface-3d-dark {
            background: linear-gradient(165deg, #1e3a2f 0%, #0f172a 55%, #0c1a14 100%);
            border: 1px solid rgba(255,255,255,0.08);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.08) inset,
                0 14px 32px rgba(0,0,0,0.28),
                0 4px 10px rgba(0,0,0,0.18);
        }

        .surface-3d-dark:hover {
            box-shadow:
                0 1px 0 rgba(255,255,255,0.1) inset,
                0 22px 44px rgba(0,0,0,0.35),
                0 8px 16px rgba(0,0,0,0.2);
        }

        .surface-3d-gold {
            background: linear-gradient(165deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
            border: 1px solid rgba(217, 119, 6, 0.2);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.75) inset,
                0 12px 28px rgba(180, 83, 9, 0.12),
                0 3px 8px rgba(180, 83, 9, 0.06);
        }

        .chip-3d {
            box-shadow:
                0 1px 0 rgba(255,255,255,0.7) inset,
                0 3px 8px rgba(15, 23, 42, 0.08);
            border: 1px solid rgba(15, 23, 42, 0.06);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        .chip-3d:hover {
            transform: translateY(-2px);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.85) inset,
                0 6px 14px rgba(15, 23, 42, 0.12);
        }

        .icon-3d {
            box-shadow:
                0 1px 0 rgba(255,255,255,0.5) inset,
                0 6px 14px rgba(15, 23, 42, 0.12);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .surface-3d:hover .icon-3d {
            transform: translateY(-2px) scale(1.06);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.6) inset,
                0 10px 20px rgba(15, 23, 42, 0.16);
        }

        @media (prefers-reduced-motion: reduce) {
            .surface-3d:hover { transform: none; }
        }

        @media (max-width: 900px) {
            .surface-3d:hover {
                transform: translateY(-4px);
            }
        }

        /* GRIDS & CARDS */
        .grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .grid-3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }

        .grid-4 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 24px;
        }

        .card {
            background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
            padding: 32px;
            border-radius: 16px;
            box-shadow:
                0 1px 0 rgba(255,255,255,0.9) inset,
                0 10px 24px rgba(15, 23, 42, 0.08);
            border: 1px solid rgba(15,23,42,0.05);
            border-top: 4px solid var(--agri-green);
            transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.95) inset,
                0 18px 36px rgba(15, 23, 42, 0.12);
        }

        .card-icon {
            width: 52px;
            height: 52px;
            background: var(--light-bg);
            color: var(--agri-green);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            margin-bottom: 20px;
        }

        .card h4 {
            font-size: 18px;
            font-weight: 800;
            color: var(--agri-green);
            margin-bottom: 12px;
        }

        .card p {
            font-size: 14px;
            color: #64748b;
            line-height: 1.6;
        }

        /* INCLUSIVE MARKETS ENHANCED INTERACTIVE CARDS */
        .inclusive-card {
            background: linear-gradient(165deg, #ffffff 0%, #f8fafc 60%, #f1f5f9 100%);
            padding: 28px 24px;
            border-radius: 18px;
            border: 1px solid rgba(15,23,42,0.06);
            border-top: 4px solid var(--amber-gold);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.9) inset,
                0 12px 28px rgba(15, 23, 42, 0.08),
                0 3px 8px rgba(15, 23, 42, 0.04);
            transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            min-width: 0;
            height: 100%;
        }

        .inclusive-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, transparent 40%);
            pointer-events: none;
        }

        .inclusive-card:hover {
            transform: translateY(-8px);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.95) inset,
                0 20px 40px rgba(15, 23, 42, 0.12),
                0 6px 14px rgba(180, 83, 9, 0.08);
            border-top-color: var(--agri-green);
        }

        .inclusive-card .card-icon {
            transition: all 0.35s ease;
            flex-shrink: 0;
            animation: floatY 4.5s ease-in-out infinite;
        }
        .inclusive-card:hover .card-icon { animation-play-state: paused; }

        .inclusive-card:hover .card-icon {
            background: var(--agri-green);
            color: white;
            transform: scale(1.08);
        }

        .inclusive-card h4 {
            font-size: 18px;
            font-weight: 800;
            color: var(--agri-green);
            margin-bottom: 10px;
        }

        .inclusive-card > p {
            font-size: 13px;
            color: #64748b;
            line-height: 1.55;
            margin-bottom: 14px;
            flex: 1;
        }

        .segment-tags-wrap {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: auto;
        }

        /* KRA CARDS INTERACTIVE */
        .kra-card {
            background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
            border-radius: 16px;
            overflow: hidden;
            box-shadow:
                0 1px 0 rgba(255,255,255,0.9) inset,
                0 10px 24px rgba(15, 23, 42, 0.08),
                0 2px 6px rgba(15, 23, 42, 0.04);
            transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
            display: flex;
            flex-direction: column;
            border: 1px solid rgba(15,23,42,0.06);
            cursor: pointer;
            position: relative;
        }

        .kra-card:hover {
            transform: translateY(-8px);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.95) inset,
                0 18px 36px rgba(15, 23, 42, 0.14),
                0 6px 12px rgba(15, 23, 42, 0.06);
        }

        .kra-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            inset: 0;
            z-index: 2;
            transition: transform 0.5s ease;
            background: #1b4d3e;
        }

        .kra-card:hover .kra-img {
            transform: scale(1.06);
        }

        .kra-img-wrapper {
            overflow: hidden;
            position: relative;
            height: 140px;
            background: linear-gradient(135deg, #1b4d3e 0%, #0f172a 55%, #14532d 100%);
            border-bottom: 3px solid var(--amber-gold);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .kra-img-wrapper::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at 20% 30%, rgba(217,119,6,0.28), transparent 45%),
                radial-gradient(circle at 80% 70%, rgba(74,222,128,0.2), transparent 40%);
            animation: softShimmer 6s ease-in-out infinite;
        }

        .kra-visual-icon {
            position: relative;
            z-index: 1; /* under photo when photo loads */
            width: 54px;
            height: 54px;
            border-radius: 14px;
            background: rgba(255,255,255,0.12);
            border: 1px solid rgba(255,255,255,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fbbf24;
            font-size: 22px;
            transition: transform 0.35s ease, background 0.35s ease;
            pointer-events: none;
        }

        .kra-img-wrapper .kra-img[src] {
            z-index: 2;
        }

        .kra-card:hover .kra-visual-icon {
            transform: scale(1.12) rotate(-6deg);
            background: rgba(217, 119, 6, 0.35);
        }

        @keyframes softShimmer {
            0%, 100% { opacity: 0.85; }
            50% { opacity: 1; }
        }

        .field-visual {
            width: 100%;
            min-height: 280px;
            border-radius: 16px;
            background:
                linear-gradient(160deg, rgba(27,77,62,0.95), rgba(15,23,42,0.9)),
                repeating-linear-gradient(-12deg, transparent, transparent 12px, rgba(74,222,128,0.05) 12px, rgba(74,222,128,0.05) 24px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 12px;
            color: white;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(74,222,128,0.2);
        }

        .field-visual::after {
            content: '';
            position: absolute;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(217,119,6,0.28), transparent 70%);
            top: -40px;
            right: -40px;
            animation: softShimmer 5s ease-in-out infinite;
        }

        .field-visual i {
            font-size: 42px;
            color: #4ade80;
            position: relative;
            z-index: 1;
        }

        .field-visual strong {
            font-size: 18px;
            font-weight: 800;
            position: relative;
            z-index: 1;
        }

        .field-visual span {
            font-size: 13px;
            color: #a7f3d0;
            position: relative;
            z-index: 1;
            text-align: center;
            padding: 0 20px;
            line-height: 1.5;
        }

        
        .field-slideshow {
            position: relative;
            width: 100%;
            min-height: 420px;
            height: 100%;
            border-radius: 20px;
            overflow: hidden;
            box-shadow:
                0 1px 0 rgba(255,255,255,0.08) inset,
                0 18px 40px rgba(0,0,0,0.2);
            border: 1px solid rgba(27,77,62,0.2);
            background: var(--slate-navy);
        }
        .field-slide {
            position: absolute;
            top: 0; left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 1.2s ease-in-out, transform 6s ease-out;
            transform: scale(1);
            z-index: 1;
        }
        .field-slide.active {
            opacity: 1;
            transform: scale(1.05);
        }
        .field-slide-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15,23,42,0.72), rgba(27,77,62,0.55));
            z-index: 2;
            pointer-events: none;
        }
        .field-slide-caption {
            position: absolute;
            left: 0; right: 0; bottom: 0;
            z-index: 3;
            padding: 28px 28px 24px;
            color: white;
            text-align: left;
        }
        .field-slide-caption strong {
            display: block;
            font-size: 22px;
            font-weight: 900;
            margin-bottom: 8px;
            letter-spacing: -0.02em;
        }
        .field-slide-caption span {
            font-size: 14px;
            color: #e2e8f0;
            line-height: 1.55;
            max-width: 520px;
            display: block;
        }
        .field-slide-dots {
            position: absolute;
            bottom: 22px;
            right: 24px;
            z-index: 4;
            display: flex;
            gap: 8px;
        }
        .field-slide-dots button {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            border: none;
            background: rgba(255,255,255,0.4);
            cursor: pointer;
            padding: 0;
            transition: transform 0.25s ease, background 0.25s ease;
        }
        .field-slide-dots button.active {
            background: var(--amber-gold);
            transform: scale(1.3);
        }

        .section-soft-green {
            background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 40%, #fff7ed 100%) !important;
        }

        .section-soft-mint {
            background: linear-gradient(180deg, #fffdf7 0%, #fef9ee 45%, #fffbeb 100%) !important;
        }

        /* Inclusive Market Focus — richer treatment */
        #market-segments .section-subtitle {
            display: inline-block;
            background: linear-gradient(135deg, #d97706, #b45309);
            color: #fff !important;
            padding: 6px 16px;
            border-radius: 20px;
            letter-spacing: 1.4px;
            box-shadow: 0 4px 14px rgba(217, 119, 6, 0.28);
        }

        #market-segments .section-heading {
            color: #1b4d3e;
            position: relative;
            display: inline-block;
        }

        #market-segments .section-heading::after {
            content: '';
            display: block;
            width: 64px;
            height: 4px;
            margin: 12px auto 0;
            border-radius: 2px;
            background: linear-gradient(90deg, var(--amber-gold), #fbbf24);
        }

        #market-segments .section-title p {
            color: #78716c !important;
        }

        #market-segments .inclusive-card {
            background: #ffffff;
            border-top: 4px solid var(--amber-gold);
            box-shadow: 0 10px 28px rgba(180, 83, 9, 0.08);
        }

        #market-segments .inclusive-card:hover {
            border-top-color: var(--agri-green);
            box-shadow: 0 16px 36px rgba(27, 77, 62, 0.12);
        }

        #market-segments .inclusive-card .card-icon {
            background: linear-gradient(145deg, #fff7ed, #ffedd5);
            color: #b45309;
        }

        #market-segments .inclusive-card:hover .card-icon {
            background: var(--amber-gold);
            color: #fff;
        }

        #market-segments .inclusive-card h4 {
            color: #1b4d3e;
        }

        #market-segments .segment-tag {
            background: #fff7ed;
            color: #92400e;
            border: 1px solid #fde68a;
        }

        #market-segments .segment-tag:hover {
            background: var(--amber-gold);
            color: #fff;
            border-color: var(--amber-gold);
        }

        .kra-content {
            padding: 24px;
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .kra-content h4 {
            font-size: 17px;
            font-weight: 800;
            color: var(--agri-green);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .kra-content p {
            font-size: 13px;
            color: #475569;
            line-height: 1.5;
            margin-bottom: 16px;
        }

        .metric-label {
            display: flex;
            justify-content: space-between;
            font-size: 11px;
            font-weight: 700;
            color: var(--amber-gold);
            margin-bottom: 4px;
        }

        .progress-track {
            background: #e2e8f0;
            height: 6px;
            border-radius: 3px;
            overflow: hidden;
            width: 100%;
        }

        .progress-fill {
            background: var(--light-green);
            height: 100%;
            width: 0%;
            border-radius: 3px;
            transition: width 1.5s cubic-bezier(0.1, 0.42, 0.85, 1);
        }

        /* MARKET SEGMENTS BADGES ENHANCED */
        .segment-tag {
            background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
            color: var(--slate-navy);
            font-size: 11px;
            font-weight: 700;
            padding: 6px 12px;
            border-radius: 20px;
            display: inline-block;
            margin: 0;
            transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
            cursor: pointer;
            white-space: nowrap;
            border: 1px solid rgba(15,23,42,0.06);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.8) inset,
                0 3px 8px rgba(15, 23, 42, 0.08);
        }

        .segment-tag:hover {
            background: linear-gradient(180deg, #2e7d32 0%, #1b4d3e 100%);
            color: white;
            transform: translateY(-3px);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.2) inset,
                0 8px 16px rgba(27, 77, 62, 0.3);
        }

        /* CERTIFIED TRAINING CAPACITY */
        .capacity-band {
            background: linear-gradient(155deg, #1e3a2f 0%, #0f172a 50%, #14532d 100%);
            color: white;
            border-radius: 20px;
            padding: 32px 28px;
            margin-top: 40px;
            border: 1px solid rgba(255,255,255,0.1);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.08) inset,
                0 16px 40px rgba(0,0,0,0.28),
                0 4px 12px rgba(0,0,0,0.16);
            position: relative;
            overflow: hidden;
        }

        .capacity-band::before {
            content: '';
            position: absolute;
            top: -30%;
            right: -10%;
            width: 280px;
            height: 280px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(217,119,6,0.2), transparent 70%);
            pointer-events: none;
        }

        .capacity-band h3 {
            font-size: 20px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 8px;
        }

        .capacity-band .capacity-lead {
            font-size: 13px;
            color: #cbd5e1;
            line-height: 1.6;
            max-width: 820px;
            margin-bottom: 20px;
        }

        .capacity-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            margin-bottom: 22px;
        }

        .capacity-stat {
            background: linear-gradient(160deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 14px;
            padding: 14px 18px;
            min-width: 140px;
            text-align: center;
            box-shadow:
                0 1px 0 rgba(255,255,255,0.1) inset,
                0 8px 18px rgba(0,0,0,0.18);
            transition: transform 0.3s ease;
        }

        .capacity-stat:hover {
            transform: translateY(-4px);
        }

        .capacity-stat strong {
            display: block;
            font-size: 26px;
            font-weight: 900;
            color: #4ade80;
            line-height: 1.2;
        }

        .capacity-stat span {
            font-size: 11px;
            font-weight: 700;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .bds-packages {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .bds-package {
            background: rgba(217, 119, 6, 0.15);
            border: 1px solid rgba(217, 119, 6, 0.35);
            color: #fbbf24;
            font-size: 11px;
            font-weight: 700;
            font-family: inherit;
            padding: 6px 12px;
            border-radius: 20px;
            transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
            cursor: pointer;
            line-height: 1.3;
            text-align: left;
        }

        .bds-package:hover,
        .bds-package:focus-visible {
            background: rgba(217, 119, 6, 0.32);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
            outline: none;
        }

        .bds-package:active {
            transform: translateY(0);
        }

        /* TEAM CARDS - CIRCULAR ALOHA-STYLE DESIGN */
        .team-section-bg {
            background: linear-gradient(135deg, #0f172a 0%, #1b4d3e 100%);
            position: relative;
            overflow: hidden;
        }

        .team-section-bg::before {
            content: '';
            position: absolute;
            top: -80px;
            right: -80px;
            width: 320px;
            height: 320px;
            background: radial-gradient(circle, rgba(217,119,6,0.18) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        .team-section-bg::after {
            content: '';
            position: absolute;
            bottom: -100px;
            left: -60px;
            width: 280px;
            height: 280px;
            background: radial-gradient(circle, rgba(74,222,128,0.12) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        .team-grid-circular {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 28px 20px;
            position: relative;
            z-index: 1;
            max-width: 1140px;
            margin: 0 auto;
            align-items: start;
        }

        .team-card-circular {
            text-align: center;
            cursor: pointer;
            transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
            padding: 22px 14px 20px;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.06);
            position: relative;
            overflow: hidden;
        }

        .team-card-circular::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 50% 0%, rgba(217, 119, 6, 0.12), transparent 65%);
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
        }

        .team-card-circular:hover {
            transform: translateY(-10px);
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
            border-color: rgba(217, 119, 6, 0.35);
            background: rgba(255, 255, 255, 0.06);
        }

        .team-card-circular:hover::before {
            opacity: 1;
        }

        .team-card-circular:focus-visible {
            outline: 2px solid var(--amber-gold);
            outline-offset: 3px;
        }

        .team-photo-circle-wrap {
            width: 120px;
            height: 120px;
            margin: 0 auto 16px;
            border-radius: 50%;
            padding: 4px;
            background: linear-gradient(135deg, var(--amber-gold), var(--agri-green));
            box-shadow: 0 10px 24px rgba(0,0,0,0.28);
            transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
            position: relative;
            z-index: 1;
        }

        .team-card-circular:hover .team-photo-circle-wrap {
            transform: scale(1.08) rotate(3deg);
            box-shadow: 0 16px 36px rgba(217, 119, 6, 0.4);
        }

        .team-photo-circle {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            object-position: top;
            border: 3px solid #0f172a;
            display: block;
            transition: filter 0.4s ease;
        }

        .team-card-circular:hover .team-photo-circle {
            filter: brightness(1.08);
        }

        .team-avatar-placeholder {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 3px solid #0f172a;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(145deg, #1e3a2f 0%, #0f172a 100%);
            color: var(--amber-gold);
            font-size: 24px;
            font-weight: 800;
            letter-spacing: 1px;
            user-select: none;
            transition: transform 0.4s ease, color 0.3s ease;
        }

        .team-card-circular:hover .team-avatar-placeholder {
            transform: scale(1.05);
            color: #fbbf24;
        }

        .team-name-circular {
            font-size: 15px;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 4px;
            line-height: 1.3;
            position: relative;
            z-index: 1;
        }

        .team-role-circular {
            font-size: 12px;
            font-weight: 700;
            color: var(--amber-gold);
            margin-bottom: 10px;
            position: relative;
            z-index: 1;
        }

        .team-bio-circular {
            font-size: 11px;
            color: #94a3b8;
            line-height: 1.5;
            margin-bottom: 12px;
            position: relative;
            z-index: 1;
        }

        .team-focus-tags {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 5px;
            margin-bottom: 12px;
            position: relative;
            z-index: 1;
        }

        .team-focus-tag {
            font-size: 9px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.4px;
            padding: 3px 8px;
            border-radius: 12px;
            background: rgba(217, 119, 6, 0.15);
            color: #fbbf24;
            border: 1px solid rgba(217, 119, 6, 0.25);
            transition: background 0.3s ease, transform 0.3s ease;
        }

        .team-card-circular:hover .team-focus-tag {
            background: rgba(217, 119, 6, 0.28);
            transform: translateY(-1px);
        }

        .team-view-profile {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 11px;
            font-weight: 700;
            color: #4ade80;
            opacity: 0.75;
            transition: opacity 0.3s ease, gap 0.3s ease;
            position: relative;
            z-index: 1;
        }

        .team-card-circular:hover .team-view-profile {
            opacity: 1;
            gap: 10px;
        }

        .team-view-profile i {
            font-size: 10px;
            transition: transform 0.3s ease;
        }

        .team-card-circular:hover .team-view-profile i {
            transform: translateX(3px);
        }

        /* ENHANCED GREEN IMPACT DASHBOARD & INTERACTIVE STAT CARDS */
        #impact {
            background: linear-gradient(135deg, #1b4d3e 0%, #0d2820 100%);
            color: white;
            position: relative;
            overflow: hidden;
        }

        #impact .section-subtitle {
            color: var(--amber-gold);
        }

        .stats-box {
            background: linear-gradient(165deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 100%);
            backdrop-filter: blur(12px);
            border-radius: 20px;
            padding: 40px;
            box-shadow:
                0 1px 0 rgba(255,255,255,0.12) inset,
                0 18px 40px rgba(0,0,0,0.3);
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-top: 4px solid var(--amber-gold);
        }

        .stat-card {
            padding: 20px;
            border-radius: 12px;
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.05);
            transition: all 0.4s ease;
            cursor: pointer;
        }

        .stat-card:hover {
            transform: translateY(-8px) scale(1.05);
            background: rgba(255,255,255,0.12);
            box-shadow: 0 10px 25px rgba(0,0,0,0.4);
            border-color: var(--amber-gold);
        }

        .stat-number {
            font-size: 40px;
            font-weight: 900;
            color: #4ade80;
            margin-bottom: 4px;
            text-shadow: 0 2px 10px rgba(74, 222, 128, 0.3);
        }

        .stat-label {
            font-size: 12px;
            font-weight: 700;
            color: #e2e8f0;
            text-transform: uppercase;
            letter-spacing: 0.8px;
        }

        /* ENHANCED PARTNERS & LOGOS SECTION STYLES */
        .ecosystem-section {
            background: #f8fafc;
            padding: 80px 20px;
        }

        .ecosystem-card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 20px;
            margin-top: 32px;
        }

        .ecosystem-card {
            background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
            border: 1px solid rgba(15,23,42,0.06);
            border-radius: 16px;
            padding: 24px;
            display: flex;
            align-items: flex-start;
            gap: 16px;
            box-shadow:
                0 1px 0 rgba(255,255,255,0.9) inset,
                0 10px 22px rgba(15, 23, 42, 0.07),
                0 2px 6px rgba(15, 23, 42, 0.04);
            transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
            cursor: pointer;
            position: relative;
        }

        .ecosystem-card::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: linear-gradient(135deg, rgba(255,255,255,0.45) 0%, transparent 40%);
            pointer-events: none;
        }

        .ecosystem-card:hover {
            transform: translateY(-8px);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.95) inset,
                0 18px 36px rgba(15, 23, 42, 0.12);
            border-color: rgba(27, 77, 62, 0.25);
        }

        .ecosystem-icon {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            background: rgba(27, 77, 62, 0.1);
            color: var(--agri-green);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .ecosystem-card:hover .ecosystem-icon {
            background: var(--agri-green);
            color: white;
            transform: rotate(360deg);
        }

        .ecosystem-card h4 {
            font-size: 15px;
            font-weight: 700;
            color: var(--agri-green);
            margin-bottom: 4px;
        }

        .ecosystem-card p {
            font-size: 12px;
            color: #64748b;
            line-height: 1.5;
            margin: 0;
        }

        .partner-matrix-card {
            background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
            border: 1px solid rgba(15,23,42,0.06);
            border-radius: 20px;
            padding: 36px 24px;
            box-shadow:
                0 1px 0 rgba(255,255,255,0.9) inset,
                0 12px 28px rgba(15, 23, 42, 0.07);
            margin-bottom: 50px;
        }

        .partner-logos-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 24px;
            margin-top: 30px;
        }

        .partner-logo-item {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
            border: 3px solid rgba(226, 232, 240, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            box-shadow:
                0 1px 0 rgba(255,255,255,0.95) inset,
                0 8px 20px rgba(15, 23, 42, 0.1),
                0 2px 6px rgba(15, 23, 42, 0.05);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
        }

        .partner-logo-item img {
            width: 80%;
            height: 80%;
            object-fit: contain;
            border-radius: 50%;
            transition: transform 0.4s ease;
        }

        .partner-logo-item:hover {
            transform: scale(1.15) translateY(-5px);
            border-color: var(--agri-green);
            box-shadow: 0 12px 25px rgba(27, 77, 62, 0.25);
        }

        .partner-logo-item:hover img {
            transform: scale(1.08);
        }

        .partner-tooltip {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: rgba(27, 77, 62, 0.9);
            color: white;
            font-size: 10px;
            font-weight: 800;
            text-align: center;
            padding: 2px 0;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .partner-logo-item:hover .partner-tooltip {
            opacity: 1;
        }

        /* CONTACT & MAP STYLES */
        .contact-info-item {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            margin-bottom: 20px;
            padding: 14px 16px;
            background: rgba(255,255,255,0.08);
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.1);
            transition: background 0.25s ease, transform 0.25s ease;
        }
        .contact-info-item:hover {
            background: rgba(255,255,255,0.14);
            transform: translateX(4px);
        }

        .contact-icon-wrapper {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: rgba(217, 119, 6, 0.2);
            color: var(--amber-gold);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            flex-shrink: 0;
            border: 1px solid rgba(217, 119, 6, 0.35);
        }

        .map-responsive {
            overflow: hidden;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
            margin-top: 24px;
            border: 2px solid rgba(255,255,255,0.1);
        }

        /* Header contact strip */
        .header-contact {
            display: flex;
            align-items: center;
            gap: 18px;
            flex-wrap: wrap;
            font-size: 12px;
            font-weight: 600;
            color: var(--text-dark);
        }
        .header-contact a {
            color: var(--agri-green);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: color 0.2s;
        }
        .header-contact a:hover { color: var(--brand-blue); }
        .header-contact i { color: var(--amber-gold); font-size: 13px; }
        @media (max-width: 1100px) {
            .header-contact { display: none; }
        }

        /* Footer contact row */
        .footer-contact-row {
            display: flex;
            flex-wrap: wrap;
            gap: 20px 32px;
            margin-top: 14px;
        }
        .footer-contact-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 13px;
            color: #cbd5e1;
            line-height: 1.5;
        }
        .footer-contact-item i {
            color: var(--amber-gold);
            margin-top: 3px;
            flex-shrink: 0;
        }
        .footer-contact-item a {
            color: #e2e8f0;
            text-decoration: none;
        }
        .footer-contact-item a:hover { color: var(--amber-gold); }

        /* SUCCESS STORIES */
        .success-section {
            background: linear-gradient(180deg, #fffdf8 0%, #ffffff 55%, #f8fafc 100%);
            padding: 56px 20px 48px;
            position: relative;
            overflow: hidden;
        }
        .success-section::before {
            content: '';
            position: absolute;
            top: -80px;
            right: -60px;
            width: 280px;
            height: 280px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(217,119,6,0.12), transparent 70%);
            pointer-events: none;
        }
        .success-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 22px;
            margin-top: 8px;
            max-width: 960px;
            margin-left: auto;
            margin-right: auto;
        }
        @media (max-width: 720px) {
            .success-grid { grid-template-columns: 1fr; }
        }
        .success-card {
            background: #ffffff;
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(15,23,42,0.06);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.95) inset,
                0 10px 28px rgba(15, 23, 42, 0.07);
            display: flex;
            flex-direction: column;
            transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
            cursor: pointer;
            opacity: 0;
            transform: translateY(28px) scale(0.96);
        }
        .success-card.in-view {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
        .success-card:nth-child(1) { transition-delay: 0.05s; }
        .success-card:nth-child(2) { transition-delay: 0.15s; }
        .success-card:nth-child(3) { transition-delay: 0.25s; }
        .success-card:nth-child(4) { transition-delay: 0.35s; }
        .success-card:hover {
            transform: translateY(-10px) scale(1.01);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.95) inset,
                0 22px 44px rgba(27, 77, 62, 0.14);
        }
        .success-card.is-extra {
            display: none;
        }
        .success-grid.is-expanded .success-card.is-extra {
            display: flex;
        }
        .success-card-img {
            height: 128px;
            background: linear-gradient(135deg, #1b4d3e, #0f172a);
            position: relative;
            overflow: hidden;
        }
        .success-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .success-card:hover .success-card-img img {
            transform: scale(1.08);
        }
        .success-card-img::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(15,23,42,0.35) 0%, transparent 50%);
            pointer-events: none;
            z-index: 1;
        }
        .success-card-body {
            padding: 16px 18px 18px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .success-card-tag {
            display: inline-block;
            font-size: 10px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.9px;
            color: #b45309;
            background: linear-gradient(135deg, #fff7ed, #ffedd5);
            padding: 4px 10px;
            border-radius: 20px;
            margin-bottom: 8px;
            border: 1px solid #fde68a;
            width: fit-content;
        }
        .success-card h4 {
            font-size: 16px !important;
            font-weight: 800;
            color: var(--agri-green);
            margin-bottom: 6px !important;
            line-height: 1.3;
        }
        .success-card p {
            font-size: 13px !important;
            color: #64748b;
            line-height: 1.55 !important;
            flex: 1;
            margin-bottom: 12px !important;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .success-metrics {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: auto;
        }
        .success-metric {
            background: linear-gradient(180deg, #f0fdf4, #dcfce7);
            color: #166534;
            font-size: 11px;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 20px;
            border: 1px solid #bbf7d0;
            box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
        }
        .btn-read-more.gold {
            background: var(--amber-gold);
            border-color: var(--amber-gold);
            color: #fff;
            padding: 12px 28px;
            font-size: 14px;
            box-shadow: 0 6px 18px rgba(217, 119, 6, 0.28);
        }
        .btn-read-more.gold:hover {
            background: #b45309;
            border-color: #b45309;
            color: #fff;
            transform: translateY(-2px);
        }
        .section-read-more-wrap {
            text-align: center;
            margin-top: 24px;
            padding-bottom: 4px;
        }

        /* FORM */
        .form-card {
            background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
            border-radius: 20px;
            padding: 40px;
            box-shadow:
                0 1px 0 rgba(255,255,255,0.95) inset,
                0 18px 40px rgba(0,0,0,0.18),
                0 4px 12px rgba(0,0,0,0.08);
            color: var(--text-dark);
            border: 1px solid rgba(255,255,255,0.4);
            position: relative;
        }

        .form-card::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, transparent 35%);
            pointer-events: none;
        }

        .form-group {
            margin-bottom: 18px;
            text-align: left;
        }

        .form-group label {
            display: block;
            font-size: 13px;
            font-weight: 700;
            color: var(--agri-green);
            margin-bottom: 6px;
        }

        .form-control {
            width: 100%;
            padding: 12px;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            font-size: 14px;
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s;
        }

        .form-control:focus {
            border-color: var(--brand-blue);
            box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
        }

        /* MODAL POPUP ALOHA STYLE ENHANCED */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 23, 42, 0.75);
            backdrop-filter: blur(8px);
            z-index: 3000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .modal.active {
            opacity: 1;
            pointer-events: auto;
        }

        .modal-card {
            background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
            border-radius: 22px;
            width: 92%;
            max-width: 760px;
            padding: 36px;
            box-shadow:
                0 1px 0 rgba(255,255,255,0.95) inset,
                0 28px 60px rgba(0,0,0,0.32),
                0 8px 20px rgba(0,0,0,0.12);
            position: relative;
            transform: scale(0.8) translateY(30px);
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            max-height: 85vh;
            overflow-y: auto;
            border: 1px solid rgba(255,255,255,0.5);
            border-top: 6px solid var(--agri-green);
        }

        .modal.active .modal-card {
            transform: scale(1) translateY(0);
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: #f1f5f9;
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .modal-close:hover {
            background: var(--amber-gold);
            color: white;
            transform: rotate(90deg);
        }

        .modal-img {
            width: 100%;
            max-height: min(60vh, 480px);
            height: auto;
            object-fit: contain;
            object-position: center;
            border-radius: 12px;
            margin-bottom: 20px;
            display: none;
            background: #f1f5f9;
        }

        @media (max-width: 600px) {
            .modal-img {
                max-height: 45vh;
            }
            .modal-card {
                width: 94%;
                padding: 24px 18px;
            }
        }

        /* BACK TO TOP BUTTON */
        .back-to-top {
            position: fixed;
            bottom: 24px;
            right: 24px;
            background: var(--amber-gold);
            color: white;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 999;
        }

        .back-to-top.active {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            background: #b45309;
            transform: translateY(-3px);
        }

        /* AUTO-INTERACTION STYLES (Aloha-style continuous motion) */
        .inclusive-card.auto-active {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 18px 36px rgba(27, 77, 62, 0.18);
            border-top-color: var(--amber-gold);
        }
        .inclusive-card.auto-active .card-icon {
            background: var(--agri-green);
            color: white;
            transform: rotate(8deg) scale(1.08);
        }

        .team-card-circular.auto-active .team-photo-circle-wrap {
            transform: scale(1.08);
            box-shadow: 0 18px 40px rgba(217, 119, 6, 0.4);
        }
        .team-card-circular.auto-active .team-name-circular {
            color: var(--amber-gold);
        }

        .partner-logos-container {
            overflow: hidden;
            position: relative;
            mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
            -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
        }
        .partner-logos-track {
            display: flex;
            gap: 24px;
            width: max-content;
            animation: partnerMarquee 28s linear infinite;
        }
        .partner-logos-track:hover {
            animation-play-state: paused;
        }
        @keyframes partnerMarquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .stat-card.auto-active {
            transform: translateY(-8px) scale(1.05);
            background: rgba(255,255,255,0.14);
            border-color: var(--amber-gold);
        }

        /* ANIMATIONS KEYFRAMES */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes popIn {
            0% { opacity: 0; transform: translateY(28px) scale(0.96); }
            60% { opacity: 1; transform: translateY(-4px) scale(1.02); }
            100% { opacity: 1; transform: translateY(0) scale(1); }
        }

        @keyframes softPulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.25); }
            50% { box-shadow: 0 0 0 12px rgba(74, 222, 128, 0); }
        }

        @keyframes numberGlow {
            0%, 100% { text-shadow: 0 2px 10px rgba(74, 222, 128, 0.25); }
            50% { text-shadow: 0 2px 18px rgba(74, 222, 128, 0.55); }
        }

        .pop-in {
            opacity: 0;
            animation: popIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        }

        .pop-in-delay-1 { animation-delay: 0.08s; }
        .pop-in-delay-2 { animation-delay: 0.16s; }
        .pop-in-delay-3 { animation-delay: 0.24s; }
        .pop-in-delay-4 { animation-delay: 0.32s; }

        #impact .stat-card {
            animation: softPulse 3.5s ease-in-out infinite;
        }
        #impact .stat-card:nth-child(2) { animation-delay: 0.4s; }
        #impact .stat-card:nth-child(3) { animation-delay: 0.8s; }
        #impact .stat-card:nth-child(4) { animation-delay: 1.2s; }

        #impact .stat-number {
            animation: numberGlow 2.8s ease-in-out infinite;
        }

        @media (prefers-reduced-motion: reduce) {
            .pop-in { opacity: 1; animation: none; }
            #impact .stat-card,
            #impact .stat-number { animation: none; }
        }

        @media (max-width: 900px) {
            .pop-in {
                opacity: 1;
                animation: none;
            }
        }


        /* PHOTO GALLERY */
        .gallery-section {
            background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 35%, #fff7ed 100%);
            padding: 80px 20px;
        }
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 18px;
        }
        .gallery-item {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            aspect-ratio: 4/3;
            cursor: pointer;
            border: 1px solid rgba(15,23,42,0.06);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.85) inset,
                0 10px 24px rgba(15, 23, 42, 0.1);
            background: linear-gradient(145deg, #1b4d3e, #0f172a);
            transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
        }
        .gallery-item:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.9) inset,
                0 18px 36px rgba(15, 23, 42, 0.16);
        }
        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }
        .gallery-item:hover img {
            transform: scale(1.08);
        }
        .gallery-item-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(15,23,42,0.65) 0%, transparent 55%);
            opacity: 0.85;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }
        .gallery-item:hover .gallery-item-overlay {
            opacity: 1;
        }
        .gallery-item-label {
            position: absolute;
            left: 12px;
            bottom: 12px;
            right: 12px;
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            z-index: 2;
            text-shadow: 0 1px 4px rgba(0,0,0,0.4);
        }
        @media (max-width: 900px) {
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
            .gallery-item:hover { transform: translateY(-4px); }
        }
        @media (max-width: 480px) {
            .gallery-grid { grid-template-columns: 1fr; }
        }


        /* ========== ALOHA-STYLE ENTRANCES (one-shot, not continuous) ========== */
        @keyframes riseFade {
            from { opacity: 0; transform: translateY(36px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes scalePop {
            0% { opacity: 0; transform: scale(0.88) translateY(20px); }
            70% { opacity: 1; transform: scale(1.03) translateY(-4px); }
            100% { opacity: 1; transform: scale(1) translateY(0); }
        }
        @keyframes slideInLeft {
            from { opacity: 0; transform: translateX(-28px); }
            to { opacity: 1; transform: translateX(0); }
        }
        @keyframes drawLine {
            from { width: 0; opacity: 0; }
            to { width: 64px; opacity: 1; }
        }
        @keyframes floatY {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-6px); }
        }
        @keyframes logoTilt {
            0%, 100% { transform: perspective(600px) rotateY(0deg) rotateX(0deg); }
            50% { transform: perspective(600px) rotateY(8deg) rotateX(4deg); }
        }

        .anim-rise {
            opacity: 0;
            transform: translateY(36px);
            transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .anim-rise.in-view {
            opacity: 1;
            transform: translateY(0);
        }

        .anim-pop {
            opacity: 0;
            transform: scale(0.9) translateY(16px);
            transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .anim-pop.in-view {
            opacity: 1;
            transform: scale(1) translateY(0);
        }

        .stagger-1 { transition-delay: 0.05s; }
        .stagger-2 { transition-delay: 0.12s; }
        .stagger-3 { transition-delay: 0.19s; }
        .stagger-4 { transition-delay: 0.26s; }
        .stagger-5 { transition-delay: 0.33s; }
        .stagger-6 { transition-delay: 0.4s; }
        .stagger-7 { transition-delay: 0.47s; }
        .stagger-8 { transition-delay: 0.54s; }

        .section-heading.anim-rise.in-view + .section-heading::after,
        .anim-line::after {
            animation: drawLine 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        }

        .float-soft {
            animation: floatY 4s ease-in-out infinite;
        }

        /* 3D partner logos */
        .partner-logos-track {
            perspective: 900px;
        }
        .partner-logo-item {
            transform-style: preserve-3d;
            transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.3s ease;
        }
        .partner-logo-item:hover {
            transform: perspective(600px) rotateY(-12deg) rotateX(6deg) translateY(-8px) scale(1.08);
            border-color: var(--amber-gold);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.95) inset,
                -8px 16px 28px rgba(15, 23, 42, 0.18),
                0 6px 12px rgba(217, 119, 6, 0.15);
        }
        .partner-logo-item img {
            transition: transform 0.45s ease;
            backface-visibility: hidden;
        }
        .partner-logo-item:hover img {
            transform: scale(1.06) translateZ(12px);
        }
        .partner-logo-item.logo-float {
            animation: logoTilt 5s ease-in-out infinite;
        }
        .partner-logo-item.logo-float:nth-child(odd) {
            animation-delay: 0.6s;
        }
        .partner-logo-item.logo-float:nth-child(3n) {
            animation-delay: 1.2s;
        }
        .partner-logos-track:hover .partner-logo-item.logo-float {
            animation-play-state: paused;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
            background: #1b4d3e;
        }

        @media (prefers-reduced-motion: reduce) {
            .anim-rise, .anim-pop { opacity: 1; transform: none; transition: none; }
            .float-soft, .partner-logo-item.logo-float { animation: none; }
        }
        @media (max-width: 900px) {
            .partner-logo-item.logo-float { animation: none; }
            .partner-logo-item:hover {
                transform: translateY(-4px) scale(1.05);
            }
            .float-soft { animation: none; }
        }


        /* Gallery always visible (don't wait for anim JS) */
        .gallery-item.anim-pop {
            opacity: 1 !important;
            transform: none !important;
        }
        .kra-card.anim-pop {
            opacity: 1;
        }
        @media (max-width: 900px) {
            .anim-pop, .anim-rise {
                opacity: 1 !important;
                transform: none !important;
                transition: none !important;
            }
        }

        /* iOS image reliability */
        img {
            max-width: 100%;
            height: auto;
        }
        .gallery-item img,
        .kra-img,
        .team-photo,
        .partner-logo-item img,
        .modal-img {
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
            backface-visibility: hidden;
        }
        @media (max-width: 900px) {
            .gallery-item img {
                opacity: 1 !important;
                filter: none !important;
                transform: none !important;
            }
            .kra-img {
                display: block !important;
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                z-index: 2;
            }
            /* Prefer reliable host images over Unsplash on mobile when possible */
            .kra-visual-icon {
                z-index: 1;
            }
        }


        .about-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: center;
        }
        .about-layout .field-slideshow {
            min-height: 460px;
            height: 100%;
            border-radius: 24px;
        }
        .about-copy {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 0;
        }
        .about-copy .section-subtitle {
            margin-bottom: 10px;
        }
        .about-copy .section-heading {
            font-size: clamp(26px, 3.2vw, 34px);
            line-height: 1.2;
            margin-bottom: 16px;
            letter-spacing: -0.02em;
        }
        .about-lead {
            font-size: 16.5px;
            color: #475569;
            line-height: 1.75;
            margin-bottom: 18px;
            max-width: 36em;
        }
        .about-more {
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: max-height 0.45s ease, opacity 0.35s ease, margin 0.35s ease;
            margin: 0;
        }
        .about-more.is-open {
            max-height: 800px;
            opacity: 1;
            margin-bottom: 18px;
        }
        .btn-read-more {
            background: transparent;
            border: 2px solid var(--agri-green);
            color: var(--agri-green);
            padding: 8px 18px;
            border-radius: 6px;
            font-weight: 700;
            font-size: 13px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.25s ease;
            margin-bottom: 18px;
        }
        .btn-read-more:hover {
            background: var(--agri-green);
            color: #fff;
        }
        .btn-read-more i {
            transition: transform 0.25s ease;
        }
        .btn-read-more.is-open i {
            transform: rotate(180deg);
        }
        .kra-card.is-extra {
            display: none !important;
        }
        #kra-container.is-expanded .kra-card.is-extra {
            display: flex !important;
        }
        #kras {
            padding: 48px 20px 40px !important;
        }
        #kra-container.grid-4 {
            grid-template-columns: repeat(4, 1fr);
            gap: 16px !important;
            max-width: 1100px;
            margin-left: auto;
            margin-right: auto;
        }
        @media (max-width: 1000px) {
            #kra-container.grid-4 { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 560px) {
            #kra-container.grid-4 { grid-template-columns: 1fr; }
        }
        .kra-read-link {
            display: inline-block;
            margin-top: 6px;
            font-size: 12px;
            font-weight: 700;
            color: var(--amber-gold);
        }
        .success-read-link {
            display: inline-block;
            margin-top: 4px;
            font-size: 12px;
            font-weight: 700;
            color: var(--amber-gold);
        }
        .kra-card {
            min-height: 0;
        }
        .kra-img-wrapper {
            height: 110px !important;
        }
        .kra-content {
            padding: 16px 18px !important;
        }
        .kra-content h4 {
            font-size: 15px !important;
            margin-bottom: 6px !important;
        }
        .kra-content p {
            font-size: 12.5px !important;
            line-height: 1.5 !important;
            margin-bottom: 10px !important;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .grid-4 {
            gap: 18px !important;
        }
        .about-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin-bottom: 24px;
        }
        .about-stat {
            background: #fff;
            border-radius: 16px;
            padding: 16px 12px;
            text-align: center;
            border: 1px solid rgba(27, 77, 62, 0.08);
            box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .about-stat:hover {
            transform: translateY(-4px);
            box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
        }
        .about-stat strong {
            display: block;
            font-size: 22px;
            font-weight: 900;
            color: var(--agri-green);
            line-height: 1.1;
            margin-bottom: 4px;
        }
        .about-stat span {
            font-size: 11px;
            font-weight: 700;
            color: #64748b;
            letter-spacing: 0.02em;
            text-transform: uppercase;
        }
        .about-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin: 0 0 22px;
            padding: 0;
        }
        .about-list li {
            position: relative;
            padding-left: 28px;
            font-size: 14.5px;
            color: #334155;
            line-height: 1.55;
        }
        .about-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 7px;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--agri-green), #4ade80);
            box-shadow: 0 0 0 4px rgba(27, 77, 62, 0.12);
        }
        .about-cta-row {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
        }
        @media (max-width: 900px) {
            .about-layout {
                grid-template-columns: 1fr;
                gap: 28px;
            }
            .about-layout .field-slideshow {
                min-height: 280px;
                order: -1;
            }
            .about-stats {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        @media (max-width: 480px) {
            .about-stats { grid-template-columns: 1fr; }
        }


        /* Vision / Values / Team — Aloha-style staggered motion */
        .vm-card {
            background: #fff;
            padding: 32px 28px;
            border-radius: 18px;
            border-left: 5px solid var(--agri-green);
            box-shadow:
                0 1px 0 rgba(255,255,255,0.9) inset,
                0 12px 28px rgba(15, 23, 42, 0.07);
            opacity: 0;
            transform: translateY(28px) scale(0.96);
            transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .vm-card.in-view {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
        .vm-card:nth-child(2) { transition-delay: 0.12s; border-left-color: var(--amber-gold); }
        .vm-card .section-subtitle { margin-bottom: 10px; }
        .vm-card h3 {
            font-size: 20px;
            font-weight: 800;
            color: var(--agri-green);
            line-height: 1.35;
        }

        .value-card {
            opacity: 0;
            transform: translateY(32px) scale(0.94);
            transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
        }
        .value-card.in-view {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
        .value-card:nth-child(1) { transition-delay: 0.05s; }
        .value-card:nth-child(2) { transition-delay: 0.15s; }
        .value-card:nth-child(3) { transition-delay: 0.25s; }
        .value-card .card-icon {
            animation: floatY 4s ease-in-out infinite;
        }
        .value-card:nth-child(2) .card-icon { animation-delay: 0.4s; }
        .value-card:nth-child(3) .card-icon { animation-delay: 0.8s; }
        .value-card:hover .card-icon { animation-play-state: paused; }

        .team-card-circular {
            opacity: 0;
            transform: translateY(36px) scale(0.92);
            transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
        }
        .team-card-circular.in-view {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
        .team-card-circular:nth-child(1) { transition-delay: 0.05s; }
        .team-card-circular:nth-child(2) { transition-delay: 0.12s; }
        .team-card-circular:nth-child(3) { transition-delay: 0.19s; }
        .team-card-circular:nth-child(4) { transition-delay: 0.26s; }
        .team-card-circular:nth-child(5) { transition-delay: 0.33s; }
        .team-card-circular.in-view:hover {
            transform: translateY(-10px) scale(1.02);
        }

        @media (prefers-reduced-motion: reduce) {
            .vm-card, .value-card, .team-card-circular {
                opacity: 1 !important;
                transform: none !important;
                transition: none !important;
            }
        }
        @media (max-width: 900px) {
            .vm-card, .value-card, .team-card-circular {
                opacity: 1;
                transform: none;
            }
            .value-card .card-icon { animation: none; }
        }


        /* Desktop: field slideshow uses CSS background; img is mobile aid */
        .field-slide-img { display: none; }

        /* ===== MOBILE-ONLY image reliability (desktop unchanged) ===== */
        @media (max-width: 900px) {
            .anim-pop, .anim-rise, .vm-card, .value-card, .team-card-circular,
            .gallery-item, .kra-card, .inclusive-card {
                opacity: 1 !important;
                transform: none !important;
                filter: none !important;
            }
            .gallery-item img,
            .kra-img,
            .team-photo,
            .partner-logo-item img,
            .modal-img,
            .field-slide-img {
                opacity: 1 !important;
                visibility: visible !important;
                filter: none !important;
                -webkit-transform: none !important;
                transform: none !important;
                max-width: 100%;
            }
            .kra-img {
                display: block !important;
                position: absolute !important;
                inset: 0 !important;
                width: 100% !important;
                height: 100% !important;
                object-fit: cover !important;
                z-index: 2 !important;
                background: #1b4d3e;
            }
            .kra-visual-icon {
                z-index: 1 !important;
            }
            .field-slideshow {
                min-height: 280px !important;
            }
            .field-slide {
                background-image: none !important;
            }
            .field-slide-img {
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block !important;
                z-index: 1;
                opacity: 0;
                transition: opacity 0.8s ease;
            }
            .field-slide.active .field-slide-img {
                opacity: 1 !important;
            }
            .gallery-item {
                background: #1b4d3e;
            }
        }

        /* RESPONSIVE */
        @media (max-width: 900px) {
            /* Hard guarantee: never hide content on mobile */
            .reveal,
            section,
            footer {
                opacity: 1 !important;
                transform: none !important;
                visibility: visible !important;
            }
            .grid-2 { grid-template-columns: 1fr; }
            .nav-links { display: none; }
            .btn-menu { display: flex !important; }
            .page-start { height: calc(36px + 68px); }
            header { top: 36px !important; }
            .hero { min-height: auto; padding: 48px 16px 56px; }
            .hero h1 { font-size: 28px; }
            .hero p.mission-quote { font-size: 14px; }
            .filter-controls { flex-direction: column; align-items: stretch; }
            .search-input { width: 100%; }
            .search-input:focus { width: 100%; }
            section { padding: 50px 16px; }
            .section-heading { font-size: 24px; }
            .top-bar { flex-direction: column; gap: 6px; text-align: center; font-size: 11px; }
            .logo-title { font-size: 12px; max-width: 140px; white-space: normal; }
            .logo-img { height: 40px; }
            .team-grid-circular {
                grid-template-columns: repeat(2, 1fr);
                gap: 18px 14px;
            }
            .team-photo-circle-wrap { width: 100px; height: 100px; }
            .team-avatar-placeholder { font-size: 20px; }
            .team-card-circular { padding: 18px 10px 16px; }
            .team-name-circular { font-size: 13px; }
            .team-role-circular { font-size: 11px; }
            .team-bio-circular { font-size: 10px; }
            .team-focus-tag { font-size: 8px; padding: 2px 6px; }
            .stats-box { padding: 24px 16px; gap: 16px; }
            .stat-number { font-size: 32px; }
            .form-card { padding: 24px 18px; }
            .partner-logo-item { width: 80px; height: 80px; }
            .drawer { width: 100%; max-width: 320px; }
            .card, .inclusive-card, .kra-card { margin: 0; }
            .grid-3 {
                grid-template-columns: 1fr;
                gap: 18px;
            }
            .grid-4 { gap: 18px; grid-template-columns: 1fr; }
            .inclusive-card {
                padding: 22px 18px;
                transform: none !important;
            }
            .inclusive-card:hover {
                transform: none !important;
            }
            .segment-tag {
                font-size: 10px;
                padding: 5px 10px;
                white-space: normal;
            }
            .capacity-band { padding: 24px 18px; margin-top: 28px; }
            .capacity-stat { min-width: 120px; flex: 1 1 40%; }
            .capacity-stat strong { font-size: 22px; }
            .bds-package { font-size: 10px; }
        }

        @media (min-width: 901px) {
            .btn-menu {
                display: flex !important;
            }
        }

        @media (max-width: 480px) {
            .hero h1 { font-size: 24px; }
            .section-heading { font-size: 22px; }
            .team-grid-circular {
                grid-template-columns: 1fr;
                max-width: 280px;
                margin-left: auto;
                margin-right: auto;
            }
            .team-photo-circle-wrap { width: 110px; height: 110px; }
            .team-name-circular { font-size: 15px; }
            .team-role-circular { font-size: 12px; }
            .team-bio-circular { font-size: 11px; }
            .team-avatar-placeholder { font-size: 22px; }
            .capacity-stats { gap: 10px; }
            .capacity-stat { flex: 1 1 100%; }
        }

        @media (min-width: 601px) and (max-width: 900px) {
            .grid-3 {
                grid-template-columns: 1fr;
            }
        }

        @media (min-width: 901px) and (max-width: 1100px) {
            .team-grid-circular {
                grid-template-columns: repeat(3, 1fr);
                max-width: 720px;
            }
        }
/* ===== WordPress admin-bar compatibility ===== */
body.admin-bar .top-bar {
    top: 32px !important;
}
body.admin-bar header {
    top: 68px !important;
}
body.admin-bar .page-start {
    height: calc(32px + 36px + 76px) !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar .top-bar {
        top: 46px !important;
    }
    body.admin-bar header {
        top: 82px !important;
    }
    body.admin-bar .page-start {
        height: calc(46px + 36px + 76px) !important;
    }
}
.top-bar {
    z-index: 2001 !important;
}
header {
    z-index: 2000 !important;
}