/* Pricing Evolution Slider Widget Styles */

.noxx-pricing-evolution-slider-widget {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.noxx-pricing-evolution-header {
    text-align: center;
    margin-bottom: 80px;
}

.noxx-pricing-evolution-title {
    color: #12153A !important;
    text-align: center !important;
    font-feature-settings: 'liga' off !important;
    font-family: "Open Sans" !important;
    font-size: 60.185px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 75.231px !important; /* 125% */
    letter-spacing: -1.505px !important;
}

.noxx-pricing-evolution-description {
    color: #12153A !important;
    text-align: center !important;
    font-feature-settings: 'liga' off !important;
    font-family: "Open Sans" !important;
    font-size: 26.08px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    max-width: 1120px !important;
}

.noxx-pricing-evolution-slider {
    position: relative;
    padding: 0;
    height: 1200px; /* Fixed height container */
}

.noxx-pricing-evolution-card {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 50px 60px;
    border-radius: 16px;
    box-shadow: 19.058px 19.058px 95.292px 0px rgba(44, 60, 80, 0.10);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    overflow: hidden; /* Hide overflow for SVG positioning */
    cursor: pointer;
    transition: top 0.7s ease, width 0.7s ease, transform 0.7s ease, color 0.7s ease;
}

/* Gradient overlay for smooth transitions */
.noxx-pricing-evolution-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(225deg, #2BADFF -28.99%, #01346C 63.38%);
    opacity: 0;
    transition: opacity 0.7s ease;
    z-index: 1;
    border-radius: 16px;
    pointer-events: none;
}

/* Position classes with exact TOP positioning and different widths */
.noxx-pricing-evolution-card.pos1 {
    top: 0;
    width: 801px; /* 90% of the max width */
    background-color: #F9F9F9;
    z-index: 2;
    transform: scale(1);
}

.noxx-pricing-evolution-card.pos2 {
    top: 240px;
    width: 801px; /* 95% of the max width */
    background-color: #F9F9F9; /* Base color */
    z-index: 4; /* Highest z-index for active card */
    transform: scale(1.1);
    transition: transform 0.7s ease;
}

.noxx-pricing-evolution-card.pos3 {
    top: 575px;
    width: 801px; /* Same as pos1 - 90% of the max width */
    background-color: #F9F9F9;
    z-index: 3;
    transform: scale(1); /* Same as pos1 */
}

/* Show gradient for pos2 (active card) */
.noxx-pricing-evolution-card.pos2:before {
    opacity: 1;
}

/* Card background SVG positioning */
.noxx-pricing-evolution-card-bg {
    position: absolute;
    left: 0;
    width: 100%;
    height: 80%;
    z-index: 1;
}
.noxx-pricing-evolution-card-bg svg path {
    fill: silver !important;
    opacity: .2;
}
.noxx-pricing-evolution-card.pos2 .noxx-pricing-evolution-card-bg svg path {
    fill: #2BADFF !important;
    opacity: .2;
}
.noxx-pricing-evolution-card-bg svg,
.noxx-pricing-evolution-card-bg img {
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    width: auto;
    max-height: 100% !important; /* Fixed max height as requested */
    max-width: 75% !important;
    object-fit: contain;
    object-position: left center;
}

/* Card Content Styles */
.noxx-pricing-evolution-card-content {
    flex: 0 0 55%;
    max-width: 55%;
    position: relative;
    z-index: 2; /* Above the background SVG */
}

.noxx-pricing-evolution-card-header {
    margin-bottom: 20px;
}

.noxx-pricing-evolution-card-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
    color: #12153A;
    transition: color 0.7s ease;
}

.noxx-pricing-evolution-card-years {
    font-size: 24px;
    line-height: 1.2;
    margin-top: 10px;
    color: #12153A;
    transition: color 0.7s ease;
}

.noxx-pricing-evolution-card-description {
    font-size: 20px;
    line-height: 1.5;
    margin-top: 20px;
    color: #4D5F6F;
    transition: color 0.7s ease;
}


