* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #52745a;
    --dark-green: #20382a;
    --cream: #f4f1e8;
    --white: #ffffff;
    --dark: #172019;
    --gray: #737b74;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Vazirmatn", sans-serif;
    background: var(--cream);
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, 90%);
    margin: auto;
}


/* Header */

.header {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
    color: white;
}

.nav {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #c6ddbd;
}

.menu {
    display: flex;
    gap: 35px;
}

.menu a {
    font-size: 14px;
    opacity: .9;
    transition: .3s;
}

.menu a:hover {
    color: #bcd5b9;
}

.nav-btn {
    border: 1px solid rgba(255,255,255,.5);
    padding: 11px 22px;
    border-radius: 50px;
    font-size: 13px;
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 25px;
}


/* Hero */

.hero {
    height: 100vh;
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    color: white;

    background:
        url("https://images.unsplash.com/photo-1558904541-efa843a96f01?auto=format&fit=crop&w=2000&q=85")
        center/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(17, 30, 21, .85),
            rgba(17, 30, 21, .35),
            rgba(17, 30, 21, .15)
        );
}

.hero-content {
    position: relative;
    max-width: 1180px;
}

.eyebrow,
.section-tag {
    color: #91b28d;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
}

.hero h1 {
    max-width: 700px;
    font-size: clamp(48px, 7vw, 88px);
    line-height: 1.15;
    margin: 25px 0;
    font-weight: 300;
}

.hero h1 strong {
    color: #a9c69e;
    font-weight: 700;
}

.hero p {
    max-width: 550px;
    color: #e0e6df;
    line-height: 2;
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 160px;
    padding: 14px 25px;
    border-radius: 50px;
    font-size: 14px;
    transition: .3s;
}

.btn-primary {
    background: #91b28d;
    color: #172019;
}

.btn-primary:hover {
    background: white;
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.5);
}

.btn-outline:hover {
    background: white;
    color: var(--dark);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    font-size: 25px;
}


/* General */

.section {
    padding: 120px 0;
}

.intro {
    background: var(--dark-green);
    color: white;
    padding: 100px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro h2 {
    font-size: 50px;
    font-weight: 300;
    margin-top: 20px;
}

.intro h2 span {
    color: #a8c59d;
    font-weight: 700;
}

.intro p {
    color: #c5d0c6;
    line-height: 2.2;
}


/* Section Heading */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 60px;
}

.section-heading h2,
.center-heading h2 {
    font-size: 45px;
    margin-top: 15px;
}

.section-heading p {
    max-width: 350px;
    color: var(--gray);
    line-height: 2;
}

.all-projects {
    color: var(--green);
}


/* Services */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    background: #fff;
    padding: 45px 35px;
    min-height: 330px;
    border: 1px solid #e4e1d8;
    transition: .4s;
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--dark-green);
    color: white;
}

.service-number {
    position: absolute;
    left: 30px;
    top: 25px;
    color: #a8b0a7;
    font-size: 13px;
}

.service-icon {
    color: var(--green);
    font-size: 35px;
    margin-bottom: 30px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 18px;
}

.service-card p {
    color: var(--gray);
    line-height: 2;
    font-size: 14px;
}

.service-card:hover p {
    color: #c5d0c6;
}

.service-card a {
    display: block;
    margin-top: 25px;
    color: var(--green);
    font-size: 13px;
}

.service-card:hover a {
    color: #a8c59d;
}


/* Projects */

.projects {
    background: #ebe8df;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 20px;
}

.project {
    position: relative;
    height: 500px;
    overflow: hidden;
    color: white;
}

.project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .7s;
}

.project:hover img {
    transform: scale(1.08);
}

.project::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,.75));
}

.project-info {
    position: absolute;
    z-index: 2;
    bottom: 30px;
    right: 30px;
}

.project-info span {
    font-size: 11px;
    opacity: .7;
}

.project-info h3 {
    margin-top: 8px;
    font-size: 22px;
}


/* About */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.experience {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: var(--dark-green);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.experience strong {
    font-size: 40px;
    color: #a8c59d;
}

.experience span {
    font-size: 12px;
}

.about-content h2 {
    font-size: 55px;
    font-weight: 300;
    margin: 20px 0;
}

.about-content h2 span {
    color: var(--green);
    font-weight: 700;
}

.about-content > p {
    color: var(--gray);
    line-height: 2.2;
    max-width: 500px;
}

.stats {
    display: flex;
    gap: 45px;
    margin-top: 50px;
}

.stats div {
    display: flex;
    flex-direction: column;
}

.stats strong {
    font-size: 30px;
    color: var(--green);
}

.stats span {
    color: var(--gray);
    font-size: 12px;
}


/* Process */

.process {
    background: var(--dark-green);
    color: white;
}

.center-heading {
    text-align: center;
    margin-bottom: 70px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.process-item {
    padding: 25px;
    border-right: 1px solid rgba(255,255,255,.15);
}

.process-item span {
    color: #91b28d;
    font-size: 13px;
}

.process-item h3 {
    margin: 20px 0 12px;
    font-size: 20px;
}

.process-item p {
    color: #b9c5ba;
    font-size: 13px;
    line-height: 2;
}


/* Contact */

.contact-box {
    background: #e4e1d7;
    padding: 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-text h2 {
    font-size: 45px;
    font-weight: 300;
    margin: 20px 0;
}

.contact-text h2 span {
    display: block;
    color: var(--green);
    font-weight: 700;
}

.contact-text p {
    color: var(--gray);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    border: none;
    border-bottom: 1px solid #aaa;
    background: transparent;
    padding: 15px 5px;
    font-family: inherit;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.form-message {
    background: #d5e4d1;
    color: #315137;
    padding: 12px;
    font-size: 13px;
}


/* Footer */

.footer {
    background: #15251b;
    color: white;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer p {
    color: #aeb9b0;
    font-size: 13px;
    line-height: 2;
    margin-top: 15px;
}

.footer h4 {
    margin-bottom: 15px;
}

.footer-grid a:not(.logo) {
    display: block;
    color: #aeb9b0;
    font-size: 13px;
    margin: 10px 0;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
    color: #758178;
    padding: 20px;
    font-size: 11px;
}


/* Responsive */

@media (max-width: 800px) {

    .menu,
    .nav-btn {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero h1 {
        font-size: 48px;
    }

    .intro-grid,
    .about-grid,
    .contact-box {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project {
        height: 400px;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding: 80px 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading p {
        margin-top: 20px;
    }

    .contact-box {
        padding: 40px 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 450px;
    }
}
