/**
 * Healf Promise Widget Styles
 */

/* Container Kryesor */
.healf-promise-container {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

/* Background - Hequr për Elementor */

/* Section */
.healf-promise-section {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 10vw 0;
    color: white;
}

/* Wrapper */
.healf-promise-wrapper {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 860px) {
    .healf-promise-wrapper {
        padding: 0 40px;
    }
}

@media (min-width: 1280px) {
    .healf-promise-wrapper {
        max-width: 1320px;
    }
}

/* Grid Layout */
.healf-promise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-content: space-between;
}

@media (min-width: 860px) {
    .healf-promise-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Title */
.healf-promise-title-wrapper {
    margin-bottom: 24px;
}

.healf-promise-title {
    font-size: 50px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0;
}

@media (min-width: 860px) {
    .healf-promise-title {
        font-size: 82px;
    }
}

/* Badges Container */
.healf-promise-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    height: fit-content;
}

@media (min-width: 860px) {
    .healf-promise-badges {
        justify-content: flex-end;
        gap: 20px;
    }
}

/* Individual Badge */
.healf-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 9999px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.21);
    padding: 8px 12px;
    backdrop-filter: blur(10px);
}

@media (min-width: 860px) {
    .healf-badge {
        gap: 20px;
        padding: 8px 20px;
    }
}

.healf-badge .healf-icon {
    width: 20px;
    height: 20px;
}

@media (min-width: 860px) {
    .healf-badge .healf-icon {
        width: 32px;
        height: 32px;
    }
}

.healf-badge p {
    font-size: 12px;
    color: white;
    margin: 0;
}

@media (min-width: 860px) {
    .healf-badge p {
        font-size: 20px;
    }
}

/* Trustpilot Section */
.healf-trustpilot {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 16px 0;
}

.healf-trustpilot span {
    font-size: 18px;
    line-height: 1.6;
}

@media (min-width: 860px) {
    .healf-trustpilot span {
        font-size: 20px;
    }
}

.healf-trustpilot-logo {
    display: inline-block;
    margin-left: 8px;
    height: 20px;
    width: auto;
    vertical-align: middle;
}

@media (min-width: 860px) {
    .healf-trustpilot-logo {
        height: 28px;
    }
}

/* Testimonials Wrapper */
.healf-testimonials-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 16px;
}

@media (min-width: 860px) {
    .healf-testimonials-wrapper {
        padding-top: 32px;
    }
}

.healf-testimonials-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Scroll Animation */
.healf-testimonials-scroll {
    display: inline-flex;
    gap: 16px;
    animation: scroll-horizontal 40s linear infinite;
    will-change: transform;
}

.healf-testimonials-scroll:hover {
    animation-play-state: paused;
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Testimonial Card */
.healf-testimonial-card {
    min-width: 280px;
    max-width: 320px;
    height: fit-content;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    backdrop-filter: blur(12px);
    flex-shrink: 0;
}

@media (min-width: 860px) {
    .healf-testimonial-card {
        min-width: 350px;
        max-width: 380px;
        padding: 24px;
    }
}

.healf-testimonial-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.healf-stars {
    flex-shrink: 0;
}

.healf-stars img {
    height: 20px;
    width: auto;
}

.healf-testimonial-author {
    font-size: 14px;
    font-style: italic;
    color: #000;
    margin: 0;
}

.healf-testimonial-title {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: #000;
}

@media (min-width: 860px) {
    .healf-testimonial-title {
        font-size: 18px;
    }
}

.healf-testimonial-text {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #000;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 860px) {
    .healf-testimonial-text {
        font-size: 14px;
        -webkit-line-clamp: 7;
    }
}

/* Responsive adjustments */
@media (max-width: 859px) {
    .healf-promise-section {
        padding: 15vw 0;
    }
}
