/*
 Theme Name:   hoangvo
 Theme URI:    https://example.com/hello-elementor-child/
 Description:  Child theme for Hello Elementor
 Author:       Vo Hoang
 Author URI:   https://example.com
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hoangvo
*/

/* ===== Desktop Testimonial Styles ===== */
.testimonial_wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.testimonial-nav-thumbnails {
    margin-bottom: 40px;
    position: relative;
}

.testimonial-nav {
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.testimonial-nav img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.testimonial-nav.slick-current img,
.testimonial-nav.slick-center img {
    border-color: #FFE600;
    box-shadow: 0 4px 20px rgba(255, 230, 0, 0.4);
}

/* Desktop Navigation Arrows */
.testimonial-nav-thumbnails .slick-prev,
.testimonial-nav-thumbnails .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.testimonial-nav-thumbnails .slick-prev:hover,
.testimonial-nav-thumbnails .slick-next:hover {
    background: #FFE600;
    box-shadow: 0 4px 16px rgba(255, 230, 0, 0.4);
}

.testimonial-nav-thumbnails .slick-prev {
    left: -20px;
}

.testimonial-nav-thumbnails .slick-next {
    right: -20px;
}

.testimonial-nav-thumbnails .slick-prev svg,
.testimonial-nav-thumbnails .slick-next svg {
    width: 20px;
    height: 20px;
    color: #333;
}

.testimonial-nav-thumbnails .slick-prev:hover svg,
.testimonial-nav-thumbnails .slick-next:hover svg {
    color: #000;
}

.testimonials-slider-item {
    text-align: center;
    padding: 20px;
}

.testimonials-slider-item h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.testimonial-position {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.star-rating {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.testimonial_content {
    position: relative;
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
}

.testimonial-msg-open {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 60px;
    height: auto;
}

.testimonial-msg-close {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 60px;
    height: auto;
}

.testimonial-msg {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    font-style: italic;
}

/* ===== Mobile Testimonial Styles ===== */
.testimonial_wrap {
    padding: 20px 15px;
}

/* Mobile slider container */
.testimonials-slider-mobile {
    position: relative;
    padding: 0 50px;
}

/* Mobile slide item - Vertical Layout */
.testimonials-mobile-item {
    background: transparent;
    border-radius: 16px;
    padding: 20px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Avatar at the top */
.testimonial-mobile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
}

.testimonial-mobile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #FFE600;
    box-shadow: 0 4px 20px rgba(255, 230, 0, 0.3);
    margin-bottom: 16px;
}

.testimonial-mobile-info {
    text-align: center;
    width: 100%;
}

.testimonials-mobile-item h4 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #fff;
}

.testimonials-mobile-item .testimonial-position {
    font-size: 16px;
    color: #fff;
    margin: 0 0 16px 0;
    opacity: 0.9;
}

/* Star rating mobile */
.testimonials-mobile-item .star-rating {
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center;
}

.testimonials-mobile-item .star-rating svg {
    width: 110px;
    height: auto;
}

/* Content mobile - Below the avatar */
.testimonials-mobile-item .testimonial_content {
    position: relative;
    padding: 30px 15px;
    margin: 0;
    width: 100%;
}

.testimonials-mobile-item .testimonial-msg-open {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: auto;
    opacity: 0.8;
}

.testimonials-mobile-item .testimonial-msg-close {
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 50px;
    height: auto;
    opacity: 0.8;
}

.testimonials-mobile-item .testimonial-msg {
    font-size: 16px;
    line-height: 1.7;
    color: #fff;
    text-align: center;
    padding: 0 10px;
}

/* Navigation Arrows */
.testimonials-slider-mobile .slick-prev,
.testimonials-slider-mobile .slick-next {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.testimonials-slider-mobile .slick-prev:hover,
.testimonials-slider-mobile .slick-next:hover {
    background: #FFE600;
    box-shadow: 0 4px 16px rgba(255, 230, 0, 0.4);
}

.testimonials-slider-mobile .slick-prev {
    left: 0;
}

.testimonials-slider-mobile .slick-next {
    right: 0;
}

.testimonials-slider-mobile .slick-prev svg,
.testimonials-slider-mobile .slick-next svg {
    width: 24px;
    height: 24px;
    color: #333;
}

.testimonials-slider-mobile .slick-prev:hover svg,
.testimonials-slider-mobile .slick-next:hover svg {
    color: #000;
}

/* Dots */
.testimonials-slider-mobile .slick-dots {
    bottom: -40px;
    display: flex !important;
    justify-content: center;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.testimonials-slider-mobile .slick-dots li {
    margin: 0;
    width: 8px;
    height: 8px;
}

.testimonials-slider-mobile .slick-dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    font-size: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-slider-mobile .slick-dots li.slick-active button {
    background: #FFE600;
    width: 24px;
    border-radius: 4px;
}