/* ==============================
   CLIENTS WE'VE BUILT WITH SECTION
   + WHEN THE WORK WORKS SECTION
   ============================== */

/* ---- CLIENTS SECTION ---- */
.clients-built {
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.clients-built-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 50px 0;
    letter-spacing: -0.02em;
}

.clients-built-title em {
    font-style: italic;
    font-family: 'Rustic Roadway', cursive;
    font-weight: 400;
    color: var(--orange1);
    font-size: 1.1em;
}

/* Logo Marquee */
.logo-marquee-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Fade edges */
.logo-marquee-wrap::before,
.logo-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee-wrap::before {
    left: 0;
    background: linear-gradient(to right, rgba(5, 8, 15, 1), transparent);
}

.logo-marquee-wrap::after {
    right: 0;
    background: linear-gradient(to left, rgba(5, 8, 15, 1), transparent);
}

.logo-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}

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

.logo-marquee-track.reverse {
    animation: marqueeScrollReverse 35s linear infinite;
}

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

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Client Logo */
.client-logo-circle {
    width: 150px;
    height: 150px;
    border-radius: 16px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    box-shadow: none;
}

.client-logo-circle:hover {
    transform: scale(1.12);
    box-shadow: none;
}

.client-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.15));
    transition: filter 0.3s ease;
}

.client-logo-circle:hover img {
    filter: drop-shadow(0 4px 12px rgba(255, 159, 10, 0.3));
}


/* ---- WHEN THE WORK WORKS SECTION ---- */
.work-works {
    padding: 60px 6% 80px;
    position: relative;
}

.ww-header {
    text-align: center;
    margin-bottom: 50px;
}

.ww-title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 25px 0;
    letter-spacing: -0.02em;
}

.ww-title em {
    font-style: italic;
    font-family: 'Rustic Roadway', cursive;
    font-weight: 400;
    color: var(--orange1);
    font-size: 1.1em;
}

.ww-cta-btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 40px;
    background: linear-gradient(135deg, #ff9f0a, #ff6a00);
    color: #000;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.ww-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 159, 10, 0.35);
}

/* Industry Stats Grid */
.ww-industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Industry Card */
.ww-industry-card {
    padding: 30px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ww-industry-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 159, 10, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* Card Header */
.ww-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ww-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 159, 10, 0.08);
    border: 1px solid rgba(255, 159, 10, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ww-card-icon i {
    font-size: 20px;
    color: var(--orange1);
}

.ww-card-head h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* Stat Row */
.ww-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.ww-stat {
    flex: 1;
    min-width: 80px;
}

.ww-stat-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--orange1);
    line-height: 1.2;
    margin-bottom: 3px;
}

.ww-stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
}


/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .clients-built {
        padding: 40px 0 20px;
    }
    .clients-built-title {
        margin-bottom: 30px;
    }
    .client-logo-circle {
        width: 100px;
        height: 100px;
        padding: 12px;
        border-radius: 50%;
        background: transparent;
        box-shadow: none;
    }
    .logo-marquee-track {
        gap: 15px;
    }
    .logo-marquee-wrap {
        margin-bottom: 15px;
        background: transparent !important;
    }
    .logo-marquee-wrap::before,
    .logo-marquee-wrap::after {
        display: none;
    }
    .work-works {
        padding: 40px 5% 60px;
    }
    .ww-industry-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
    .ww-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .client-logo-circle {
        width: 85px;
        height: 85px;
        padding: 10px;
    }
    .logo-marquee-wrap::before,
    .logo-marquee-wrap::after {
        display: none;
    }
    .logo-marquee-track {
        gap: 12px;
    }
}
