/*
Theme Name: MyCena theme
Text Domain: www.mycena.co
Version: 1.1
Description: Style for page aniimation get start
Author : lookiiMobile
*/


.cards-container {
    position: relative;
    margin  : auto 0;
    padding : 2rem;
}

.card {
    height               : 38rem;
    border-radius        : 0.5rem;
    box-shadow           : -0.25rem 0.5rem 1.5rem 0 rgba(0, 0, 0, 0.15);
    position             : sticky;
    top                  : 8rem;
    display              : grid;
    grid-template-columns: 1fr 1.5fr;
    gap                  : 5rem;
    padding              : 0 5rem;
    margin-bottom        : 9rem;
    transform-origin     : center top;
    transition           : transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    -webkit-transition   : transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    -moz-transition      : transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    -ms-transition       : transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    -o-transition        : transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    border-color         : #b0c4e4;
    background-color     : #d9e3f2;
}

#card1 {
    margin-top: 10rem;
}

.card-content ol {
    margin-top   : 1.5rem !important;
    margin-bottom: 0 !important;
}

.card-content ol li {
    display        : list-item !important;
    list-style-type: decimal !important;
}

.card-content {
    display       : flex;
    flex-direction: column;
}

.card-title {
    margin     : 0;
    font-size  : 2rem !important;
    line-height: 1.5 !important;
}

.card-number {
    font-family: var(--font-title);
    font-weight: 700;
    font-size  : 1.5rem;
    color      : #1b1b1d;
}

.linkBleueget {
    color: #1b1b1d !important;
}

.linkBleueget:hover,
.linkBleueget:focus {
    color: #05478A !important;
}

.card-title,
.card-title sup {
    font-family            : var(--font-title);
    font-size              : 2.5rem;
    font-weight            : 600;
    background-image       : -webkit-linear-gradient(60deg, #5cc3ee 0%, #5d91ef 29%, #1b4ea6 50%, #7EADC2 73%, #ca97d2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-title sup {
    font-size: 2rem;
}

.card-description {
    font-size  : 1rem;
    line-height: 2;
    color      : #1b1b1d;
}

.card-image {
    text-align   : center;
    border-radius: 0.5rem;
    position     : relative;
}

.image {
    width    : auto;
    max-width: 250px;
}

.note {
    font-size: .85rem;
    color    : #000;
}

.navigation {
    position      : fixed;
    right         : 25%;
    top           : 50%;
    transform     : translateY(-50%);
    display       : flex;
    flex-direction: column;
    gap           : 1rem;
    z-index       : 100;
}

.nav-button {
    width           : 40px;
    height          : 40px;
    border          : none;
    border-radius   : 50%;
    background-color: white;
    box-shadow      : 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor          : pointer;
    display         : flex;
    align-items     : center;
    justify-content : center;
    transition      : all 0.3s ease;
}

.nav-button:disabled {
    opacity   : 0.3;
    cursor    : not-allowed;
    box-shadow: none;
}

.nav-button:disabled {
    opacity: 0.5;
    cursor : not-allowed;
}

.carousel-item {
    height    : auto !important;
    color     : #fff;
    text-align: center;
}

#myCarousel li {
    list-style-type: none !important;
    color          : #000;
}

#myCarousel ol {
    margin: 2rem 0 !important;
}

.carousel-indicators li {
    width        : 18px;
    height       : 18px;
    border       : 0;
    border-radius: 5rem;
}

.carousel-indicators {
    padding-top   : 1rem;
    padding-bottom: 4rem;
}

.carousel-indicators [data-bs-target] {
    width           : 18px;
    height          : 18px;
    border          : 0;
    border-radius   : 5rem;
    background-color: #1b1b1d;
}

.linkboxIcon {
    display     : inline-block;
    width       : 3.5rem;
    height      : 3.5rem;
    margin-right: .5rem;
    transition  : transform 0.3s ease;
}


.linkboxIcon img {
    width        : auto;
    height       : 100%;
    box-shadow   : 0px 2px 8px -3px #4F6DFF;
    border-radius: 20%;
}

.linkboxIcon:hover img {
    transform    : scale(1.05);
    box-shadow   : 1px 0px 6px rgba(0, 0, 0, .7);
    border-radius: 20% !important;
}

.btn-gradient-primary {
    display    : flex;
    align-items: center;
    font-weight: 700;
}

.btn-gradient-primary:hover,
.btn-gradient-primary:focus {
    color: #05478A;
}

.bi {
    font-size   : 1.9rem;
    margin-right: .5rem;
}

