/* ==========================================================================
   JEED INNOVATIONS — style.css
   Base design system, layout, components, sections.
   Brand: Crafting a Sustainable Future
   Message: Convert Waste. Generate Energy. Create Value.
   Load order: style.css → animations.css → responsive.css
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
    /* Brand colours — Greenery & Environmental Engineering Theme */
    --forest: #0A331E;
    /* Deep Evergreen Forest (replaces navy) */
    --forest-dark: #051F12;
    /* Dark Pine (deep bars, footers, headers) */
    --forest-medium: #114227;
    /* Rich Botanical Green */
    --primary-green: #1C7C43;
    /* Emerald Foliage Green (replaces primary blue) */
    --primary-green-dark: #125A30;
    /* Deep Emerald for hover states */
    --primary-green-soft: #D3ECD8;
    /* Soft Celadon */
    --primary-green-light: #EBF6ED;
    /* Fresh Dew / Herbal Wash (replaces blue-light) */
    --green: #85C324;
    /* Vibrant Leaf / Spring Lime — JEED signature */
    --green-light: #F3F9E7;
    /* Tender Shoot Lime Tint */
    --green-dark: #5F8F18;
    /* Sun-drenched Olive */
    --green-soft: #DCF0DA;
    /* Gentle Leaf Wash */
    --white: #FFFFFF;
    --ink: #18221B;
    /* Soft Charcoal with slight pine warmth */
    --bg: #F4F8F4;
    /* Clean, fresh eco-paper background */

    /* Backward compatibility mappings for codebase continuity */
    --blue: var(--primary-green);
    --navy: var(--forest);
    --blue-light: var(--primary-green-light);
    --blue-dark: var(--primary-green-dark);
    --blue-soft: var(--primary-green-soft);

    /* Neutral grey palette with natural eco undertones */
    --grey-100: #F4F8F4;
    --grey-200: #E7EFE8;
    --grey-300: #D0DDD2;
    --grey-400: #9EB0A1;
    --grey-500: #627666;
    --grey-600: #425446;

    /* Semantic */
    --text: var(--ink);
    --text-muted: var(--grey-500);
    --text-inverse: #FFFFFF;
    --border: rgba(10, 51, 30, 0.08);
    --border-strong: rgba(10, 51, 30, 0.16);

    /* Gradients */
    --grad-blue-green: linear-gradient(135deg, #0A331E 0%, #1C7C43 50%, #85C324 100%);
    --grad-blue: linear-gradient(135deg, #0A331E 0%, #1C7C43 100%);
    --grad-green: linear-gradient(135deg, #1C7C43 0%, #85C324 100%);
    --grad-soft: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
    --grad-forest: linear-gradient(135deg, #051F12 0%, #0A331E 50%, #144E2C 100%);

    /* Geometry */
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    /* Shadows tinted with natural deep green depth */
    --shadow-xs: 0 1px 2px rgba(10, 51, 30, 0.04);
    --shadow-sm: 0 2px 8px rgba(10, 51, 30, 0.06);
    --shadow: 0 6px 24px rgba(10, 51, 30, 0.08);
    --shadow-md: 0 10px 32px rgba(10, 51, 30, 0.10);
    --shadow-lg: 0 20px 52px rgba(10, 51, 30, 0.14);
    --shadow-hover: 0 14px 38px rgba(10, 51, 30, 0.16);

    /* Layout */
    --maxw: 1200px;
    --maxw-wide: 1360px;
    --header-h: 76px;
    --section-y: clamp(56px, 7vw, 104px);

    /* Typography */
    --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    /* Motion (mirrored in animations.css) */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --dur-base: 0.35s;
}


/* ==========================================================================
   2. RESET / NORMALISE
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img,
picture,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

input,
select,
textarea {
    font: inherit;
    color: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color var(--dur-base) var(--ease-out);
}

a:hover {
    color: var(--green);
}

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 32px 0;
}

::selection {
    background: var(--green);
    color: #fff;
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.6em;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

h4 {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--grey-500);
}

p {
    margin: 0 0 1em;
    color: var(--text);
}

p:last-child {
    margin-bottom: 0;
}

strong,
b {
    font-weight: 600;
    color: var(--navy);
}

em,
i {
    font-style: italic;
}

small {
    font-size: 0.85rem;
    color: var(--text-muted);
}

blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    border-left: 3px solid var(--green);
    background: var(--green-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 1.05rem;
    color: var(--navy);
    font-style: normal;
}

code,
pre {
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

pre {
    background: var(--navy);
    color: var(--green-light);
    padding: 18px 20px;
    border-radius: var(--radius);
    overflow-x: auto;
}


/* ==========================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: 20px;
}

.container--wide {
    max-width: var(--maxw-wide);
}

.container--narrow {
    max-width: 860px;
}

.section {
    padding: var(--section-y) 0;
    position: relative;
}

/* Greenery Alternate Sections (Website-related Environmental Engineering) */
.section--alt {
    position: relative;
    background-color: #edf5e1;
    background-image:
        radial-gradient(circle at 8% 20%, rgba(133, 195, 36, 0.16) 0%, transparent 45%),
        radial-gradient(circle at 92% 75%, rgba(95, 143, 24, 0.14) 0%, transparent 45%),
        linear-gradient(150deg, rgba(234, 246, 218, 0.92) 0%, rgba(246, 252, 238, 0.95) 50%, rgba(228, 244, 208, 0.92) 100%),
        url('../images/eco-engineering-bg.jpg');
    background-size: cover;
    background-position: center;
    border-top: 1px solid rgba(133, 195, 36, 0.22);
    border-bottom: 1px solid rgba(133, 195, 36, 0.22);
}

.section--alt .card,
.section--alt .project-item,
.section--alt .process-step,
.section--alt .industry-card,
.section--alt .stat-float,
.section--alt .value-block,
.section--alt .value-card {
    background: #ffffff;
    border: 1px solid rgba(133, 195, 36, 0.25);
    box-shadow: 0 10px 28px rgba(45, 95, 15, 0.08);
}

.section--alt .card:hover,
.section--alt .project-item:hover,
.section--alt .process-step:hover,
.section--alt .industry-card:hover,
.section--alt .value-card:hover {
    border-color: var(--green);
    box-shadow: 0 18px 38px rgba(45, 95, 15, 0.14);
}

/* Dedicated Greenery Image Section (Biogas & Environmental Engineering Plant Backdrop) */
.section--greenery-image {
    position: relative;
    background-color: #062314;
    background-image:
        linear-gradient(135deg, rgba(5, 36, 18, 0.88) 0%, rgba(9, 52, 28, 0.84) 50%, rgba(5, 30, 15, 0.90) 100%),
        url('../images/biogas-plant-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    border-top: 1px solid rgba(133, 195, 36, 0.35);
    border-bottom: 1px solid rgba(133, 195, 36, 0.35);
    color: #ffffff;
}

.section--greenery-image .section-heading h2 {
    color: #ffffff;
}

.section--greenery-image .section-heading p {
    color: rgba(255, 255, 255, 0.88);
}

.section--greenery-image .eyebrow {
    color: #B6E670;
}

.section--greenery-image .eyebrow::before {
    background: #B6E670;
}

.section--greenery-image .card {
    background: #ffffff;
    border: 1px solid rgba(133, 195, 36, 0.28);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.section--greenery-image .card h3 {
    color: var(--navy);
}

.section--greenery-image .card p {
    color: var(--text-muted);
}

.section--greenery-image .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.32);
    border-color: var(--green);
}

.section--light-blue {
    background: var(--blue-light);
}

.section--light-green {
    background: var(--green-light);
}

.section--navy {
    background: var(--navy);
    color: #fff;
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 {
    color: #fff;
}

.section--navy p {
    color: rgba(255, 255, 255, 0.86);
}

.section--gradient {
    background: var(--grad-blue-green);
    color: #fff;
}

.section--gradient h1,
.section--gradient h2,
.section--gradient h3 {
    color: #fff;
}

.section--gradient p {
    color: rgba(255, 255, 255, 0.9);
}

.section--compact {
    padding: clamp(40px, 5vw, 68px) 0;
}

/* Decorative fine-line backgrounds */
.section--grid-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(28, 124, 67, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 124, 67, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

.section--grid-bg>* {
    position: relative;
    z-index: 1;
}

/* Full-bleed accent line under sections */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
    margin: 0;
}


/* ==========================================================================
   5. SECTION HEADINGS
   ========================================================================== */
.section-heading {
    max-width: 760px;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-heading--center h2::after {
    margin-inline: auto;
}

.section-heading h2 {
    color: var(--navy);
    margin-bottom: 0.5em;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 68ch;
}

.section-heading--center p {
    margin-inline: auto;
}

/* Eyebrow label */
.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 0.75em;
    position: relative;
    padding-left: 30px;
}

.eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 2px;
    background: var(--green);
    transform: translateY(-50%);
}

.eyebrow--plain {
    padding-left: 0;
}

.eyebrow--plain::before {
    display: none;
}

.eyebrow--light {
    color: var(--green-light);
}

.eyebrow--light::before {
    background: var(--green-light);
}


/* ==========================================================================
   6. BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.005em;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--dur-base) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn i,
.btn .bi {
    font-size: 1.05em;
    line-height: 1;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: #fff;
    border-color: var(--primary-green);
    box-shadow: 0 4px 14px rgba(28, 124, 67, 0.22);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--forest-medium) 0%, var(--forest) 100%);
    border-color: var(--forest);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(28, 124, 67, 0.30);
}

.btn--green {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}

.btn--green:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(133, 195, 36, 0.28);
}

.btn--outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}

.btn--outline:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-2px);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

.btn--white {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}

.btn--white:hover {
    background: var(--green-light);
    border-color: var(--green-light);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn--link {
    background: transparent;
    border: 0;
    padding: 6px 0;
    color: var(--blue);
    border-radius: 0;
}

.btn--link:hover {
    color: var(--green);
    transform: none;
    box-shadow: none;
}

.btn--link i {
    transition: transform var(--dur-base) var(--ease-out);
}

.btn--link:hover i {
    transform: translateX(4px);
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.87rem;
}

.btn--lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}


/* ==========================================================================
   7. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--border);
    transition: background var(--dur-base) var(--ease-out),
        box-shadow var(--dur-base) var(--ease-out),
        border-color var(--dur-base) var(--ease-out);
}

.site-header.is-scrolled {
    box-shadow: 0 4px 22px rgba(10, 51, 30, 0.08);
    border-bottom-color: transparent;
}

/* Header with Top Contact Bar */
.site-header.site-header--has-topbar {
    --topbar-h: 38px;
    height: auto !important;
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.site-header--has-topbar.is-scrolled {
    box-shadow: none;
}

.header-topbar {
    background: linear-gradient(90deg, #051E11 0%, #0A331E 45%, #124B2B 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.88);
    position: relative;
    z-index: 1001;
    line-height: 1.4;
}

.header-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 16px;
}

.header-topbar__left,
.header-topbar__right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    text-decoration: none;
}

.topbar-item i {
    color: var(--green);
    font-size: 0.92rem;
    flex-shrink: 0;
    transition: transform var(--dur-base) var(--ease-out), filter var(--dur-base) var(--ease-out);
}

.topbar-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.65);
}

.topbar-value {
    font-weight: 500;
    color: #ffffff;
    transition: color var(--dur-base) var(--ease-out);
}

.topbar-address--short {
    display: none;
}

.topbar-link {
    cursor: pointer;
}

.topbar-link:hover .topbar-value {
    color: #B6E670;
}

.topbar-link:hover i {
    transform: translateY(-1px) scale(1.15);
    filter: drop-shadow(0 0 6px rgba(133, 195, 36, 0.7));
}

.topbar-divider {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* Ensure divider between phone & email on the left remains visible */
.header-topbar__left .topbar-phone+.topbar-divider {
    display: inline-block !important;
}

/* Topbar Social Media */
.topbar-social {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    line-height: 1;
    text-decoration: none;
    transition: transform var(--dur-base) var(--ease-out), filter var(--dur-base) var(--ease-out);
}

.topbar-social a:hover {
    transform: translateY(-2px) scale(1.2);
}

/* Authentic Social Media Brand Colors */
.topbar-social a .bi-linkedin {
    color: #0A66C2 !important;
}

.topbar-social a .bi-instagram {
    color: #E4405F !important;
}

.topbar-social a .bi-facebook {
    color: #1877F2 !important;
}

.topbar-social a .bi-whatsapp {
    color: #25D366 !important;
}

.topbar-social a:hover .bi-linkedin {
    filter: drop-shadow(0 0 6px rgba(10, 102, 194, 0.85));
}

.topbar-social a:hover .bi-instagram {
    filter: drop-shadow(0 0 6px rgba(228, 64, 95, 0.85));
}

.topbar-social a:hover .bi-facebook {
    filter: drop-shadow(0 0 6px rgba(24, 119, 242, 0.85));
}

.topbar-social a:hover .bi-whatsapp {
    filter: drop-shadow(0 0 6px rgba(37, 211, 102, 0.85));
}

.site-header--has-topbar .header-main {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--border);
    transition: background var(--dur-base) var(--ease-out),
        box-shadow var(--dur-base) var(--ease-out),
        border-color var(--dur-base) var(--ease-out);
}

.site-header--has-topbar .header-inner {
    height: var(--header-h);
}

.site-header--has-topbar.is-scrolled .header-main {
    box-shadow: 0 4px 22px rgba(10, 51, 30, 0.08);
    border-bottom-color: transparent;
}

/* Laptop View (<= 1536px): remove timing, preserve full location */
@media (max-width: 1536px) {

    .topbar-hours,
    .header-topbar__left .topbar-divider {
        display: none !important;
    }

    .topbar-location {
        display: inline-flex !important;
    }

    .topbar-location .topbar-value {
        display: inline !important;
        white-space: nowrap;
    }
}

@media (max-width: 991.98px) {
    .header-topbar {
        display: none !important;
    }
}

/* Transparent-over-hero variant (homepage only) */
.site-header--transparent {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.site-header--transparent .primary-nav a {
    color: #fff;
}

.site-header--transparent .nav-toggle span {
    background: #fff;
}

.site-header--transparent .brand img {
    filter: none;
}

.site-header--transparent.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
}

.site-header--transparent.is-scrolled .primary-nav a {
    color: var(--ink);
}

.site-header--transparent.is-scrolled .nav-toggle span {
    background: var(--navy);
}

.site-header--transparent.is-scrolled .brand img {
    filter: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.brand img {
    height: 100px;
    width: 200px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 1.05rem;
}

.brand-text span {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 500;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

.primary-nav ul li a {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    position: relative;
    padding: 6px 0;
    transition: color var(--dur-base) var(--ease-out);
}

.primary-nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--green));
    box-shadow: 0 0 8px rgba(133, 195, 36, 0.45);
    transition: width var(--dur-base) var(--ease-out);
}

