/* AgricZenith - Brand & Public Styling */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --agri-dark: #082819;
    --agri-forest: #0d3b25;
    --agri-green: #15803d;
    --agri-primary: #16a34a;
    --agri-bright: #22c55e;
    --agri-light: #dcfce7;
    --agri-accent: #eab308;
    --agri-card-bg: #ffffff;
    --agri-bg: #f8fafc;
    --agri-text: #0f172a;
    --agri-muted: #64748b;
    --agri-border: #e2e8f0;
    --agri-radius: 16px;
    --agri-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--agri-bg);
    color: var(--agri-text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navbar */
.navbar-agri {
    background-color: #ffffff;
    padding: 16px 0;
    border-bottom: 1px solid var(--agri-border);
    transition: all 0.3s ease;
}

.navbar-agri.sticky-top {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.navbar-brand img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.nav-link {
    font-weight: 500;
    color: #334155 !important;
    padding: 8px 16px !important;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--agri-primary) !important;
}

/* Custom Buttons */
.btn-agri {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 9999px;
    padding: 10px 24px;
    border: none;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-agri:hover {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.btn-agri-outline {
    background: transparent;
    color: var(--agri-forest) !important;
    border: 1.5px solid #cbd5e1;
    font-weight: 600;
    border-radius: 9999px;
    padding: 10px 24px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-agri-outline:hover {
    border-color: var(--agri-primary);
    color: var(--agri-primary) !important;
    background: #f0fdf4;
}

.btn-agri-white {
    background: #ffffff;
    color: var(--agri-forest) !important;
    font-weight: 600;
    border-radius: 9999px;
    padding: 10px 24px;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.btn-agri-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Sitewide Brand Overrides for Bootstrap Primary & Nav-Pills to Eliminate Blue */
.btn-primary {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    border-color: #15803d !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    border-color: #166534 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4) !important;
}

.btn-outline-primary {
    color: #15803d !important;
    border-color: #15803d !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #15803d !important;
    border-color: #15803d !important;
    color: #ffffff !important;
}

.nav-pills .nav-link {
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-pills .nav-link:hover {
    color: #15803d;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background: linear-gradient(135deg, #15803d 0%, #16a34a 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35) !important;
}

.nav-pills .nav-link.active i,
.nav-pills .nav-link.active span {
    color: #ffffff !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(8, 40, 25, 0.75), rgba(8, 40, 25, 0.85)), url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?q=80&w=1920&auto=format&fit=crop') center center / cover no-repeat;
    color: #ffffff;
    padding: 60px 0 80px;
    overflow: hidden;
}

.hero-tag {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title span {
    color: #4ade80;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #e2e8f0;
    max-width: 600px;
    margin-bottom: 35px;
    font-weight: 400;
}

/* Trust Badges Bar */
.trust-bar {
    background: #0d3b25;
    color: #ffffff;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.trust-text h6 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.trust-text p {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 0;
}

/* Stat Cards / Metric Strip */
.stats-card {
    background: #ffffff;
    border: 1px solid var(--agri-border);
    border-radius: var(--agri-radius);
    padding: 24px;
    box-shadow: var(--agri-shadow);
    transition: transform 0.25s ease;
}

.stats-card:hover {
    transform: translateY(-4px);
}

.stats-card .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--agri-forest);
    line-height: 1;
    margin-bottom: 6px;
}

.stats-card .stat-label {
    font-size: 0.875rem;
    color: var(--agri-muted);
    font-weight: 500;
}

/* Section Header */
.section-header {
    margin-bottom: 48px;
}

.section-tag {
    color: var(--agri-primary);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: inline-block;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--agri-dark);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--agri-muted);
    max-width: 620px;
    margin: 0 auto;
}

/* Plan Cards */
.plan-card {
    background: #ffffff;
    border-radius: var(--agri-radius);
    border: 1px solid var(--agri-border);
    padding: 30px 24px;
    box-shadow: var(--agri-shadow);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(22, 163, 74, 0.15);
    border-color: #86efac;
}

.plan-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
}

.badge-starter { background: #dbeafe; color: #1e40af; }
.badge-popular { background: #dcfce7; color: #15803d; }
.badge-harvest { background: #fef3c7; color: #b45309; }
.badge-legacy  { background: #f3e8ff; color: #7e22ce; }

.plan-image {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 20px;
}

.plan-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--agri-dark);
    margin-bottom: 4px;
}

.plan-desc {
    font-size: 0.88rem;
    color: var(--agri-muted);
    min-height: 44px;
    margin-bottom: 20px;
}

.plan-roi {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--agri-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.plan-roi-label {
    font-size: 0.82rem;
    color: var(--agri-muted);
    font-weight: 500;
    margin-bottom: 20px;
}

.plan-details-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 24px;
}

.plan-details-box .detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.plan-details-box .detail-row:last-child {
    margin-bottom: 0;
}

.detail-label {
    color: var(--agri-muted);
    font-weight: 500;
}

.detail-val {
    color: var(--agri-dark);
    font-weight: 700;
}

/* Farm / Project Cards */
.project-card {
    background: #ffffff;
    border-radius: var(--agri-radius);
    border: 1px solid var(--agri-border);
    overflow: hidden;
    box-shadow: var(--agri-shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
}

.project-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-thumb img {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
}

.badge-active  { background: rgba(22, 163, 74, 0.9); color: #ffffff; }
.badge-new     { background: rgba(37, 99, 235, 0.9); color: #ffffff; }
.badge-hot     { background: rgba(217, 119, 6, 0.9); color: #ffffff; }

.project-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-location {
    font-size: 0.8rem;
    color: var(--agri-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--agri-dark);
    margin-bottom: 12px;
}

.project-pill {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.project-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    margin-top: auto;
}

.project-stat-label {
    font-size: 0.75rem;
    color: var(--agri-muted);
}

.project-stat-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--agri-forest);
}

/* App Promo Banner */
.app-promo-banner {
    background: linear-gradient(135deg, #0d3b25 0%, #052e16 100%);
    border-radius: 24px;
    padding: 48px;
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

.app-promo-logo {
    max-width: 240px;
    width: 100%;
    height: auto;
    max-height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4)) brightness(0) invert(1);
    transition: transform 0.3s ease;
}

@media (max-width: 991px) {
    .app-promo-banner {
        padding: 40px 28px;
    }
}

@media (max-width: 768px) {
    .app-promo-banner {
        padding: 32px 20px;
        text-align: center;
        border-radius: 20px;
    }
    .app-promo-banner .d-flex.flex-wrap {
        justify-content: center;
    }
    .app-promo-logo {
        max-width: 210px !important;
        max-height: 75px !important;
        margin: 0 auto;
    }
}

.app-store-badge {
    background: #000000;
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.2s;
}

.app-store-badge:hover {
    transform: scale(1.03);
}

/* Homepage YouTube Video Showcase */
.video-showcase-wrapper {
    position: relative;
    border-radius: 28px;
    padding: 6px;
}

.video-ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 85%;
    height: 75%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(22, 163, 74, 0.25) 0%, rgba(21, 128, 61, 0.08) 50%, transparent 75%);
    filter: blur(45px);
    z-index: 0;
    pointer-events: none;
}

.video-player-card {
    position: relative;
    z-index: 1;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 12px 12px 16px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25), 0 0 25px rgba(22, 163, 74, 0.12);
}

.video-caption-bar {
    padding: 8px 6px 0;
}

/* Testimonials */
.testimonial-card {
    background: #ffffff;
    border-radius: var(--agri-radius);
    padding: 28px;
    border: 1px solid var(--agri-border);
    box-shadow: var(--agri-shadow);
    height: 100%;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

/* CTA Footer Strip */
.cta-banner {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    border-radius: 20px;
    padding: 48px;
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(22, 163, 74, 0.25);
}

/* Footer */
.footer-agri {
    background: #082819;
    color: #cbd5e1;
    padding: 70px 0 30px;
}

.footer-agri a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-agri a:hover {
    color: #4ade80;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 28px;
    margin-top: 50px;
    font-size: 0.88rem;
}

/* ========================================================
   COMMODITY MARQUEE TICKER BAR
   ======================================================== */
.commodity-marquee-bar {
    background: #052014;
    border-bottom: 1px solid rgba(34, 197, 94, 0.25);
    color: #e2e8f0;
    font-size: 0.82rem;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 1020;
    padding: 8px 0;
}
.commodity-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 36px;
    animation: marqueeScroll 45s linear infinite;
    will-change: transform;
}
.commodity-marquee-bar:hover .commodity-marquee-track {
    animation-play-state: paused;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.commodity-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.commodity-symbol {
    color: #94a3b8;
    font-weight: 600;
}
.commodity-price {
    color: #ffffff;
    font-weight: 700;
}
.commodity-change {
    font-size: 0.76rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}
.commodity-change.up {
    color: #4ade80;
    background: rgba(34, 197, 94, 0.15);
}
.commodity-change.down {
    color: #f87171;
    background: rgba(239, 68, 68, 0.15);
}

/* ========================================================
   HERO IMAGE COMPOSITE & LIVE CHIPS
   ======================================================== */
.hero-image-composite {
    position: relative;
    padding: 15px;
}
.hero-main-img-wrap {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.15);
}
.hero-main-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.hero-main-img-wrap:hover .hero-main-img {
    transform: scale(1.03);
}
.hero-floating-chip {
    position: absolute;
    background: rgba(13, 59, 37, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 9999px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 5;
    animation: floatChip 4s ease-in-out infinite alternate;
}
.hero-chip-top {
    top: 25px;
    right: 25px;
}
.hero-chip-bottom {
    bottom: 25px;
    left: 25px;
    animation-delay: 2s;
}
.hero-floating-badge {
    position: absolute;
    bottom: -15px;
    right: 30px;
    background: #ffffff;
    color: var(--agri-forest);
    border-radius: 18px;
    padding: 14px 22px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    border: 1px solid #e2e8f0;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 14px;
}
@keyframes floatChip {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

/* ========================================================
   WHY INVEST PHOTO COLLAGE (media_1789937256845.png)
   ======================================================== */
.why-collage-container {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    padding: 30px 20px;
}
.why-collage-bg-shape {
    position: absolute;
    width: 220px;
    height: 380px;
    background: #15803d;
    border-radius: 24px;
    left: 10px;
    bottom: 20px;
    z-index: 1;
}
.why-collage-main-wrap {
    position: relative;
    z-index: 2;
    margin-left: 50px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 4px solid #ffffff;
}
.why-collage-main-img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    display: block;
}
.why-collage-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: rgba(34, 197, 94, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.8rem;
    border: 3px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}
.why-collage-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #16a34a;
}
.why-collage-badge-cows {
    position: absolute;
    top: 90px;
    left: 0px;
    z-index: 3;
    width: 115px;
    height: 115px;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.why-collage-badge-goats {
    position: absolute;
    bottom: 10px;
    left: 15px;
    z-index: 3;
    width: 110px;
    height: 110px;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.why-collage-badge-poultry {
    position: absolute;
    top: 30px;
    right: 10px;
    z-index: 3;
    width: 115px;
    height: 115px;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.why-collage-badge-icon {
    position: absolute;
    bottom: 15px;
    right: 25px;
    z-index: 3;
    width: 85px;
    height: 85px;
    background: #ffffff;
    border-radius: 20px;
    border: 3px solid #22c55e;
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #16a34a;
}
.why-feature-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 600;
    color: #1e293b;
    font-size: 1.05rem;
}
.why-feature-dot {
    width: 10px;
    height: 10px;
    background-color: #16a34a;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ========================================================
   HOW TO INVEST STEPS (media_1789937228848.png)
   ======================================================== */
.invest-process-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}
.invest-process-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}
.process-step-list {
    position: relative;
    padding-left: 10px;
}
.process-step-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding-bottom: 36px;
}
.process-step-item:last-child {
    padding-bottom: 0;
}
.process-icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px dashed #16a34a;
    background: #f0fdf4;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    z-index: 2;
    transition: all 0.3s;
}
.process-step-item:hover .process-icon-circle {
    background: #16a34a;
    color: #ffffff;
    transform: scale(1.08);
}
.process-step-connector {
    position: absolute;
    top: 58px;
    left: 28px;
    bottom: 0;
    width: 2px;
    border-left: 2px dashed #cbd5e1;
    z-index: 1;
}
.process-step-item:last-child .process-step-connector {
    display: none;
}
.process-step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}
.process-step-desc {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ========================================================
   PHILOSOPHY & 25 YEARS EXPERT (media_1789937318624.png)
   ======================================================== */
.philosophy-card-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}
.philosophy-card-item.active-highlight {
    background: #f0fdf4;
    border-color: #86efac;
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.08);
}
.philosophy-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    position: relative;
    padding-left: 14px;
}
.philosophy-card-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background-color: #16a34a;
    border-radius: 4px;
}
.philosophy-expert-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}
.philosophy-expert-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #082819;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    z-index: 5;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.philosophy-expert-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
}
.philosophy-expert-footer {
    background: #ffffff;
    padding: 20px 24px;
    border-top: 1px solid #e2e8f0;
}

