html, body {
    font-family: 'vazirmatn', Tahoma, serif;
    direction: rtl;
    background-color: #F3F3F3;
}

.header .header-color {
    background-color: #509264;
    height: 500px;
    color: white;
    display: flex;
    flex-direction: column;
    padding-top: 120px;
    text-align: center;

    h1 {
        line-height: 50px;
    }

}

.header .intro {
    display: flex;
    border-radius: 12px;
    margin: -100px 4% 0 4%;
    padding: 50px;
    background: white;
    gap: 40px;
    text-align: justify;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header .intro .image {
    width: 160px;

    img {
        border-radius: 16px;
    }
}

.header .intro p {
    flex: 1;
}

.title {
    color: #2D6532;
    margin-top: 60px;
    font-weight: bold;
    text-align: center;
}

.services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 24px 4% 0 4%;
    gap: 16px;

    .item {
        color: #2D6532;
        background-color: white;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        padding: 28px 16px;
        font-weight: bold;
        gap: 12px;
        text-decoration: none;

        p {
            margin: 0;
        }

        .icon {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            background-color: #358e3d;
            border-radius: 24px;
        }

    }

}

.footer{
    background-color: #2b2f32;
    color:white;
    padding: 24px;
    text-align: center;
    margin-top: 96px;
}

@media (max-width: 768px) {

    .header .header-color {
        padding-top: 50px;
        height: 350px;

        h1 {
            line-height: normal;
        }
    }

    .header .intro {
        flex-direction: column;
        align-items: center;
        padding: 24px;
    }

    .services {
        display: grid;
        grid-template-columns: 1fr;
    }

}