/* AAW Testimonial Carousel */

.aaw-carousel-wrapper {
    width: 100%;
    height: 450px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.aaw-carousel {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 50000px;
    perspective-origin: 50% -1000%;
    transform-style: preserve-3d;
}

.aaw-carousel-item {
    width: 350px;
    height: 250px;
    position: absolute;
    top: 50%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease, top 0.8s ease;
}

.aaw-card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    backface-visibility: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.aaw-card-front {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.0);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.aaw-card-back {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transform: rotateY(180deg);
}

/* Header */
.aaw-testimonial-header {
    display: flex;
    gap: 10px;
    align-items: center;
}

.aaw-quote-icon {
    width: 44px;
    height: 32px;
    margin-left: auto;
}

.aaw-tc-avatar {
    height: 50px !important;
    width: 50px !important;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.aaw-testimonial-title {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.aaw-testimonial-name {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3;
}

.aaw-testimonial-role {
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3;
}

.aaw-testimonial-text {
    font-size: 16px;
    font-weight: 300;
    color: #ffffff;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.6;
}

/* Navigation */
.aaw-carousel-nav {
    display: inline-grid;
    place-items: center;
    width: 70px;
    height: 70px;
    cursor: pointer;
    padding: 0;
    position: absolute;
    top: 40%;
    background: rgba(255, 255, 255, 0);
    transform: translateY(-50%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: transparent;
    transition: background 0.3s ease;
    z-index: 100;
}

.aaw-carousel-nav img {
    width: 70px;
    height: 70px;
    display: block;
}

.aaw-carousel-nav:focus {
    background: rgba(255, 255, 255, 0);
    color: transparent;
    outline: none;
}

.aaw-carousel-nav:hover {
    background: rgba(255, 255, 255, 0.5);
}

.aaw-prev { left: 20px; }
.aaw-next { right: 20px; }

/* Pagination Dots */
.aaw-carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.aaw-carousel-dots span {
    width: 30px;
    height: 5px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.8s, width 0.4s;
    display: block;
}

.aaw-carousel-dots span.active {
    width: 80px;
    height: 5px;
    background: #ffffff;
    border-radius: 30px;
}

/* Responsive */
@media (max-width: 746px) {
    .aaw-carousel {
        perspective: 500000px;
    }

    .aaw-carousel-wrapper {
        height: 450px;
        overflow: hidden;
    }

    .aaw-carousel-item {
        height: 300px;
    }

    .aaw-carousel-nav {
        width: 50px;
        height: 50px;
    }

    .aaw-carousel-nav img {
        width: 50px;
        height: 50px;
    }
}