.noxx-pricing-evolution-features {
    flex: 0 0 45%;
    max-width: 45%;
    position: relative;
    z-index: 2; /* Above the background SVG */
}

.noxx-pricing-evolution-feature {
    margin-bottom: 30px;
}

.noxx-pricing-evolution-feature-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #12153A;
    transition: color 0.7s ease;
}

.noxx-pricing-evolution-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.noxx-pricing-evolution-feature-item {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    color: #4D5F6F;
    transition: color 0.7s ease;
}

.noxx-pricing-evolution-feature-item:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    transition: color 0.7s ease;
}

/* pos2 text colors - using !important to ensure they override */
.noxx-pricing-evolution-card.pos2 .noxx-pricing-evolution-card-title,
.noxx-pricing-evolution-card.pos2 .noxx-pricing-evolution-card-years,
.noxx-pricing-evolution-card.pos2 .noxx-pricing-evolution-feature-title,
.noxx-pricing-evolution-card.pos2 .noxx-pricing-evolution-card-description,
.noxx-pricing-evolution-card.pos2 .noxx-pricing-evolution-feature-item {
    color: #FFFFFF !important;
}

.noxx-pricing-evolution-card.pos2 .noxx-pricing-evolution-feature-item:before {
    color: #FFFFFF !important;
}

.noxx-pricing-evolution-card-bg {
    position: absolute;
}

/* Transition classes for special animations */
.noxx-pricing-evolution-card.pos3-to-pos1 {
    transition: transform 0.7s ease, width 0.7s ease, top 0.25s ease, color 0.7s ease;
    top: 0; /* Fast transition to top */
    transform: scale(1);
    width: 801px;
    background-color: #F9F9F9;
    z-index: 2;
}

/* Ensure gradient is gone from pos3-to-pos1 */
.noxx-pricing-evolution-card.pos3-to-pos1:before {
    opacity: 0;
}

/* New intermediate position for pos3 going below new pos3 */
.noxx-pricing-evolution-card.pos3-below {
    transition: top 0.7s ease, width 0.7s ease, transform 0.7s ease, color 0.7s ease;
    top: 890px; /* Position below pos3 */
    width: 801px;
    transform: scale(1);
    background-color: #F9F9F9;
    z-index: 1; /* Below other cards */
}

/* Ensure gradient is gone */
.noxx-pricing-evolution-card.pos3-below:before {
    opacity: 0;
}

.noxx-pricing-evolution-card.pos1-to-pos3 {
    transition: transform 0.7s ease, width 0.7s ease, top 0.7s ease, color 0.7s ease;
    transform: scale(1.05);
    width: 890px;
    z-index: 4;
}

/* Show gradient for pos1-to-pos3 transition */
.noxx-pricing-evolution-card.pos1-to-pos3:before {
    opacity: 1;
}

/* Add specific text color transitions for transition classes - with !important */
.noxx-pricing-evolution-card.pos1-to-pos3 .noxx-pricing-evolution-card-title,
.noxx-pricing-evolution-card.pos1-to-pos3 .noxx-pricing-evolution-card-years,
.noxx-pricing-evolution-card.pos1-to-pos3 .noxx-pricing-evolution-feature-title,
.noxx-pricing-evolution-card.pos1-to-pos3 .noxx-pricing-evolution-card-description,
.noxx-pricing-evolution-card.pos1-to-pos3 .noxx-pricing-evolution-feature-item {
    color: #FFFFFF !important;
    transition: color 0.7s ease;
}

.noxx-pricing-evolution-card.pos1-to-pos3 .noxx-pricing-evolution-feature-item:before {
    color: #FFFFFF !important;
    transition: color 0.7s ease;
}

