.image svg {
    width: 6rem;
    height: 5rem;
    fill: #e81c2e;
}


.tabs,
.tabs button {
    background-color: var(--cream-color);
}

.tabs {
    width: 100%;
    padding: .5rem 2rem;
    padding-left: 5rem;
    display: flex;
    padding-top: 2.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 100;
    overflow: auto;
    text-align: center;
    margin-bottom: 1rem;
}

.image img {
    height: 1.5rem;
}

.tabs button {
    outline: none;
    width: max-content;
    padding: 1rem 1.5rem;
    border: none;
    color: var(--dark-red-color);
    box-shadow: none;
    border-radius: 0;
    text-transform: capitalize;
    font-size: medium;
    font-weight: 700;
    transition: all 100ms;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    cursor: pointer;
    align-items: center;
}

.tabs button span {
    vertical-align: middle;
    height: 100%;
    width: max-content;
}

.tabs button:active {
    transform: none;
}

.tabs button:hover {
    color: #282828
}

.tabs .active {
    color: var(--dark-red-color);
    box-shadow: 2px 2px black;
    position: relative;
    box-shadow: 0 3px var(--cream-color);
    border-top: 2px solid var(--dark-red-color);

}

.cards {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.card {
    background: #fff;
    color: var(--dark-red-color);
    border-radius: 0.8rem;
    width: 22rem;
    box-shadow: -5px 5px 15px 1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    background: #54788039;
}

.packages .card {
    height: 45rem;
    position: relative;
    background: var(--light-rose-color);
    margin: 20px;
}

.subscribe .card {
    height: 35rem;
    position: relative;
    background: var(--light-rose-color);
    margin: 20px;
}

.subscribe .Subscription-card {
    height: 25rem;
    background-color: var(--dark-rose-color);
    color: var(--cream-color);
}

.Subscription-card .pack {
    color: var(--cream-color);
}

.card .btn-con {
    position: absolute;
    bottom: 2%;
}

.card:hover {
    background-color: var(--dark-red-color);
    color: white;

    .pack {
        color: white;
    }

    .bottom-bar {
        border-bottom: 2px solid #fff;
    }


}

.packages .card:hover .price-tag {
    color: white;
}

.card ul {
    margin: 1rem 2.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card ul li {
    list-style-type: none;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: .5rem 0;
}

ul li.price {
    font-size: 3rem;

    padding-bottom: 2rem;
}

.price-tag {
    font-size: 1rem;
    color: var(--dark-rose-color);
}

.btn {
    width: 100%;
    margin: 2rem;
    padding: .5rem 1rem;
    border-radius: 4px;
    border: none;
    color: white;
    box-shadow: 0 0 16px 8px rgba(213, 0, 0, 0.2);
    background: linear-gradient(to right, var(--dark-red-color) 22%, var(--dark-rose-color) 76%);
    cursor: pointer;
}

.bottom-bar {
    border-bottom: 2px solid var(--dark-red-color);
}


.pack {
    font-size: 30px;
    color: var(--dark-red-color);
}

@media (max-width: 280px) {
    .cards {
        margin: 0;
        display: flex;
    }

    .card {
        /* transform: scale(0.8); */
        margin-bottom: 1rem;
    }

}

@media (max-width: 337px) {
    .hero h1 {
        color: #4d5256;
        font-size: 3rem;
    }
}



.subscribe {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    justify-content: center;
    gap: 2rem;
    background: linear-gradient(to right, var(--light-rose-color), var(--dark-rose-color));
}

.subscribe h1 {
    margin-top: 40px;
    text-align: center;
    color: var(--cream-color);
}

.interior {
    width: 95%;
    text-align: center;
    padding-top: 2rem;
    margin: auto;
    margin-bottom: 50px;
}

.interior h1 {
    color: #4d5256;
}

.interior i b {
    color: rgb(84, 120, 128);
}

.table {
    width: 100%;
    border-spacing: 0;
    text-align: left;
    margin-block: 4rem;
}

.table th {
    font-weight: 300;
    font-size: 16px;
    color: #fff;
    line-height: 26px;
    padding: 18px 30px;
    text-align: center;
}

.table thead tr {
    background: var(--dark-marun);
}

.table td {
    font-weight: 300;
    font-size: 16px;
    text-align: center;
    line-height: 20px;
    text-transform: uppercase;
    padding: 13px;
}

.table tbody tr:nth-child(odd) {
    background-color: #f2f2f2;

}

.table tbody tr:nth-child(even) {
    background: #ffffff;
    border: 5px solid rgba(0, 0, 0, 0.07);
}

.table__wrapper {
    padding-top: 40px;
}

.table tbody tr:hover {
    background-color: var(--dark-rose-color);
    color: #fff;
}

/* Style for buttons */
.btn {
    display: inline-block;
    text-align: center;
    border-radius: 3px;
    text-decoration: none;
    width: 10rem;
    margin: 1rem;
}

/* Media styles for table */
@media (max-width: 768px) {


    .table td {
        display: block;
        text-align: right;
        height: 2rem;

    }

    .table td:before {
        content: attr(data-label);
        float: left;
        text-transform: uppercase;
        font-weight: bold;
        position: absolute;
        left: 2rem;

    }

    .table thead {
        display: none;
    }

    .table tr {
        display: block;
        padding: 1rem 2rem 1rem;
        margin-top: 1rem;
        border-radius: 5px;
    }

    .btn {
        margin: 0;
    }

    .tabs {
        padding-left: 0;
        justify-content: left;
    }

    .hero h1 {
        color: #fff;
        font-size: 3rem;
    }
}

@media (max-width: 830px) {
    .card .btn-con {
        position: relative;
    }

    .card {
        height: auto !important;
    }
}

@media (max-width: 400px) {
    .subscribe .card {
        width: 86%;
    }

    #subscription {
        font-size: 2rem;
    }
}


@media (max-width: 980px) {

    .table {
        width: 90%;

        margin: auto;
    }

    .table td {
        display: block;
        text-align: right;
        height: 2rem;

    }

    .table td:before {
        content: attr(data-label);
        float: left;
        text-transform: uppercase;
        font-weight: bold;
        position: relative;
        left: 0rem;
        margin-right: 20px;
    }

    .table thead {
        display: none;
    }

    .table tr {
        display: block;
        padding: 1rem 2rem 1rem;
        margin-top: 1rem;
        border-radius: 5px;
    }

    .btn {
        margin: 0;
    }

    .extra-margin {
        margin-bottom: 25px;
    }


}

@media (max-width: 645px) {
    .extra-margin-645 {
        margin-bottom: 25px;
    }
}

@media (max-width: 448px) {
    .table tr {

        padding: 20px 10px;

    }

    .extra-margin {
        margin-bottom: 35px;
    }
}

@media (max-width: 390px) {
    .table {
        width: 95%;
        margin: auto;
    }

    .table tr {

        padding: 1rem 10px 1rem;
        margin-top: 1rem;

    }

    .table td:before {

        margin-right: 0px;
        font-size: 14px;
    }

    .table td {

        font-size: 14px;
    }
}

.btn-nav {
    width: 100%;
    margin: 2rem;
    padding: .5rem 1rem;
    border-radius: 4px;
    border: none;
    color: white;
    box-shadow: 0 0 16px 8px rgba(213, 0, 0, 0.2);
    background: linear-gradient(to right, var(--dark-red-color) 22%, var(--dark-rose-color) 76%);
    cursor: pointer;
}

.input-container button {
    width: 100%;
    margin: 2rem;
    padding: .5rem 1rem;
    border-radius: 4px;
    border: none;
    color: white;
    box-shadow: 0 0 16px 8px rgba(213, 0, 0, 0.2);
    background: linear-gradient(to right, var(--dark-red-color) 22%, var(--dark-rose-color) 76%);
    cursor: pointer;
}

.input-container {
    position: fixed;
    bottom: 1rem;
    right: 3rem;
    width: 8rem;
}