.primary-nav ul li a:hover {
    color: var(--primary-green);
}

.primary-nav ul li a:hover::after {
    width: 100%;
}

.primary-nav ul li a[aria-current="page"] {
    color: var(--primary-green);
    font-weight: 600;
}

.primary-nav ul li a[aria-current="page"]::after {
    width: 100%;
}

.nav-cta {
    padding: 11px 22px;
    font-size: 0.9rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform var(--dur-base) var(--ease-out),
        opacity var(--dur-base) var(--ease-out),
        background-color var(--dur-base) var(--ease-out);
}

/* Mobile navigation drawer (< 992px) */
@media (max-width: 991.98px) {
    .nav-toggle {
        display: flex;
        z-index: 1002;
    }

    .header-topbar {
        display: none !important;
    }

    .site-header {
        height: var(--header-h, 70px);
    }

    .site-header--has-topbar {
        --topbar-h: 0px !important;
        height: var(--header-h, 70px) !important;
    }

    .site-header--has-topbar .header-inner {
        height: var(--header-h, 70px);
    }

    .site-header--has-topbar .primary-nav {
        top: var(--header-h, 70px) !important;
        height: calc(100dvh - var(--header-h, 70px)) !important;
    }

    .site-header .brand img {
        height: 70px;
    }

    .site-header--transparent:not(.is-scrolled):not(.is-menu-open) .nav-toggle span {
        background: #fff;
    }

    .site-header.is-menu-open {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        box-shadow: 0 4px 20px rgba(10, 51, 30, 0.08);
    }

    .site-header.is-menu-open .nav-toggle span {
        background: var(--navy) !important;
    }

    .primary-nav {
        position: fixed;
        top: var(--header-h, 70px);
        left: 0;
        right: 0;
        width: 100%;
        height: calc(100dvh - var(--header-h, 70px));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 24px 20px 48px;
        gap: 20px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 20px 40px rgba(10, 51, 30, 0.12);
        border-top: 1px solid rgba(10, 51, 30, 0.08);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity var(--dur-base) var(--ease-out),
            transform var(--dur-base) var(--ease-out),
            visibility var(--dur-base);
        z-index: 1000;
    }

    .primary-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .primary-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .primary-nav ul li {
        width: 100%;
    }

    .primary-nav ul li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 13px 16px;
        font-size: 1.05rem;
        font-weight: 500;
        color: var(--navy);
        border-radius: var(--radius-sm);
        border-bottom: 1px solid rgba(10, 51, 30, 0.06);
        transition: background-color var(--dur-base), color var(--dur-base), padding-left var(--dur-base);
    }

    .primary-nav ul li a::after {
        display: none !important;
    }

    .primary-nav ul li a:hover,
    .primary-nav ul li a:active {
        background: var(--blue-light);
        color: var(--blue);
        padding-left: 20px;
    }

    .primary-nav ul li a[aria-current="page"] {
        background: var(--blue-light);
        color: var(--blue);
        font-weight: 600;
    }

    .primary-nav .nav-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        margin-top: 10px;
        border-radius: var(--radius);
    }
}