/* Ensure text color transitions back to original when leaving pos3 */
.noxx-pricing-evolution-card.pos3-to-pos1 .noxx-pricing-evolution-card-title,
.noxx-pricing-evolution-card.pos3-to-pos1 .noxx-pricing-evolution-card-years,
.noxx-pricing-evolution-card.pos3-to-pos1 .noxx-pricing-evolution-feature-title {
    color: #12153A !important;
    transition: color 0.7s ease;
}

.noxx-pricing-evolution-card.pos3-to-pos1 .noxx-pricing-evolution-card-description,
.noxx-pricing-evolution-card.pos3-to-pos1 .noxx-pricing-evolution-feature-item {
    color: #4D5F6F !important;
    transition: color 0.7s ease;
}

.noxx-pricing-evolution-card.pos3-to-pos1 .noxx-pricing-evolution-feature-item:before {
    color: #4D5F6F !important;
    transition: color 0.7s ease;
}

/* Same for pos3-below class */
.noxx-pricing-evolution-card.pos3-below .noxx-pricing-evolution-card-title,
.noxx-pricing-evolution-card.pos3-below .noxx-pricing-evolution-card-years,
.noxx-pricing-evolution-card.pos3-below .noxx-pricing-evolution-feature-title {
    color: #12153A !important;
    transition: color 0.7s ease;
}

.noxx-pricing-evolution-card.pos3-below .noxx-pricing-evolution-card-description,
.noxx-pricing-evolution-card.pos3-below .noxx-pricing-evolution-feature-item {
    color: #4D5F6F !important;
    transition: color 0.7s ease;
}

.noxx-pricing-evolution-card.pos3-below .noxx-pricing-evolution-feature-item:before {
    color: #4D5F6F !important;
    transition: color 0.7s ease;
}

