.services{
    height: 150vh;
    padding-top: 40vw;
    background-color: var(--light-wheat);
}

.service-main-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 3rem;
    font-weight: 900;
    color: gray;
    text-align: center;
    margin-bottom: 150px;
    position: relative;
    top: 0;
    transition: transform 0.8s ease-in-out;
    will-change: transform;
}
.service-block-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    perspective: 1000px;
}

.service-block {
    margin-bottom: 1.5rem;
    transform: translateY(500%);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
    font-family: 'Lato', sans-serif;
    font-weight: 300;

}

.service-block.show {
    opacity: 1;
    transform: translateY(0);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.accordion-header h2 {
    font-size: clamp(1.2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin: 0;
}

.toggle-icon {
    width: 50px;
    height: 50px;
    padding-left: 1rem;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.rotate {
    transform: rotate(90deg);
}

.accordion-content {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition: height 0.4s ease, opacity 0.4s ease;
}

.accordion-content.open {
    opacity: 1;
    height: auto;
}




