/* =========================================
   CSS VARIABLES
========================================= */

:root {
    --color-primary: #6E6A67;
    --color-title: #4B3A2F;
    --color-secondary: #4B3A2F;
}


/* =========================================
   CLIENT STORIES PAGE
========================================= */

.client-stories-page {
    padding-top: 160px;
}

.client-stories-page .page-title-wrapper {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-direction: column;
    max-width: 892px;
    margin-bottom: 44px;
}
.journey-section .left-content.content-wrapper ul li .icon {
    padding: 0;
    background: transparent;
}
.client-stories-page .page-title-wrapper h1 {
    font-size: 72px;
    line-height: 84px;
    color: var(--color-title);
    font-family: 'GC saphone DEMO';
    font-weight: 400;
    text-align: center;
}

.client-stories-page .page-title-wrapper p {
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    color: var(--color-primary);
}


/* =========================================
   TESTIMONIAL GRID
========================================= */

.testimonial-grid {
    display: grid;
    gap: 36px 30px;
    grid-template-columns: 1fr 1fr;
}

.testimonial-grid .card {
    position: relative;
    border-radius: 18px;
    padding: 46px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #FEECDE 0%, rgba(254, 236, 222, 0.44) 100%);
    border: 3px solid #F4F5EE;
    box-shadow: 0px 0px 0px 6px #FFFFFF inset;
    overflow: hidden;
}

.testimonial-grid .card::before {
    content: '';
    background: url(../images/testimonial-bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 0 16px 16px 0;
    right: 6px;
    bottom: 6px;
    background-position: 259px 153px;
    opacity: 0.2;
}

.testimonial-grid .card .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    width: fit-content;
}

.testimonial-grid .card .icon img {
    max-width: 54px;
    width: 100%;
}

.testimonial-grid .card h5 {
    font-size: 24px;
    line-height: 28px;
    color: var(--color-title);
    font-family: 'GC saphone DEMO';
    margin-bottom: 20px;
    font-weight: 400;
}

.testimonial-grid .card h6 {
    font-size: 20px;
    line-height: 24px;
    font-family: 'Inter';
    font-weight: 500;
    color: var(--color-title);
}

.testimonial-grid .card p {
    font-size: 16px;
    line-height: 24px;
    margin-block: 15px 20px;
    color: var(--color-primary);
}


/* =========================================
   JOURNEY SECTION
========================================= */

.journey-section .content {
    display: flex;
    gap: 99px;
    align-items: center;
}

.journey-section .content-wrapper {
    flex: 1;
}

.journey-section .content-wrapper .title {
    font-size: 24px;
    line-height: 29px;
    font-weight: 500;
    color: var(--color-title);
    font-family: 'Inter';
    margin-bottom: 40px;
}

.journey-section .content-wrapper ul {
    display: flex;
    flex-direction: column;
    gap: 22px;
    list-style: none;
}

.journey-section .content-wrapper ul li {
    display: flex;
    align-items: center;
    gap: 21px;
}

.journey-section .content-wrapper ul li .icon {
    flex-shrink: 0;
    border-radius: 50%;
    width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5px;
    background-color: #EA6E6A;
}

.journey-section .content-wrapper ul li span {
    font-size: 18px;
    line-height: 22px;
    color: var(--color-title);
    letter-spacing: 0.4px;
}

.journey-section .content-wrapper.right-content ul li .icon {
    background-color: #34AD5C;
}

.journey-section .middle-image-wrapper {
    max-width: 630px;
    width: 60%;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
}

.journey-section .middle-image-wrapper img {
    width: 100%;
    object-fit: cover;
}

@media (max-width:1440px) {
    .journey-section .content {
        gap: 50px;
    }
    .journey-section .middle-image-wrapper {
        width: 50%;
    }
}

@media (max-width: 1280px) {
    .journey-section .content {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .testimonial-grid {
        gap: 24px;
    }
    .client-stories-page .page-title-wrapper h1 {
        font-size: 52px;
        line-height: 64px;
    }
    .client-stories-page .page-title-wrapper p {
        font-size: 18px;
        line-height: 26px;
    }
    .testimonial-grid .card {
        padding: 30px;
    }
    .testimonial-grid .card .icon img {
        max-width: 40px;
    }
    .testimonial-grid .card h5 {
        font-size: 22px;
        line-height: 26px;
    }
    .testimonial-grid .card h6 {
        font-size: 18px;
        line-height: 22px;
    }
}

@media (max-width: 767px) {
    .client-stories-page {
        padding-top: 120px;
    }
    .client-stories-page .page-title-wrapper h1 {
        font-size: 42px;
        line-height: 54px;
    }
    .journey-section .content {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        align-items: start;
    }
    .journey-section .middle-image-wrapper {
        width: 80%;
        order: 1;
    }
    .journey-section .content-wrapper {
        flex: 1;
        /* width: 50%; */
        order: 2;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .journey-section .content-wrapper .title {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 24px;
    }
    .journey-section .content-wrapper ul,
    .journey-section .content-wrapper ul li {
        gap: 16px;
    }
    .journey-section .content-wrapper ul li span {
        font-size: 16px;
        line-height: 20px;
    }
}