/* Testimonials styles: beautified cards and responsive carousel */
.lux-testimonial{padding:80px 0;background:#000;color:#fff;position:relative}
.lux-testimonial .lux-title{font-size:40px;margin-bottom:10px;color:#fff;font-weight:800}
.lux-testimonial .lux-subtitle{color:#d1d5db;margin-bottom:36px}

/* Owl carousel card */
.lux-carousel .lux-card{background:rgba(255,255,255,0.03);padding:28px;border-radius:12px;box-shadow:0 12px 30px rgba(2,6,23,0.6);min-height:320px;display:flex;flex-direction:column;justify-content:space-between;color:#fff}
.lux-carousel .owl-item{display:flex;justify-content:center}
.lux-carousel .lux-card{width:100%;max-width:420px;height:auto}
.lux-card .lux-stars{color:#f6b042;font-size:18px;margin-bottom:10px}
.lux-card .lux-text{font-style:italic;color:#d1d5db;line-height:1.8;margin-bottom:20px;font-size:20px;text-align:center}
.lux-card .lux-user{display:flex;align-items:center;gap:12px}
.lux-card .lux-user img{width:64px;height:64px;object-fit:cover;border-radius:50%;border:3px solid rgba(255,255,255,0.06);box-shadow:0 6px 18px rgba(2,6,23,0.6)}
.lux-card .lux-user h5{margin:0;font-size:16px;color:#fff;font-weight:700}
.lux-card .lux-user span{display:block;color:#9ca3af;font-size:14px}

/* Carousel controls custom */
.owl-theme .owl-nav button.owl-prev, .owl-theme .owl-nav button.owl-next{background:rgba(255,255,255,0.06);color:#fff;border-radius:8px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:none;box-shadow:0 8px 22px rgba(2,6,23,0.6)}
.owl-theme .owl-nav button.owl-prev:hover, .owl-theme .owl-nav button.owl-next:hover{transform:translateY(-3px)}
.owl-theme .owl-dots{text-align:center;margin-top:22px}

/* Position nav outside the card on large screens */
.lux-testimonial .owl-nav{position:absolute;right:40px;top:24px;display:flex;gap:10px;z-index:5}
.lux-testimonial .owl-nav button{position:static}
.lux-testimonial .owl-nav .owl-prev{order:1}
.lux-testimonial .owl-nav .owl-next{order:2}

/* Smooth scrolling and transitions */
html{scroll-behavior:smooth}
.lux-carousel .owl-stage{transition:all 0.6s ease}
.lux-carousel .owl-item{transition:opacity 0.6s ease}

/* Responsive adjustments */
@media (max-width: 1200px){
    .lux-testimonial{padding:60px 20px}
    .lux-testimonial .lux-title{font-size:32px}
    .lux-card{padding:24px}
    .lux-card .lux-text{font-size:16px}
    .lux-carousel .lux-card{max-width:100%;width:100%}
}

@media (max-width: 992px){
    .lux-testimonial{padding:50px 16px}
    .lux-testimonial .lux-title{font-size:28px}
    .lux-card{padding:22px}
    .lux-card .lux-text{font-size:15px}
    .lux-card .lux-user img{width:56px;height:56px}
}

@media (max-width: 768px){
    .lux-testimonial{padding:40px 12px}
    .lux-testimonial .lux-title{font-size:24px}
    .lux-testimonial .owl-nav{right:16px;top:16px}
    .lux-card{padding:18px;min-height:unset}
    .lux-card .lux-user img{width:50px;height:50px}
    .lux-card .lux-text{font-size:14px}
    .lux-card .lux-user h5{font-size:14px}
    .lux-carousel .lux-card{width:100%;height:auto;max-width:100%}
    .lux-carousel .owl-item{padding:0 8px}
    .owl-theme .owl-nav button.owl-prev, .owl-theme .owl-nav button.owl-next{width:40px;height:40px}
}

@media (max-width: 576px){
    .lux-testimonial{padding:30px 10px}
    .lux-testimonial .lux-title{font-size:20px}
    .lux-testimonial .lux-subtitle{font-size:14px;margin-bottom:24px}
    .lux-testimonial .owl-nav{right:8px;top:8px}
    .lux-card{padding:16px}
    .lux-card .lux-stars{font-size:16px;margin-bottom:8px}
    .lux-card .lux-text{font-size:13px;line-height:1.6;margin-bottom:14px}
    .lux-card .lux-user img{width:48px;height:48px}
    .lux-card .lux-user h5{font-size:13px}
    .lux-card .lux-user span{font-size:12px}
    .owl-theme .owl-nav button.owl-prev, .owl-theme .owl-nav button.owl-next{width:38px;height:38px;font-size:16px}
    .owl-theme .owl-dots{margin-top:16px}
    .owl-theme .owl-dots .owl-dot span{width:8px;height:8px}
    .lux-carousel .owl-item {
        width: 100% !important;
        padding: 0 !important;
    }
    .lux-carousel .lux-card{
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px){
    .lux-carousel .owl-stage .owl-item{
        width: 100% !important;
        margin-right: 0 !important;
    }
    .lux-carousel .lux-card{
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 400px){
    .lux-testimonial{padding:24px 8px}
    .lux-testimonial .lux-title{font-size:18px}
    .lux-testimonial .lux-subtitle{font-size:12px}
    .lux-card{padding:14px}
    .lux-card .lux-text{font-size:12px;margin-bottom:12px}
}

/* Improve dot and nav colors */
.owl-theme .owl-dots .owl-dot span{width:10px;height:10px;background:#374151}
.owl-theme .owl-dots .owl-dot.active span{background:#f3f4f6}

/* Make carousel center stage on wide screens */
.lux-carousel .owl-stage-outer{padding-bottom:6px}

/* Accessibility focus styles */
.owl-theme .owl-nav button:focus{outline:3px solid rgba(17,24,39,0.12);outline-offset:3px}
