@import url('./components/integrations-slider.css');

:root{
    --background: #fff;
}

.section-wrapper .icon-container svg{
    max-width: 100%;
    height: fit-content;
}
.container-section :is(h3, span, a){
    display: block;
}
.container-section a{
    margin-top: 20px;
    color: var(--highlight-color);
}
.container-section-wrapper .image-side{
    padding: 10px;
    background-color: #D4E1E0;
    border-radius: 20px;
}
.container-section-wrapper .image-side img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 15px;
}
.text-side .dot{
    width: 50px;
    height: 50px;
    background-color: var(--highlight-color);
    border-radius: 100%;
    margin-bottom: 10px;
}



/*------------------------------------*\
# STEPS
\*------------------------------------*/

.section-wrapper:has( .steps-side){
    margin: 60px 0 !important;
}
.section-content:has(> .steps-side){
    column-gap: 100px;
}
.steps{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px 30px;
    min-width: 550px;
}
.step-item{
    width: calc(33% -  30px);
    max-width: 215px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.step-item:has(~ .step-item):not(.steps:has(.step-item:nth-child(4))>.step-item:nth-child(3)):after{
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translate(75%, 50%);
    background-image: url('../img/icons/link-arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 50px;
    height: 50px;
    z-index: 1;
}
.step-item:nth-child(3){
    margin-right: auto;
}
.step-item:nth-child(4){
    margin-left: auto;
}
.step-item .step-count{
    position: absolute;
    left: 50%;
    top: 0;
    width: fit-content;
    margin: 0 auto;
    border-top: 7px solid #E4EFE8;
    background-color: var(--light-teal);
    padding: 0px 30px 36px;
    transform: translate(-50%, -50%);
    z-index: -1;
    border-radius: 100%;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--white);
}
.step-item .step-title{
    background-color: var(--light-teal);
    padding:  15px 15px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    border-radius: 20px 20px 0 0
}
.step-item .step-image{
    width: 100%;
    height: 240px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E4EFE8;
    border-radius: 0 0 20px 20px;
}
.step-item .step-image img{
    display: block;
    width: 150px;
}


/* Step List */

.step-list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 20px !important;
    gap: 40px 50px;
    font-size: .9rem;
}
.step-list li .item-title{
    font-weight: bold;
    font-size: 1.1em;
    color: var(--teal);
    filter: brightness(105%);
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.step-list li .item-count{
    background-color: var(--light-teal);
    color: var(--teal);
    border-radius: 100%;
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}



/*------------------------------------*\
# API INTEGRATIONS
\*------------------------------------*/

.api-integrations{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 20px auto 0;
}
.api-integration-item{
    border-radius: 30px;
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    width: calc(50% - 20px / 2);
    transition: 50ms border-color ease-out, 250ms background-color ease-out, .4s opacity ease, .4s transform ease !important;
    max-width: 325px;
    display: flex;
    flex-direction: column;
}
.api-integration-item:hover{
    border-color: var(--border-hover-color);
    background-color: #f3f8f5;
}
.api-integration-item .item-title{
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 10px;
}
.api-integration-item .item-title .tag{
    margin-left: auto;
    height: fit-content;
}
.api-integration-item .bottom-link{
    position: relative;
    display: block;
    width: fit-content;
    font-weight: bold;
    padding-top: 40px;
    margin-top: auto;
    color: var(--light-teal);
}
.api-integration-item .bottom-link:hover{
    color: var(--light-teal-hover-dark);
}
.api-integration-item .bottom-link:after{
    content: "";
    box-sizing: content-box;
    position: absolute;
    display: block;
    padding-left: 10px;
    left: 100%;
    top: 50%;
    margin-top: 20px;
    transform: translateY(-50%);
    width: 35px;
    height: 15px;
    background-image: url('../img/icons/link-arrow.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: 375ms all cubic-bezier(.5,.1,.29,1.44);
}
.api-integration-item .bottom-link:hover:after{
    padding-left: 30px;
    filter: var(--light-teal-hover-dark-filter);
}
.api-integration-item .tag{
    display: inline-block;
    padding: 3px 10px;
    background-color: var(--light-teal-hover-light);
    color: var(--teal);
    border-radius: 5px;
    font-weight: normal;
}
.api-integration-item .tags{
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding-top: 40px;
}