
/****************
Tabs Section
*********************/

.fa-tabs-section {
    padding: 80px 0 80px;
    background-color: #fff;
}

.fa-tabs-header {
    text-align: center;
    margin-bottom: 40px;
}

.fa-tabs-header h2 {
    font-size: 38px;
    line-height: 50px;
    color: #31216B;
    font-weight: 800;
    margin: 0 0 16px;
}

.fa-tabs-subtitle {
    max-width: 720px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    color: #31216A;
}

.fa-tabs-nav {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    border-bottom: 1px solid #E4E2EE;
    max-width: 1000px;
    margin: 0 auto 30px;
}

.fa-tabs-nav-item {
    position: relative;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0 25px 12px;
    margin: 0;
    font-family: inherit;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    color: rgba(49, 33, 107, 0.6);
    cursor: pointer;
    white-space: nowrap;
}

.fa-tabs-nav-item span {
    position: relative;
    display: inline-block;
}

.fa-tabs-nav-item.is-active {
    color: #31216B;
    font-weight: 700;
    border-bottom-color: #31216B;
}

.fa-tabs-nav-item.not_visited_item span:before {
    content: '';
    position: absolute;
    top: 5px;
    right: -24px;
    background-image: url(../../images/svg/red-dot.svg);
    width: 16px;
    height: 16px;
    background-size: cover;
    background-repeat: no-repeat;
}

.fa-tabs-nav-item.is-active span:before {
    display: none;
}

.fa-tabs-viewport {
    overflow: hidden;
    width: 100%;
    background-color: #F0ECF8;
    border-radius: 24px;
    transition: height 0.35s ease;
}

.fa-tabs-track {
    display: flex;
    align-items: flex-start;
    width: 100%;
    transition: transform 0.45s ease;
}

.fa-tabs-panel {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-self: flex-start;
}

.fa-tabs-panel-inner {
    padding: 30px 40px;
    min-height: 220px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.fa-tabs-panel-inner > * {
    width: 100%;
}

.fa-tabs-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.fa-tabs-dot {
    width: 28px;
    height: 6px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background-color: #E4E2EE;
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.fa-tabs-dot.is-active {
    width: 40px;
    background-color: #31216B;
}

@media screen and (max-width: 1040px) {
    .fa-tabs-section {
        padding: 60px 0 60px;
    }
    .fa-tabs-header h2 {
        font-size: 32px;
        line-height: 42px;
    }
    .fa-tabs-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        border-bottom: none;
        max-width: 100%;
        margin: 0 auto 30px;
    }
    .fa-tabs-nav-item {
        width: 100%;
        text-align: center;
        padding: 0 16px 12px;
        box-sizing: border-box;
        border-bottom: 2px solid #E4E2EE;
    }
    .fa-tabs-nav-item.is-active {
        border-bottom-color: #31216B;
    }
}

@media screen and (max-width: 650px) {
    .fa-tabs-header {
        margin-bottom: 28px;
    }
    .fa-tabs-header h2 {
        font-size: 28px;
        line-height: 38px;
    }
    .fa-tabs-viewport {
        border-radius: 16px;
    }
    .fa-tabs-panel-inner {
        padding: 24px 20px;
        min-height: 160px;
    }
    .fa-tabs-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .fa-tabs-section {
        padding: 50px 0;
    }
    .fa-tabs-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-bottom: 24px;
    }
    .fa-tabs-nav-item {
        width: 100%;
        text-align: left;
        white-space: normal;
        padding: 12px 25px 12px 0;
        border-bottom: 2px solid #E4E2EE;
    }
    .fa-tabs-nav-item.is-active {
        border-bottom-color: #31216B;
    }
    .fa-tabs-nav-item.not_visited_item span:before {
        top: 50%;
        transform: translateY(-50%);
        right: -20px;
    }
}

/****************
Tabs: List // CPs
*********************/

.fa-tabs-cps {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    align-items: center;
}

.fa-tabs-cps-left,
.fa-tabs-cps-right {
    flex: 1 1 0;
    min-width: 0;
}

.fa-tabs-cps-left .purple-badge {
    display: inline-block;
    background-color: #5E5CFF;
    color: #fff;
    font-size: 14px;
    line-height: 24px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 28px;
}

.fa-tabs-cps-left p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    color: #31216B;
    margin-bottom: 20px;
}

.fa-tabs-cps-left h3 {
    margin: 8px 0 16px;
    font-size: 24px;
    line-height: 32px;
    font-weight: 800;
    color: #31216B;
}

.fa-tabs-cps-left ul {
    margin: 8px 0 28px;
    padding: 0;
    list-style: none;
}