/* ==========================================================================
   8. HERO (Homepage)
   ========================================================================== */
.hero {
    position: relative;
    margin-top: 0;
}

.hero-swiper {
    width: 100%;
    min-height: calc(100vh - 138px);
    height: clamp(680px, 88vh, 880px);
    overflow: hidden;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    isolation: isolate;
    padding: clamp(36px, 5vw, 60px) 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 38%, rgba(8, 42, 24, 0.88) 0%, rgba(5, 26, 14, 0.76) 55%, transparent 100%),
        linear-gradient(90deg,
            rgba(4, 18, 10, 0.94) 0%,
            rgba(6, 32, 17, 0.82) 42%,
            rgba(8, 42, 24, 0.52) 75%,
            rgba(4, 18, 10, 0.28) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 1040px;
    padding: clamp(24px, 3.5vw, 44px) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    background: rgba(10, 51, 30, 0.68);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(133, 195, 36, 0.40);
    border-radius: var(--radius-pill);
    font-size: 0.84rem;
    font-weight: 600;
    color: #B6E670;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 18px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #85C324;
    box-shadow: 0 0 10px #85C324, 0 0 18px #85C324;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.35);
        opacity: 0.55;
    }
}

.hero-title-accent {
    background: linear-gradient(135deg, #C2F078 0%, #85C324 55%, #48BB78 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.hero-content .eyebrow {
    color: #B6E670;
}

.hero-content .eyebrow::before {
    background: #B6E670;
}

.hero-content h1,
.hero-content h2 {
    color: #fff;
    margin-bottom: 0.35em;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.hero-content h1 {
    font-size: clamp(2.3rem, 5vw, 4rem);
    letter-spacing: -0.025em;
    line-height: 1.08;
    font-weight: 800;
}

.hero-content h2 {
    font-size: clamp(1.9rem, 4.2vw, 3.2rem);
    letter-spacing: -0.02em;
    line-height: 1.12;
    font-weight: 800;
}

.hero-content p,
.hero-desc {
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(1.02rem, 1.35vw, 1.18rem);
    line-height: 1.62;
    max-width: 66ch;
    margin-bottom: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.hero-actions .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Feature highlight cards strip in hero */
.hero-features-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 36px;
    max-width: 980px;
}

.hero-feature-card {
    background: rgba(6, 30, 17, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(133, 195, 36, 0.32);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    transition: transform var(--dur-base) var(--ease-out),
        border-color var(--dur-base) var(--ease-out),
        box-shadow var(--dur-base) var(--ease-out);
}

.hero-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(133, 195, 36, 0.65);
    box-shadow: 0 14px 34px rgba(133, 195, 36, 0.22);
}

.hero-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(133, 195, 36, 0.18);
    border: 1px solid rgba(133, 195, 36, 0.35);
    color: #B6E670;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-feature-info strong {
    display: block;
    font-size: 0.94rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.hero-feature-info span {
    display: block;
    font-size: 0.80rem;
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.3;
    margin-top: 2px;
}

/* Swiper controls */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    transition: background var(--dur-base) var(--ease-out);
    --swiper-navigation-size: 16px;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.24);
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
    font-weight: 700;
}

