200* Testimonials Snapshots Widget */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Tajawal:wght@300;400;500&display=swap');

/* ── Root & Reset ─────────────────────────────────────────── */
.ft-snap-wrapper {
    --ft-gold:     #2D7A74;
    --ft-gold-lt:  #E8F4F3;
    --ft-gold-dk:  #1A5550;
    --ft-dark:     #0F2027;
    --ft-surface:  #F5F5F2;
    --ft-card-bg:  #FFFFFF;
    --ft-border:   rgba(45, 122, 116, 0.30);
    --ft-text:     #0F2027;
    --ft-muted:    rgba(15, 32, 39, 0.50);
    --ft-shadow:   rgba(45, 122, 116, 0.18);

    font-family: 'Tajawal', sans-serif;
    position: relative;
    width: 100%;
    padding: 24px 0 16px;
    overflow: hidden;
    direction: rtl;
    background: transparent;
}

/* ── Section Header ───────────────────────────────────────── */
.ft-snap-header {
    text-align: center;
    margin-bottom: 28px;
}

.ft-snap-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--ft-dark);
    margin: 0 0 8px;
    letter-spacing: 0.02em;
}

.ft-snap-heading em {
    color: var(--ft-gold);
    font-style: italic;
}

.ft-snap-subheading {
    font-size: 0.9rem;
    color: var(--ft-muted);
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.08em;
}

/* ── Scene Container ──────────────────────────────────────── */
.ft-snap-scene {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ambient glow */
.ft-snap-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(45,122,116,0.08) 0%, transparent 70%) !important;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
}

/* ── Stage: orbital track ─────────────────────────────────── */
.ft-snap-stage {
    position: relative;
    width: 100%;
    height: 200px;
    perspective: 1400px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Cards ────────────────────────────────────────────────── */
.ft-snap-card {
    position: absolute;
    width: 350px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition:
        transform 0.72s cubic-bezier(0.34, 1.35, 0.64, 1),
        opacity   0.5s ease,
        filter    0.5s ease,
        z-index   0s;
    transform-style: preserve-3d;
    will-change: transform, opacity;
    border: 1px solid rgba(45, 122, 116, 0.22);
    background: #edf7f6;
    box-shadow:
        0 3px 18px rgba(15, 32, 39, 0.09),
        0 1px 4px rgba(15, 32, 39, 0.05);
}

.ft-snap-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.ft-snap-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.6s ease;
}

.ft-snap-card:hover .ft-snap-img {
    transform: scale(1.04);
}

.ft-snap-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f4f3, #d0ecea);
    color: var(--ft-muted);
    font-size: 0.8rem;
    text-align: center;
    padding: 12px;
}

/* Card overlay — completely removed, images shown clean */
.ft-snap-overlay {
    display: none;
}

.ft-snap-card.active .ft-snap-overlay,
.ft-snap-card:hover .ft-snap-overlay {
    display: none;
}

.ft-snap-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--ft-gold);
    background: rgba(45, 122, 116, 0.12);
    border: 1px solid rgba(45, 122, 116, 0.4);
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
    backdrop-filter: blur(6px);
}

.ft-snap-icon {
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.ft-snap-icon svg {
    width: 12px;
    height: 12px;
}

/* ── Active card shine border ─────────────────────────────── */
.ft-snap-card.active {
    border-color: rgba(45, 122, 116, 0.65);
    box-shadow:
        0 8px 32px rgba(15, 32, 39, 0.14),
        0 0 0 1.5px rgba(45, 122, 116, 0.45),
        0 4px 20px rgba(45, 122, 116, 0.15);
}

/* Gold shimmer line on top of active card */
.ft-snap-card.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(45,122,116,0.8), transparent);
    z-index: 10;
}

