
:root {
    --background: #11191d;
    --surface: #1c282e;
    --surface-light: #26363d;
    --green: #38e878;
    --teal: #23d9a5;
    --text: #f5f8f7;
    --muted: #b8c6c9;
    --border: #35484f;
}

* {
    box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
    html:focus-within { scroll-behavior: smooth; }
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* Header */

.site-header {
    background: #162126;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    display: block;
    width: 236px;
    height: auto;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navigation a:not(.button):hover {
    color: var(--green);
}

/* Buttons */
.navigation a[aria-current="location"] {
    text-decoration: underline;
    text-decoration-color: var(--green);
    text-decoration-thickness: 3px;
    text-underline-offset: .45em;
}
.navigation .button[aria-current="location"] { text-decoration-color: currentColor; }

@media (min-width: 851px) and (min-height: 500px) {
    .site-header { position: sticky; top: 0; z-index: 5; }
    html { scroll-padding-top: 91px; }
}

.button {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    transition: background .2s, color .2s;
}

.button-primary {
    background: var(--green);
    color: #101a15;
}

.button-primary:hover {
    background: var(--teal);
}

.button-outline {
    border-color: var(--muted);
}

.button-outline:hover {
    border-color: var(--green);
    color: var(--green);
}

/* Hero */

.hero {
    padding: 95px 0;
    background: linear-gradient(120deg, #10191d, #20383b);
}

.hero h1 {
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.15;
    margin: 15px 0 20px;
}

.hero h1 span,
.accent {
    color: var(--teal);
}

.hero p {
    max-width: 600px;
    color: var(--muted);
    font-size: 1.15rem;
}

.hero-content > .accent,
#services .section-heading > .accent {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--green);
    font-weight: 600;
}

#services .section-heading > .accent {
    justify-content: center;
}

.hero-content > .accent::after,
#services .section-heading > .accent::before,
#services .section-heading > .accent::after {
    content: "";
    width: clamp(1.5rem, 4vw, 3.75rem);
    height: 2px;
    background: currentColor;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Services */

.services {
    padding: 75px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 2rem;
    margin: 10px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.service-card {
    padding: 25px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color .2s, transform .2s;
}

.service-card:hover {
    border-color: var(--green);
    transform: translateY(-3px);
}

.service-card h3 {
    margin: 10px 0;
}

.service-card p {
    font-size: .95rem;
    color: var(--muted);
}

/* Why Choose Us */

.why-us {
    background: var(--surface-light);
    padding: 65px 0;
}

.support-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
    gap: 2rem;
    margin: 2rem 0 0;
}

.support-reasons > div {
    border-left: 2px solid #38e878;
    padding-left: 1rem;
}

.support-reasons dt {
    font-size: 1.15rem;
    font-weight: 700;
}

.support-reasons dd {
    margin: .5rem 0 0;
    line-height: 1.6;
}

/* Footer */
.enquiry { display: grid; gap: 1rem; max-width: 38rem; }
.enquiry label:not([hidden]) { display: grid; gap: .4rem; }
.enquiry input, .enquiry textarea {
    box-sizing: border-box;
    width: 100%;
    padding: .8rem;
    font: inherit;
    color: #fff;
    background: #11191d;
    border: 1px solid #789097;
    border-radius: .5rem;
}
.enquiry textarea { resize: vertical; }
.enquiry button { justify-self: start; cursor: pointer; font: inherit; }
.enquiry :focus-visible { outline: 2px solid #38e878; outline-offset: 2px; }

.site-footer {
    background: #0c1417;
    padding: 45px 0;
    border-top: 1px solid var(--border);
}

/* Responsive layouts */

.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}

.site-footer p { margin: 0; color: var(--muted); }
.site-footer a { color: var(--teal); text-decoration: underline; }
.site-footer .site-logo { width: 185px; }

@media (max-width: 850px) {
    .header-inner { flex-direction: column; gap: 1rem; padding: 1rem 0; }
    .navigation { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}

@media (max-width: 600px) {
    .site-footer .container { flex-direction: column; text-align: center; }
}

@media (max-width: 1000px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .header-inner {
        flex-direction: column;
        padding: 20px 0;
    }

    .navigation {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 0;
    }
}

/* Hero — dual-monitor workstation layout */

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
}

.hero-content {
    min-width: 0;
}

.hero-image {
    min-width: 0;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
}

/* Tablet and mobile */

@media (max-width: 850px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-image {
        max-width: 650px;
        width: 100%;
        margin: 0 auto;
    }
}

/* Hero layout refinements */

@media (min-width: 851px) {
    .hero {
        padding: 45px 0;
    }

    .hero-layout {
        grid-template-columns: 1.15fr 1fr;
        gap: 35px;
    }

    .hero h1 {
        font-size: clamp(2.3rem, 3.2vw, 3.2rem);
        line-height: 1.12;
    }

    .hero-image img {
        border-radius: 8px;
    }
}

/* Full-width integrated hero design */

@media (min-width: 851px) {
    .hero {
        position: relative;
        overflow: hidden;
        padding: 0;
        min-height: 365px;
    }

    .hero-layout {
        display: block;
        min-height: 365px;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        width: 53%;
        padding: 35px 0;
    }

    .hero-image {
        position: absolute;
        top: 0;
        right: 0;
        width: 56%;
        height: 100%;
        overflow: hidden;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 0;
        box-shadow: none;
    }

    .hero-image::before {
        content: "";
        position: absolute;
        z-index: 1;
        top: -10%;
        left: -3px;
        width: 8px;
        height: 125%;
        background: #22ed87;
        transform: skewX(-24deg);
        box-shadow: -20px 0 55px 35px rgba(19, 233, 113, 0.18);
    }
}

/* Diagonal hero transition and text spacing */

@media (min-width: 851px) {

    .hero-image {
        clip-path: polygon(
            23% 0,
            100% 0,
            100% 100%,
            0 100%
        );
    }

    .hero-content {
        width: 48%;
    }

    .hero-content p {
        max-width: 470px;
    }

    .hero-image::before {
        display: none;
    }
}


/* The glow follows the clipped photo edge on the desktop hero. */
@media (min-width: 851px) {
    .hero-image {
        overflow: visible;
        clip-path: none;
        filter: drop-shadow(-8px 0 10px rgba(29, 255, 128, .44))
                drop-shadow(-24px 0 28px rgba(9, 194, 100, .38));
    }

    .hero-image img {
        clip-path: polygon(23% 0, 100% 0, 100% 100%, 0 100%);
    }

    .hero-image::after {
        content: "";
        display: block;
        position: absolute;
        inset: 0;
        width: auto;
        height: auto;
        transform: none;
        pointer-events: none;
        box-shadow: none;
    }

    .hero-image::after {
        background: linear-gradient(180deg, #39ff91, #18eb78 55%, #109956);
        clip-path: polygon(23% 0, calc(23% + 5px) 0, 5px 100%, 0 100%);
    }
}
