.service-main {
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
}

.service {
    padding: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    height: 0;
    margin-top: 2rem;
    transition: 0.3s all ease;
}

.service.active {
    pointer-events: all;
    opacity: 1;
    height: 100%;
    padding-top: 3rem;
    transition: 0.3s all ease;
}

.service-inner {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}
.service-inner h2 {
    font-size: 1.8rem;
    font-weight: bold;
}

.description,
.cards {
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

.description h3 {
    font-size: 1.8rem;
    font-weight: bold;
}

.red {
    font-size: inherit;
    color: red !important;
}

.description p {
    font-size: 1.8rem;
}

.cards h3 {
    font-size: 1.8rem;
    font-weight: bold;
}

.cards-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.card {
    border: 0.1rem solid rgba(206, 206, 206, 1);
    border-radius: 0.8rem;
    background: white;
    padding: 4rem 4.5rem;
    display: grid;
    align-items: center;
    grid-template-columns: 4.8rem auto;
    gap: 4rem;
}

.card span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 50%;
    background: #c3000e;
    font-size: 1.8rem;
    color: white;
    font-weight: bold;
}

.card p {
    font-size: 1.8rem;
    font-weight: bold;
}

.buttons button,
.form-button {
    width: 100%;
    max-width: 28rem;
    padding: 1.25rem 2rem;
    border-radius: 0.5rem;
    background: #c3000e;
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.service-title {
    font-weight: bold;
    padding-bottom: 2.4rem;
    font-size: 3.2rem;
    border-bottom: 0.1rem solid #cecece;
}

.service-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
    grid-template-rows: repeat(9, 1fr);
}

.service-option {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.6rem;
}

.service-option input {
    width: 2.4rem;
    height: 2.4rem;
}

.service-option span {
    font-size: 1.8rem;
    line-height: 2.5rem;
}

.service-form {
    display: flex;
    flex-direction: column;
    gap: 4.8rem;
}

.profile {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.profile h3 {
    padding-bottom: 0.8rem;
    font-size: 1.8rem;
}

.profile-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.profile-input {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.profile-input label {
    font-size: 1.4rem;
}

.profile-input input,
.profile-input textarea {
    padding: 1.6rem 2rem;
    border: 0.1rem solid #cecece;
    border-radius: 0.5rem;
    font-size: 1.4rem;
    resize: none;
}

.service-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s all ease;
    z-index: 20;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-popup.active {
    opacity: 1;
    pointer-events: all;
    transition: 0.3s all ease;
}

.popup-inner {
    box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    padding: 2.4rem 3.2rem;
    border-radius: 1rem;
    background: #ffffff;
    max-width: 35rem;
    max-height: 15rem;
    width: 100%;
    height: 100%;
}

.popup-inner p {
    padding: 0 2rem;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
}

@media screen and (max-width: 1000px) {
    .cards-wrapper {
        grid-template-columns: 1fr;
    }
    .card {
        justify-content: center;
    }
    .buttons button,
    .form-button {
        max-width: unset;
    }
    .service-types {
        grid-template-columns: 1fr;
    }
    .profile-top {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }
    .service {
        margin-top: 0;
    }
}

@media screen and (max-width: 450px) {
    .service-title {
        font-size: 2.4rem;
    }
    .description p {
        font-size: 1.6rem;
    }
    .service-inner {
        gap: 4rem;
    }
    .card {
        grid-template-columns: 4rem auto;
        padding: 1.6rem 2.5rem;
    }
    .card p,
    .card span,
    .profile-input label,
    .profile-input input,
    .profile-input textarea {
        font-size: 1.4rem;
    }
    .card span {
        width: 4rem;
        height: 4rem;
    }
    .service-inner h2,
    .service-option span,
    .profile h3 {
        font-size: 1.6rem;
    }
}