/* ========================================================
   LIVESTOCK & ASSET SHOWCASE (Cows, Swine, Silos, Poultry)
   ======================================================== */
.livestock-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.livestock-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.1);
    border-color: #86efac;
}
.livestock-thumb-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.livestock-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.livestock-card:hover .livestock-thumb-img {
    transform: scale(1.06);
}
.livestock-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(8, 40, 25, 0.85);
    backdrop-filter: blur(6px);
    color: #4ade80;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(74, 222, 128, 0.3);
}
.livestock-apy-pill {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: #16a34a;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.livestock-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.livestock-meta-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 16px;
    margin-top: auto;
    border: 1px solid #e2e8f0;
}

/* ========================================================
   TOGETHER WE MAKE IT HAPPEN BANNER (media_1789937276564.png)
   ======================================================== */
.together-banner-section {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(5, 32, 20, 0.95) 0%, rgba(5, 32, 20, 0.82) 45%, rgba(5, 32, 20, 0.25) 100%),
                url('https://images.unsplash.com/photo-1605000797499-95a51c5269ae?q=80&w=1920&auto=format&fit=crop') center right / cover no-repeat;
    padding: 85px 60px;
    color: #ffffff;
    box-shadow: 0 25px 50px rgba(8, 40, 25, 0.3);
}
@media (max-width: 768px) {
    .together-banner-section {
        padding: 50px 24px;
        background: linear-gradient(180deg, rgba(5, 32, 20, 0.92) 0%, rgba(5, 32, 20, 0.96) 100%),
                    url('https://images.unsplash.com/photo-1605000797499-95a51c5269ae?q=80&w=1000&auto=format&fit=crop') center center / cover no-repeat;
    }
}
.together-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
}
@media (max-width: 768px) {
    .together-title {
        font-size: 2.2rem;
    }
}
.together-stat-text {
    font-size: 1.15rem;
    color: #e2e8f0;
    max-width: 580px;
    margin-bottom: 35px;
    line-height: 1.6;
}
.together-stat-text span {
    color: #4ade80;
    font-weight: 800;
    font-size: 1.35rem;
}

