#services {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    /* background-image: linear-gradient(to top, rgb(155, 18, 78), rgb(101, 12, 50)); */
        background-image: linear-gradient(to top, white, rgb(255, 249, 241));
}

#services h2 {
    font-family: "Almog", sans-serif;
    font-weight: 800;
    text-align: center;
    color: rgb(101, 12, 50);
    font-size: clamp(16px, 2.4vw, 20px);

    padding: 30px;
    width: 100%;
}

#servicesWrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    justify-items: center;
}

@media (max-width: 1300px) {
    #servicesWrapper {
        grid-template-columns: repeat(1, 1fr);
     }
}

@media (max-width: 1300px) {
     #servicesWrapper {
        flex-direction: column;
    }
}

.service {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    background: none;
    color: white;
    font-family: "Assistant", sans-serif;
    font-weight: 300;
    width: 90%;
    padding: 30px 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border: none;
    border-radius: 20px;

    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.show {
    transform: scale(1);
    opacity: 1;
}

@media (max-width: 1000px) {
     .service {
        width: 100%;
        box-shadow: none;
    }
}

#serviceImg {
    width: 300px;
    z-index: 3;
    border-radius: 50%;
}

@media (max-width: 1300px) {
     #serviceImg {
        width: 250px;
     }
}

.service h3 {
    font-family: "Almog", sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 3vw, 18px);
    color: rgb(2, 51, 49);
}

.service p {
    font-weight: 400;
    font-size: clamp(17px, 3vw, 18px);
    color: rgb(2, 51, 49);
    font-family: "Assistant", sans-serif;
}

.service-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

@media (max-width: 768px) {
     .service-content {
        flex-direction: column;
    }
}


#serviceA img {
    width: 250px;
}

#serviceB img {
    width: 200px;
}

#serviceC img {
    width: 200px;
}

#serviceD img {
    width: 130px;
}

#serviceE img {
    width: 150px;
}