.hero-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    width: 8px;
    height: 8px;
    transition: all var(--dur-base) var(--ease-out);
}

.hero-swiper .swiper-pagination-bullet-active {
    background: #fff;
    width: 26px;
    border-radius: 4px;
}

/* Inner-page hero */
.page-hero {
    position: relative;
    padding: calc(var(--section-y) + var(--header-h) - 30px) 0 var(--section-y);
    background: var(--grad-blue);
    color: #fff;
    overflow: hidden;
}

.page-hero--contact {
    background-image: linear-gradient(90deg,
            rgba(5, 29, 16, 0.94) 0%,
            rgba(10, 51, 30, 0.82) 45%,
            rgba(19, 75, 41, 0.38) 80%,
            rgba(5, 29, 16, 0.20) 100%),
        url('../images/contact-banner.jpg');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}

.page-hero--contact::before,
.page-hero--contact::after {
    display: none;
}

.page-hero--projects {
    background-image: linear-gradient(90deg,
            rgba(5, 29, 16, 0.94) 0%,
            rgba(10, 51, 30, 0.83) 48%,
            rgba(19, 75, 41, 0.40) 80%,
            rgba(5, 29, 16, 0.20) 100%),
        url('../images/projects-banner.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.page-hero--projects::before,
.page-hero--projects::after {
    display: none;
}

.page-hero--solutions {
    background-image: linear-gradient(90deg,
            rgba(5, 29, 16, 0.94) 0%,
            rgba(10, 51, 30, 0.83) 48%,
            rgba(19, 75, 41, 0.38) 80%,
            rgba(5, 29, 16, 0.20) 100%),
        url('../images/solutions-banner.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.page-hero--solutions::before,
.page-hero--solutions::after {
    display: none;
}

.page-hero--about {
    background-image: linear-gradient(90deg,
            rgba(5, 29, 16, 0.94) 0%,
            rgba(10, 51, 30, 0.83) 48%,
            rgba(19, 75, 41, 0.38) 80%,
            rgba(5, 29, 16, 0.20) 100%),
        url('../images/about-banner.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.page-hero--about::before,
.page-hero--about::after {
    display: none;
}

.page-hero::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(133, 195, 36, 0.35), transparent 70%);
    pointer-events: none;
}

.page-hero::after {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.10), transparent 70%);
    pointer-events: none;
}

.page-hero>.container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3rem);
    max-width: 22ch;
    margin-bottom: 0.4em;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    max-width: 65ch;
    margin-bottom: 0;
}

