/* === PREMIUM TESTIMONIALS DESIGN === */
/* === SLIDES - Only one visible at a time === */
.wt-jotform-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(40px) scale(0.96);
    padding: 0 5px;
    pointer-events: none;
}

.wt-jotform-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    position: relative;
    pointer-events: auto;
}

/* === WRAPPER & TRACK === */
.wt-jotform-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 60px 20px 20px;
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.wt-jotform-track {
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

/* === CARD VARIANT 1: MODERN GLASS === */
.wt-jotform-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 28px 25px 22px;
    border-radius: 16px;
    position: relative;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.02),
        0 8px 32px rgba(0, 0, 0, 0.04),
        0 20px 60px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

/* Decorative accent line */
.wt-jotform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #A82025, #c62828, #A82025);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

/* Decorative corner */
.wt-jotform-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(26, 35, 126, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.wt-jotform-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.02),
        0 12px 48px rgba(26, 35, 126, 0.08),
        0 30px 80px rgba(0, 0, 0, 0.04);
}

/* === RATING STARS === */
.wt-jotform-rating {
    margin-bottom: 12px;
    font-size: 18px;
    letter-spacing: 5px;
    position: relative;
    z-index: 1;
    display: inline-block;
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.wt-star {
    transition: all 0.3s ease;
}

.wt-star.filled {
    color: #fbbf24;
}

.wt-star.empty {
    -webkit-text-fill-color: #e5e7eb;
    opacity: 0.5;
}

.wt-star.half {
    background: linear-gradient(90deg, #fbbf24 50%, #e5e7eb 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* === TESTIMONIAL TEXT === */
.wt-jotform-content {
    font-size: 1em;          
    line-height: 1.7;         
    color: #1e293b;
    position: relative;
    z-index: 1;
    font-style: italic;
    min-height: 60px;        
    font-weight: 400;
    letter-spacing: 0.01em;
    padding: 0 5px;
}

/* === QUOTATION MARKS === */
.wt-quote-open {
    font-size: 2.5em;
    line-height: 0.6;
    color: #1a237e;
    opacity: 0.12;
    font-family: Georgia, serif;
    display: inline-block;
    margin-right: 4px;
    vertical-align: top;
}

.wt-quote-close {
    font-size: 2.5em;
    line-height: 0.6;
    color: #1a237e;
    opacity: 0.12;
    font-family: Georgia, serif;
    display: inline-block;
    margin-left: 4px;
    vertical-align: bottom;
}

/* === FOOTER === */
.wt-jotform-footer {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 20px;
}

/* === AVATAR WITH GENDER ICONS === */
.wt-jotform-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(26, 35, 126, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wt-jotform-card:hover .wt-jotform-avatar {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(26, 35, 126, 0.3);
}

/* Female avatar - Pink/Purple gradient */
.wt-gender-female {
    background: linear-gradient(135deg, #ec407a, #ab47bc);
}

/* Male avatar - Blue gradient */
.wt-gender-male {
    background: linear-gradient(135deg, #1a237e, #42a5f5);
}

/* === VERIFIED BADGE === */
.wt-jotform-verified {
    font-size: 0.8em;
    color: #525261;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.wt-tick {
    font-weight: 700;
    color: #525261;
    font-size: 1.1em;
}


.wt-avatar-icon {
    width: 20px;
    height: 20px;
    color: #ffffff;
    stroke: #ffffff;
    stroke-width: 1.5;
    fill: none;
}

/* === NAME WRAPPER === */
.wt-jotform-name-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wt-jotform-name {
    font-weight: 600;
    font-size: 0.95em;
    color: #525261;
    letter-spacing: 0.3px;
}

.wt-jotform-slide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* === DATE === */
.wt-jotform-date {
    font-size: 0.8em;
    color: #64748b;
    font-weight: 400;
    letter-spacing: 0.3px;
    background: rgba(0, 0, 0, 0.02);
    padding: 4px 16px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.wt-jotform-card:hover .wt-jotform-date {
    background: rgba(26, 35, 126, 0.04);
    border-color: rgba(26, 35, 126, 0.08);
}

/* === TEXT ALIGNMENT === */
.wt-align-center { text-align: center; }
.wt-align-left { text-align: left; }
.wt-align-right { text-align: right; }

.wt-align-center .wt-jotform-footer { justify-content: center; }
.wt-align-center .wt-jotform-name-wrapper { justify-content: center; }
.wt-align-right .wt-jotform-footer { justify-content: flex-end; }
.wt-align-right .wt-jotform-name-wrapper { justify-content: flex-end; }

/* === DOTS === */
.wt-jotform-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
    padding: 8px 0;
}

.wt-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.wt-dot.active {
    background: #1a237e;
    transform: scale(1.5);
    box-shadow: 0 0 20px rgba(26, 35, 126, 0.25);
}

.wt-dot:hover {
    transform: scale(1.3);
    background: #283593;
}

/* === NAVIGATION ARROWS === */
.wt-jotform-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0px;
    z-index: 10;
}

.wt-jotform-next {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #4b5563;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.wt-jotform-next:hover {
    background: #1a237e;
    border-color: #1a237e;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(26, 35, 126, 0.25);
    transform: scale(1.05);
}

.wt-jotform-prev {
    display: none;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .wt-jotform-card { padding: 38px 32px 30px; }
    .wt-jotform-content { font-size: 1.1em; min-height: 80px; }
    .wt-quote-icon { font-size: 60px; }
}

@media (max-width: 768px) {
    .wt-jotform-wrapper { padding: 20px 10px; min-height: 340px; }
    .wt-jotform-track { min-height: 380px; }
    .wt-jotform-card { padding: 28px 22px 24px; border-radius: 18px; }
    .wt-jotform-content { font-size: 1em; min-height: 70px; line-height: 1.8; }
    .wt-quote-icon { font-size: 44px; top: 6px; right: 15px; }
    .wt-jotform-rating { font-size: 20px; letter-spacing: 4px; }
    .wt-jotform-avatar { width: 38px; height: 38px; font-size: 12px; }
    .wt-jotform-name { font-size: 0.95em; }
    .wt-jotform-date { font-size: 0.75em; padding: 3px 12px; }
    .wt-jotform-dots { gap: 10px; margin-top: 28px; }
    .wt-dot { width: 9px; height: 9px; }
}

@media (max-width: 480px) {
    .wt-jotform-card { padding: 20px 16px 18px; border-radius: 14px; }
    .wt-jotform-content { font-size: 0.9em; min-height: 55px; line-height: 1.7; }
    .wt-jotform-rating { font-size: 17px; letter-spacing: 3px; }
    .wt-quote-icon { font-size: 32px; top: 4px; right: 12px; }
    .wt-jotform-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
    .wt-align-center .wt-jotform-footer { align-items: center; }
    .wt-align-center .wt-jotform-name-wrapper { justify-content: center; }
}