.service-section {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 80px 20px;
    gap: 50px;

    text-align: center;
}


.service-section h2 {
    font-size: 2.5rem;
    color: var(--main-color);
}

.plans-container {
    display: flex;
    flex-direction: column;
    row-gap: 50px;
}

.plan-card {
    display: flex;
    flex-direction: column;
    justify-content: space-around;

    min-height: 220px;

    border-radius: 12px;
    padding: 25px;

    box-shadow: 0 10px 25px var(--main-color-box-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan-card-top {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-card-top-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plan-card-top-header figure {
    position: absolute;
    left: -30px;
    top: -23px;

    height: 45px;
    width: 45px;

    background-image: url('../assets/muste-red-without-letters.png');
    background-size: cover;
}


.plan-card-top-header h4 {
    margin-top: 15px;
    color: var(--main-color);
    font-size: 1.3rem;
}

.line {
   width: 60%;
    height: 2px;
    margin: auto;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(97, 14, 14, 0.8),
        transparent
    );
}

.plan-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    background-color: rgba(97, 14, 14, 0.78);

    border-radius: 15px;

    padding: 18px;
}

.plan-card-content .hook {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.plan-card-content a {
    background-color: var(--orange-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-weight: 700;
    text-decoration:underline;
    margin-top: 40px;
    padding: 6px 14px;
    border-radius: 20px;
}


@media (min-width: 768px) {

    .plans-container {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 50px;
    }

    .plan-card {
        height: 300px;
        width: 400px;
    }

    .plan-card-top-header figure {
        width: 65px;
        height: 65px;
    }

    .plan-card-top-header h4 {
        font-size: 1.5rem;
    }

    .plan-card-content {
        height: 150px;
        justify-content: center;
    }

    .plan-card-content .hook {
        margin-top: 30px;
        font-size: 1.3rem;
    }

    .plan-card-content a {
        font-size: 1.1rem;
        font-weight: 900;
        margin-top: auto;
    }
}

@media (min-width: 1024px) {

    .service-section h2 {
        font-size: 3rem;
    }

    .plan-card-top-header figure {
        width: 75px;
        height: 75px;
        top: -35px;
        left: -35px;
    }

    .plan-card-content .hook {
        font-size: 1.4rem;
    }

    .plan-card-content a {
        font-size: 1.3rem;
        transition: all 0.3s ease;
    }

    .plan-card-content a:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 0 10px var(--orange-color),
                    0 0 20px var(--orange-color);
    }
}

@media (min-width: 1440px) {

    .service-section h2 {
        font-size: 4rem;
    }

    .plans-container {
        gap: 80px;
    }

    .plan-card {
        height: 400px;
        width: 560px;
    }

    .plan-card-top-header figure {
        width: 85px;
        height: 85px;
        left: -35px;
        top: -45px;

      
    }

    .plan-card-top-header h4 {
        font-size: 2.5rem;
    }
}