.page-hero .eyebrow {
    color: #B6E670;
}

.page-hero .eyebrow::before {
    background: #B6E670;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumbs a:hover {
    color: #fff;
}

.breadcrumbs span[aria-hidden]::after {
    content: "/";
    margin: 0 4px;
    opacity: 0.55;
}


/* ==========================================================================
   9. CARDS — generic
   ========================================================================== */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur-base) var(--ease-out),
        box-shadow var(--dur-base) var(--ease-out),
        border-color var(--dur-base) var(--ease-out);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.card--flat {
    box-shadow: none;
    background: var(--bg);
}

.card--bordered {
    box-shadow: none;
}

.card--dark {
    background: var(--navy);
    color: #fff;
    border-color: transparent;
}

.card--dark h3,
.card--dark h4 {
    color: #fff;
}

.card--dark p {
    color: rgba(255, 255, 255, 0.86);
}

.card .card-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 1.4rem;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.card--green .card-icon {
    background: var(--green-light);
    color: var(--green);
}

.card h3 {
    margin-bottom: 0.5em;
    font-size: 1.15rem;
    line-height: 1.3;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue);
}

.card .card-link:hover {
    color: var(--green);
}

.card .card-link i {
    transition: transform var(--dur-base) var(--ease-out);
}

.card .card-link:hover i {
    transform: translateX(4px);
}