.btn-video {
    display      : inline-block;
    font-size    : 0.875rem;
    font-weight  : 600;
    line-height  : 1.4;
    margin-right : 0.75rem;
    background   : linear-gradient(90deg, rgb(236, 176, 57), rgb(15, 20, 36));
    color        : rgb(255, 255, 255);
    padding      : 1rem 1.75rem;
    border-radius: 6.25rem;
    position     : relative;
}

.btn-video::after {
    content         : "";
    position        : absolute;
    inset           : 0px;
    height          : 100%;
    width           : 100%;
    border-radius   : 2rem;
    background-color: rgba(15, 20, 36);
    opacity         : 0;
    transition      : opacity 0.4s ease-in-out;
    pointer-events  : none;
    z-index         : 0;
}

.video-container {
    position      : relative;
    padding-bottom: 56.25%;
    /* Ratio 16   :9 */
    height        : 0;
    overflow      : hidden;
    max-width     : 100%;
}

.video-container iframe {
    position: absolute;
    top     : 0;
    left    : 0;
    width   : 100%;
    height  : 100%;
}


@media screen and (max-width: 814px) {
    .image {
        width    : auto;
        max-width: 200px;
    }

    .mt-4 {
        margin-top: .5rem !important;
    }

    #myCarousel ol {
        margin: .5rem !important;
    }

    .card-content ol {
        margin-top   : .5rem !important;
        margin-bottom: 0 !important;
    }

    .carousel-inner ol li {
        margin-bottom: .5rem !important;
    }

    .carousel-item p {
        color: #1b1b1d !important;
    }

    .carousel-item p {
        color: #1b1b1d !important;
    }

    .card-image::before {
        display: none !important;
    }

    .card-image::after {
        display: none !important;
    }

    .carousel-inner ol li:before {
        opacity: 0 !important;
    }

    .card-title {
        margin     : 0;
        font-size  : 1.5rem !important;
        line-height: 1.3 !important;
    }

    .card {
        height: 54rem;
        ;
        padding: 0 2rem;
        gap    : 0rem !important;

    }

    .card1 {
        background: #d9e3f2 !important;
        display   : flex !important;
        padding   : 1rem;
        height    : 54rem;
        ;
        justify-content: center;
        /* Aligne horizontalement */
        align-items    : center;
        /* Aligne verticalement */
    }

    .card2 {
        background: #d9e3f2 !important;
        display   : flex !important;
        height    : 54rem;
        ;
        padding        : 1rem;
        justify-content: center;
        /* Aligne horizontalement */
        align-items    : center;
        /* Aligne verticalement */
    }

    .card3 {
        background: #d9e3f2 !important;
        display   : flex !important;
        height    : 54rem;
        ;
        padding        : 1rem;
        justify-content: center;
        /* Aligne horizontalement */
        align-items    : center;
        /* Aligne verticalement */
    }


    .stepRes {
        display: none !important;

    }

    .stepRes-2 {
        display   : block !important;
        margin-top: 12rem;

    }

    .pt6-pb-6 {
        padding-top   : 7rem;
        padding-bottom: 1.5rem !important;
    }

    .h1 {
        line-height: 1.5;
        font-size  : 1.7rem;
        margin     : 1 0rem;
    }

    .content-hero .h6 {
        font-weight: 500 !important;
        font-size  : 1rem;
    }

    .card-title {
        margin-top: 1rem !important;

    }

}

@media (min-width: 814px) {
    .stepRes {
        display: block !important;

    }

    .stepRes-2 {
        display: none !important;

    }
}

.modal-dialog {
    display        : flex;
    align-items    : center;
    justify-content: center;
    min-height     : 100vh;
    margin         : 0 auto;
}

.modal {
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    margin    : auto;
    max-height: 90vh;
    width     : 90%;
    max-width : 800px;
}

.video-container {
    position      : relative;
    padding-bottom: 56.25%;
    /* Ratio 16   :9 */
    height        : 0;
    overflow      : hidden;
}

.video-container iframe {
    position: absolute;
    top     : 0;
    left    : 0;
    width   : 100%;
    height  : 100%;
}

/* Ajustement pour les petits écrans */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-content {
        width: 95%;
    }
}

modal-open .modal {
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}

@media screen and (max-width: 514px) {

    .card1 {
        height: 57rem;
        ;
    }

    .card2 {
        height: 57rem;
        ;
    }

    .card3 {
        height: 57rem;
        ;
    }
}

