@import './IndexStyle.css';

.payment-plans-container{
    width: 100%;
    max-width: 2600px;
}

.programs-items-div{
    position: relative;
    width: min(1680px, 80%);
    margin: 0 auto;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 5%;
}

.payment-plans-header-wrapper{
    margin: 0 auto;
    margin-bottom: 3%;
    width: min(1680px, 80%);
}

.payment-plans-header{
    background-color: var(--primary-color);
    padding: 1% 1.5%;
    width: 30%;
    border: solid 4px hsla(201 100% 39% / 1);
    box-shadow: inset 0rem 0rem 0.5em 0.5em hsl(201 100% 29% / 1);
    border-radius: 0.5em;

    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.5s ease-out, opacity 0.3s ease-out;
}

.payment-plans-header.in-view{
    transform: translateX(0);
    opacity: 1;
}

.payment-plans-header h2{
    font-family: var(--main-font);
    font-size: 1.6rem;
    color: whitesmoke;
    font-weight: 600;
}



.programs-container{
    font-family: var(--main-font);
}

.programs-recommended-div{
    position: absolute;
    z-index: 3;
    left: 50%;
    top: -4%;
    transform: translateX(-50%);
    display: flex;
    background-color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 2em;
}

.programs-recommended-div span{
    color: hsl(var(--secondary-color-hue), var(--secondary-color-saturation), calc(var(--secondary-color-lightness) - 30%));
    font-weight: 700;
    font-size: 1.1rem;
}

.programs-wrapper{
    position: relative;
    width: 100%;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.5s ease-out, opacity 0.3s ease-out;
}

.programs-wrapper.in-view {
    transform: translateX(0);
    opacity: 1;
}


.programs-item-outer{
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.5em;
    padding: 1%;
    height: 100%;
}
/* 
.programs-item-outer::before{
    content: '';
    position: absolute;
    z-index: 1;
    left: -122%;
    top: -80%;
    width: 350%;
    height: 250%;
    background-color: hsla(201 100% 39% / 1);
    background-repeat: no-repeat;
    background-size: 50% 50%, 50% 50%;
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    background-image: linear-gradient(rgb(129, 186, 216), hsla(201 100% 39% / 1)), linear-gradient(var(--secondary-color-light-10), var(--secondary-color-light-10)), linear-gradient(hsla(201 100% 39% / 1), hsla(201 100% 39% / 1)), linear-gradient(hsla(201 100% 39% / 1), hsla(201 100% 39% / 1));
    animation: rotate 10s linear infinite;
} */


@keyframes rotate {
    100% {
      transform: rotate(1turn);
    }
  }

.programs-item-outer:nth-child(1){
&::before {
    background-image: none;
}
}



.programs-item{
    position: relative;
    z-index: 2;
    background-color: var(--primary-color);
    border-radius: 0.3em;
    color: whitesmoke;
	border: solid 4px hsla(201 100% 39% / 1);
    height: 100%;
    box-shadow: inset 0rem 0rem 0.5em 0.5em hsl(201 100% 29% / 1);

    display: flex;
    flex-direction: column; /* Stack the elements vertically */
}


.programs-header-wrapper{
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    padding: 4% 0;
    padding-top: 3%;
    min-height: 150px;
}

.programs-item-header{
    text-align: center;
}

.programs-item-header h3{
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
}


.programs-item-info-text{
    text-align: center;
    margin: 0 7.5%;
}

.programs-item-info-text p{
    font-weight: 400;
    font-size: 1.1rem;
}


.programs-item-details-div{
    flex: 1;
    position: relative;
    padding: 6% 0;
}

#update-plans .programs-item-outer::before{
    background-image: none;
}

#update-plans .programs-item-details-div{
    flex: 1;
    position: relative;
    padding: 6% 0;
}

.programs-item-details-div::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    background-color: whitesmoke;
}

.programs-item-details-div::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    top: 0;
    background-color: whitesmoke;
}

.programs-item-detail-content-list{
    display: flex;
    flex-direction: column;
}

.programs-item-detail-content{
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 7%;
    gap: 5%;
    margin-bottom: 8%;
}

.programs-item-detail-content:last-child{
    margin-bottom: 0;
}

.programs-item-detail-content span{
    font-weight: 500;
    font-size: 1.25rem;
}

.programs-item-detail-content img{
    width: 35px;
	flex-shrink: 0;
}


.programs-item-pricing{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 3% 0;
}

.programs-item-pricing span:nth-of-type(1){
    font-size: 1.4rem;
}

.programs-item-pricing span{
    font-weight: 400;
    font-size: 1.2rem;
}


