/**
 * Testimonial Carousel Custom Fields - Styles
 * Version: 1.0.0
 */

/* Rating Stars Styling */
.elementor-testimonial__rating {
    display: flex;
    gap: 4px;
    margin-bottom: 15px;
    font-size: 16px;
}

.elementor-testimonial__rating i {
    color: #FFD700; /* Gold color for stars */
    transition: color 0.3s ease;
}

.elementor-testimonial__rating i.fa-star {
    color: #FFD700; /* Full star - gold */
}

.elementor-testimonial__rating i.fa-star-half-o {
    color: #FFD700; /* Half star - gold */
}

.elementor-testimonial__rating i.fa-star-o {
    color: #CCCCCC; /* Empty star - gray */
}

/* Hover effect for ratings */
.elementor-testimonial:hover .elementor-testimonial__rating i {
    transform: scale(1.1);
}

/* Link Styling */
.elementor-testimonial__link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.elementor-testimonial__link:hover {
    opacity: 0.8;
}

.elementor-testimonial__link:hover .elementor-testimonial__name {
    text-decoration: underline;
}

/* Custom Link Text Styling */
.elementor-testimonial__custom-link {
    margin-top: 15px;
}

.elementor-testimonial__custom-link a {
    display: inline-block;
    padding: 8px 20px;
    background-color: #0073aa;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.elementor-testimonial__custom-link a:hover {
    background-color: #005177;
}

/* Hover animation - only applied when enabled via Elementor control */
.elementor-widget-testimonial-carousel.elementor-button-hover-animation-yes .elementor-testimonial__custom-link a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.elementor-widget-testimonial-carousel.elementor-button-hover-animation-yes .elementor-testimonial__custom-link a:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .elementor-testimonial__rating {
        font-size: 14px;
        gap: 3px;
        margin-bottom: 12px;
    }

    .elementor-testimonial__custom-link {
        margin-top: 12px;
    }

    .elementor-testimonial__custom-link a {
        padding: 6px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .elementor-testimonial__rating {
        font-size: 12px;
        gap: 2px;
        margin-bottom: 10px;
    }

    .elementor-testimonial__custom-link {
        margin-top: 10px;
    }

    .elementor-testimonial__custom-link a {
        padding: 6px 14px;
        font-size: 12px;
    }
}

/* Additional styling for bubble skin */
.elementor-testimonial--skin-bubble .elementor-testimonial__rating {
    margin-bottom: 10px;
}

/* Align rating with content alignment */
.elementor-testimonial--align-left .elementor-testimonial__rating {
    justify-content: flex-start;
}

.elementor-testimonial--align-center .elementor-testimonial__rating {
    justify-content: center;
}

.elementor-testimonial--align-right .elementor-testimonial__rating {
    justify-content: flex-end;
}

/* RTL Support */
body.rtl .elementor-testimonial__rating {
    direction: rtl;
}