.fa-tabs-cps-left li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 26px;
    font-weight: 600;
    color: #31216B;
}

.open-modal{
    color:#1ebbf0;
    cursor: pointer;
}

.modal-main-holder {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    top: 0;
    right: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, .4);
}

.modal-main-holder.show_modal_popup_scroll_box {
    display: flex;
    pointer-events: auto !important;
}

.show_modal_popup_scroll_box > .modal-overlay {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    cursor: pointer;
}

.modal-left img {
    width: 100%;
    box-shadow: 0px 2px 10px 2px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
}

.modal-popup-main-holder {
    z-index: 999;
    max-width: 1000px;
    background-color: #fff;
    border-radius: 12px;
    width: 100%;
    position: relative;
    padding: 60px 60px 40px;
    box-sizing: border-box;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#modal-inf-holder {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}

.modal-left {
    width: 50%;
}

.modal-right {
    width: 50%;
    padding-left: 30px;
    box-sizing: border-box;
}

.modal-right p {
    font-size: 16px;
    line-height: 28px;
    color: #31216B;
}

.modal-right p:last-child {
    margin-bottom: 0;
}

.modal-title {
    font-size: 32px;
    line-height: 40px;
    color: #31216B;
    font-weight: 800;
    text-align: center;
    padding-bottom: 30px;
}

.modal-button {
    width: 34px;
    height: 34px;
    position: absolute;
    right: 25px;
    top: 25px;
    background-image: url(../../images/cancel-dark-white.svg) !important;
    background-position: 0 0;
    background-size: cover;
    cursor: pointer;
}

.modal-button-close {
    text-align: center;
    font-size: 16px;
    line-height: 28px;
    color: #31216B;
    text-decoration: underline;
    cursor: pointer;
}

@media screen and (max-width: 1060px) {
    .modal-title {
        padding-bottom: 20px;
    }

    .modal-popup-main-holder {
        max-width: 100%;
        margin: 0 30px;
        padding: 40px 30px 30px;
    }

    #modal-inf-holder {
        flex-direction: column;
        margin-bottom: 10px;
    }

    .modal-left {
        width: 100%;
        max-width: 350px;
    }

    .modal-right {
        width: 100%;
        padding: 20px 0 0;
    }
}

@media screen and (max-width: 480px) {
    .modal-popup-main-holder {
        margin: 0 10px;
        padding: 30px 20px 20px;
    }

    .modal-button {
        width: 22px;
        height: 22px;
        right: 20px;
        top: 20px;
    }

    .modal-title {
        font-size: 26px;
        line-height: 36px;
    }

    .modal-button-close,
    .modal-right p {
        font-size: 14px;
        line-height: 26px;
    }
}



