:root {
    /* Brand palette — from the NdS logo: leaf green + harvest red, gold accent */
    --nd-primary: #2f7d32;        /* leaf green */
    --nd-primary-dark: #1f5a22;   /* deep green */
    --nd-red: #c62828;            /* logo red ("Nd") */
    --nd-red-dark: #9c1f1f;       /* deep red */
    --nd-accent: #e3a008;         /* golden / harvest */
    --nd-accent-dark: #c98604;
    --nd-light: #f1f8ef;          /* soft green tint */
    --nd-dark: #243024;           /* dark text */
    --nd-muted: #6c776a;

    /* Logo-colour heading gradient: red -> green, matching the NdS mark. */
    --nd-heading-gradient: linear-gradient(90deg, var(--nd-red) 0%, var(--nd-red-dark) 30%, var(--nd-primary) 70%, var(--nd-primary-dark) 100%);
}

/* Dynamic gradient headings in the logo colours. Applied to section headings
   and the page hero; falls back to solid dark text where clipping isn't
   supported. */
.section-title h2,
.gradient-heading {
    background: var(--nd-heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--nd-primary-dark); /* fallback for non-supporting browsers */
    display: inline-block;
}

* { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--nd-dark);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 { font-weight: 600; }

a { text-decoration: none; }

.text-primary-c { color: var(--nd-primary) !important; }
.text-accent-c { color: var(--nd-accent) !important; }
.bg-primary-c { background: var(--nd-primary) !important; }

