/* ============================================================
   HOME PAGE V2 — home.css
   ============================================================ */

/* ─── GENERAL NEW COMPONENTS ─────────────────────────────────── */
.inline-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.inline-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background: var(--accent);
}

.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 16px 32px;
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(240, 165, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 165, 0, 0.5);
}

.btn-glow:hover::after {
    opacity: 0.2;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    transition: all 0.3s;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 24px;
    transition: gap 0.3s, color 0.3s;
}

.link-arrow:hover {
    gap: 12px;
    color: var(--accent);
}

/* ─── HERO V2 ────────────────────────────────────────────────── */
.hero-v2 {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #041424 0%, #0a3d62 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.circuit-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.circuit-bg svg {
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

/* SVG animations */
.circuit-line {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawLine 8s linear infinite;
}

.cl1 {
    animation-delay: 0s;
}

.cl2 {
    animation-delay: -2s;
}

.cl3 {
    animation-delay: -4s;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.node {
    opacity: 0.2;
    animation: nodePulse 3s ease-in-out infinite alternate;
}

.n1,
.n5,
.n9 {
    animation-delay: 0s;
}

.n2,
.n6,
.n10 {
    animation-delay: 1s;
}

.n3,
.n7 {
    animation-delay: 2s;
}

.n4,
.n8 {
    animation-delay: 1.5s;
}

@keyframes nodePulse {
    to {
        opacity: 1;
        r: 6;
        fill: #fff;
        box-shadow: 0 0 10px #f0a500;
    }
}

.hero-v2-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-v2-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 32px;
    animation: slideFadeUp 0.8s ease 0.2s both;
}

.tag-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 8px #00e676;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 230, 118, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
    }
}

.hero-v2-title {
    color: white;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: slideFadeUp 0.8s ease 0.4s both;
}

.title-highlight {
    background: linear-gradient(to right, #ffffff, #f0a500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-v2-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 40px;
    animation: slideFadeUp 0.8s ease 0.6s both;
}

.hero-v2-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: slideFadeUp 0.8s ease 0.8s both;
}

/* Floating Mosaic */
.hero-v2-mosaic {
    position: relative;
    height: 600px;
    animation: slideFadeUp 1s ease 0.5s both;
}

.mosaic-card {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mosaic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mosaic-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.mc-1 {
    width: 60%;
    height: 350px;
    top: 0;
    right: 0;
    z-index: 2;
    animation: float1 6s ease-in-out infinite;
}

.mc-2 {
    width: 50%;
    height: 280px;
    bottom: 40px;
    left: 0;
    z-index: 3;
    animation: float2 7s ease-in-out infinite alternate;
}

.mc-3 {
    width: 45%;
    height: 260px;
    bottom: 0;
    right: 10%;
    z-index: 1;
    opacity: 0.6;
    animation: float3 8s ease-in-out infinite;
    filter: grayscale(100%);
}

.mosaic-card:hover {
    transform: scale(1.05) translateZ(0) !important;
    z-index: 10;
    opacity: 1;
    filter: grayscale(0%);
    cursor: crosshair;
}

.mosaic-chip {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border-radius: 100px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
}

.mosaic-chip i {
    color: var(--accent);
    font-size: 1.1rem;
}

.chip-1 {
    top: 60px;
    left: -20px;
    animation: float3 5s ease-in-out infinite alternate;
}

.chip-2 {
    bottom: 120px;
    right: -30px;
    animation: float1 6s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(15px) rotate(-1deg);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Diagonal edge */
.hero-v2-edge {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--bg-white);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 5;
}

/* ─── STATS STRIP ────────────────────────────────────────────── */
.stats-strip {
    background: var(--bg-white);
    padding: 20px 0 60px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-block {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.stat-ring {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.stat-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(10, 61, 98, 0.1);
    stroke-width: 6;
}

.ring-fill {
    fill: none;
    stroke: var(--accent);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 226;
    stroke-dashoffset: 226;
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-block.in-view .rf-1 {
    stroke-dashoffset: 45;
}

/* ~80% */
.stat-block.in-view .rf-2 {
    stroke-dashoffset: 22;
}

/* ~90% */
.stat-block.in-view .rf-3 {
    stroke-dashoffset: 0;
}

/* 100% */
.stat-block.in-view .rf-4 {
    stroke-dashoffset: 67;
}

/* ~70% */
.stat-val {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary);
}

.stat-meta strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-dark);
    line-height: 1.2;
}

.stat-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── ABOUT ASYMMETRIC ───────────────────────────────────────── */
.about-v2-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.visual-frame {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 20px 0 0 20px;
}

.visual-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    border: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    z-index: 0;
}