/* ========================================================
   POPUNDER FLOATING SOCIAL PROOF TOAST
   ======================================================== */
.agri-popunder-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1045;
    max-width: 380px;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.agri-popunder-toast.agri-popunder-show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.agri-popunder-toast.agri-popunder-hide {
    opacity: 0;
    transform: translateY(15px) scale(0.97);
    pointer-events: none;
}
.agri-popunder-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(22, 163, 74, 0.25);
    border-radius: 18px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(22, 163, 74, 0.08);
    padding: 14px 16px;
    position: relative;
    overflow: hidden;
}
.agri-popunder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #22c55e, #15803d);
}
.agri-popunder-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: color 0.2s;
}
.agri-popunder-close:hover {
    color: #334155;
}
.agri-popunder-body {
    display: flex;
    align-items: center;
    gap: 12px;
}
.agri-popunder-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.agri-popunder-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #22c55e;
}
.agri-popunder-verified {
    position: absolute;
    bottom: -2px;
    right: -2px;
    color: #16a34a;
    font-size: 0.9rem;
    background: #ffffff;
    border-radius: 50%;
    line-height: 1;
}
.agri-popunder-content {
    flex-grow: 1;
    min-width: 0;
}
.agri-popunder-header {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    margin-bottom: 2px;
    line-height: 1.2;
}
.agri-popunder-name {
    font-weight: 700;
    color: #0f172a;
}
.agri-popunder-flag {
    font-size: 0.95rem;
}
.agri-popunder-city {
    font-size: 0.72rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.agri-popunder-message {
    font-size: 0.82rem;
    color: #334155;
    line-height: 1.3;
    margin-bottom: 4px;
}
.agri-popunder-amount {
    color: #16a34a;
    font-weight: 800;
}
.agri-popunder-target {
    color: #475569;
    font-size: 0.78rem;
}
.agri-popunder-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #94a3b8;
}
.agri-popunder-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #16a34a;
    font-weight: 600;
}
.agri-pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
    animation: agriPulse 1.5s infinite;
}
@keyframes agriPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Mobile Popunder Safe Placement */
@media (max-width: 768px) {
    .agri-popunder-toast {
        bottom: 84px; /* Safely floats above mobile bottom nav */
        left: 14px;
        right: 14px;
        max-width: none;
    }
}

