/**
 * Fish Pond Testimonials Carousel
 * BEM-style names so they don't collide with theme CSS.
 */

.fp-testimonials {
    background: var(--light-bg, #f8f9fa);
    padding: 100px 5%;
}

.fp-testimonials__container {
    max-width: 1100px;
    margin: 0 auto;
}

.fp-testimonials__title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-bg, #0a1929);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.fp-testimonials__subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light, #6c757d);
    margin: 0 auto 4rem;
    max-width: 720px;
    line-height: 1.6;
}

.fp-testimonials__carousel {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.fp-testimonials__stage {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    min-height: 460px;
}

.fp-testimonials__slide {
    position: absolute;
    inset: 0;
    background: #ffffff;
    padding: 4rem 3.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(10, 25, 41, 0.10);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    pointer-events: none;
}

.fp-testimonials__slide.is-active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.fp-testimonials__quote-mark {
    font-size: 5.5rem;
    line-height: 1;
    color: var(--accent-color, #f77f00);
    font-family: Georgia, serif;
    font-weight: 900;
    margin-bottom: 0.25rem;
}

.fp-testimonials__quote {
    font-size: 1.35rem;
    line-height: 1.7;
    color: var(--text-dark, #212529);
    max-width: 760px;
    margin: 0 auto 2rem;
    font-style: italic;
    font-weight: 400;
}

.fp-testimonials__quote p {
    margin: 0 0 0.75rem 0;
}

.fp-testimonials__quote p:last-child {
    margin-bottom: 0;
}

.fp-testimonials__rating {
    color: #f8b739;
    font-size: 1.4rem;
    letter-spacing: 4px;
    margin-bottom: 1.75rem;
}

.fp-testimonials__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.fp-testimonials__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color, #1a4d6d), var(--secondary-color, #2c7da0));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    flex-shrink: 0;
    object-fit: cover;
}

.fp-testimonials__avatar--photo {
    background: none;
}

.fp-testimonials__author-info {
    text-align: left;
}

.fp-testimonials__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-bg, #0a1929);
    margin-bottom: 0.15rem;
}

.fp-testimonials__role {
    font-size: 0.9rem;
    color: var(--text-light, #6c757d);
}

/* Controls */
.fp-testimonials__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.fp-testimonials__btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--primary-color, #1a4d6d);
    background: #ffffff;
    color: var(--primary-color, #1a4d6d);
    font-size: 1.4rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    padding: 0;
}

.fp-testimonials__btn:hover {
    background: var(--accent-color, #f77f00);
    border-color: var(--accent-color, #f77f00);
    color: #ffffff;
    transform: scale(1.08);
}

.fp-testimonials__dots {
    display: flex;
    gap: 0.6rem;
}

.fp-testimonials__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(26, 77, 109, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fp-testimonials__dot.is-active {
    background: var(--accent-color, #f77f00);
    width: 34px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .fp-testimonials { padding: 70px 5%; }
    .fp-testimonials__title { font-size: 2.1rem; }
    .fp-testimonials__subtitle { font-size: 1rem; margin-bottom: 2.5rem; }
    .fp-testimonials__slide { padding: 2.75rem 1.5rem; }
    .fp-testimonials__quote { font-size: 1.05rem; }
    .fp-testimonials__quote-mark { font-size: 4rem; }
}