.vf-main {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.vf-accent-bar {
    position: absolute;
    bottom: 40px;
    right: -20px;
    width: 6px;
    height: 120px;
    background: var(--accent);
    z-index: 2;
    border-radius: 6px;
}

.cert-float {
    position: absolute;
    bottom: -30px;
    left: 40px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--primary-dark);
    color: white;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.cert-float-icon {
    font-size: 2rem;
    color: var(--accent);
}

.cert-float strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.cert-float span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.exp-float {
    position: absolute;
    top: 40px;
    right: -40px;
    z-index: 3;
    background: var(--bg-white);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.ef-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 2px;
}

.ef-num sup {
    font-size: 1rem;
}

.ef-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
}

.about-v2-text h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.about-v2-text h2 span {
    color: var(--primary-light);
}

.about-v2-text p {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 20px;
}

.check-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    color: var(--primary);
}

.check-dot {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(240, 165, 0, 0.2);
}

/* ─── WHY CHOOSE US OVERLAP ──────────────────────────────────── */
.why-v2 {
    position: relative;
    padding: 100px 0;
    margin-top: 60px;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.why-v2-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.why-v2 .container {
    position: relative;
    z-index: 2;
}

.why-v2-header {
    max-width: 500px;
    margin-bottom: 48px;
}

.why-v2-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.why-v2-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.wv2-card {
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s;
}

.wv2-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.wv2-num {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(10, 61, 98, 0.03);
    line-height: 1;
    transition: color 0.4s;
}

.wv2-card:hover .wv2-num {
    color: rgba(240, 165, 0, 0.1);
}

.wv2-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.wv2-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.wv2-card p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.wv2-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--accent);
    transition: width 0.4s ease;
}

.wv2-card:hover .wv2-line {
    width: 100%;
}

/* ─── BENTO GRID PRODUCTS ────────────────────────────────────── */
.pv2-header {
    text-align: center;
    margin-bottom: 48px;
}

.pv2-header h2 {
    font-size: 2.5rem;
}

.pv2-header p {
    max-width: 600px;
    margin: 16px auto 0;
    color: var(--text-mid);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    grid-auto-flow: dense;
    gap: 20px;
}

.bento-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s, box-shadow 0.4s;
    display: block;
    text-decoration: none;
}

.bento-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.bento-card:hover img {
    transform: scale(1.08);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    padding: 24px;
    padding-right: 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    color: white;
    transition: padding 0.4s;
}

.bento-card:hover .bento-overlay {
    padding-bottom: 24px;
}

.bento-solid {
    background: var(--bento-bg);
    justify-content: center;
    text-align: center;
    align-items: center;
}

.bento-cat-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.bento-solid .bento-cat-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    opacity: 0.8;
}

.bento-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
    line-height: 1.2;
}

.bento-overlay p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    height: 0;
    margin: 0;
    overflow: hidden;
}

.bento-card:hover .bento-overlay p {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    margin-top: 8px;
    margin-bottom: 0px;
}

.bento-arrow {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: inline-flex;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    opacity: 0;
    transform: translateX(-10px);
}

.bento-card:hover .bento-arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--accent);
    color: var(--primary-dark);
}

