/* =========================================
   1. GLOBAL STYLES & SCROLLBAR
   ========================================= */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* =========================================
   2. UTILITY CLASSES
   ========================================= */

/* Gradient Text Effect */
.text-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background Grid Pattern */
.bg-grid-pattern {
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 30px 30px;
}

/* =========================================
   3. PROCESS PAGE: TIMELINE
   ========================================= */
.timeline-line::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
    z-index: 0;
}

@media (max-width: 768px) {
    .timeline-line::before {
        left: 20px;
    }
}

/* =========================================
   4. CLIENT LOGO SLIDER (Infinite Loop)
   ========================================= */
@keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); } /* Moves exactly one set length */
    }

    /* Mobile Speed: 10 seconds (Faster) */
    .animate-scroll {
        animation: scroll 10s linear infinite;
    }

    /* Desktop Speed: 25 seconds (Slower) */
    @media (min-width: 768px) {
        .animate-scroll-slow {
            animation: scroll 60s linear infinite;
        }
    }
    /* Pause animation on hover for better user experience */
    .animate-scroll:hover, .animate-scroll-slow:hover {
        animation-play-state: paused;
    }

/* =========================================
   5. CAREER PAGE: ANIMATIONS
   ========================================= */
@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -48%) scale(0.96); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}