/* =========================================================
   CUSTOMER SECTION
========================================================= */

.customer-section {
    position: relative;
    width: 100%;
    padding: 80px 0 30px;
    overflow: hidden;
    background: #f5f5f5;
}

/* =========================================================
   HEADING
========================================================= */

.customer-heading {
    position: relative;
    z-index: 20;
    padding-left: 12%;
    margin-bottom: 30px;
}

.customer-heading span,
.customer-heading h2 {
    display: block;
    margin: 0;
    font-size: clamp(30px, 2.2vw, 42px);
    font-weight: 300;
    line-height: 1.25;
    color: #282828;
}

.customer-heading span {
    margin-bottom: 8px;
}

/* =========================================================
   SLIDER AREA
========================================================= */

.customer-slider {
    position: relative;
    width: 100%;
    height: 650px;
}

/* =========================================================
   COMMON
========================================================= */

.contentSwiper,
.backgroundSwiper,
.imageSwiper {
    position: absolute;
}

.contentSwiper .swiper-wrapper,
.backgroundSwiper .swiper-wrapper,
.imageSwiper .swiper-wrapper,
.contentSwiper .swiper-slide,
.backgroundSwiper .swiper-slide,
.imageSwiper .swiper-slide {
    height: 100%;
}

/* =========================================================
   LAYER 1 - TEXT
========================================================= */

.contentSwiper {
    top: 0;
    left: 12%;
    z-index: 10;
    width: 30%;
    height: 100%;
}

.customer-content {
    position: relative;

    width: 100%;
    height: 100%;

    padding: 60px 70px 130px;

    background: #e7e4df;
}

.customer-quote {
    margin-bottom: 20px;

    font-family: Georgia, serif;

    font-size: 100px;

    font-weight: 700;

    line-height: 0.5;

    color: #46c5c0;
}

.customer-description {
    max-width: 520px;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    overflow-y: scroll;
    max-height: 351px;
}

/* Customer */

.customer-info {
    position: absolute;

    bottom: 25px;
    left: 60px;

    display: flex;

    align-items: center;

    gap: 18px;
}

.customer-avatar {
    width: 90px;
    height: 90px;

    flex: 0 0 90px;

    padding: 5px;

    overflow: hidden;

    border-radius: 50%;

    background: #fff;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

.customer-avatar img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;
}

.customer-info__text {
    font-size: 14px;

    font-weight: 600;

    color: #333;
}

/* =========================================================
   LAYER 2 - BACKGROUND
========================================================= */

.backgroundSwiper {
    top: 0;
    right: 0;

    z-index: 5;

    width: 58%;
    height: 100%;
}

.project-background {
    width: 100%;
    height: 100%;

    background-repeat: no-repeat;

    background-position: center;

    background-size: cover;
}

/* =========================================================
   LAYER 3 - IMAGE
========================================================= */

.image_center {
    position: absolute;
    left: 30%;
    top: 50%;
    z-index: 10;
    width: 1000px;
}

.image_center .nen_laptop {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    width: 92%;
}

.imageSwiper {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 642px;
}

/* .imageSwiper::before {
    content: "";
    background: url(../images/MacBook@2x.webp) center / cover;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
}

.project-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(514px, 60vw);
    transform: translate(-50%, -50%);
}

.project-image img {
    display: block;

    width: 100%;
    height: auto;

    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.2));
} */

/* =========================================================
   NAVIGATION
========================================================= */

.customer-navigation {
    position: relative;

    z-index: 50;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 25px 4% 0;
}

.customer-prev,
.customer-next {
    position: relative;

    width: 45px;
    height: 35px;

    border: 0;

    background: transparent;

    cursor: pointer;
}

/* Arrow line */

.customer-prev span,
.customer-next span {
    position: absolute;

    top: 50%;

    width: 28px;
    height: 1px;

    background: #333;
}

.customer-prev span {
    right: 0;
}

.customer-next span {
    left: 0;
}

/* Left arrow */

.customer-prev span::before {
    content: "";

    position: absolute;

    left: 0;
    top: -5px;

    width: 10px;
    height: 10px;

    border-left: 1px solid #333;
    border-bottom: 1px solid #333;

    transform: rotate(45deg);
}

/* Right arrow */

.customer-next span::after {
    content: "";

    position: absolute;

    right: 0;
    top: -5px;

    width: 10px;
    height: 10px;

    border-top: 1px solid #333;
    border-right: 1px solid #333;

    transform: rotate(45deg);
}

/* =========================================================
   PROGRESS
========================================================= */

.customer-progress {
    flex: 1;
}

.customer-progress__track {
    position: relative;

    width: 100%;
    height: 2px;

    overflow: hidden;

    background: #d1d1d1;
}

.customer-progress__bar {
    position: absolute;

    top: 0;
    left: 0;

    width: 33.333%;

    height: 100%;

    background: #333;

    transition: transform 0.7s ease;
}

/* =========================================================
   COUNTER
========================================================= */

.customer-counter {
    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 100px;
}

.current-slide {
    font-weight: 600;

    color: #222;
}

.counter-line {
    width: 25px;
    height: 1px;

    background: #999;
}

.total-slides {
    color: #777;
}

/* =========================================================
   RESPONSIVE
========================================================= */

.contentSwiper .customer-description::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px #f5f0f0;
    border-radius: 10px;
    background-color: #f5f5f5;
}

.contentSwiper .customer-description::-webkit-scrollbar {
    width: 1px;
    background-color: #f5f5f5;
}

.contentSwiper .customer-description::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: var(--color-1st);
}

@media (max-width: 991px) {
    .customer-slider {
        height: 480px;
    }

    .contentSwiper {
        width: 48%;
    }

    .backgroundSwiper {
        width: 60%;
    }

    .customer-content {
        padding: 50px 40px 120px;
    }

    .customer-info {
        left: 40px;
    }

    .project-image {
        left: 60%;

        width: 65vw;
    }

    .contentSwiper,
    .backgroundSwiper {
        position: unset;
    }

    .image_center {
        position: absolute;
        left: 0;
        top: unset;
        z-index: 10;
        width: 100%;
        bottom: 105px;
    }

    .box-wrapper .container::before {
        bottom: 100%;
        right: 21px;
    }
}

@media (max-width: 767px) {
    .customer-section {
        padding-top: 50px;
    }

    .customer-heading {
        padding-left: 20px;
    }

    .customer-slider {
        height: 1000px;
    }

    /* Background full */

    .backgroundSwiper {
        top: 0;
        left: 0;
        width: 100%;
        height: 320px;
    }

    /* Image */

    .imageSwiper {
        height: 170px;
    }

    .imageSwiper {
        width: 270px;
    }

    .project-image {
        top: 50%;
        left: 50%;
        width: 95%;
        transform: translate(-50%, -50%);
        position: absolute;
    }

    /* Text */

    .contentSwiper {
        top: 280px;
        left: 15px;
        width: calc(100% - 30px);
        height: 600px;
    }

    .customer-content {
        padding: 45px 30px 120px;
    }

    .customer-info {
        left: 30px;
    }

    .customer-avatar {
        width: 75px;
        height: 75px;

        flex-basis: 75px;
    }

    .customer-navigation {
        padding: 20px;
    }
}