@media screen and (max-width: 1680px){
    
.payment-plans-container{
    margin-top: 10vh;
    width: 100%;
    max-width: 2600px;
}

.programs-items-div{
    position: relative;
    width: min(1680px, 80%);
    margin: 0 auto;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 4%;
}

.payment-plans-header-wrapper{
    margin: 0 auto;
    margin-bottom: 3%;
    width: min(1680px, 80%);
}

.payment-plans-header{
    background-color: var(--primary-color);
    padding: 1% 1.5%;
    width: 30.5%;
    border: solid 4px hsla(201 100% 39% / 1);
    border-radius: 0.5em;
}

.payment-plans-header h2{
    font-family: var(--main-font);
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    color: whitesmoke;
}



.programs-container{
    font-family: var(--main-font);
}

.programs-recommended-div{
    position: absolute;
    z-index: 3;
    left: 50%;
    top: -2.5%;
    transform: translateX(-50%);

    background-color: var(--secondary-color);
    padding: 1px 10px;
    line-height: 1.5;
    border-radius: 2em;
}

.programs-recommended-div span{
    color: hsl(var(--secondary-color-hue), var(--secondary-color-saturation), calc(var(--secondary-color-lightness) - 30%));
    font-weight: 700;
    font-size: clamp(0.7rem, 0.9vw, 0.85rem);
}

.programs-wrapper{
    position: relative;
    width: 100%;
}

.programs-item-outer{
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.5em;
    padding: 1%;
    height: 100%;
}

.programs-item-outer::before{
    content: '';
    position: absolute;
    z-index: 1;
    left: -122%;
    top: -80%;
    width: 350%;
    height: 250%;
    background-color: hsla(201 100% 39% / 1);
    background-repeat: no-repeat;
    background-size: 50% 50%, 50% 50%;
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    background-image: linear-gradient(hsla(201 100% 39% / 1), hsla(201 100% 39% / 1)), linear-gradient(hsla(201 100% 39% / 1), hsla(201 100% 39% / 1)), linear-gradient(hsla(201 100% 39% / 1), hsla(201 100% 39% / 1));
    animation: rotate 10s linear infinite;
    animation: none;
}


@keyframes rotate {
    100% {
      transform: rotate(1turn);
    }
  }

.programs-item-outer:nth-child(1){
&::before {
    background-image: none;
}
}



.programs-item{
    position: relative;
    z-index: 2;
    background-color: var(--primary-color);
    border-radius: 0.3em;
	border: solid 1px hsla(201 100% 39% / 1);
    color: whitesmoke;
    height: 100%;
    display: flex;
    flex-direction: column; /* Stack the elements vertically */
}


.programs-header-wrapper{
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    padding: 4% 0;
    padding-top: 3%;
    min-height: 100px;
}

.programs-item-header{
    text-align: center;
}

.programs-item-header h3{
    text-transform: uppercase;
    font-weight: 900;
    font-size: clamp(1.1rem, 1.35vw, 1.4rem);
    letter-spacing: 0.05em;
}


.programs-item-info-text{
    text-align: center;
    margin: 0 7.5%;
}

.programs-item-info-text p{
    font-weight: 400;
    font-size: clamp(0.85rem, 1.05vw, 1rem);
}


.programs-item-details-div{
    flex: 1;
    position: relative;
    padding: 6% 0;
}

#update-plans .programs-item-outer::before{
    background-image: none;
}

#update-plans .programs-item-details-div{
    flex: 1;
    position: relative;
    padding: 6% 0;
}

.programs-item-details-div::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    background-color: whitesmoke;
}

.programs-item-details-div::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    top: 0;
    background-color: whitesmoke;
}

.programs-item-detail-content-list{
    display: flex;
    flex-direction: column;
}

.programs-item-detail-content{
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 7%;
    gap: 4%;
    margin-bottom: 8%;
}

.programs-item-detail-content:last-child{
    margin-bottom: 0;
}

.programs-item-detail-content span{
    font-weight: 500;
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
}

.programs-item-detail-content img{
    width: 10%;
}


.programs-item-pricing{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 3% 0;
}

.programs-item-pricing span:nth-of-type(1){
    font-size: clamp(1rem, 1.2vw, 1.2rem);
}
}

@media screen and (max-width: 1280px){


    .programs-header-wrapper{
        display: flex;
        flex-direction: column;
        gap: 0.3em;
        padding: 4% 0;
        padding-top: 3%;
        min-height: 125px;
    }

    .payment-plans-header{
        background-color: var(--primary-color);
        padding: 1% 1.5%;
        width: 30%;
        border: solid 3px hsla(201 100% 39% / 1);
        border-radius: 0.3em;
    }

    .payment-plans-header h2{
        font-family: var(--main-font);
        font-size: 1.05rem;
        color: whitesmoke;
    }
    
.programs-item-outer{
    border-radius: 0.3em;
}

.programs-item-outer::before{
    background-image: linear-gradient(hsla(201 100% 39% / 1), hsla(201 100% 39% / 1)), linear-gradient(hsla(201 100% 39% / 1), hsla(201 100% 39% / 1)), linear-gradient(hsla(201 100% 39% / 1), hsla(201 100% 39% / 1));
    animation: none;
}

.programs-item{
    border-radius: 0.2em;
}
}

@media screen and (max-width: 1024px){
    .payment-plans-header{
        border: solid 2.5px hsla(201 100% 39% / 1);
    }
    
}