.bento-lg {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-lg h3 {
    font-size: 1.8rem;
}

.bento-md {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
    grid-row: span 1;
}

/* ─── CTA V2 DIAGONAL ────────────────────────────────────────── */
.cta-v2 {
    position: relative;
    padding: 100px 0;
    margin-top: 40px;
    overflow: hidden;
    background: var(--primary-dark);
    color: white;
    text-align: center;
}

.cta-v2-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.2;
}

.cta-v2-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-v2::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 102px;
    background: var(--bg-white);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    z-index: 2;
}

.cta-v2-inner {
    position: relative;
    z-index: 3;
    max-width: 700px;
    margin: 0 auto;
}

.cta-v2-inner h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-v2-inner h2 span {
    color: var(--accent);
}

.cta-v2-inner p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.cta-v2-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ─── RESPONSIVE OVERRIDES ───────────────────────────────────── */
@media (max-width: 1200px) {
    .hero-v2-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 20px 0;
    }

    .hero-v2-tag {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-v2-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-v2-actions {
        justify-content: center;
    }

    .hero-v2-mosaic {
        height: 400px;
        max-width: 700px;
        margin: 40px auto 0;
    }

    .mc-1 {
        width: 50%;
        height: 260px;
        right: 10%;
    }

    .mc-2 {
        width: 45%;
        height: 220px;
        left: 10%;
        bottom: 20px;
    }

    .mc-3 {
        display: none;
    }

    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bento-lg {
        grid-column: span 2;
    }

    .bento-wide {
        grid-column: span 3;
    }
}

@media (max-width: 992px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-v2-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .why-v2-bg {
        display: none;
    }

    .why-v2-scroll {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-v2-header {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-v2-title {
        font-size: 2.8rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-card {
        min-height: 240px;
    }

    .bento-lg,
    .bento-md,
    .bento-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .cta-v2-inner h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .hero-v2-inner {
        padding: 40px 16px 0;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .why-v2-scroll {
        grid-template-columns: 1fr;
    }

    .hero-v2-mosaic {
        display: none;
    }

    .chip-1,
    .chip-2 {
        display: none;
    }
}
/* --- CLIENT LOGOS --------------------------------------------- */
.client-logos {
    padding: 60px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
}

.client-logos-header {
    text-align: center;
    margin-bottom: 40px;
}

.client-logos-header h2 {
    font-size: 2rem;
    color: var(--primary-dark);
}

.client-logos-header h2 span {
    color: var(--accent);
}

.client-logo-track-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

/* Optional gradient fade on sides */
.client-logo-track-container::before,
.client-logo-track-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
}

.client-logo-track-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-white) 0%, transparent 100%);
}

.client-logo-track-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-white) 0%, transparent 100%);
}

.client-logo-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: scrollLogos 30s linear infinite;
}

.client-logo-track:hover {
    animation-play-state: paused;
}

.client-logo-item {
    width: 160px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    padding: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.client-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.client-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s;
}

.client-logo-item:hover img {
    filter: grayscale(0%) opacity(1);
}

@keyframes scrollLogos {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 20px));
    }
}


/* --- DEALING BRANDS --------------------------------------------- */
.brands {
    padding: 60px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.brands-header {
    text-align: center;
    margin-bottom: 40px;
}

.brands-header h2 {
    font-size: 2rem;
    color: var(--primary-dark);
}

.brands-header h2 span {
    color: var(--accent);
}

.brand-track-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.brand-track-container::before,
.brand-track-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
}

.brand-track-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}

.brand-track-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
}

.brand-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: scrollBrands 40s linear infinite reverse;
}

.brand-track:hover {
    animation-play-state: paused;
}

.brand-item {
    width: 160px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    padding: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s;
}

.brand-item:hover img {
    filter: grayscale(0%) opacity(1);
}

@keyframes scrollBrands {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 20px));
    }
}