.fa-tabs-cps-left li .fa-check {
    margin-top: 3px;
    background-color: rgba(52, 37, 104, 0.12);
    font-size: 13px;
    color:#31216B;
    width:22px;
    height: 22px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fa-tabs-cps-left .default-button {
  font-weight: 600;
  cursor: pointer;
}

.fa-tabs-cps-right-title {
    margin: 0px 0 16px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    color: #31216B;
    span{
        color:#1ebbf0;
        font-weight: 800;
    }
}

.fa-tabs-cps-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fa-tabs-cps-item {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    text-decoration: none;
}

.fa-tabs-cps-item-title {
    display: block;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    color: #31216B;
}

.fa-tabs-cps-item-meta {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #6D8097;
}

.fa-tabs-cps-item-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.fa-tabs-cps-item-stars {
    display: inline-flex;
    align-items: center;
    letter-spacing: -1px;
}

.fa-tabs-cps-item-stars i {
    font-size: 13px;
    color: #FFAB00;
}

.fa-tabs-cps-item-count {
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    color: #31216B;
}

.fa-tabs-cps-more {
    margin-top: 12px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    color: #31216B;
}

@media screen and (max-width: 1040px) {
    .fa-tabs-cps {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }
    .fa-tabs-cps-left,
    .fa-tabs-cps-right {
        flex: none;
        width: 100%;
    }
    .fa-tabs-cps-right-title {
        line-height: 28px;
    }
}

@media screen and (max-width: 650px) {
    .fa-tabs-cps {
        gap: 24px;
    }
    .fa-tabs-cps-left h3 {
        margin: 6px 0 12px;
    }
    .fa-tabs-cps-left p {
        margin-bottom: 16px;
    }
    .fa-tabs-cps-left ul {
        margin: 4px 0 20px;
    }
    .fa-tabs-cps-left li {
        margin-bottom: 10px;
    }
    .fa-tabs-cps-right-title {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 12px;
    }
}

@media screen and (max-width: 480px) {
    .fa-tabs-cps-left h3 {
        font-size: 22px;
        line-height: 30px;
    }
    .fa-tabs-cps-left p,
    .fa-tabs-cps-left li {
        font-size: 15px;
        line-height: 24px;
    }
    .fa-tabs-cps-list {
        gap: 8px;
    }
    .fa-tabs-cps-item {
        padding: 14px 16px;
        border-radius: 12px;
    }
    .fa-tabs-cps-item-title {
        font-size: 15px;
        line-height: 21px;
    }
    .fa-tabs-cps-more {
        margin-top: 10px;
        font-size: 13px;
        line-height: 20px;
    }
}

/****************
Tabs: List // Images
*********************/

.fa-tabs-images-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.fa-tabs-images-item {
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    line-height: 0;
}

.fa-tabs-images-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.fa-tabs-images-more {
    margin-top: 12px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    color: #31216B;
}

.fa-tabs-images-more a {
    color: #1ebbf0;
    font-weight: 600;
    text-decoration: none;
}

@media screen and (max-width: 650px) {
    .fa-tabs-images-grid {
        gap: 10px;
    }
    .fa-tabs-images-item {
        border-radius: 10px;
    }
    .fa-tabs-images-more {
        font-size: 13px;
        line-height: 20px;
        margin-top: 10px;
    }
}

@media screen and (max-width: 480px) {
    .fa-tabs-images-grid {
        gap: 8px;
    }
}

/****************
Tabs: List // Image
*********************/

.fa-tabs-image-media {
    line-height: 0;
}

.fa-tabs-image-media img {
    display: block;
    width: 100%;
    height: auto;
}

@media screen and (max-width: 1040px) {
    .fa-tabs-image-media {
        max-width: 560px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 650px) {
    .fa-tabs-image-media {
        max-width: none;
    }
}

/****************
Tabs: Three cards
*********************/

.fa-tabs-cards {
    width: 100%;
}

.fa-tabs-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.fa-tabs-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 24px 24px 28px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.fa-tabs-card-title {
    margin: 0 0 16px;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: #31216B;
    text-align:  center;
}

.fa-tabs-card-image {
    margin: 0 0 16px;
    line-height: 0;
}

.fa-tabs-card-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.fa-tabs-card-text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #31216B;
}

.fa-tabs-cards-button {
    margin-top: 28px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.fa-tabs-cards-button .default-button {
    font-weight: 600;
    cursor: pointer;
}

@media screen and (max-width: 1040px) {
    .fa-tabs-cards-grid {
        gap: 16px;
    }
    .fa-tabs-card {
        padding: 20px 20px 24px;
    }
    .fa-tabs-card-title {
        font-size: 18px;
        line-height: 26px;
    }
}

@media screen and (max-width: 900px) {
    .fa-tabs-cards-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
    .fa-tabs-cards-button {
        margin-top: 24px;
    }
}

@media screen and (max-width: 480px) {
    .fa-tabs-card {
        padding: 18px 18px 22px;
        border-radius: 12px;
    }
    .fa-tabs-card-title {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 12px;
    }
    .fa-tabs-card-image {
        margin-bottom: 12px;
    }
    .fa-tabs-card-text {
        font-size: 15px;
        line-height: 24px;
    }
    .fa-tabs-cards-button {
        margin-top: 20px;
    }
}

/****************
Tabs: 2 Cards
*********************/

.fa-tabs-cards--two .fa-tabs-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: none;
    margin: 0;
}

.fa-tabs-cards--two .fa-tabs-card {
    padding: 24px 28px 32px;
}

.fa-tabs-cards--two .fa-tabs-card-image {
    margin: 0 0 20px;
}

.fa-tabs-cards--two .fa-tabs-card-title {
    text-align: left;
    font-size: 24px;
    line-height: 32px;
    font-weight: 800;
    margin: 0 0 12px;
}

.fa-tabs-cards--two .fa-tabs-card-text {
    font-size: 16px;
    line-height: 26px;
}

@media screen and (max-width: 1040px) {
    .fa-tabs-cards--two .fa-tabs-card {
        padding: 20px 22px 26px;
    }
    .fa-tabs-cards--two .fa-tabs-card-title {
        font-size: 22px;
        line-height: 30px;
    }
}

@media screen and (max-width: 900px) {
    .fa-tabs-cards--two .fa-tabs-cards-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 480px) {
    .fa-tabs-cards--two .fa-tabs-card {
        padding: 18px 18px 22px;
    }
    .fa-tabs-cards--two .fa-tabs-card-title {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 10px;
    }
    .fa-tabs-cards--two .fa-tabs-card-image {
        margin-bottom: 16px;
    }
}