/* ── Navigation Arrows ────────────────────────────────────── */
.ft-snap-nav {
    position: absolute;
        top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50% !important;
    border: 1.5px solid rgba(45, 122, 116, 0.55) !important;
    background: rgba(15, 32, 39, 0.75) !important;
    color: #2D7A74 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.ft-snap-nav:hover {
    background: #2D7A74;
    border-color: #2D7A74;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 18px rgba(45, 122, 116, 0.45);
}

.ft-snap-nav svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
}

.ft-snap-prev { left: 6px; }
.ft-snap-next { right: 6px !important; left: unset !important; position:absolute !important; }

/* ── Dots ─────────────────────────────────────────────────── */
.ft-snap-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
   
}

.ft-snap-dot {
     width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1.5px solid rgba(45, 122, 116, 0.35) !important;
    cursor: pointer;
    padding: 0 !important;
    transition: all 0.3s ease;
    max-height: 7px !important;
    min-height: 7px !important;
}

.ft-snap-dot.active {
    background: #2D7A74 !important;
    border-color: #2D7A74 !important;
    width: 22px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(45, 122, 116, 0.55);
}

.ft-snap-dot:hover:not(.active) {
    background: rgba(45, 122, 116, 0.45);
    border-color: rgba(45, 122, 116, 0.7);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .ft-snap-stage {
        height: 120px;
    }

    .ft-snap-card {
        width: clamp(200px, 70vw, 280px);
        height: 120px;
    }

    .ft-snap-nav {
        width: 28px;
        height: 28px;
    }

    .ft-snap-nav svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .ft-snap-stage {
        height: 110px;
    }

    .ft-snap-card {
        width: clamp(180px, 80vw, 260px);
        height: 110px;
    }
}

/* ── Entrance animation ───────────────────────────────────── */
@keyframes ft-card-enter {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.92);
    }
    to {
        opacity: 1;
    }
}

.ft-snap-card {
    animation: ft-card-enter 0.6s ease backwards;
}

/* ── Lightbox / Popup ─────────────────────────────────────── */
.ft-snap-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.ft-snap-lightbox.is-open {
    display: flex;
}

/* Backdrop */
.ft-snap-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 32, 39, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: ft-lb-fade-in 0.25s ease forwards;
}

/* Modal box */
.ft-snap-lightbox-box {
    position: relative;
    z-index: 1;
    max-width: min(92vw, 900px);
    max-height: 90vh;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 24px 80px rgba(15, 32, 39, 0.40),
        0 0 0 1px rgba(45, 122, 116, 0.35);
    animation: ft-lb-scale-in 0.30s cubic-bezier(0.34, 1.35, 0.64, 1) forwards;
    background: #fff;
}

/* Gold shimmer line on top */
.ft-snap-lightbox-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1.5px;
    background: linear-gradient(to right, transparent, rgba(45,122,116,0.9), transparent);
    z-index: 10;
}

/* Image inside lightbox */
.ft-snap-lightbox-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    object-position: top;
}

/* Close button */
.ft-snap-lightbox-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(15, 32, 39, 0.65);
    border: 1px solid rgba(45, 122, 116, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 20;
    padding: 0;
    line-height: 1;
}

.ft-snap-lightbox-close:hover {
    background: rgba(45, 122, 116, 0.75);
    border-color: rgba(45, 122, 116, 0.8);
    transform: scale(1.1);
}

.ft-snap-lightbox-close svg {
    width: 16px;
    height: 16px;
}

/* Zoom cursor on active card */
.ft-snap-card.active {
    cursor: zoom-in;
}

/* Animations */
@keyframes ft-lb-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes ft-lb-scale-in {
    from { opacity: 0; transform: scale(0.88); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes ft-lb-scale-out {
    from { opacity: 1; transform: scale(1); }
    to   { opacity: 0; transform: scale(0.88); }
}

.ft-snap-lightbox.is-closing .ft-snap-lightbox-backdrop {
    animation: ft-lb-fade-in 0.2s ease reverse forwards;
}

.ft-snap-lightbox.is-closing .ft-snap-lightbox-box {
    animation: ft-lb-scale-out 0.2s ease forwards;
}