/* Card with media */
.card--media {
    padding: 0;
}

.card--media .card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--grey-200);
}

.card--media .card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-base) var(--ease-out);
}

.card--media:hover .card-media img {
    transform: scale(1.06);
}

.card--media .card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card--media .card-tag {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 10px;
}

/* Card grid helpers */
.card-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card-grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card-grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}


/* ==========================================================================
   10. SOLUTION / INDUSTRY / VALUE BLOCK GRIDS
   ========================================================================== */
.solution-grid,
.industry-grid,
.value-blocks,
.project-grid,
.stats-grid,
.blog-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Value blocks (Homepage section 2) */
.value-block {
    position: relative;
    padding: 32px 26px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
}

.value-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--grad-blue-green);
}

.value-block .value-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--blue-light);
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.value-block h3 {
    font-size: 1.2rem;
    margin: 0;
}

.value-block p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Stats strip */
.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.stat {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    text-align: center;
}

.stat .stat-value {
    display: block;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.02em;
}

.stat .stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
}


/* ==========================================================================
   11. PROCESS TIMELINE (six stages)
   ========================================================================== */
.process-track {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.process-step {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 20px;
    box-shadow: var(--shadow-sm);
}

.process-step::after {
    content: "";
    position: absolute;
    top: 38px;
    right: -12px;
    width: 24px;
    height: 2px;
    background: var(--green);
    opacity: 0.4;
}

.process-step:last-child::after {
    display: none;
}

.process-num {
    display: inline-block;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--green);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.process-step h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5em;
    line-height: 1.3;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

#how-we-deliver {
    background-color: #ffffff;
    background-image: none;
}

#how-we-deliver .process-step {
    background: #ffffff;
    border: 1px solid rgba(10, 51, 30, 0.12);
    box-shadow: 0 8px 24px rgba(10, 51, 30, 0.06);
    transition: transform var(--dur-base) var(--ease-out),
        box-shadow var(--dur-base) var(--ease-out),
        border-color var(--dur-base) var(--ease-out);
}

#how-we-deliver .process-step:hover {
    transform: translateY(-6px);
    border-color: var(--green);
    box-shadow: 0 16px 36px rgba(10, 51, 30, 0.12);
}


/* ==========================================================================
   12. SOLUTIONS PAGE — STICKY SECTION NAV
   ========================================================================== */
.section-nav {
    position: sticky;
    top: var(--header-h);
    z-index: 900;
    background: linear-gradient(90deg, #072B17 0%, #0A331E 50%, #072B17 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(133, 195, 36, 0.28);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16);
    padding: 12px 0;
}

.section-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    justify-content: center;
}

.section-nav ul li a {
    display: inline-block;
    padding: 6px 4px;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    position: relative;
    text-decoration: none;
    transition: color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.section-nav ul li a:hover {
    color: var(--green);
}

.section-nav ul li a.is-active {
    color: #ffffff;
    font-weight: 600;
}


/* ==========================================================================
   13. FAQ ACCORDION
   ========================================================================== */
.accordion {
    --bs-accordion-border-color: var(--border);
    --bs-accordion-border-radius: var(--radius);
    --bs-accordion-inner-border-radius: var(--radius);
    --bs-accordion-btn-padding-x: 22px;
    --bs-accordion-btn-padding-y: 18px;
    --bs-accordion-body-padding-x: 22px;
    --bs-accordion-body-padding-y: 18px;
    --bs-accordion-btn-color: var(--navy);
    --bs-accordion-btn-bg: var(--white);
    --bs-accordion-active-color: var(--blue);
    --bs-accordion-active-bg: var(--blue-light);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(133, 195, 36, 0.22);
    --bs-accordion-body-color: var(--text-muted);
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--white);
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-button {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--navy);
    background: var(--white);
    padding: 18px 22px;
    border-radius: var(--radius) !important;
    text-align: left;
}

.accordion-button:not(.collapsed) {
    background: var(--blue-light);
    color: var(--blue);
    box-shadow: none;
}

.accordion-button::after {
    background-size: 0.9rem;
    transition: transform var(--dur-base) var(--ease-out);
}

.accordion-body {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 4px 22px 20px;
}


/* ==========================================================================
   14. FORMS
   ========================================================================== */
.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-control,
.form-select {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--white);
    border: 1.5px solid var(--grey-300);
    border-radius: var(--radius-sm);
    transition: border-color var(--dur-base) var(--ease-out),
        box-shadow var(--dur-base) var(--ease-out);
}

.form-control:hover,
.form-select:hover {
    border-color: var(--grey-400);
}

.form-control:focus,
.form-select:focus {
    outline: 0;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(28, 124, 67, 0.18);
}

.form-control::placeholder {
    color: var(--grey-400);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--green);
    flex-shrink: 0;
}

.form-check-label a {
    color: var(--blue);
    text-decoration: underline;
}

.form-status {
    font-size: 0.92rem;
    line-height: 1.5;
}

