/* Homepage — customer stories phone mockup (Figma) */
.home-customer-stories .customer-stories-subtitle {
    max-width: 775px;
    color: var(--color3, #535353);
    margin-bottom: 0;
}

.home-customer-stories .testimomial_div_wrap {
    margin-top: 10px;
    gap: 20px;
}

.home-customer-stories .multi-image-cont {
    height: 46px;
    width: 138px;
}

.home-customer-stories .multi-image-cont img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.home-customer-stories .phone-frame .client-img {
    position: relative;
    width: max-content;
    margin: 0 auto;
    padding-left: 200px;
    z-index: 5;
}

.home-customer-stories .client-img::before,
.home-customer-stories .client-img::after {
    content: "";
    position: absolute;
    top: 40px;
    height: 76%;
    width: 300px;
    z-index: 0;
    border-radius: 45px;
}

.home-customer-stories .client-img::before {
    right: -30px;
    background: linear-gradient(270deg, #ffffff 0%, #f3f3f3 100%);
}

.home-customer-stories .client-img::after {
    left: -30px;
    background: linear-gradient(90deg, #ffffff 0%, #f3f3f3 100%);
}

.home-customer-stories .phone-frame-updated .background-img {
    opacity: 0.8 !important;
    background-size: 90% !important;
}

.home-customer-stories .background-img {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 90%;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 1;
    transition: background-image 0.5s ease-in-out;
}

.home-customer-stories .indicator {
    display: flex;
    gap: 6px;
    padding-top: 40px;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    position: relative;
}

.home-customer-stories .indicator-line {
    width: 100px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: background-color 0.3s;
    cursor: pointer;
}

.home-customer-stories .indicator-line.active {
    background-color: #fff;
}

.home-customer-stories .phone-frame-updated .testimonial {
    background: linear-gradient(180deg, rgba(15, 10, 68, 0.1) 8.45%, rgba(15, 10, 68, 0.85) 41.26%, #0f0a44 90%) !important;
}

.home-customer-stories .testimonial {
    width: 100%;
    height: calc(100% - 40px);
    padding: 0;
    color: #fff;
    transition: opacity 0.6s ease-in-out;
    display: none;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    position: relative;
    z-index: 1110;
}

.home-customer-stories .testimonial.active {
    opacity: 1;
    z-index: 2;
    display: flex;
}

.home-customer-stories .mi_logo {
    padding-top: 20px;
}

.home-customer-stories .stars {
    margin-bottom: 15px;
}

.home-customer-stories .testimonial-text {
    font-size: 21px !important;
    line-height: 1.4 !important;
    color: #fff !important;
    margin-block-end: 20px;
}

.home-customer-stories .client-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-customer-stories .client-name .client-profile {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: none;
}

.home-customer-stories .client-name .client-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-customer-stories .testimonial_name {
    font-size: 20px;
}

.home-customer-stories .testimonial_name + span {
    font-size: 14px !important;
    opacity: 0.8;
}

.home-customer-stories .phone-frame .client-img img {
    position: relative;
    z-index: 5;
}

.home-customer-stories .screen-content {
    position: absolute;
    top: 47px;
    left: 296px;
    height: 734px;
    width: 339px;
    z-index: 13;
    padding: 15px 25px 25px;
    box-sizing: border-box;
}

.home-customer-stories .star_div {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
    min-height: 0;
}

@media (max-width: 1199.98px) {
    .home-customer-stories .client-img::before {
        width: 250px;
        right: 20px;
    }

    .home-customer-stories .client-img::after {
        width: 250px;
        left: 20px;
    }
}

@media (max-width: 991.98px) {
    .home-customer-stories .testimonial {
        height: calc(100% - 30px);
    }

    .home-customer-stories .phone-frame .client-img {
        width: 100%;
        padding-left: 150px;
    }

    .home-customer-stories .screen-content {
        top: 38px;
        left: 220px;
        height: 540px;
        width: 252px;
    }

    .home-customer-stories .indicator {
        padding-top: 25px;
    }

    .home-customer-stories .testimonial-text {
        font-size: 16px !important;
        line-height: 28px !important;
    }
}

@media (max-width: 767.98px) {
    .home-customer-stories .client-img::before {
        right: 38px;
        border-radius: 20px;
        top: 30px;
        width: 150px;
    }

    .home-customer-stories .client-img::after {
        left: -13px;
        border-radius: 20px;
        top: 30px;
        width: 65px;
    }

    .home-customer-stories .testimomial_div_wrap {
        gap: 15px;
    }

    .home-customer-stories .screen-content {
        top: 30px;
        left: 60px;
        height: 520px;
    }

    .home-customer-stories .phone-frame .client-img {
        padding-left: 0;
    }
}

@media (max-width: 600.98px) {
    .home-customer-stories .client-img::before,
    .home-customer-stories .client-img::after {
        display: none;
    }

    .home-customer-stories .phone-frame .client-img > img {
        width: 400px;
        max-width: 400px;
    }

    .home-customer-stories .phone-frame {
        overflow: hidden;
    }

    .home-customer-stories .screen-content {
        top: 26px;
        left: 52px;
        padding: 10px;
        width: 187px;
        height: 402px;
    }

    .home-customer-stories .mi_logo {
        width: 75%;
    }

    .home-customer-stories .stars {
        margin-bottom: 8px;
    }

    .home-customer-stories .testimonial-text {
        font-size: 12px !important;
        line-height: 16px !important;
    }

    .home-customer-stories .client-name .client-profile {
        width: 30px;
        height: 30px;
        min-width: 30px;
    }

    .home-customer-stories .testimonial_name {
        font-size: 12px;
    }

    .home-customer-stories .testimonial_name + span {
        font-size: 9px !important;
    }
}

@media (max-width: 376.98px) {
    .home-customer-stories .testimonial-text {
        line-height: 16px !important;
    }

    .home-customer-stories .client-name .client-profile {
        width: 20px;
        min-width: 20px;
        height: 100%;
    }

    .home-customer-stories .testimonial_name {
        font-size: 10px;
    }
}

@media (prefers-color-scheme: dark) {
    .home-customer-stories .client-img::before {
        background: linear-gradient(270deg, #1e1e1e 0%, #2a2a2a 100%);
    }

    .home-customer-stories .client-img::after {
        background: linear-gradient(90deg, #1e1e1e 0%, #2a2a2a 100%);
    }
}
