:root {
    --green: #079447;
    --green-dark: #063d27;
    --green-light: #dff7e9;
    --black: #0d1712;
    --text: #18231d;
    --gray: #69756e;
    --light: #f4f8f5;
    --white: #ffffff;
    --border: #dce6df;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

.section {
    padding: 110px 0;
}


/* ================= NAVBAR ================= */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #e4ebe6;
}

.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-circle {
    width: 45px;
    height: 45px;
    border: 3px solid var(--green);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--green);
    font-weight: 800;
    position: relative;
}

.logo-circle:before {
    content: "";
    position: absolute;
    width: 27px;
    height: 27px;
    border: 2px solid #666;
    border-radius: 50%;
}

.logo-circle span {
    position: relative;
    z-index: 2;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-family: "Space Grotesk";
}

.logo-text strong {
    color: var(--green);
    font-size: 17px;
}

.logo-text span {
    color: #515c55;
    font-size: 16px;
    font-weight: 700;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-menu a {
    font-size: 13px;
    font-weight: 600;
    color: #536058;
    transition: .3s;
}

.nav-menu a:hover {
    color: var(--green);
}

.quote-btn {
    background: var(--green);
    color: white;
    padding: 12px 18px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 27px;
}


/* ================= HERO ================= */

.hero {
    min-height: 800px;
    padding-top: 150px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            rgba(246,251,248,.90),
            rgba(246,251,248,.95)
        ),
        url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1600&q=85");

    background-size: cover;
    background-position: center;
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(7,148,71,.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(7,148,71,.05) 1px,
            transparent 1px
        );

    background-size: 65px 65px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.small-title,
.section-label {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero h1 {
    font-family: "Space Grotesk";
    font-size: clamp(45px, 6vw, 80px);
    line-height: 1.02;
    letter-spacing: -4px;
    margin: 20px 0;
}

.hero h1 span {
    display: block;
    color: var(--green);
}

.hero-content > p {
    max-width: 600px;
    color: var(--gray);
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 21px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 13px;
    transition: .3s;
}

.primary-btn {
    background: var(--green);
    color: white;
}

.primary-btn:hover {
    background: #056f35;
    transform: translateY(-3px);
}

.secondary-btn {
    border: 1px solid #b9c9bf;
    background: white;
}

.secondary-btn:hover {
    border-color: var(--green);
    color: var(--green);
}

.hero-stats {
    display: flex;
    gap: 35px;
    margin-top: 45px;
    border-top: 1px solid #d6e3da;
    padding-top: 22px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    color: var(--green);
    font-size: 20px;
}

.hero-stats span {
    font-size: 11px;
    color: #7b877f;
}

.hero-image {
    position: relative;
}

.hero-image img {
    height: 560px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 25px 70px rgba(0,0,0,.16);
}

.image-tag {
    position: absolute;
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.tag-one {
    top: 30px;
    left: -25px;
    color: var(--green);
}

.tag-two {
    right: -20px;
    bottom: 40px;
    color: var(--green);
}


/* ================= ABOUT ================= */

.about {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    height: 560px;
    object-fit: cover;
    border-radius: 22px;
}

.image-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(13,23,18,.92);
    color: white;
    padding: 13px 18px;
    font-size: 11px;
    letter-spacing: 1px;
    border-left: 3px solid var(--green);
}

.about h2,
.section-heading h2,
.center-heading h2,
.quality h2,
.projects h2,
.contact h2 {
    font-family: "Space Grotesk";
    font-size: clamp(35px, 4vw, 55px);
    line-height: 1.08;
    letter-spacing: -2px;
    margin: 15px 0 25px;
}

.about h2 span,
.section-heading h2 span,
.center-heading h2 span,
.quality h2 span,
.projects h2 span,
.contact h2 span {
    color: var(--green);
}

.about-content > p {
    color: var(--gray);
    margin-bottom: 16px;
}

.about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.about-points div {
    background: white;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.about-points b {
    color: var(--green);
    margin-right: 8px;
}

.about-points strong {
    font-size: 13px;
}

.about-points small {
    display: block;
    color: var(--gray);
    font-size: 11px;
    margin-top: 5px;
}


/* ================= SERVICES ================= */

.services {
    background: var(--black);
    color: white;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
    margin-bottom: 50px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.services .section-label {
    color: #5ce49a;
}

.section-heading > p {
    max-width: 420px;
    color: #aebbb3;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    background: #14231b;
    border: 1px solid #2a3d31;
    border-radius: 16px;
    overflow: hidden;
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: var(--green);
}

.service-card img {
    height: 190px;
    object-fit: cover;
}

.service-content {
    padding: 22px;
}

.service-content > span {
    color: #5be297;
    font-size: 11px;
    font-weight: 800;
}

.service-content h3 {
    font-family: "Space Grotesk";
    margin: 10px 0;
    font-size: 21px;
}

.service-content p {
    color: #aebbb3;
    font-size: 12px;
}

.service-content a {
    display: inline-block;
    margin-top: 18px;
    color: #62e69a;
    font-size: 11px;
    font-weight: 700;
}


/* ================= PROCESS ================= */

.process {
    background: white;
}

.center-heading {
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.center-heading p {
    color: var(--gray);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin-top: 70px;
    position: relative;
}

.process-grid:before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 35px;
    height: 2px;
    background: #d6e1da;
}

.process-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.process-number {
    width: 70px;
    height: 70px;
    margin: auto;
    border-radius: 50%;
    border: 2px solid #cbd9d0;
    background: white;
    display: grid;
    place-items: center;
    color: var(--green);
    font-weight: 800;
    transition: .3s;
}

.process-item:hover .process-number {
    background: var(--green);
    color: white;
    border-color: var(--green);
}

.process-item h3 {
    font-family: "Space Grotesk";
    margin-top: 20px;
    font-size: 17px;
}

.process-item p {
    font-size: 11px;
    color: var(--gray);
    margin-top: 7px;
}


/* ================= QUALITY ================= */

.quality {
    background: var(--black);
    color: white;
}

.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.quality .section-label {
    color: #5be297;
}

.quality-content > p {
    color: #aab8af;
    max-width: 550px;
}

.quality-list {
    margin-top: 30px;
    display: grid;
    gap: 10px;
}

.quality-list > div {
    display: flex;
    gap: 18px;
    border: 1px solid #2b3d32;
    padding: 15px;
    border-radius: 10px;
}

.quality-list > div > span {
    color: #5be297;
    font-weight: 800;
}

.quality-list strong {
    display: block;
    font-size: 13px;
}

.quality-list small {
    color: #89988f;
    font-size: 11px;
}

.quality-image {
    position: relative;
}

.quality-image img {
    height: 550px;
    object-fit: cover;
    border-radius: 22px;
}

.qc-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: var(--green);
    color: white;
    padding: 18px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.qc-badge strong {
    font-size: 28px;
}

.qc-badge span {
    font-size: 9px;
    letter-spacing: 1px;
}


/* ================= CAPABILITIES ================= */

.capabilities {
    background: var(--light);
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.capability-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    transition: .3s;
}

.capability-card:hover {
    transform: translateY(-5px);
    border-color: #9dd3b1;
}

.capability-card > span {
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    border: 1px solid #b9dfc7;
    padding: 6px 9px;
    border-radius: 5px;
}

.capability-card h3 {
    font-family: "Space Grotesk";
    margin: 22px 0 8px;
}

.capability-card p {
    color: var(--gray);
    font-size: 12px;
}


/* ================= PROJECTS ================= */

.projects {
    background: var(--light);
    padding-top: 30px;
}

.project-box {
    background: #dcefe4;
    border-radius: 25px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.project-content {
    padding: 60px;
}

.project-content p {
    color: var(--gray);
    margin-bottom: 28px;
}

.project-image img {
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}


/* ================= WHY ================= */

.why {
    background: #f7faf8;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 50px;
}

.why-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 30px;
    min-height: 190px;
    transition: .3s;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--green);
}

.why-card > span {
    color: var(--green);
    font-weight: 800;
    font-size: 11px;
}

.why-card h3 {
    font-family: "Space Grotesk";
    font-size: 18px;
    margin: 22px 0 10px;
}

.why-card p {
    color: var(--gray);
    font-size: 12px;
}


/* ================= CONTACT ================= */

.contact {
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 80px;
}

.contact-content > p {
    color: var(--gray);
    margin-bottom: 30px;
}

.contact-info {
    display: grid;
    gap: 18px;
}

.contact-info > div {
    display: flex;
    gap: 15px;
}

.contact-info b {
    width: 40px;
    height: 40px;
    background: white;
    display: grid;
    place-items: center;
    color: var(--green);
    border-radius: 8px;
}

.contact-info strong {
    font-size: 13px;
}

.contact-info p,
.contact-info a {
    color: var(--gray);
    font-size: 11px;
    max-width: 500px;
}

.contact-info a:hover {
    color: var(--green);
}


/* FORM */

.contact-form {
    background: white;
    padding: 32px;
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,.07);
}

.contact-form h3 {
    font-family: "Space Grotesk";
}

.contact-form > p {
    color: var(--gray);
    font-size: 12px;
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-top: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-top: 7px;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 7px;
    font-family: inherit;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--green);
}

.contact-form button {
    border: none;
    width: 100%;
    margin-top: 18px;
    cursor: pointer;
}

#formMessage {
    text-align: center;
    color: var(--green);
    font-size: 12px;
    margin-top: 10px;
}