.form-status.text-success {
    color: var(--green);
}

.form-status.text-danger {
    color: #B3261E;
}

/* ==========================================================================
   CONTACT SECTION BACKGROUND WITH BG2.JPG
   ========================================================================== */
#contact-details,
.section--contact-details {
    position: relative;
    background-image: url('../images/bg2.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: clamp(64px, 8vw, 104px) 0;
    overflow: hidden;
}

#contact-details::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.20) 100%);
    pointer-events: none;
    z-index: 0;
}

#contact-details>.container {
    position: relative;
    z-index: 1;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 40px);
    box-shadow: 0 16px 42px rgba(10, 51, 30, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.85);
    height: 100%;
}

#contact-details .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 48px rgba(10, 51, 30, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.contact-form .row {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 18px;
}

/* Contact info list */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    list-style: none;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.55;
}

.contact-list li i,
.contact-list li .bi {
    color: var(--green);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-list li a {
    color: var(--ink);
}

.contact-list li a:hover {
    color: var(--blue);
}

.contact-office-title {
    display: block;
    color: var(--forest);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 2px;
}


/* ==========================================================================
   15. PROJECTS PAGE
   ========================================================================== */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.project-filter {
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    background: var(--white);
    border: 1.5px solid var(--border-strong);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--grey-600);
    cursor: pointer;
    transition: all var(--dur-base) var(--ease-out);
}

.project-filter:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.project-filter.is-active {
    background: #238838;
    border-color: #238838;
    color: #fff;
    box-shadow: 0 4px 14px rgba(35, 136, 56, 0.28);
}

.project-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.project-item {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 45, 66, 0.06);
    transition: transform var(--dur-base) var(--ease-out),
        box-shadow var(--dur-base) var(--ease-out),
        border-color var(--dur-base) var(--ease-out);
}

.project-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 45, 66, 0.12);
    border-color: rgba(133, 195, 36, 0.45);
}

.project-item .project-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--grey-200);
}

.project-item .project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.project-item:hover .project-media img {
    transform: scale(1.06);
}

.project-media__tag-top {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(14, 58, 26, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #B6E670;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(182, 230, 112, 0.35);
    z-index: 2;
}

.project-media__tag-bottom {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(10, 51, 30, 0.90);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.project-item .project-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35em;
    line-height: 1.35;
}

.project-meta-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 12px 0 14px;
    padding: 0;
    list-style: none;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.835rem;
    color: var(--ink);
}

.project-meta-item i {
    color: var(--green);
    font-size: 0.95rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.project-item p {
    color: var(--text-muted);
    font-size: 0.885rem;
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}

.project-item .card-link {
    margin-top: auto;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue);
    background: transparent;
    border: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.project-item .card-link:hover {
    color: var(--green);
    transform: translateX(3px);
}

/* Placeholder notice banner */
.notice-banner {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 22px;
    border-radius: var(--radius);
    background: var(--blue-light);
    border-left: 4px solid var(--blue);
    color: var(--navy);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 28px;
}

.notice-banner i {
    color: var(--blue);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Project Detail Modal Styles */
.modal-project-img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(10, 51, 30, 0.1);
}

.modal-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 18px 0;
    padding: 16px 20px;
    background: var(--blue-light);
    border-radius: var(--radius);
    border: 1px solid rgba(28, 124, 67, 0.15);
}

.modal-spec-item {
    display: flex;
    flex-direction: column;
}

.modal-spec-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--blue);
}

.modal-spec-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
}


/* ==========================================================================
   16. CTA SECTIONS
   ========================================================================== */