/* ==========================================================================
   Progressive Web App (PWA) Side Badge, Toast & Alerts
   ========================================================================== */
.agri-pwa-side-badge {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1040;
    background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
    color: #ffffff;
    padding: 10px 14px 10px 16px;
    border-radius: 30px 0 0 30px;
    box-shadow: -4px 6px 20px rgba(21, 128, 61, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, opacity 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-right: none;
    user-select: none;
    text-decoration: none;
}

.agri-pwa-side-badge:hover {
    transform: translateY(-50%) translateX(-6px);
    box-shadow: -6px 8px 24px rgba(21, 128, 61, 0.45);
    color: #ffffff;
}

.agri-pwa-side-badge.fade-out {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(100%);
}

.agri-pwa-side-badge-icon {
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
}

@media (max-width: 768px) {
    .agri-pwa-side-badge {
        top: auto;
        bottom: 84px;
        right: 14px;
        transform: none;
        border-radius: 30px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        padding: 9px 15px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }
    .agri-pwa-side-badge:hover {
        transform: scale(1.04);
    }
    .agri-pwa-side-badge.fade-out {
        transform: translateY(20px);
        opacity: 0;
    }
}

@keyframes pwaSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.agri-pwa-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1045;
    max-width: 420px;
    width: calc(100% - 48px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(21, 128, 61, 0.25);
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(21, 128, 61, 0.12);
    animation: pwaSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.agri-pwa-toast.fade-out {
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
}

.agri-pwa-toast-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agri-pwa-toast-icon {
    flex-shrink: 0;
}

.agri-pwa-toast-icon img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.agri-pwa-toast-content {
    flex: 1;
    min-width: 0;
}

.agri-pwa-toast-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 2px;
}

.agri-pwa-toast-desc {
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.35;
}

.agri-pwa-toast-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.agri-pwa-confirm-btn {
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    white-space: nowrap;
}

.agri-pwa-dismiss-btn {
    font-size: 0.95rem;
    padding: 4px 6px;
    text-decoration: none;
    line-height: 1;
}

/* Mobile Placement for PWA Toast (avoids bottom navigation bar) */
@media (max-width: 768px) {
    .agri-pwa-toast {
        bottom: 84px;
        right: 14px;
        left: 14px;
        max-width: none;
        width: auto;
    }
}

/* PWA Network Connectivity Alert */
.agri-pwa-network-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    display: inline-flex;
    align-items: center;
    max-width: 90vw;
    animation: pwaSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.agri-pwa-network-alert.fade-out {
    opacity: 0;
    transform: translate(-50%, -10px);
}

.agri-pwa-network-alert.warning {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.agri-pwa-network-alert.success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #86efac;
}

.agri-pwa-network-alert.info {
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

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

@keyframes pwaSlideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* PWA Install Sidebar / In-Page Element */
.pwa-install-container {
    transition: all 0.2s ease;
}

/* PWA Installation Instructions Modal (iOS & Android) */
.agri-pwa-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1055;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: pwaFadeIn 0.25s ease forwards;
}

.agri-pwa-modal-backdrop.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.agri-pwa-modal-box {
    background: #ffffff;
    border-radius: 24px;
    max-width: 440px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(226, 232, 240, 0.8);
    animation: pwaSlideUpModal 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.agri-pwa-steps-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.agri-pwa-step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
}

.agri-pwa-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.agri-pwa-step-text {
    font-size: 0.86rem;
    color: #334155;
    line-height: 1.45;
}

@keyframes pwaFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pwaSlideUpModal {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========================================================
   GLOBAL MOBILE RESPONSIVENESS & OVERLAP PREVENTION
   ======================================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .cta-banner {
        padding: 30px 20px;
    }
    .why-collage-container {
        max-width: 100%;
        padding: 20px 10px;
        overflow: hidden;
    }
    .why-collage-main-wrap {
        margin-left: 20px;
    }
    .why-collage-main-img {
        height: 300px;
    }
    .why-collage-bg-shape {
        width: 160px;
        height: 280px;
        left: 0;
        bottom: 10px;
    }
    .why-collage-badge-cows {
        width: 85px;
        height: 85px;
        top: 60px;
    }
    .why-collage-badge-goats {
        width: 80px;
        height: 80px;
        bottom: 5px;
        left: 5px;
    }
    .why-collage-badge-poultry {
        width: 85px;
        height: 85px;
        top: 15px;
        right: 5px;
    }
    .why-collage-badge-icon {
        width: 65px;
        height: 65px;
        bottom: 10px;
        right: 15px;
        font-size: 1.6rem;
    }
    .philosophy-expert-img {
        height: 320px;
    }
    .philosophy-expert-footer {
        padding: 14px 16px;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .agri-popunder-toast {
        left: 12px;
        right: 12px;
        bottom: 16px;
        max-width: calc(100vw - 24px);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }
    .why-collage-container {
        padding: 10px 0;
    }
    .why-collage-main-wrap {
        margin-left: 10px;
        border-radius: 20px;
    }
    .why-collage-main-img {
        height: 250px;
    }
    .why-collage-badge-cows,
    .why-collage-badge-goats,
    .why-collage-badge-poultry {
        transform: scale(0.85);
    }
}