.timelinestep-container {
    width      : 100%;
    max-width  : 1200px;
    margin     : 0 auto;
    padding    : 40px 20px;
    padding-top: 15rem;
    position   : relative;
}

.timelinestep {
    display        : flex;
    justify-content: space-between;
    position       : relative;
    margin         : 0 auto;
}

.timelinestep::before {
    content   : '';
    position  : absolute;
    top       : 20%;
    left      : 0;
    right     : 0;
    height    : 4px;
    background: #d3d2cf;
    transform : translateY(-50%);
    z-index   : 1;
}

.timelinestep-progress {
    position  : absolute;
    top       : 20%;
    left      : 0;
    height    : 4px;
    background: #5cc3ee;
    transform : translateY(-50%);
    z-index   : 2;
    transition: width 0.5s ease;
}

.timelinestep-item {
    display       : flex;
    flex-direction: column;
    align-items   : center;
    position      : relative;
    z-index       : 3;
    width         : 30%;
}

.timelinestep-number {
    width           : 50px;
    height          : 50px;
    border-radius   : 50%;
    background-color: #d3d2cf;
    color           : #fff;
    display         : flex;
    align-items     : center;
    justify-content : center;
    font-size       : 20px;
    font-weight     : bold;
    margin-bottom   : 15px;
    transition      : all 0.3s ease;
    cursor          : pointer;
    position        : relative;
    border          : 3px solid white;
    box-shadow      : 0 2px 5px rgba(0, 0, 0, 0.1);
}

.timelinestep-number.active {
    background-color: #1B659E;
    transform       : scale(1.1);
}

.timelinestep-number.completed {
    background-color: #1B659E;
}

.timelinestep-number:hover .timelinestep-tooltip {
    visibility: visible;
    opacity   : 1;
}

.timelinestep-tooltip {
    position     : absolute;
    bottom       : 100%;
    left         : 50%;
    transform    : translateX(-50%);
    background   : #333;
    color        : white;
    padding      : 8px 12px;
    border-radius: 4px;
    font-size    : 14px;
    font-weight  : normal;
    white-space  : nowrap;
    visibility   : hidden;
    opacity      : 0;
    transition   : all 0.3s;
    margin-bottom: 10px;
}

.timelinestep-tooltip::after {
    content     : '';
    position    : absolute;
    top         : 100%;
    left        : 50%;
    margin-left : -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.timelinestep-label {
    font-size  : 16px;
    font-weight: 500;
    text-align : center;
    color      : #555;
    transition : all 0.3s;
}

.timelinestep-item.active .timelinestep-label {
    color      : #1B659E;
    font-weight: 600;
}

.toggle-step3 {
    margin-top     : 20px;
    display        : flex;
    align-items    : center;
    justify-content: center;
}

.toggle-step3 label {
    display    : flex;
    align-items: center;
    cursor     : pointer;
    font-size  : 14px;
    color      : #555;
}

.toggle-step3 .switch {
    position   : relative;
    display    : inline-block;
    width      : 50px;
    height     : 24px;
    margin-left: 10px;
}

.toggle-step3 .switch input {
    opacity: 0;
    width  : 0;
    height : 0;
}

.toggle-step3 .slider {
    position        : absolute;
    cursor          : pointer;
    top             : 0;
    left            : 0;
    right           : 0;
    bottom          : 0;
    background-color: #ccc;
    transition      : .4s;
    border-radius   : 24px;
}

.toggle-step3 .slider:before {
    position        : absolute;
    content         : "";
    height          : 16px;
    width           : 16px;
    left            : 4px;
    bottom          : 4px;
    background-color: white;
    transition      : .4s;
    border-radius   : 50%;
}

.toggle-step3 input:checked+.slider {
    background-color: #1B659E;
}

.toggle-step3 input:checked+.slider:before {
    transform: translateX(26px);
}

@media (max-width: 768px) {
    .timelinestep {
        flex-direction: column;
        align-items   : flex-start;
        padding-left  : 40px;
    }

    .timelinestep::before {
        top      : 0;
        bottom   : 0;
        left     : 20px;
        right    : auto;
        width    : 4px;
        height   : auto;
        transform: none;
    }

    .timelinestep-progress {
        top      : 0;
        bottom   : auto;
        left     : 20px;
        width    : 4px;
        height   : 0;
        transform: none;
    }

    .timelinestep-item {
        flex-direction: row;
        align-items   : center;
        margin-bottom : 30px;
        width         : 100%;
    }

    .timelinestep-number {
        margin-right : 20px;
        margin-bottom: 0;
    }

    .timelinestep-label {
        text-align: left;
    }
}