:root{
    /* Brutalist, neon accent */
    --accent: #8ec73f; /* fresh neon green */
    --accent-strong: #00ff6a;
    --dark: #071018; /* near black */
    --muted: rgba(255,255,255,0.88);
    --glass: rgba(255,255,255,0.06);
    --brutal-border: 4px solid rgba(255,255,255,0.06);
}

*{
    box-sizing: inherit;
}

html{
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body{
    padding: 0;
    background-color: rgb(255, 255, 255);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    background-repeat: no-repeat;
    margin: 0;
}

/* Mobile fallback: use fixed pseudo-element on small screens where background-attachment may be ignored */
body::before{ content: ""; display: none; }
@media (max-width: 768px){
    body{ 
     
      background: none !important;}
    body::before{
        display:block;
        position: fixed;
        inset: 0;
        z-index: -1;
        background-color: rgb(255, 255, 255);
        background-size: cover;
/* removed misplaced nav toggle definitions; mobile nav rules appended later */
        background-position: center;
        background-repeat: no-repeat;
    }
    section{
        width: 100% !important;
    }
     p{
        font-size: 1.3rem!important;
    }
    .metrics{
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    font-size: 1.6rem;
    color: white;
    margin: inherit;
    }

    .footer_image{
        width: 90% !important;
    }
    .footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr!important;
    padding: 15px;
}
}

@media (min-width: 600px){
    body::before{ background-attachment: scroll; }
   
}

header{
    padding: 20px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    font-weight: 700;
    position: sticky;
    top: 0;
    align-items: center;
    z-index: 210; /* keep header above overlay */
    background-color: beige;
}

.header-inner{
    width: 90%;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
}

.hero-actions{
        margin: 60px 60px 60px 60px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.metrics{
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    font-size: 1.8rem;

}

/* square buttons */
.btn{ border-radius: 0; padding: 12px 20px; }
.btn-primary{
    background-color: rgb(135, 56, 28);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-outline{
    border: 2px solid rgb(135, 56, 28);
    background-color: transparent;
    color: rgb(135, 56, 28);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



.nav-links a{
    text-decoration: none;
    color: rgb(142 199 63);
    margin: 0 15px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.6px;
}
/* active link style */
.nav-links a.active{ color: rgb(106, 92, 158);; background: rgba(255,255,255,0.02); text-decoration: underline 3px; text-underline-offset: 4px; }

.logo{
    width: 150px;
    position: relative;
}

.logo object, .logo img{ width: 140px; height: auto; display:block; }

.invisible-anchor{ display:none; }

.container{
    margin-top: 30px;
    text-align: center;

}   

p{
    font-size: 1.8rem;
}

h1{
     color: #8ec73f !important;
     top: 0px;
    position: relative;
}

a{
    text-decoration: none;
    text-underline-offset: 4px;
    color: #8ec73f
}

a:hover{
    text-decoration: underline 3px;
    color: rgb(106, 92, 158);
}

img{
   width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

.clients{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.client-logo{
    width: 120px;
    height: auto;
    object-fit: contain;
    filter: brightness(50) invert(1);
}

section{
    margin-top: 40px;
    color: rgb(106, 92, 158);
    padding: 0 20px;
    margin: auto;
    width: 60%;
    position: relative;
}
/* Make sure that anchors scroll to a position below the sticky header */
section, section h1, section h2, section h3{
    scroll-margin-top: 100px; /* adjust to header height if needed */
}

.features-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 50px;
}
.features-grid p{
    font-size: 1.2rem;
}

footer{
    margin: 0;
    background-color: beige;
        border-top: 13px solid #8ec73f;
}

.footer-inner{
display: grid;
grid-template-columns: 2fr 2fr 2fr 2fr;
padding: 18px;
gap: 20px;

}

.footer-inner p{
    font-size: 1.2rem !important;
    color: rgb(135, 56, 28);
}

.footer_image{
    width: 60%;
    height: auto;
    display: block;
    text-align: center;
    margin: auto;
}

/* ======= Mobile nav & toggle behavior (minimal) ======= */
.nav-toggle{ display: none; border: none; background: transparent; font-size: 1.8rem; cursor: pointer; }
@media (max-width: 900px){
    .nav-toggle{ display: inline-flex; }
    /* Panel that is offscreen until #menu is targeted (CSS only) */
    .nav-links{ position: fixed; right: 0; top: 1.5vh; height: 97vh; width: 82%; max-width: 420px; transform: translateX(100%); transition: transform 260ms ease-in-out; display: flex; flex-direction: column; gap: 12px; padding: 24px; align-items: stretch; justify-content: flex-start; background: #000000e0; z-index: 320; pointer-events: none; overflow-y: auto; -webkit-overflow-scrolling: touch; }
    /* :target selector to open the menu without JS */
    #menu-target:target ~ header .nav-links{ transform: translateX(0); pointer-events: auto; }
    /* JS-friendly open class to avoid URL hash jumping */
    .nav-links.open-js{ transform: translateX(0); pointer-events: auto; }
    .nav-links a{ display:block; width: 100%; text-align:left; padding: 12px 18px; border-bottom: 1px solid rgba(255,255,255,0.02); }
    .nav-close{ display: block; align-self: flex-end; text-align: right; padding: 8px 12px; margin-bottom: 8px; }
    .nav-links a, .nav-close{ position: relative; z-index: 330; }
    /* mobile active link style */
    #menu-target:target ~ header .nav-links a.active{ color: var(--accent-strong); background: rgba(0,0,0,0.12); border-left: 4px solid var(--accent-strong); padding-left: 10px; }
    /* dim the page content using a pseudo-element behind the panel when the menu is open */
    /* enable overlay element and keep it behind the nav */
    #menu-target:target ~ .nav-overlay{ opacity: 1; pointer-events: auto; z-index: 300; }
    .nav-overlay.open-js{ opacity: 1; pointer-events: auto; }
}
@media (min-width: 901px){
    /* Desktop: show nav and hide toggle/overlay */
    .nav-toggle{ display: none !important; }
    .nav-links{ display: flex !important; position: static !important; transform: none !important; inset: auto !important; height: auto !important; width: auto !important; background: transparent !important; }
    /* overlay not used (CSS-only target used instead) */
}
/* hide close button on desktop */
.nav-close{ display:none; }

/* Small-screen adjustments for iPhone SE (375px width) to avoid horizontal overflow */
@media (max-width: 375px){
    html, body { overflow-x: hidden; }
    /* Make menu wider on very small devices (97% of viewport) and reduce padding */
    .nav-links{ width: 97vw; max-width: none; padding: 12px; }
    /* reduce nav link font size and padding to avoid overflow */
    .nav-links a{ font-size: 14px; padding: 10px 12px; }
    .nav-close{ padding: 6px 10px; }
    /* reduce hero font sizes and spacing */
    .hero h1{ font-size: 1.5rem; }
    .lead{ font-size: 0.95rem; }
    /* general body copy and metrics smaller */
    p{ font-size: 1.2rem; }
    .metrics{ gap: 8px; font-size: 1.1rem; }
    .clients{ gap: 12px; }
    .client-logo{ width: 90px; }
    /* service and feature text adjustments */
    .features-grid{ gap: 18px; }
    .footer-inner p{ font-size: .9rem !important;}
}