.cta-section {
    position: relative;
    padding: clamp(56px, 7vw, 96px) 0;

    background-image: linear-gradient(90deg,
            rgba(5, 31, 18, 0.94) 0%,
            rgba(10, 51, 30, 0.84) 48%,
            rgba(20, 78, 44, 0.40) 80%,
            rgba(5, 31, 18, 0.20) 100%),
        url('../images/bg.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;

    color: #fff;
    overflow: hidden;
}

#projects-cta {
    position: relative;
    background-image: linear-gradient(90deg,
            rgba(5, 31, 18, 0.94) 0%,
            rgba(10, 51, 30, 0.84) 48%,
            rgba(20, 78, 44, 0.40) 80%,
            rgba(5, 31, 18, 0.20) 100%),
        url('../images/bg.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

#projects-cta::before {
    display: none;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.10) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.cta-section>.container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    max-width: 22ch;
    margin-bottom: 0.5em;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    max-width: 62ch;
    margin-bottom: 28px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-section--light {
    background: var(--bg);
    color: var(--text);
}

.cta-section--light h2 {
    color: var(--navy);
}

.cta-section--light p {
    color: var(--text-muted);
}


/* ==========================================================================
   17. ABOUT PAGE — VALUES & CULTURE
   ========================================================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.value-card {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.value-card .value-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--green);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.value-card h3 {
    font-size: 1.05rem;
    margin: 0;
}

.value-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.culture-card {
    padding: 26px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.culture-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5em;
}

.culture-card p {
    margin: 0;
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.6;
}


/* ==========================================================================
   18. FOOTER
   ========================================================================== */
.site-footer {
    position: relative;
    background-color: var(--forest);
    background-image: linear-gradient(180deg, #0A331E 0%, #051F12 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: clamp(48px, 6vw, 80px) 0 28px;
    border-top: 3px solid var(--green);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: color var(--dur-base) var(--ease-out);
}

.site-footer a:hover {
    color: #fff;
}

.site-footer h3,
.site-footer h4 {
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.2em;
    font-weight: 600;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 380px;
}

.footer-brand .brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 10px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.footer-brand .brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}

.footer-brand .brand img {
    height: 80px;
    width: auto;
    display: block;
    filter: none;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.88rem;
    color: #B6E670 !important;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-bottom: 16px !important;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li a {
    font-size: 0.92rem;
    display: inline-block;
    transition: transform var(--dur-base) var(--ease-out);
}

.footer-links li a:hover {
    transform: translateX(3px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.92rem;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.5;
}

.footer-contact li i {
    color: #B6E670;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.88rem;
    color: #ffffff;
}

.footer-bottom p {
    color: #ffffff;
    margin-bottom: 0;
}

.footer-bottom a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}

.footer-bottom a:hover {
    color: #B6E670;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: background var(--dur-base) var(--ease-out),
        transform var(--dur-base) var(--ease-out);
}

.footer-social a:hover {
    background: var(--green);
    transform: translateY(-2px);
}


/* ==========================================================================
   19. DIAGRAM WRAPPERS
   ========================================================================== */
.diagram,
.process-diagram,
.svg-diagram {
    width: 100%;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.diagram svg,
.process-diagram svg,
.svg-diagram svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Simple CSS-based flow diagram (fallback for complex SVGs) */
.flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.flow-node {
    padding: 12px 18px;
    border-radius: var(--radius-pill);
    background: var(--blue-light);
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(28, 124, 67, 0.16);
}

.flow-arrow {
    color: var(--green);
    font-size: 1.2rem;
    font-weight: 700;
}


/* ==========================================================================
   20. UTILITIES
   ========================================================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: var(--text-muted);
}

.text-blue {
    color: var(--blue);
}

.text-green {
    color: var(--green);
}

.text-navy {
    color: var(--navy);
}

.text-white {
    color: #fff;
}

.bg-white {
    background: var(--white);
}

.bg-alt {
    background: var(--bg);
}

.bg-blue-light {
    background: var(--blue-light);
}

.bg-green-light {
    background: var(--green-light);
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}

.mt-5 {
    margin-top: 48px;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}

.mb-5 {
    margin-bottom: 48px;
}

.mx-auto {
    margin-inline: auto;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.d-block {
    display: block;
}

.d-none {
    display: none;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-1 {
    gap: 8px;
}

.gap-2 {
    gap: 16px;
}

.gap-3 {
    gap: 24px;
}

.gap-4 {
    gap: 32px;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.max-w-narrow {
    max-width: 720px;
}

.max-w-text {
    max-width: 62ch;
}

.rounded {
    border-radius: var(--radius);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.img-mask {
    position: relative;
    display: block;
    width: 100%;
    min-height: 240px;
    background: var(--surface-2);
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.img-mask img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.rounded-pill {
    border-radius: var(--radius-pill);
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow {
    box-shadow: var(--shadow);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 32px 0;
    border: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 10000;
    padding: 12px 18px;
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.skip-link:focus {
    left: 16px;
    color: #fff;
}

/* Focus states — global */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.accordion-button:focus-visible,
.nav-toggle:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
    border-radius: 6px;
}


/* ==========================================================================
   21. OPTIONAL DECORATIVE SHAPES
   ========================================================================== */
.shape-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.shape-blob--blue {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(28, 124, 67, 0.35), transparent 70%);
}

.shape-blob--green {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(133, 195, 36, 0.35), transparent 70%);
}

.shape-line {
    position: absolute;
    background: var(--border-strong);
    pointer-events: none;
}

.shape-line--h {
    width: 100%;
    height: 1px;
}

.shape-line--v {
    width: 1px;
    height: 100%;
}


/* ==========================================================================
   22. BOOTSTRAP OVERRIDES (minimal, only where needed)
   ========================================================================== */
.row {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
}

.container-fluid {
    padding-inline: 20px;
}

.modal-content {
    border-radius: var(--radius);
    border: 0;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
}

.modal-title {
    font-size: 1.1rem;
    color: var(--navy);
}

.modal-body {
    padding: 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}


/* ==========================================================================
   23. FULL-WIDTH MAP SECTION
   ========================================================================== */
.section--map {
    width: 100%;
    position: relative;
    overflow: hidden;
    line-height: 0;
    border-top: 1px solid var(--border);
    background: var(--grey-100);
}

.section--map iframe {
    width: 100%;
    height: 460px;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .section--map iframe {
        height: 340px;
    }
}


/* ==========================================================================
   END OF style.css
   ========================================================================== */