.btn-primary-c {
    background: var(--nd-primary);
    border: none;
    color: #fff;
    padding: .65rem 1.6rem;
    border-radius: 50px;
    font-weight: 500;
    transition: .25s;
}
.btn-primary-c:hover { background: var(--nd-primary-dark); color: #fff; transform: translateY(-2px); }
/* Disabled state: greyed out until required fields + captcha are valid. */
.btn-primary-c:disabled,
.btn-primary-c[disabled] {
    background: #c2cac0; color: #f4f6f3; cursor: not-allowed;
    transform: none; box-shadow: none; opacity: 1;
}
.btn-primary-c .nd-lock { margin-right: .3rem; }

.btn-accent-c {
    background: var(--nd-accent);
    border: none;
    color: #fff;
    padding: .65rem 1.6rem;
    border-radius: 50px;
    font-weight: 500;
    transition: .25s;
}
.btn-accent-c:hover { background: var(--nd-accent-dark); color: #fff; transform: translateY(-2px); }

.btn-outline-c {
    border: 2px solid #fff;
    color: #fff;
    padding: .6rem 1.6rem;
    border-radius: 50px;
    font-weight: 500;
    transition: .25s;
}
.btn-outline-c:hover { background: #fff; color: var(--nd-primary); }

/* Top bar */
.topbar {
    background: var(--nd-primary-dark);
    color: #d7ecd2;
    font-size: .85rem;
    padding: .5rem 0;
}
.topbar a { color: #d7ecd2; margin-left: 1rem; }
.topbar a:hover { color: #fff; }
.topbar .topbar-left i { color: var(--nd-accent); }

/* Navbar */
.navbar-brand .brand-logo {
    height: 62px;
    width: auto;
}
/* Company name beside the logo — three lines */
.navbar-brand .brand-name {
    display: flex; flex-direction: column; line-height: 1.12;
    padding-left: .35rem; border-left: 2px solid var(--nd-light);
}
.brand-name .brand-name-1 {
    font-size: 1.15rem; font-weight: 700; color: var(--nd-primary);
    letter-spacing: .3px; text-transform: uppercase;
}
.brand-name .brand-name-2 {
    font-size: .82rem; font-weight: 600; color: var(--nd-red);
    letter-spacing: .5px; text-transform: uppercase;
}
.brand-name .brand-name-3 {
    font-size: .68rem; font-weight: 500; color: var(--nd-muted);
    letter-spacing: 2px; text-transform: uppercase;
}
@media (max-width: 576px) {
    .navbar-brand .brand-logo { height: 48px; }
    .brand-name .brand-name-1 { font-size: 1rem; }
    .brand-name .brand-name-2 { font-size: .72rem; }
    .brand-name .brand-name-3 { font-size: .6rem; letter-spacing: 1.5px; }
}
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--nd-dark);
    padding: .5rem .8rem;
    position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--nd-primary); }
.navbar-nav .nav-link.active::after {
    content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem;
    height: 2px; background: var(--nd-primary); border-radius: 2px;
}

/* Mega menu (Products dropdown) — spans the navbar container, anchored to it
   so it never shifts off-screen left/right. */
.navbar .container { position: relative; }
.mega-menu {
    border: none; border-top: 3px solid var(--nd-primary);
    border-radius: 16px; padding: 1.5rem 1.6rem 1.2rem; margin-top: .6rem;
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(47,125,50,.05) 0%, transparent 55%),
        #fff;
    box-shadow: 0 30px 60px -12px rgba(30,60,30,.28), 0 0 0 1px rgba(30,60,30,.04);
}
/* Even, dividered columns with a tighter rhythm. A fixed comfortable width
   keeps each column readable and lets the panel size to its content instead
   of stretching across the whole navbar. */
.mega-menu .mega-col {
    padding: .15rem 1rem;
    border-left: 1px solid #eef3ec;
}
.mega-menu .mega-col:first-child { border-left: none; }
@media (min-width: 992px) {
    /* Columns share the 70%-wide menu evenly; the "wide" category (many items)
       takes 2 shares and flows into 2 roomy sub-columns so names fit on one
       line and every column ends at the same height. */
    .mega-menu .mega-cols { display: flex; flex-wrap: nowrap; gap: 0; align-items: stretch; }
    .mega-menu .mega-col { flex: 1 1 0; min-width: 0; }
    /* Improved Vegetables (wide) gets noticeably more room for its 2 sub-columns. */
    .mega-menu .mega-col-wide { flex: 2.6 1 0; }
}

/* Column header: thumbnail + label on a clean, fixed-height baseline so every
   column's list starts at the same Y and columns line up evenly. */
.mega-menu .mega-head {
    display: flex; align-items: center; gap: .55rem; min-height: 3rem;
    font-weight: 700; color: var(--nd-primary-dark);
    padding-bottom: .6rem; margin-bottom: .55rem;
    font-size: .92rem; line-height: 1.2; letter-spacing: .1px;
    border-bottom: 1px solid #eef3ec;
    position: relative; transition: color .15s;
}
.mega-menu .mega-head::after {
    content: ""; position: absolute; left: 0; bottom: -1px; width: 38px; height: 2.5px;
    background: linear-gradient(90deg, var(--nd-primary), var(--nd-accent));
    border-radius: 2px;
}
.mega-menu .mega-head i {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2rem; height: 2rem; flex: 0 0 auto;
    background: linear-gradient(135deg, var(--nd-primary), var(--nd-primary-dark));
    color: #fff; border-radius: 9px; font-size: 1rem;
    box-shadow: 0 4px 10px rgba(47,125,50,.25);
}
.mega-menu .mega-head:hover { color: var(--nd-primary-dark); }
/* category thumbnail in the header */
.mega-menu .mega-thumb {
    width: 2rem; height: 2rem; flex: 0 0 auto; object-fit: contain;
    background: var(--nd-light); border-radius: 9px; padding: 3px;
}

/* Base flex container for the menu columns (desktop widths set in the
   min-width:992px block above). */
.mega-menu .mega-cols { display: flex; flex-wrap: wrap; }
/* Thin dividers between columns for a clean, structured look. */
@media (min-width: 992px) {
    .mega-menu .mega-col { padding: 0 1.1rem; border-left: 1px solid #eef3ec; }
    .mega-menu .mega-col:first-child { border-left: none; padding-left: .25rem; }
}

/* Contact-form math captcha — question and answer together in one box. */
.nd-captcha-box {
    display: flex; align-items: stretch; gap: 0; width: 100%; margin: 0; cursor: text;
    border: 1.5px solid #d8e3d6; border-radius: 12px; overflow: hidden;
    background: var(--nd-light); transition: border-color .2s, box-shadow .2s;
}
.nd-captcha-box:focus-within {
    border-color: var(--nd-primary);
    box-shadow: 0 0 0 .2rem rgba(47,125,50,.15);
}
.nd-captcha-q {
    display: flex; align-items: center; gap: .5rem;
    padding: .7rem 1rem; font-weight: 500; color: var(--nd-dark);
    background: var(--nd-light); white-space: nowrap;
}
.nd-captcha-q i { color: var(--nd-primary); font-size: 1.15rem; }
.nd-captcha-q i.bi-flower1 { color: var(--nd-red); }
.nd-captcha-q i.bi-question-lg { color: var(--nd-accent); }
.nd-captcha-q strong { color: var(--nd-primary-dark); font-weight: 700; font-size: 1.15rem; }
.nd-captcha-input {
    flex: 1 1 auto; min-width: 0; border: none; outline: none;
    padding: .7rem 1rem; font-size: 1rem; background: #fff;
    border-left: 1.5px solid #d8e3d6; border-radius: 0 11px 11px 0;
}
@media (max-width: 420px) {
    .nd-captcha-box { flex-direction: column; }
    .nd-captcha-input { border-left: none; border-top: 1.5px solid #d8e3d6; border-radius: 0 0 11px 11px; }
}

/* Contact-form honeypot: pushed off-screen rather than display:none, which
   some bots skip. Real users never see or tab into it. */
.nd-hp {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    height: 0; width: 0; overflow: hidden;
}
.mega-menu .mega-step-num {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: 1.6rem; height: 1.6rem; border-radius: 50%;
    background: linear-gradient(135deg, var(--nd-accent), var(--nd-accent-dark));
    color: #fff; font-size: .78rem; font-weight: 700;
}

/* Productions menu — compact ordered step list (2 columns), not a wide grid */
.mega-menu-steps .mega-steps-head {
    font-size: 1rem; font-weight: 700; color: var(--nd-primary-dark);
    padding-bottom: .65rem; margin-bottom: .85rem; border-bottom: 1px solid #eef3ec;
    position: relative;
}
.mega-menu-steps .mega-steps-head::after {
    content: ""; position: absolute; left: 0; bottom: -1px; width: 42px; height: 2.5px;
    background: linear-gradient(90deg, var(--nd-primary), var(--nd-accent)); border-radius: 2px;
}
.mega-steps { list-style: none; padding: 0; margin: 0; column-count: 2; column-gap: 1.25rem; }
.mega-steps li { break-inside: avoid; margin-bottom: .25rem; }
.mega-steps a {
    display: flex; align-items: center; gap: .65rem;
    padding: .5rem .6rem; border-radius: 10px; text-decoration: none;
    color: var(--nd-dark); font-weight: 600; font-size: .92rem;
    transition: background .15s, transform .15s;
}
.mega-steps a:hover { background: var(--nd-light); transform: translateX(3px); }
.mega-steps a:hover .mega-step-num { box-shadow: 0 3px 9px rgba(227,160,8,.4); }
.mega-menu .mega-list { list-style: none; padding: 0; margin: 0; }
.mega-menu .mega-list li { margin-bottom: .12rem; }
.mega-menu .mega-list a {
    color: var(--nd-muted); font-size: .9rem; display: flex; align-items: center;
    padding: .4rem .6rem; border-radius: 8px; transition: background .15s, color .15s, padding .15s;
    line-height: 1.3; font-weight: 500;
}
/* subtle leading dot that turns into the hover accent */
.mega-menu .mega-list a::before {
    content: ""; width: 5px; height: 5px; border-radius: 50%;
    background: #cfe0cb; margin-right: .6rem; flex: 0 0 auto; transition: background .15s;
}
.mega-menu .mega-list a:hover {
    color: var(--nd-primary-dark); background: var(--nd-light);
    padding-left: .85rem; font-weight: 600;
}
.mega-menu .mega-list a:hover::before { background: var(--nd-primary); }
/* Long lists flow into 2 balanced sub-columns so the panel stays compact.
   A 2-column grid (not CSS columns) keeps each item in its own cell so long
   names wrap cleanly inside the cell instead of clipping at the edge. */
.mega-menu .mega-list-cols {
    display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    column-gap: 1rem; row-gap: 0;
    grid-auto-flow: column;
    grid-template-rows: repeat(var(--rows, 4), auto);
}
.mega-menu .mega-list-cols li { min-width: 0; }
.mega-menu .mega-list-cols a {
    white-space: normal; align-items: flex-start; min-width: 0; overflow-wrap: anywhere;
}
.mega-menu .mega-list-cols a::before { margin-top: .5em; }

/* Open the mega menu on hover for desktop (Bootstrap opens on click by default) */
@media (min-width: 992px) {
    /* Anchor the absolutely-positioned menu to the centered .navbar .container
       (which is position:relative) rather than to the navbar/viewport, so it
       spans the container and can't shift off the left edge. */
    .mega-item { position: static; }
    .mega-menu {
        position: absolute;
        top: 100%; left: 50%; right: auto;       /* CENTERED under the navbar */
        margin-top: 0;          /* no gap — the mouse can travel link -> menu */
        display: block;          /* keep in flow so hover state is stable */
        opacity: 0; visibility: hidden; pointer-events: none;
        transform: translateX(-50%) translateY(8px);
        transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    }
    /* Products & Fields menus span ~70% of the screen, centered. */
    .mega-menu-products { width: 70vw; max-width: 70vw; }
    .mega-menu-products .mega-cols { max-width: none; }
    .mega-menu-fields { width: 70vw; max-width: 70vw; }
    .mega-menu-steps  { width: 560px; max-width: 560px; }
    /* Invisible bridge across the toggle's bottom padding so moving the mouse
       down into the menu never crosses a dead zone that drops :hover. */
    .mega-item > .nav-link::before {
        content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px;
    }
    /* Show while hovering the item OR the menu itself, and while it's open. */
    .mega-item:hover > .mega-menu,
    .mega-item:focus-within > .mega-menu,
    .mega-item > .mega-menu:hover,
    .mega-item.open > .mega-menu {
        opacity: 1; visibility: visible; pointer-events: auto;
        transform: translateX(-50%) translateY(0);
        transition: opacity .18s ease, transform .18s ease, visibility 0s;
    }
    /* caret rotates when the menu is open/hovered */
    .mega-item:hover .mega-caret,
    .mega-item.open .mega-caret { transform: rotate(180deg); }
    .mega-menu { max-height: calc(100vh - 130px); overflow-y: auto; }
}
@media (max-width: 991.98px) {
    /* On mobile the dropdown collapses into the stacked menu cleanly (full width) */
    .mega-menu {
        width: 100%; left: 0; transform: none;
        box-shadow: none; border-top: none; padding: .25rem 0 .25rem .75rem;
        max-height: 60vh; overflow-y: auto;
    }
    .mega-menu .row { --bs-gutter-y: .75rem; }
    .mega-menu .mega-head { font-size: .85rem; }
    /* stack everything cleanly on mobile */
    .mega-menu .mega-col,
    .mega-menu .mega-col-wide { width: 100%; border-left: none; padding: .15rem .25rem; }
    .mega-menu .mega-list-cols { column-count: 1; }
}

/* Page hero (inner pages) */
.page-hero {
    background: linear-gradient(135deg, rgba(31,90,34,.92), rgba(47,125,50,.88)),
        url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: #fff;
    padding: 4.5rem 0 4rem;
    text-align: center;
}
.page-hero h1 { font-size: 2.4rem; margin-bottom: .5rem; }
.page-hero .breadcrumb { justify-content: center; }
.page-hero .breadcrumb a { color: #d7ecd2; }
.page-hero .breadcrumb-item.active { color: #fff; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: #bcd9b6; }

/* Home hero */
.hero {
    background: linear-gradient(120deg, rgba(31,90,34,.86), rgba(47,125,50,.66)),
        url('https://images.unsplash.com/photo-1530507629858-e4977d30e9e0?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: #fff;
    padding: 6.5rem 0;
}
.hero .cert-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(227,160,8,.18); border: 1px solid rgba(227,160,8,.5);
    color: #ffe7a8; padding: .35rem 1rem; border-radius: 50px;
    font-size: .85rem; font-weight: 500; margin-bottom: 1.2rem;
}
.hero h1 { font-size: 2.95rem; font-weight: 700; margin-bottom: 1rem; }
.hero p { font-size: 1.15rem; max-width: 640px; opacity: .96; }
.hero .hero-actions { margin-top: 1.8rem; }
.hero .hero-actions .btn { margin-right: .75rem; margin-bottom: .5rem; }

/* Section */
.section { padding: 5rem 0; }
.section-light { background: var(--nd-light); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title span { color: var(--nd-accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; }
.section-title h2 { font-size: 2.1rem; margin-top: .4rem; }
.section-title p { color: var(--nd-muted); max-width: 660px; margin: .8rem auto 0; }

/* Feature / info cards */
.info-card {
    background: #fff;
    border-radius: 14px;
    padding: 2rem 1.6rem;
    height: 100%;
    box-shadow: 0 8px 30px rgba(30,60,30,.07);
    transition: .3s;
    border-bottom: 3px solid transparent;
}
.info-card:hover { transform: translateY(-6px); border-bottom-color: var(--nd-primary); }
.info-card .icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--nd-light); color: var(--nd-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; margin-bottom: 1.2rem;
}
.info-card h4 { font-size: 1.25rem; }
.info-card p { color: var(--nd-muted); font-size: .95rem; margin-bottom: 0; }

/* Stats strip */
.stats-strip { background: var(--nd-primary); color: #fff; }
.stat-box { text-align: center; padding: 1.2rem 0; }
.stat-box .num { font-size: 2.4rem; font-weight: 700; line-height: 1; }
.stat-box .num span { color: var(--nd-accent); }
.stat-box .label { font-size: .95rem; opacity: .9; margin-top: .35rem; }

/* Product card */
.product-card {
    background: #fff; border-radius: 16px; overflow: hidden; height: 100%;
    box-shadow: 0 8px 30px rgba(30,60,30,.08); transition: .3s; text-align: center;
}
.product-card:hover { transform: translateY(-6px); }
.product-card .pimg {
    height: 230px; background: var(--nd-light);
    display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.product-card .pimg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-card .pbody { padding: 1.5rem; }
.product-card .pbody .cat { color: var(--nd-accent); font-weight: 500; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; }
.product-card .pbody h4 { font-size: 1.2rem; margin: .25rem 0 .5rem; }
.product-card .pbody p { color: var(--nd-muted); font-size: .92rem; margin-bottom: 0; }

/* Spec table on variety detail pages */
.spec-table th { color: var(--nd-dark); font-weight: 600; background: var(--nd-light); }
.spec-table td { color: var(--nd-muted); }

/* Field / variety card */
.field-card {
    display: block; text-decoration: none;
    position: relative; border-radius: 16px; overflow: hidden; height: 260px;
    box-shadow: 0 8px 30px rgba(30,60,30,.08);
    transition: box-shadow .3s, transform .3s;
}
.field-card:hover { box-shadow: 0 14px 38px rgba(30,60,30,.18); transform: translateY(-3px); }
.field-card img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.field-card:hover img { transform: scale(1.06); }
.field-card .field-cap {
    position: absolute; inset: auto 0 0 0;
    background: linear-gradient(transparent, rgba(20,40,20,.85));
    color: #fff; padding: 2.5rem 1.2rem 1.1rem; font-weight: 600; font-size: 1.1rem;
    display: flex; align-items: center; gap: .15rem;
}
.field-card .field-cap i { transition: transform .25s; }
.field-card:hover .field-cap i { transform: translateX(4px); }

/* Process steps (productions) */
.step-card {
    background: #fff; border-radius: 14px; padding: 2rem 1.5rem; height: 100%;
    box-shadow: 0 8px 30px rgba(30,60,30,.07); position: relative;
}
.step-card .step-num {
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--nd-primary); color: #fff; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 1rem;
}
.step-card h5 { font-size: 1.1rem; }
.step-card p { color: var(--nd-muted); font-size: .92rem; margin-bottom: 0; }
/* clickable step cards link to each process page */
.step-card { transition: box-shadow .25s, transform .25s; }
a.step-card:hover { box-shadow: 0 16px 40px rgba(30,60,30,.16); transform: translateY(-4px); }
.step-card .step-more {
    display: inline-flex; align-items: center; gap: .25rem; margin-top: .9rem;
    color: var(--nd-primary); font-weight: 600; font-size: .85rem; opacity: 0; transition: opacity .2s, gap .2s;
}
a.step-card:hover .step-more { opacity: 1; gap: .5rem; }
/* numbered badge on the single process page */
.process-badge {
    width: 56px; height: 56px; border-radius: 50%; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--nd-primary), var(--nd-primary-dark));
    color: #fff; font-weight: 700; font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(47,125,50,.3);
}

/* Gallery */
.gallery-item {
    display: block; border-radius: 14px; overflow: hidden;
    box-shadow: 0 8px 30px rgba(30,60,30,.07); background: #fff;
}
.gallery-item img {
    width: 100%; height: 320px; object-fit: cover; display: block; transition: .4s;
}
.gallery-item:hover img { transform: scale(1.06); }

/* Certificate card — show full document, never cropped */
.cert-wrap {
    display: block; background: #fff; padding: 12px; border-radius: 12px;
    box-shadow: 0 8px 30px rgba(30,60,30,.07);
}
.cert-wrap img {
    width: 100%; height: auto; object-fit: contain; display: block; border-radius: 6px;
}

/* Testimonials */
.testimonial-card {
    background: #fff; border-radius: 14px; padding: 2rem;
    box-shadow: 0 8px 30px rgba(30,60,30,.07); height: 100%;
}
.testimonial-card .stars { color: #f2b705; margin-bottom: .8rem; }
.testimonial-card .quote { font-style: italic; color: var(--nd-dark); }
.testimonial-card .author { font-weight: 600; color: var(--nd-primary); margin-top: 1rem; }

/* CTA strip */
.cta-strip {
    background: linear-gradient(120deg, var(--nd-primary), var(--nd-primary-dark));
    color: #fff; padding: 3.5rem 0; text-align: center;
}
.cta-strip h2 { font-size: 2rem; }
.cta-strip .phone { font-size: 1.6rem; font-weight: 700; margin-top: .5rem; }
.cta-strip .phone a { color: #fff; }

/* Contact */
.contact-box {
    background: #fff; border-radius: 14px; padding: 1.6rem;
    box-shadow: 0 8px 30px rgba(30,60,30,.07); height: 100%; text-align: center;
}
.contact-box .icon {
    width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 1rem;
    background: var(--nd-light); color: var(--nd-primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.form-control { border-radius: 10px; padding: .7rem 1rem; }
.form-control:focus { border-color: var(--nd-primary); box-shadow: 0 0 0 .2rem rgba(47,125,50,.15); }

.alert-note { border-radius: 10px; }

/* Footer */
.site-footer { background: var(--nd-dark); color: #c3d2c0; padding: 3.5rem 0 0; }
.footer-brand { color: #fff; }
.footer-brand i { color: var(--nd-accent); }
.footer-text { font-size: .92rem; color: #9db49a; }
.footer-heading { color: #fff; margin-bottom: 1.1rem; font-size: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: #c3d2c0; font-size: .92rem; }
.footer-links a:hover { color: #fff; padding-left: 4px; transition: .2s; }
.footer-contact li { margin-bottom: .8rem; font-size: .9rem; color: #c3d2c0; }
.footer-contact i { color: var(--nd-accent); margin-right: .4rem; }
.footer-contact a { color: #c3d2c0; }
.footer-social a {
    display: inline-flex; width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.08); color: #fff; align-items: center; justify-content: center;
    margin-right: .5rem; transition: .25s;
}
.footer-social a:hover { background: var(--nd-primary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.5rem; padding: 1.2rem 0;
    font-size: .85rem; color: #8ea58b;
}
.footer-bottom a { color: #b9cdb4; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-credit a { font-weight: 500; }

/* Lightbox */
.lb-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(15, 25, 18, .92);
    display: none; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .25s;
}
.lb-overlay.open { display: flex; opacity: 1; }
.lb-stage {
    max-width: 90vw; max-height: 86vh;
    display: flex; flex-direction: column; align-items: center;
}
.lb-img {
    max-width: 90vw; max-height: 78vh;
    object-fit: contain; border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0,0,0,.5);
    background: #fff;
}
.lb-caption {
    color: #e6f0e6; margin-top: .9rem; font-size: 1rem; text-align: center;
    max-width: 80vw;
}
.lb-counter {
    position: absolute; top: 18px; left: 22px;
    color: #cfe0cf; font-size: .9rem; letter-spacing: .5px;
}
.lb-btn {
    position: absolute; background: rgba(255,255,255,.12); color: #fff;
    border: none; width: 52px; height: 52px; border-radius: 50%;
    font-size: 1.4rem; cursor: pointer; transition: .2s;
    display: flex; align-items: center; justify-content: center;
}
.lb-btn:hover { background: var(--nd-primary); }
.lb-close { top: 18px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
@media (max-width: 576px) {
    .lb-prev { left: 10px; } .lb-next { right: 10px; }
    .lb-btn { width: 44px; height: 44px; font-size: 1.2rem; }
}

/* Items that open the lightbox */
.gallery-item, .cert-wrap { cursor: zoom-in; }

/* Back to top */
.back-to-top {
    position: fixed; bottom: 25px; right: 25px; width: 44px; height: 44px;
    background: var(--nd-primary); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: .3s; z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--nd-primary-dark); color: #fff; }

@media (max-width: 768px) {
    .hero { padding: 4.5rem 0; }
    .hero h1 { font-size: 2.1rem; }
    .section { padding: 3.5rem 0; }
}
