﻿:root {
    --agri: #1f8a57;
    --agri2: #117a4a;
    --dark: #0b3b2a;
    --soft: #eaf7ef;
    --border: rgba(31,138,87,.18);
}

.landing-body {
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    background: linear-gradient(180deg, #f7fbf8 0%, #ffffff 65%);
    color: #122;
}

/* Header */
.landing-header {
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.navbar .navbar-brand .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--soft);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--agri2);
}

.brand-name {
    font-weight: 800;
    color: var(--dark);
}

.brand-sub {
    font-size: .78rem;
    color: #6b7;
    margin-left: .3rem;
}

.nav-link {
    color: #244;
    font-weight: 600;
}

    .nav-link:hover {
        color: var(--agri2);
    }

.btn-agri {
    background: linear-gradient(180deg, var(--agri) 0%, var(--agri2) 100%);
    color: #fff !important;
    border: none;
    font-weight: 700;
    border-radius: 12px;
    padding: .55rem .95rem;
}

    .btn-agri:hover {
        filter: brightness(.96);
    }

.btn-outline-agri {
    border: 1px solid rgba(31,138,87,.35);
    color: var(--agri2);
    font-weight: 700;
    border-radius: 12px;
    padding: .55rem .95rem;
}

    .btn-outline-agri:hover {
        background: rgba(31,138,87,.08);
        border-color: rgba(31,138,87,.55);
        color: var(--dark);
    }

/* Sections */
.section {
    padding: 72px 0;
}

.section-title {
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.section-sub {
    color: #567;
    max-width: 720px;
}

.card-soft {
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0,0,0,.06);
}

/* Footer */
.landing-footer {
    background: #0a2e20;
    color: rgba(255,255,255,.9);
}

.footer-title {
    font-weight: 800;
    margin-bottom: .75rem;
}

.footer-links a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
}

    .footer-links a:hover {
        color: #ffffff;
        text-decoration: underline;
    }

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    color: rgba(255,255,255,.78);
}

    .footer-contact i {
        width: 18px;
        color: rgba(255,255,255,.9);
    }

.landing-footer hr {
    border-color: rgba(255,255,255,.12);
}
.brand-stack {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-name {
    font-weight: 900;
    color: #0b3b2a;
    font-size: 1.25rem;
}

.brand-sub {
    font-size: .78rem;
    font-weight: 700;
    color: rgba(31,138,87,.85);
    margin-top: .15rem;
}
/* Brand alignment */
.navbar .brand {
    gap: 12px;
    padding: 6px 0;
    text-decoration: none;
}

.brand-logo {
    height: 44px; /* perfect for navbar */
    width: 44px; /* keeps square icon */
    object-fit: contain;
    display: block;
    flex: 0 0 auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-name {
    font-weight: 900;
    font-size: 1.35rem;
    letter-spacing: .2px;
    color: #0f3d2e; /* your dark green */
    display: block;
}

.brand-sub {
    margin-top: 2px;
    font-size: .85rem;
    font-weight: 600;
    color: rgba(31,138,87,.85);
    display: block;
}

/* Responsive: shrink a bit on mobile */
@media (max-width: 576px) {
    .brand-logo {
        height: 38px;
        width: 38px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .brand-sub {
        font-size: .78rem;
    }
}
/* Make brand area tighter + bigger logo */


/* Force brand itself to shrink to content (no stretching) */
.navbar-brand.brand {
    padding: 0 !important;
    margin: 0 !important; /* critical: prevents spacing drift */
    display: inline-flex !important; /* critical: shrink-wrap */
    align-items: center !important;
}

/* The actual group that keeps icon + text together */
.brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* tight gap */
}

/* Bigger icon */
.brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
    flex: 0 0 auto;
}

/* Text stack */
.brand-stack {
    display: flex;
    flex-direction: column;
    line-height: 1.02;
}

/* Typography */
.brand-name {
    font-weight: 900;
    font-size: 1.9rem;
    color: #0f3d2e;
    letter-spacing: .2px;
}

.brand-sub {
    margin-top: 2px;
    font-size: .95rem;
    font-weight: 600;
    color: rgba(31,138,87,.9);
}

/* Mobile */
@media (max-width: 576px) {
    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .brand-name {
        font-size: 1.55rem;
    }

    .brand-sub {
        font-size: .82rem;
    }
}

 
.navbar-brand {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar {
    padding-top: 8px;
    padding-bottom: 8px;
}

