/* ===================================
   Marquee Animation for Product Cards
   =================================== */

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    display: flex;
    animation: marquee 60s linear infinite;
    will-change: transform;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* Product Card Styling */
.product-card {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    margin: 0 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.product-card:hover {
    background: rgba(99, 102, 241, 0.03);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.product-logo {
    width: 40px;
    height: 40px;
    border: 3px solid white;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.product-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.375rem;
}

.product-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
}

.deal-badge {
    position: absolute;
    top: 0;
    right: 10px;
    padding: 0.25rem 0.5rem;
    font-size: 10px;
    font-weight: 600;
    transform: translate(50%, -50%);
    color: #14b8a6;
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.deal-badge svg {
    width: 14px;
    height: 14px;
}

/* ===================================
   Responsive Adjustments for Products
   =================================== */

@media (max-width: 768px) {
    .product-logo {
        width: 32px;
        height: 32px;
    }

    .product-name {
        font-size: 0.75rem;
    }
    
    .animate-marquee {
        animation-duration: 40s;
    }
}

@media (max-width: 640px) {
    .animate-marquee {
        animation-duration: 30s;
    }
}

/* ===================================
   Utility Classes
   =================================== */

html {
    scroll-behavior: smooth;
}

.product-card:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ===================================
   Testimonials Section - Exact from Original
   =================================== */

.testimonial-section .section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 52px;
}

.testimonial-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.28);
    color: #6366F1;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 22px;
}

.testimonial-section .section-title {
    color: #111827;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
}

.testimonial-section .section-title span {
    background: linear-gradient(135deg, #6366F1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-section .section-sub {
    color: #6b7280;
    font-size: 15px;
    font-weight: 400;
    max-width: 480px;
}

/* Wrapper */
.testimonial-wrapper {
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 40px 100px rgba(0,0,0,0.55),
        0 0 0 1px rgba(255,255,255,0.06);
    min-height: 420px;
}

/* Cards */
.testimonial-card {
    flex: 1;
    padding: 52px 58px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.testimonial-card.active {
    display: flex;
    animation: slideIn 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-14px); }
    to   { opacity: 1; transform: translateX(0); }
}

.testimonial-card.dark { 
    background: #0d1535; 
}

/* Decorative big quote */
.testimonial-card .deco-quote {
    position: absolute;
    top: -24px;
    left: 40px;
    font-size: 200px;
    font-weight: 900;
    line-height: 1;
    font-family: Georgia, 'Times New Roman', serif;
    color: rgba(99, 102, 241, 0.07);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.testimonial-card.dark .deco-quote {
    color: rgba(99, 102, 241, 0.09);
}

/* Stars */
.testimonial-card .stars {
    display: flex;
    gap: 3px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.testimonial-card .star {
    width: 18px;
    height: 18px;
    color: #F59E0B;
}

/* Card top */
.testimonial-card .card-top {
    display: flex;
    align-items: flex-start;
    gap: 44px;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.testimonial-card .quote-block { 
    flex: 1; 
}

.testimonial-card .quote-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.65;
    color: #111827;
    margin-bottom: 28px;
}

.testimonial-card.dark .quote-text { 
    color: #e8eeff; 
}

/* Person row */
.testimonial-card .person-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-card .person-avatar-sm {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #6366F1;
}

.testimonial-card .person-name {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

.testimonial-card.dark .person-name { 
    color: #ffffff; 
}

.testimonial-card .person-role {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

.testimonial-card.dark .person-role { 
    color: #7a8cc4; 
}

/* Big photo right */
.testimonial-card .photo-big {
    width: 168px;
    height: 168px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    box-shadow: 0 10px 32px rgba(0,0,0,0.18);
}

.testimonial-card.dark .photo-big {
    box-shadow: 0 10px 32px rgba(0,0,0,0.5);
}

/* Card bottom */
.testimonial-card .card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 26px;
    border-top: 1px solid rgba(17,24,39,0.08);
    position: relative;
    z-index: 1;
}

.testimonial-card.dark .card-bottom {
    border-top-color: rgba(255,255,255,0.07);
}

.testimonial-card .metric-value {
    font-size: 46px;
    font-weight: 800;
    color: #6366F1;
    line-height: 1;
    letter-spacing: -1.5px;
    margin-bottom: 5px;
}

.testimonial-card .metric-label {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.testimonial-card .read-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    padding: 11px 22px;
    border: 1.5px solid rgba(17,24,39,0.12);
    border-radius: 100px;
    transition: all 0.22s;
    white-space: nowrap;
}

.testimonial-card .read-link:hover {
    color: #6366F1;
    border-color: #6366F1;
    background: rgba(99, 102, 241, 0.05);
    gap: 12px;
}

.testimonial-card.dark .read-link {
    color: #7a8cc4;
    border-color: rgba(255,255,255,0.1);
}

.testimonial-card.dark .read-link:hover {
    color: #6366F1;
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.06);
}

/* Card progress bar */
.testimonial-card .card-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #6366F1, #8b5cf6);
    z-index: 2;
}

/* Tab nav - Dark Sidebar */
.tab-nav {
    width: 248px;
    flex-shrink: 0;
    background: #12172a;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255,255,255,0.05);
}

.tab-btn {
    all: unset;
    cursor: pointer;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 13px;
    position: relative;
    transition: background 0.18s;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.tab-btn:last-child { 
    border-bottom: none; 
}

.tab-btn:not(.active):hover {
    background: rgba(255,255,255,0.04);
}

.tab-btn.active { 
    background: #6366F1; 
}

/* Logo pill */
.tab-logo {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.tab-logo img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
}

.tab-logo .logo-fb {
    font-size: 17px;
    font-weight: 800;
    display: none;
}

.tab-text { 
    flex: 1; 
    min-width: 0; 
}

.tab-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
    transition: color 0.18s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-meta {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    margin-top: 2px;
    transition: color 0.18s;
}

.tab-btn.active .tab-name  { 
    color: #ffffff; 
}

.tab-btn.active .tab-meta  { 
    color: rgba(255,255,255,0.7); 
}

.tab-btn:not(.active):hover .tab-name { 
    color: rgba(255,255,255,0.8); 
}

/* Tab progress strip */
.tab-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: rgba(255,255,255,0.45);
}

/* Responsive */
@media (max-width: 820px) {
    .testimonial-wrapper { 
        flex-direction: column; 
    }

    .tab-nav {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        order: -1;
    }

    .tab-btn {
        flex: 1 1 50%;
        padding: 12px 14px;
        border-bottom: none;
        border-right: 1px solid rgba(255,255,255,0.04);
        gap: 10px;
    }

    .tab-btn:nth-child(even) { 
        border-right: none; 
    }

    .testimonial-card {
        padding: 32px 28px;
    }

    .testimonial-card .card-top { 
        gap: 20px; 
    }

    .testimonial-card .photo-big {
        width: 100px;
        height: 100px;
        border-radius: 10px;
    }

    .testimonial-card .quote-text { 
        font-size: 17px; 
    }
    
    .testimonial-section .section-title { 
        font-size: 28px; 
    }
}
/* Add this to your home-style.css */

@keyframes marqueeLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.animate-marqueeLeft {
    display: flex;
    animation: marqueeLeft 60s linear infinite;
    will-change: transform;
}

.animate-marqueeLeft:hover {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .animate-marqueeLeft {
        animation-duration: 40s;
    }
}

@media (max-width: 640px) {
    .animate-marqueeLeft {
        animation-duration: 30s;
    }
}