/* ================= FOOTER ================= */

.footer {
    background: #0a1510;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding: 75px 0 55px;
}

.footer-company p {
    max-width: 360px;
    color: #839188;
    font-size: 12px;
    margin-top: 20px;
}

.footer h4 {
    font-family: "Space Grotesk";
    margin-bottom: 20px;
}

.footer-grid > div:not(.footer-company) a {
    display: block;
    color: #85938b;
    font-size: 11px;
    margin: 9px 0;
}

.footer-grid > div:not(.footer-company) a:hover {
    color: #5ce39a;
}

.footer-bottom {
    border-top: 1px solid #26352c;
    display: flex;
    justify-content: space-between;
    padding: 20px 4%;
    color: #718078;
    font-size: 10px;
}

.footer-bottom a {
    color: #5ce39a;
}


/* ================= BACK TO TOP ================= */

#topBtn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    border: none;
    background: var(--green);
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 999;
}


/* ================= RESPONSIVE ================= */

@media(max-width:1050px) {

    .nav-menu {
        gap: 12px;
    }

    .nav-menu a {
        font-size: 11px;
    }

    .service-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .process-grid {
        grid-template-columns: repeat(3,1fr);
        gap: 40px;
    }

    .process-grid:before {
        display: none;
    }

}


@media(max-width:850px) {

    .menu-btn {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 78px;
        left: 4%;
        right: 4%;
        background: white;
        display: none;
        flex-direction: column;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 20px 50px rgba(0,0,0,.12);
    }

    .nav-menu.active {
        display: flex;
    }

    .quote-btn {
        display: none;
    }

    .hero-container,
    .about-grid,
    .quality-grid,
    .contact-grid,
    .project-box {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-image {
        margin-top: 30px;
    }

    .hero-image img {
        height: 430px;
    }

    .about-grid,
    .quality-grid,
    .contact-grid {
        gap: 45px;
    }

    .capability-grid,
    .why-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .project-image {
        order: -1;
    }

}


@media(max-width:600px) {

    .section {
        padding: 75px 0;
    }

    .hero h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 15px;
        flex-wrap: wrap;
    }

    .hero-image img,
    .about-image img,
    .quality-image img {
        height: 330px;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 15px;
    }

    .service-grid,
    .capability-grid,
    .why-grid,
    .about-points {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .project-content {
        padding: 35px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-company {
        grid-column: 1/-1;
    }

    .footer-bottom {
        flex-direction: column;
    }

}