@media screen and (max-width: 800px){
.programs-items-div{
    position: relative;
    width: 90%;
    margin: 0 auto;
    height: fit-content;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5%;
}


.payment-plans-header-wrapper{
    margin: 0 auto;
    margin-bottom: 3%;
    width: 90%;
}

.payment-plans-header{
    background-color: var(--primary-color);
    padding: 3% 0%;
    width: 100%;
    border: solid 0.4em hsla(201 100% 39% / 1);
    border-radius: 0.5em;
}

.payment-plans-header h2{
    text-align: center;
    font-family: var(--main-font);
    font-size: clamp(1rem, 3.8vw, 1.8rem);
    color: whitesmoke;
}



.programs-container{
    font-family: var(--main-font);
}

.programs-recommended-div{
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 5px;
    transform: translateX(-50%);
    padding: 0.25em 1em;

    background-color: var(--secondary-color);
    border-radius: 2em;
}

.programs-recommended-div span{
    color: hsl(var(--secondary-color-hue), var(--secondary-color-saturation), calc(var(--secondary-color-lightness) - 30%));
    font-weight: 700;
    font-size: clamp(0.7rem, 2.7vw, 1.4rem);
}

.programs-wrapper{
    position: relative;
    width: 100%;
}

.programs-item-outer{
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.5em;
    padding: 0.8%;
    margin: 5% 0;
}

.programs-item-outer::before{
    content: '';
    position: absolute;
    z-index: 1;
    left: -122%;
    top: -80%;
    width: 350%;
    height: 250%;
    background-repeat: no-repeat;
    background-size: 50% 50%, 50% 50%;
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    background-image: linear-gradient(hsla(201 100% 39% / 1), hsla(201 100% 39% / 1)), linear-gradient(var(--secondary-color-light-10), var(--secondary-color-light-10)), linear-gradient(hsla(201 100% 39% / 1), hsla(201 100% 39% / 1)), linear-gradient(hsla(201 100% 39% / 1), hsla(201 100% 39% / 1));
    animation: rotate 10s linear infinite;
}


@keyframes rotate {
    100% {
      transform: rotate(1turn);
    }
  }

.programs-item-outer:nth-child(1){
&::before {
    background-image: none;
}
}



.programs-item{
    position: relative;
    z-index: 2;
    background-color: var(--primary-color);
    border-radius: 0.3em;
    color: whitesmoke;
    height: 100%;
}


.programs-header-wrapper{
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    padding: 4% 0;
    padding-top: 3%;
}

.programs-item-header{
    text-align: center;
}

.programs-item-header h3{
    text-transform: uppercase;
    font-weight: 900;
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    letter-spacing: 0.05em;
}


.programs-item-info-text{
    text-align: center;
    margin: 0 7.5%;
}

.programs-item-info-text p{
    font-weight: 500;
    font-size: clamp(0.8rem, 2.8vw, 1.3rem);
}




.programs-item-details-div{
    position: relative;
    padding: 6% 0;
}

.programs-item-details-div::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 0.23em;
    bottom: 0;
    background-color: whitesmoke;
}

.programs-item-details-div::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 0.19em;
    top: 0;
    background-color: whitesmoke;
}

.programs-item-detail-content-list{
    display: flex;
    flex-direction: column;
    gap: 3em;
}

.programs-item-detail-content{
    display: flex;
    align-items: center;
    margin: 0 7%;
    gap: 5%;
}

.programs-item-detail-content span{
    font-weight: 500;
    font-size: clamp(0.9rem, 2.9vw, 1.5rem);
}

.programs-item-detail-content img{
    width: 9%;
}


.programs-item-pricing{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 4% 0;
}

.programs-item-pricing span:nth-of-type(1){
    font-size: clamp(0.95rem, 3vw, 1.5rem);
}

.programs-item-pricing span{
    font-weight: 400;
    font-size: clamp(0.9rem, 2.6vw, 1.3rem);
}

}

@media screen and (max-width: 500px){
    .programs-header-wrapper{
        display: flex;
        flex-direction: column;
        gap: 0.5em;
        padding: 4% 0;
        padding-top: 2.5%;
        min-height: 100px;
    }

    .payment-plans-header{
        border: solid 0.2em hsla(201 100% 39% / 1);
        border-radius: 0.4em;
    }

    .programs-recommended-div{
        position: absolute;
        z-index: 3;
        left: 50%;
        top: -1px;
        transform: translateX(-50%);
        padding: 0.5% 2%;
    
        background-color: var(--secondary-color);
        border-radius: 2em;
    }
    
    .programs-item-details-div::after{
        height: 0.15em;
    }
    
    .programs-item-details-div::before{
        height: 0.15em;
    }

    .programs-item-detail-content-list{
        gap: 2.5em;
    }

    .programs-item-detail-content{
        gap: 4%;
    }

    .programs-item-detail-content img{
        width: 8%;
    }

    .programs-item-pricing{
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 3% 0;
    }
}