/* Global Custom Styles for CP HR Advisory */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Premium Glassmorphism Utility */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Horizontal Scrolling Animation for Logos */
.scroller {
    max-width: 100%;
    overflow: hidden;
    -webkit-mask: linear-gradient(
        90deg,
        transparent,
        white 20%,
        white 80%,
        transparent
    );
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller__inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 3rem;
    animation: scroll 40s forwards linear infinite;
}

.scroller__inner:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - 1.5rem));
    }
}

/* Value-Add Curve Graph Specific Styles */
.value-curve-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 1rem;
    position: relative;
}

/* Fade in animation for intersection observer */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
}

/* Custom Gradients */
.bg-gradient-premium {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}

.text-gradient-gold {
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Cursor */
body {
    cursor: none; /* Hide default cursor */
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #f59e0b; /* Amber */
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(245, 158, 11, 0.5); /* Amber with opacity */
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Cursor Hover State */
a:hover ~ .cursor-outline,
button:hover ~ .cursor-outline,
.interactive:hover ~ .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(245, 158, 11, 0.1);
}

/* Animated Counters */
.counter-box {
    position: relative;
    overflow: hidden;
}

.counter-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245,158,11,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.counter-box:hover::after {
    opacity: 1;
}

/* Image Hover effects */
.hover-scale {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hover-scale:hover {
    transform: scale(1.02);
}

/* AOS overrides */
[data-aos] {
    pointer-events: none;
}
[data-aos].aos-animate {
    pointer-events: auto;
}