h3.noxx-pricing-evolution-card-title {
    font-family: Poppins !important;
    font-size: 44px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
    margin-bottom: -15px !important;
}
.noxx-pricing-evolution-card-years {
    margin-top: 10px !important;
    transition: color 0.7s ease !important;
    font-family: Poppins !important;
    font-size: 38px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
}
h4.noxx-pricing-evolution-feature-title {
    font-family: Poppins !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 29.7px !important;
}
li.noxx-pricing-evolution-feature-item {
    font-family: Poppins !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 29.7px !important;
}
.noxx-pricing-evolution-card-description {
    max-width: 340px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .pos3-below{
        max-width: 90% !important;
    }
    .noxx-pricing-evolution-title {
        font-size: 36px !important;
    }

    .noxx-pricing-evolution-card {
        padding: 40px;
        flex-direction: column;
    }

    .noxx-pricing-evolution-card-content,
    .noxx-pricing-evolution-features {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .noxx-pricing-evolution-card-content {
        margin-bottom: 30px;
    }

    .noxx-pricing-evolution-slider {
        height: 1280px;
    }

    .noxx-pricing-evolution-card.pos1 {
        width: 85%;
    }

    .noxx-pricing-evolution-card.pos2 {
        top: 300px;
        width: 90%;
    }

    .noxx-pricing-evolution-card.pos3 {
        top: 600px;
        width: 95%;
    }
    
    h3.noxx-pricing-evolution-card-title {
        font-size: 36px !important;
    }
    
    .noxx-pricing-evolution-card-years {
        font-size: 30px !important;
    }
    
    .noxx-pricing-evolution-card-description {
        font-size: 18px !important;
    }
    
    h4.noxx-pricing-evolution-feature-title {
        font-size: 16px !important;
        line-height: 26px !important;
    }
    
    li.noxx-pricing-evolution-feature-item {
        font-size: 16px !important;
        line-height: 26px !important;
    }
}

@media (max-width: 767px) {
    .noxx-pricing-evolution-header {
        margin-bottom: 50px;
    }

    .noxx-pricing-evolution-title {
        font-size: 28px !important;
    }

    .noxx-pricing-evolution-description {
        font-size: 16px !important;
    }

    .noxx-pricing-evolution-card {
        padding: 30px 20px !important;
    }

    h3.noxx-pricing-evolution-card-title {
        font-size: 28px !important;
        margin-bottom: -10px !important;
    }

    .noxx-pricing-evolution-card-years {
        font-size: 24px !important;
        margin-top: 8px !important;
    }
    
    .noxx-pricing-evolution-card-description {
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin-top: 15px !important;
    }

    h4.noxx-pricing-evolution-feature-title {
        font-size: 15px !important;
        line-height: 22px !important;
        margin-bottom: 10px !important;
    }
    
    li.noxx-pricing-evolution-feature-item {
        font-size: 14px !important;
        line-height: 22px !important;
        margin-bottom: 8px !important;
    }

    .noxx-pricing-evolution-slider {
        height: 1280px;
    }

    .noxx-pricing-evolution-card.pos1 {
        width: 80%;
    }

    .noxx-pricing-evolution-card.pos2 {
        top: 350px;
        width: 85%;
    }

    .noxx-pricing-evolution-card.pos3 {
        top: 700px;
        width: 90%;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .noxx-pricing-evolution-title {
        font-size: 24px !important;
    }

    .noxx-pricing-evolution-description {
        font-size: 14px !important;
    }

    .noxx-pricing-evolution-card {
        padding: 20px 15px !important;
    }

    h3.noxx-pricing-evolution-card-title {
        font-size: 24px !important;
    }

    .noxx-pricing-evolution-card-years {
        font-size: 20px !important;
    }
    
    .noxx-pricing-evolution-card-description {
        font-size: 14px !important;
    }

    h4.noxx-pricing-evolution-feature-title {
        font-size: 14px !important;
        line-height: 20px !important;
    }
    
    li.noxx-pricing-evolution-feature-item {
        font-size: 13px !important;
        line-height: 20px !important;
        padding-left: 15px !important;
    }
    
    .noxx-pricing-evolution-feature {
        margin-bottom: 20px !important;
    }
}

/* Mobile Styles */
@media screen and (max-width: 767px) {
    .noxx-pricing-evolution-slider-widget {
        padding: 20px 15px;
    }

    .noxx-pricing-evolution-title {
        font-size: 32px !important;
        line-height: 1.3 !important;
        letter-spacing: -0.5px !important;
    }

    .noxx-pricing-evolution-description {
        font-size: 16px !important;
    }

    .noxx-pricing-evolution-slider {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .noxx-pricing-evolution-card {
        position: relative !important;
        width: 100% !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        opacity: 1 !important;
        margin: 0 !important;
        padding: 30px 20px !important;
        transition: none !important;
    }

    .noxx-pricing-evolution-card.pos1,
    .noxx-pricing-evolution-card.pos2,
    .noxx-pricing-evolution-card.pos3 {
        transform: none !important;
        z-index: 1 !important;
        background-color: #F9F9F9 !important;
    }
    li.noxx-pricing-evolution-feature-item {
        font-size: 12px !important;
        line-height: 16px !important;
        padding-left: 10px !important;
        margin-left: 10px;
    }
    h4.noxx-pricing-evolution-feature-title {
        font-size: 12px !important;
        line-height: normal !important;
        font-weight: 700 !important;
    }
    html body h3.noxx-pricing-evolution-card-title, html body .noxx-pricing-evolution-card-years {
        font-size: 16px !important;
        font-style: normal !important;
        font-weight: 700 !important;
        line-height: normal !important;
    }
    .noxx-pricing-evolution-card {
        display: flex;
        flex-direction: row !important;
        flex-wrap: nowrap;
    }
    .noxx-pricing-evolution-card-content {
        max-width: 145px !important;
        margin-right: 10px !important;
    }
    .noxx-pricing-evolution-card-header {
        margin-bottom: 8px !important;
    }
    .noxx-pricing-evolution-card-description {
        margin-top: 0px !important;
    }
    .noxx-pricing-evolution-features {
        max-width: calc(100% - 157px) !important;
    }
    .noxx-pricing-evolution-slider-widget {
        padding-bottom: 70px !important;
    }
} 