.fundamentals, 
.fundamentals .container
.fundamentals *{
    background-color: var(--pure-white);
}

.fundamentals .container,
.slide{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fundamentals__title,
.fundamentals__p{
    width: 96%;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.fundamentals__wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.fundamentals__card{
    position:relative;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 370px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 30px;
}

.fundamentals__card a{
    width: 380px;
    max-width: 380px; 
    padding: 20px;
    border-radius: 30px;
}

.fundamentals h3{
    font-size: 1.25rem;
    text-transform: uppercase;
    font-weight: 500;
    margin: 10px 0 0 0;
}

.fundamentals__card p{
    min-height: 100px;
    margin: 20px 0;
}

.card-img{
    min-height: 260px ;
}

.fundamentals__img img{
    width: 330px;
    height: 240px;
    border-radius: 15px;
    transform: scale(1);
    transition: .3s ease-in-out;
}

.fundamentals__card:hover .fundamentals__img img{
    transform: scale(1.05);
}

div.btn-item,
.btn-item svg{
    margin: 0;
}

.btn-item{
    padding: 0;
}

.fundamentals__card:hover .display-hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(160px);
    color: var(--pure-black, #000000);
}

/* Button text hidden and displayed on hover*/
.display-hover {
    position: absolute;
    left: -80px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(0px);
    transition: opacity 0.5s ease-in-out, transform 0.4s ease-in-out, visibility 0.4s ease-in-out;
}


/****************************** 
    slider  of type sites
******************************/

.type-sites .container{
    width: 90%;
}

section.type-sites,
section.type-sites *:not(.btn):not(.btn svg){
    background-color: var(--cloud-gray,#F7F7F7 );
}

.type-sites__content{
    max-width: 850px;
}

.type-sites__content p{
    width: 100%;
    max-width: 750px;
}

.slider {
    position: relative;
    margin-top: 70px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    z-index: 0;
}

.slide[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.type-sites img{
    width: 100%;
    max-width: 400px;
    aspect-ratio: 700/606;
    border-radius: 15px;
}

.type-site__wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin-top: 25px;
}

.slide p{
    margin-bottom: 25px;
}

.type-site__wrapper p{
    height: 210px;
}

.slides-nav{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 25px;
}

button.prev,
button.next {
    width: 50px;
    height: auto;
    color: var(--true-black, #020202);
    border: none;
    padding: 2px;
    font-size: 3rem;
    cursor: pointer;
}

.indicator {
    width: 75px;
    padding: 15px 12px;
    border-radius: 20px;
    margin-top: 7px;
    font-size: 1.125rem;
    text-align: center;
    font-weight: bold;
}

/****************************** 
    section advantages
******************************/
.advantages .container{
    width: 90%;
}

.advantages__content h2,
.advantages__content p{
    width: 96%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.advantages__content p{
    max-width: 800px;
}

.advantages__wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    align-content: center;
    gap: 50px;
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
}

.advantages__card{
    display: flex;
    flex-direction: column;
    align-content: center;
    max-width: 350px;
}

.advantages__card:nth-child(1), .advantages__card:nth-child(4){
    max-width: 400px;
}

section.advantages .vertical,
section.advantages .horizontal{
    width: 100%;
    border-radius: 20px;
}

section.advantages .vertical{
    max-width: 400px;
    aspect-ratio: 465/600;
}

section.advantages .horizontal{
   max-width: 500px;
   aspect-ratio: 600/382;
}

.advantages__card .subtitle{
    margin: 30px 0 0 0;

    
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: var(--amber-orange, #FF9800);
}

.advantages__card h3{
    margin: 15px 0;
    font-size: clamp(1.25rem, 2.8vw, 1.5rem);
}

/****************************** 
    section ready
******************************/

.ready .container{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 50px;
    width: 90%;
}

.ready__content{
    max-width: 670px;
    text-align: center;
}

.ready__img img {
    width: 320px;
    border-radius: 10px;
    aspect-ratio: 505/736;
}

.ready a{
  letter-spacing: 0.03rem;
}

/***************************************************/
/*                 Media queries                   */
/***************************************************/

@media screen and (min-width: 480px){
    .type-site__wrapper p{
        height: 140px;
    }
}

@media screen and (min-width: 840px){

    .advantages__card{
        margin-bottom: 30px;
    }

    .ready .container{
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }

    .ready__content{
        text-align: left;
    }

    .ready__content p{
        max-width: 630px;
    }

    .ready__content .p-accroche{
        max-width: 415px;
    }

    .ready a{
        letter-spacing: 0.07rem;
    }
}


@media screen and (min-width: 1048px){

    .slide {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        height: 365px;
    }
  
    .type-site__wrapper{
        display: block; 
        margin-top: 50px;
    }

    .slide p{
        margin-bottom: 60px;
    }
    
    .type-sites__content .text-center,
    .type-site__wrapper .text-center{
        text-align: left;
    }

    .slides-nav{
        margin-top: 80px;
    }

    .advantages__wrapper {  
        column-gap: 50px;
        row-gap: 0px;
    }

    .advantages__card p{
        margin-bottom: 0;
    }

    .ready .container{
        gap: 100px;
    }

    .ready__img img {
        width: 400px;
    }
}

@media screen and (min-width: 1280px){

    .type-sites .container {
        width: 80%;
        max-width: 1025px;
    }

    .advantages__card{
        max-width: 500px;
    }

    .ready .container{
        width: 80%;
        justify-content: space-between;
    }
}

@media screen and (min-width: 1360px) {

    .fundamentals__wrapper {
        gap: 50px;
    }
}