/* ======================================
   CLIENT SUCCESS SECTION
====================================== */

.fg-success {
    background-color: #EEF0FF;
    padding: 80px 0;
    width: 100% !important;
}

.fg-success__inner {
    max-width: 1680px;
    padding: 0 12px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* ======================================
   TOP — HEADING + DESCRIPTION
====================================== */

.fg-success__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
}

.fg-success__heading {
    flex: 0 0 40%;
    max-width: 40%;
}

.fg-success__heading h1,
.fg-success__heading h2,
.fg-success__heading h3,
.fg-success__heading p,
.fg-success__heading strong {
    font-size: 2.75rem;
    font-weight: 900;
    color: #06064E;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
}

.fg-success__highlight {
    color: #D2221A;
}

.fg-success__description {
    flex: 0 0 50%;
    max-width: 50%;
}

.fg-success__description p {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.75;
    color: #4D4D4D;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

/* ======================================
   CAROUSEL — NAVY OUTER CARD
====================================== */

.fg-success__carousel {
    position: relative;
    background: #06064E;
    border-radius: 24px;
    padding: 48px 48px 32px 48px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    overflow: hidden;
}

/* ── Decorative opening quote ── */
.fg-success__deco-open {
    position: absolute;
    top: -20px;
    left: 36px;
    font-size: 180px;
    font-family: Georgia, 'Times New Roman', serif;
    color: rgba(255, 255, 255, 0.10);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* ── Decorative closing quote (below nav) ── */
.fg-success__deco-close {
    text-align: right;
    font-size: 80px;
    font-family: Georgia, 'Times New Roman', serif;
    color: #D2221A;
    line-height: 0.8;
    pointer-events: none;
    user-select: none;
    position: relative;
    z-index: 2;
    margin-top: -8px;
}

/* ======================================
   SLIDES — WHITE INNER CARD
====================================== */

.fg-success__slides {
    position: relative;
    z-index: 2;
}

.fg-success__slide {
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    overflow: hidden;
    min-height: 340px;
}

/* Photo — left half, no border-radius (card clips it) */
.fg-success__photo {
    flex: 0 0 38%;
    overflow: hidden;
}

.fg-success__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content — right half */
.fg-success__content {
    flex: 1;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

/* ── Stars ── */
.fg-success__stars {
    display: flex;
    align-items: center;
    gap: 3px;
}

.fg-success__star {
    font-size: 1.25rem;
    color: #D8D8D8;
}

.fg-success__star--on {
    color: #F4A416;
}

.fg-success__rating-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #06064E;
    margin-left: 8px;
}

/* ── Quote ── */
.fg-success__quote {
    font-size: 0.875rem;
    line-height: 1.8;
    color: #333333;
    margin: 0;
}

/* ── Author ── */
.fg-success__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #F0F0F0;
}

.fg-success__avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.fg-success__initials {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #06064E;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fg-success__author-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fg-success__author-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #06064E;
}

.fg-success__author-role {
    font-size: 0.78rem;
    color: #888888;
}

/* ======================================
   NAVIGATION
====================================== */

.fg-success__nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.fg-success__nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.40);
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.fg-success__nav-btn svg {
    width: 16px;
    height: 16px;
}

.fg-success__nav-btn:hover {
    border-color: #D2221A;
    background: rgba(210, 34, 26, 0.15);
}

/* ======================================
   RESPONSIVE
====================================== */

@media (max-width: 1199.98px) {
    .fg-success__heading h1,
    .fg-success__heading h2,
    .fg-success__heading h3,
    .fg-success__heading p {
        font-size: 2.25rem;
    }

    .fg-success__photo {
        flex: 0 0 32%;
    }
}

@media (max-width: 991.98px) {
    .fg-success__top {
        flex-direction: column;
        gap: 20px;
    }

    .fg-success__heading,
    .fg-success__description {
        flex: none;
        max-width: 100%;
    }

    .fg-success__carousel {
        padding: 40px 32px 28px;
    }

    .fg-success__photo {
        flex: 0 0 260px;
    }
}

@media (max-width: 767.98px) {
    .fg-success {
        padding: 60px 0;
    }

    .fg-success__slide {
        flex-direction: column;
        min-height: unset;
    }

    .fg-success__photo {
        flex: none;
        height: 260px;
    }

    .fg-success__content {
        padding: 24px;
    }

    .fg-success__carousel {
        padding: 36px 20px 24px;
    }

    .fg-success__deco-open {
        font-size: 110px;
    }

    .fg-success__deco-close {
        font-size: 56px;
    }
}

@media (max-width: 575.98px) {
    .fg-success {
        padding: 48px 0;
    }

    .fg-success__heading h1,
    .fg-success__heading h2,
    .fg-success__heading h3,
    .fg-success__heading p {
        font-size: 1.85rem;
    }

    .fg-success__carousel {
        border-radius: 16px;
        padding: 28px 16px 20px;
    }
}
