/* Testimoni page styles */
.page-header--white{
    background:#ffffff;
    padding:100px 0 50px;
    border-bottom:1px solid #eee
}

/* Rating Card Custom Styling */
.rating-card-custom {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%) !important;
    border: 2px solid rgba(59, 130, 246, 0.25) !important;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.rating-card-custom:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(99, 102, 241, 0.15) 100%) !important;
    border-color: rgba(59, 130, 246, 0.45) !important;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.2);
}

/* Testimonials Section Background */
.testimonials-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(99, 102, 241, 0.03) 100%);
}

/* Image/Video Container Styling */
.testimonial-image-container,
.testimonial-video-container {
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 2px solid rgba(59, 130, 246, 0.25);
    transition: all 0.3s ease;
}

.testimonial-image-container:hover,
.testimonial-video-container:hover {
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.2);
}

/* YouTube Video Frame */
.testimonial-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Paste Image Styling */
.paste-image-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 2px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
}

.paste-image-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.paste-image-section:hover {
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.2);
}

.paste-image-section:hover img {
    transform: scale(1.02);
}

/* Summary Badge Styling */
.badge-avg-rating {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(74, 222, 128, 0.1) 100%) !important;
    border: 2px solid rgba(34, 197, 94, 0.35) !important;
    color: #16a34a !important;
    font-weight: 700;
    padding: 6px 10px !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.badge-avg-rating:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(74, 222, 128, 0.18) 100%) !important;
    border-color: rgba(34, 197, 94, 0.55) !important;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.badge-rating-count {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(156, 163, 175, 0.1) 100%) !important;
    border: 2px solid rgba(107, 114, 128, 0.35) !important;
    color: #475569 !important;
    font-weight: 700;
    padding: 6px 10px !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.badge-rating-count:hover {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.25) 0%, rgba(156, 163, 175, 0.18) 100%) !important;
    border-color: rgba(107, 114, 128, 0.55) !important;
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.2);
}

/* Carousel Controls Styling */
.carousel {
    position: relative;
}

.carousel-control-prev,
.carousel-control-next {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    padding: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
    transition: all 0.3s ease;
    z-index: 10;
    border: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: transparent;
    transform: translateY(-50%) scale(1.2);
    opacity: 1;
    box-shadow: none;
    border-color: transparent;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px !important;
    height: 24px !important;
    background-image: none !important;
    background-size: contain;
    display: inline-block;
}

.carousel-control-prev-icon::before {
    content: '‹';
    font-size: 48px;
    color: #9ca3af;
    font-weight: bold;
    line-height: 1;
    transition: color 0.3s ease;
}

.carousel-control-next-icon::before {
    content: '›';
    font-size: 48px;
    color: #9ca3af;
    font-weight: bold;
    line-height: 1;
    transition: color 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon::before {
    color: #6b7280;
}

.carousel-control-next:hover .carousel-control-next-icon::before {
    color: #6b7280;
}

.carousel-control-prev {
    left: -80px;
}

.carousel-control-next {
    right: -80px;
}

/* Auto-rotate indicator */
.carousel.auto-rotating .carousel-control-prev,
.carousel.auto-rotating .carousel-control-next {
    box-shadow: none;
}

@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: auto;
        height: auto;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    .carousel-control-prev-icon::before,
    .carousel-control-next-icon::before {
        font-size: 36px;
    }
}

/* Rating Card */
.rating-card{background:#fff;border-radius:20px;padding:28px 24px 20px;height:100%;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 4px 24px rgba(0,0,0,0.05);transition:transform .3s ease,box-shadow .3s ease}.rating-card:hover{transform:translateY(-4px);box-shadow:0 12px 36px rgba(0,0,0,0.1)}.rating-card-top{flex:1}.rating-user-label{font-size:1rem;font-weight:700;color:#1f2937;text-align:center;margin-bottom:14px}.rating-items{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}.rating-item-row{display:flex;justify-content:space-between;align-items:center;padding:6px 10px;background:#f9fafb;border-radius:8px}.rating-item-name{font-size:.9rem;font-weight:600;color:#1f2937}.rating-item-row .stars{display:flex;gap:2px;flex-shrink:0}.rating-item-row .stars .fa-star{color:#f4b400;font-size:.85rem}.rating-item-row .stars .fa-star.fa-regular{color:#d1d5db}.rating-comment{color:#4b5563;font-style:italic;text-align:center;font-size:.9rem;line-height:1.5;margin-bottom:0;margin-top:8px}.rating-card-footer{text-align:center;padding-top:12px;border-top:1px solid #f3f4f6;margin-top:14px}.rating-date{color:#9ca3af;font-size:.8rem}.custom-carousel-btn{width:44px!important;height:44px!important;background:#fff!important;border-radius:50%!important;box-shadow:0 2px 12px rgba(0,0,0,0.12);color:#374151!important;font-size:1rem;display:flex!important;align-items:center!important;justify-content:center!important;top:50%!important;transform:translateY(-50%)!important;opacity:.9!important;transition:opacity .2s,transform .2s}.custom-carousel-btn:hover{opacity:1!important;transform:translateY(-50%) scale(1.08)!important}.carousel-control-prev.custom-carousel-btn{left:-60px!important}.carousel-control-next.custom-carousel-btn{right:-60px!important}@media(max-width:768px){.rating-card{padding:20px 16px 16px}.custom-carousel-btn{display:none!important}}
