/* =========================================================
   17. ANIMATED STATISTICS SECTION
========================================================= */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(11, 17, 32, 0.95));
    border-top: 1px solid rgba(14, 165, 233, 0.2);
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-box {
    text-align: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--heading);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
    color: var(--primary);
}

.stat-label {
    font-size: 1rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   18. CLIENT LOGOS SECTION
========================================================= */
.values-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clients-section {
    padding: 60px 0;
    background: var(--bg-mid);
}

.clients-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--heading);
    margin-bottom: 48px;
    font-weight: 600;
}

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

.clients-grid {
    display: flex;
    gap: 32px;
    align-items: center;
    width: max-content;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.clients-grid:hover {
    animation-play-state: paused;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
    min-height: 100px;
    width: 200px;
    flex-shrink: 0;
}

.client-logo:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.client-logo img {
    width: 100%;
    height: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.client-logo:hover img {
    transform: scale(1.1);
}



/* =========================================================
   19. CTA BANNER
========================================================= */
.cta-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(11, 17, 32, 0.98));
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('assets/img/cta-banner-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    color: var(--heading);
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 40px;
}

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

/* =========================================================
   20. SCROLL PROGRESS BAR
========================================================= */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #06b6d4);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--primary);
}

/* =========================================================
   21. BACK TO TOP BUTTON
========================================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #0ea5e9;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.6);
}

/* =========================================================
   22. FLOATING PARTICLES CANVAS
========================================================= */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}