/* ============================================
   INOV8 — Master Stylesheet v2
   Colors: #4D6BB3 (Primary), #F1F2F2 (Light), #FBA919 (Accent)
   ============================================ */

/* === CSS Custom Properties === */
:root {
    --primary: #4D6BB3;
    --primary-dark: #3a5496;
    --primary-light: #6b87c4;
    --primary-rgb: 77, 107, 179;
    --light: #F1F2F2;
    --light-dark: #d8d9d9;
    --accent: #FBA919;
    --accent-dark: #e09810;
    --accent-rgb: 251, 169, 25;
    --dark: #0f0f1a;
    --dark-2: #1a1a2e;
    --dark-3: #16213e;
    --text: #2d2d3a;
    --text-light: #6b6b80;
    --white: #ffffff;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 40px rgba(77, 107, 179, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font); cursor: none; border: none; background: none; }
ul { list-style: none; }
::selection { background: var(--primary); color: var(--white); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: shimmerBar 2s linear infinite;
    z-index: 10001;
    transition: width 0.1s linear;
    border-radius: 0 3px 3px 0;
}

@keyframes shimmerBar {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   NOISE TEXTURE OVERLAY
   ============================================ */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    pointer-events: none;
    opacity: 0.015;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(77, 107, 179, 0.5);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(77, 107, 179, 0.4);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent);
    background: rgba(251, 169, 25, 0.08);
    box-shadow: 0 0 30px rgba(251, 169, 25, 0.15);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(241, 242, 242, 0.85);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    box-shadow: 0 1px 30px rgba(0,0,0,0.04), 0 0 40px rgba(77, 107, 179, 0.02);
    padding: 10px 0;
    border-bottom: 1px solid rgba(77, 107, 179, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Animated Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.nav-logo svg {
    width: 36px;
    height: 36px;
}

.logo-path-1 {
    animation: logoPulse 3s ease-in-out infinite;
}

.logo-path-2 {
    animation: logoPulse 3s ease-in-out infinite 0.5s;
}

.logo-glow {
    animation: logoGlow 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes logoPulse {
    0%, 100% { stroke-width: 3; }
    50% { stroke-width: 2; stroke: var(--accent); }
}

@keyframes logoGlow {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.15); opacity: 0.6; }
}

.nav-links {
    display: flex;
    gap: 32px;
    position: relative;
}

.nav-indicator {
    position: absolute;
    bottom: -6px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    transition: all 0.3s;
    letter-spacing: 0.3px;
    padding: 4px 0;
}

.nav-link:hover {
    color: var(--primary);
    transform: scale(1.05);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    isolation: isolate;
}

.btn-sm {
    padding: 10px 22px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(77, 107, 179, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(77, 107, 179, 0.4), 0 0 40px rgba(77, 107, 179, 0.15);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(77, 107, 179, 0.2);
}

/* Ripple Effect */
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.25) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.btn:hover::after {
    opacity: 1;
}

/* Button loading/success states */
.btn-loading, .btn-success {
    display: none;
}

.btn.sending .btn-text,
.btn.sending .btn-icon {
    display: none;
}

.btn.sending .btn-loading {
    display: inline-flex;
}

.btn.sent .btn-text,
.btn.sent .btn-icon,
.btn.sent .btn-loading {
    display: none;
}

.btn.sent .btn-success {
    display: inline-flex;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(77, 107, 179, 0.08);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid rgba(77, 107, 179, 0.15);
    position: relative;
    overflow: hidden;
}

.section-tag::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(77,107,179,0.08), transparent);
    transform: translateX(-100%);
    animation: shimmerTag 3s ease-in-out infinite;
}

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

.section-title {
    font-size: 44px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */
.section-divider {
    line-height: 0;
    overflow: hidden;
}

.section-divider svg {
    width: 100%;
    height: auto;
    display: block;
}

.section-divider.inverted {
    transform: rotate(180deg);
    margin-top: -1px;
}

/* ============================================
   GLOBE CANVAS — Enhanced
   Positioned between "We Build" and "Digital"
   ============================================ */
.globe-canvas {
    position: absolute;
    top: 42%;
    left: 62%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 620px;
    height: 620px;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    animation: globeReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

.globe-canvas-bg {
    position: absolute;
    top: 42%;
    left: 62%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 720px;
    height: 720px;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    animation: globeReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

/* Dark vignette behind globe to improve contrast */
.globe-vignette {
    position: absolute;
    top: 42%;
    left: 62%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 620px;
    height: 620px;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        rgba(15, 15, 26, 0.15) 0%,
        rgba(15, 15, 26, 0.08) 40%,
        transparent 70%
    );
    opacity: 0;
    animation: globeReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

@keyframes globeReveal {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes globeRevealBg {
    to {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (max-width: 1024px) {
    .globe-canvas {
        width: 510px;
        height: 510px;
        opacity: 0.9;
        left: 65%;
    }
    .globe-canvas-bg {
        width: 590px;
        height: 590px;
        opacity: 0.4;
        left: 65%;
    }
    .globe-vignette {
        width: 510px;
        height: 510px;
        left: 65%;
    }
}

@media (max-width: 768px) {
    .globe-canvas {
        width: 430px;
        height: 430px;
        opacity: 0.75;
        left: 55%;
        top: 45%;
    }
    .globe-canvas-bg {
        width: 500px;
        height: 500px;
        opacity: 0.3;
        left: 55%;
        top: 45%;
    }
    .globe-vignette {
        width: 430px;
        height: 430px;
        left: 55%;
        top: 45%;
    }
}

@media (max-width: 500px) {
    .globe-canvas {
        width: 340px;
        height: 340px;
        opacity: 0.55;
        top: 48%;
    }
    .globe-canvas-bg {
        display: none;
    }
    .globe-vignette {
        width: 340px;
        height: 340px;
        top: 48%;
    }
}

/* ============================================
   LIVE TICKER
   ============================================ */
.live-ticker {
    position: relative;
    z-index: 1;
    margin-top: 60px;
    padding: 16px 0;
    border-top: 1px solid rgba(241, 242, 242, 0.06);
    border-bottom: 1px solid rgba(241, 242, 242, 0.06);
    overflow: hidden;
    background: rgba(241, 242, 242, 0.02);
    display: flex;
    justify-content: center;
}

.ticker-inner {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
    width: max-content;
    padding: 4px 0;
}

.ticker-inner:hover {
    animation-play-state: paused;
}

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

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(241, 242, 242, 0.6);
    font-weight: 500;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.ticker-item span:last-child {
    color: var(--accent);
    font-weight: 700;
    font-size: 15px;
}

.ticker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: tickerPulse 1.5s ease-in-out infinite;
    display: inline-block;
}

.ticker-dot.accent {
    background: var(--accent);
    animation-delay: 0.5s;
}

@keyframes tickerPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.6); }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mesh-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(77, 107, 179, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(251, 169, 25, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(77, 107, 179, 0.08) 0%, transparent 50%);
    animation: meshShift 20s ease-in-out infinite;
}

@keyframes meshShift {
    0%, 100% { transform: scale(1) rotate(0deg); filter: hue-rotate(0deg); }
    33% { transform: scale(1.08) rotate(1deg); filter: hue-rotate(2deg); }
    66% { transform: scale(0.96) rotate(-1deg); filter: hue-rotate(-2deg); }
}

/* Blob Shapes */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blobFloat 25s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(77, 107, 179, 0.15);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(251, 169, 25, 0.1);
    bottom: -10%;
    right: -5%;
    animation-delay: -7s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: rgba(77, 107, 179, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(30px, -40px) scale(1.1) rotate(5deg); }
    50% { transform: translate(-20px, 20px) scale(0.9) rotate(-3deg); }
    75% { transform: translate(40px, 30px) scale(1.05) rotate(4deg); }
}

/* 3D Floating Shapes */
.float-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.7;
    animation: shapeFloat 15s ease-in-out infinite;
}

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(20px, -30px) rotate(10deg) scale(1.05); }
    50% { transform: translate(-15px, 15px) rotate(-5deg) scale(0.95); }
    75% { transform: translate(25px, 20px) rotate(8deg) scale(1.02); }
}

.shape-hex { animation-duration: 18s; }
.shape-tri { animation-duration: 14s; }
.shape-circle { animation-duration: 20s; }

.shape-diamond {
    position: absolute;
    pointer-events: none;
    animation: diamondSpin 12s linear infinite;
}

@keyframes diamondSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Glow Sweep */
.glow-sweep {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(77, 107, 179, 0.03) 0%, transparent 50%);
    animation: glowSweep 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowSweep {
    0%, 100% { transform: translate(-30%, 0) rotate(0deg); }
    50% { transform: translate(30%, 0) rotate(180deg); }
}

/* Particles */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(-10vh) translateX(100px) scale(1); opacity: 0; }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(77, 107, 179, 0.06);
    border: 1px solid rgba(77, 107, 179, 0.15);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.badge-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(251, 169, 25, 0.1), transparent);
    transform: translateX(-100%);
    animation: badgeShimmer 3s ease-in-out infinite;
}

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

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px rgba(34,197,94,0.4); }
    50% { opacity: 0.5; transform: scale(0.8); box-shadow: 0 0 15px rgba(34,197,94,0.2); }
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 16px;
    color: var(--dark);
}

.text-line {
    display: block;
    overflow: hidden;
}

.text-line.highlight .split-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: splitReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards,
               gradientShift 4s ease-in-out infinite 0.8s;
}

.split-text {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px);
    animation: splitReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.text-line:nth-child(1) .split-text { animation-delay: 0.3s; }
.text-line:nth-child(2) .split-text { animation-delay: 0.5s; }
.text-line:nth-child(3) .split-text { animation-delay: 0.7s; }

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

/* Typewriter */
.hero-typewriter {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 16px;
    min-height: 32px;
}

.typewriter-label {
    font-weight: 400;
}

.typewriter-text {
    font-weight: 600;
    color: var(--primary);
}

.typewriter-cursor {
    font-weight: 300;
    color: var(--accent);
    animation: blink 0.8s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-desc {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 540px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(77, 107, 179, 0.1);
}

.hero-stat {
    text-align: center;
    position: relative;
}

.hero-stat::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(77, 107, 179, 0.1);
}

.hero-stat:last-child::after {
    display: none;
}

.hero-stat-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    display: inline;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-suffix {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin-left: 2px;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    display: block;
    margin-top: 4px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLineMove 1.5s ease-in-out infinite;
}

@keyframes scrollLineMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   VALUES SECTION
   ============================================ */
.values {
    padding: 120px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.values::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 169, 25, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--light-dark);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    cursor: none;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.value-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(77, 107, 179, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover::after {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(77, 107, 179, 0.2);
}

.value-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(77, 107, 179, 0.08), rgba(251, 169, 25, 0.08));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(77, 107, 179, 0.25);
}

.value-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.value-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ============================================
   ABOUT US SECTION
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(77, 107, 179, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.about-text {
    color: var(--text);
}

.about-lead {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 3px solid var(--accent);
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 16px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.mission-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-md);
    padding: 40px 32px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(77, 107, 179, 0.2);
    transition: all 0.4s;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 169, 25, 0.15) 0%, transparent 70%);
    animation: missionGlow 8s ease-in-out infinite;
}

@keyframes missionGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(77, 107, 179, 0.3);
}

.mission-content {
    position: relative;
    z-index: 1;
}

.mission-content h3 {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--accent);
    text-shadow: 0 2px 8px rgba(251, 169, 25, 0.3);
}

.mission-content p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.mission-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent);
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    padding: 120px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    inset: 0;
}

.stats-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(241, 242, 242, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(241, 242, 242, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    opacity: 0.5;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Animated Orb */
.stats-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(77, 107, 179, 0.08), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbPulse 6s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 40px 24px;
    background: rgba(241, 242, 242, 0.03);
    border: 1px solid rgba(241, 242, 242, 0.06);
    border-radius: var(--radius-md);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.stat-glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    border: 1px solid rgba(251, 169, 25, 0.15);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.stat-card:hover .stat-glow-ring {
    width: 300px;
    height: 300px;
    margin-top: -150px;
    margin-left: -150px;
    opacity: 0;
}

.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(251, 169, 25, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 169, 25, 0.2);
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--white), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 14px;
    color: rgba(241, 242, 242, 0.6);
    font-weight: 500;
    margin-bottom: 20px;
}

.stat-bar {
    height: 4px;
    background: rgba(241, 242, 242, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    border-radius: 4px;
    width: var(--target-width);
    transform: scaleX(0);
    position: relative;
    overflow: hidden;
}

/* Odd cards fill from left by default */
.stat-card:nth-child(odd) .stat-bar-fill {
    transform-origin: left;
    animation: statBarAlternate 4s ease-in-out infinite alternate;
    animation-play-state: paused;
    will-change: transform;
}

/* Even cards fill from right by default */
.stat-card:nth-child(even) .stat-bar-fill {
    background: linear-gradient(270deg, var(--accent), var(--primary));
    transform-origin: right;
    animation: statBarAlternate 4s ease-in-out infinite alternate;
    animation-play-state: paused;
    will-change: transform;
}

.stat-bar-fill.animated .stat-bar-shimmer {
    animation-play-state: running;
}

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

/* Alternating fill: smooth grow/shrink cycle */
@keyframes statBarAlternate {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* ============================================
   WORK / PORTFOLIO SECTION
   ============================================ */
.work {
    padding: 120px 0;
    background: var(--white);
}

.work-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    border: 1px solid var(--light-dark);
    border-radius: 50px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 50px;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    opacity: 1;
}

.filter-btn span {
    position: relative;
    z-index: 1;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(77, 107, 179, 0.3);
    transform: translateY(-2px);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.work-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.work-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 4/3;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.7s;
    filter: saturate(0.9) brightness(1.02);
}

.work-item:hover .work-image img {
    transform: scale(1.12);
    filter: saturate(1.3) brightness(1.05);
}

/* Border Glow — Subtle Gradient Sweep */
.work-border-glow {
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-md) + 2px);
    background: linear-gradient(120deg, 
        transparent 0%, 
        transparent 20%, 
        rgba(77, 107, 179, 0.4) 40%, 
        rgba(251, 169, 25, 0.4) 55%, 
        transparent 70%, 
        transparent 100%
    );
    background-size: 200% 100%;
    background-position: 100% 0;
    opacity: 0;
    transition: opacity 0.6s ease, background-position 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.work-item:hover .work-border-glow {
    opacity: 1;
    background-position: 0% 0;
}

.work-overlay {
    position: absolute;
    inset: 2px;
    background: linear-gradient(to top, rgba(15, 15, 26, 0.85) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    border-radius: var(--radius-md);
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-info {
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-item:hover .work-info {
    transform: translateY(0);
}

.work-cat {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent);
    color: var(--dark);
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.work-info h3 {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
}

.work-link {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transform: translateX(-10px) scale(0.8);
    opacity: 0;
    transition: all 0.4s;
    border: 1px solid rgba(255,255,255,0.1);
}

.work-item:hover .work-link {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.work-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1) !important;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
    padding: 120px 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--light-dark);
    transition: all 0.4s;
    position: relative;
}

.team-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: conic-gradient(from 0deg, transparent, transparent, var(--primary), transparent, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
}

.team-card:hover::before {
    opacity: 1;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.team-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s, filter 0.4s;
    filter: grayscale(0.1) brightness(1.02);
}

.team-card:hover .team-image img {
    transform: scale(1.08);
    filter: grayscale(0) brightness(1.1);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 20px 16px;
    background: linear-gradient(to top, rgba(15, 15, 26, 0.85) 0%, transparent 60%);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover .team-overlay {
    transform: translateY(0);
}

.team-social {
    display: flex;
    gap: 10px;
}

.team-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
}

.team-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 15px rgba(251, 169, 25, 0.3);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.team-role {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.role-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    animation: roleDot 2s ease-in-out infinite;
}

@keyframes roleDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.6); }
}

/* ============================================
   CONTACT / CTA SECTION
   ============================================ */
.cta {
    padding: 140px 0 120px;
    background:
        radial-gradient(circle at 50% -10%, rgba(77, 107, 179, 0.12) 0%, transparent 55%),
        var(--dark);
    position: relative;
    overflow: hidden;
}

/* Ambient glows */
.cta-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 900px;
    height: 900px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(77, 107, 179, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    pointer-events: none;
}

.cta-glow-1 {
    width: 380px;
    height: 380px;
    background: rgba(77, 107, 179, 0.25);
    top: -80px;
    left: -60px;
}

.cta-glow-2 {
    width: 320px;
    height: 320px;
    background: rgba(251, 169, 25, 0.18);
    bottom: -100px;
    right: -40px;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin: 0 auto;
}

/* Centered header */
.cta-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.cta-header .cta-badge {
    margin-bottom: 22px;
}

.cta-header .cta-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 18px;
}

.cta-header .cta-desc {
    text-align: center;
    margin-bottom: 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: stretch;
    text-align: left;
}

.cta-intro {
    text-align: left;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(241, 242, 242, 0.03);
    border: 1px solid rgba(241, 242, 242, 0.1);
    border-radius: var(--radius-md);
    transition: all 0.4s;
    backdrop-filter: blur(10px);
    flex: 1;
}

.contact-item:hover {
    transform: translateX(6px);
    border-color: rgba(251, 169, 25, 0.3);
    box-shadow: 0 8px 24px rgba(251, 169, 25, 0.15);
}

.contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(77, 107, 179, 0.3);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 11px;
    color: rgba(241, 242, 242, 0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 15px;
    color: var(--white);
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s;
}

.contact-item:hover .contact-value {
    color: var(--accent);
}

.cta-form {
    background: rgba(241, 242, 242, 0.03);
    border: 1px solid rgba(241, 242, 242, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
}

/* CTA ambient particles */
.cta-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta .cta-particles .particle {
    background: rgba(251, 169, 25, 0.3);
}

/* Two-column input row inside form */
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cta-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(251, 169, 25, 0.1);
    border: 1px solid rgba(251, 169, 25, 0.2);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.cta-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(251,169,25,0.1), transparent);
    transform: translateX(-100%);
    animation: badgeShimmer 3s ease-in-out infinite;
}

.cta-title {
    font-size: 52px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 17px;
    color: rgba(241, 242, 242, 0.6);
    line-height: 1.7;
    margin-bottom: 48px;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Premium Inputs */
.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 18px 20px;
    background: rgba(241, 242, 242, 0.03);
    border: 1px solid rgba(241, 242, 242, 0.1);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 15px;
    color: var(--white);
    outline: none;
    transition: all 0.3s;
    position: relative;
}

.input-group textarea {
    resize: vertical;
    min-height: 100px;
}

.input-border {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--accent);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: scale(0.95);
    pointer-events: none;
}

.input-group input:focus ~ .input-border,
.input-group textarea:focus ~ .input-border,
.input-group input:not(:placeholder-shown) ~ .input-border,
.input-group textarea:not(:placeholder-shown) ~ .input-border {
    opacity: 1;
    transform: scale(1);
}

.input-group input:focus,
.input-group textarea:focus,
.input-group input:not(:placeholder-shown),
.input-group textarea:not(:placeholder-shown) {
    border-color: transparent;
    background: rgba(241, 242, 242, 0.05);
}

.input-group label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: rgba(241, 242, 242, 0.4);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: var(--dark);
    padding: 0 4px;
    z-index: 1;
}

.input-group textarea ~ label {
    top: 18px;
    transform: none;
}

.input-group input:focus ~ label,
.input-group textarea:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    transform: translateY(0);
    font-size: 12px;
    color: var(--accent);
}

.btn.sending {
    opacity: 0.8;
    pointer-events: none;
}

.btn.sent {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3) !important;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 120px 0;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(77, 107, 179, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.service-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    perspective: 1000px;
    height: 420px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

.service-card.flipped .service-card-inner {
    transform: rotateY(180deg);
}

.service-image {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    backface-visibility: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.7s;
    filter: saturate(0.9) brightness(1.02);
}

.service-card:hover .service-image img {
    transform: scale(1.12);
    filter: saturate(1.3) brightness(1.05);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 15, 26, 0.9) 0%, rgba(15, 15, 26, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    transition: all 0.5s;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(77, 107, 179, 0.3);
    transition: all 0.4s;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(251, 169, 25, 0.4);
}

.service-overlay h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-cta {
    opacity: 1;
    transform: translateY(0);
}

.service-cta i {
    transition: transform 0.3s;
}

.service-card:hover .service-cta i {
    transform: translateX(4px);
}

/* Service Card Back (Details Panel) */
.service-card-back {
    position: absolute;
    inset: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    overflow-y: auto;
    backface-visibility: hidden;
    transform: rotateY(180deg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-dark);
}

.service-details {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-details h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.service-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-dark);
}

.service-list {
    list-style: none;
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
}

.service-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(241, 242, 242, 0.5);
}

.service-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-list li strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.service-list li p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.service-list li p em {
    font-style: italic;
    color: var(--primary);
    font-weight: 500;
}

.service-list li p + p {
    margin-top: 6px;
}

.btn-close-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    align-self: flex-start;
    margin-top: auto;
}

.btn-close-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(77, 107, 179, 0.3);
}

.btn-close-service i {
    font-size: 12px;
}

/* Scrollbar for service details */
.service-card-back::-webkit-scrollbar {
    width: 6px;
}

.service-card-back::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: 3px;
}

.service-card-back::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 3px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-2);
    color: var(--white);
    position: relative;
    padding-top: 0;
}

.footer-waves {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
}

.wave-1 { animation: waveAnim 8s ease-in-out infinite; }
.wave-2 { animation: waveAnim 10s ease-in-out infinite -3s; }
.wave-3 { animation: waveAnim 12s ease-in-out infinite -6s; }

@keyframes waveAnim {
    0%, 100% { transform: translateX(0) scaleY(1); }
    25% { transform: translateX(-25px) scaleY(0.9); }
    50% { transform: translateX(0) scaleY(1.1); }
    75% { transform: translateX(25px) scaleY(0.95); }
}

.footer-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 80px 0 48px;
}

.footer-brand h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 12px 0;
    letter-spacing: -0.5px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(241, 242, 242, 0.5);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(241, 242, 242, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(241, 242, 242, 0.5);
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.social-link i {
    position: relative;
    z-index: 1;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.social-link:hover {
    color: var(--dark);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.social-link:hover::before {
    transform: scale(1);
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(241, 242, 242, 0.5);
    margin-bottom: 12px;
    transition: all 0.3s;
    position: relative;
    width: fit-content;
}

.footer-col a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.footer-col a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-col a:hover::after {
    width: 100%;
}

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: rgba(241, 242, 242, 0.5);
    line-height: 1.6;
    margin-top: 12px;
    max-width: 240px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-address i {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-address:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(241, 242, 242, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(241, 242, 242, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(241, 242, 242, 0.4);
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(77, 107, 179, 0.3);
    pointer-events: none;
}

.back-to-top-btn.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.back-to-top-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 30px rgba(77, 107, 179, 0.4);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

.values-grid [data-reveal]:nth-child(1) { transition-delay: 0.1s; }
.values-grid [data-reveal]:nth-child(2) { transition-delay: 0.2s; }
.values-grid [data-reveal]:nth-child(3) { transition-delay: 0.3s; }
.values-grid [data-reveal]:nth-child(4) { transition-delay: 0.4s; }
.values-grid [data-reveal]:nth-child(5) { transition-delay: 0.5s; }

.stats-grid [data-reveal]:nth-child(1) { transition-delay: 0.1s; }
.stats-grid [data-reveal]:nth-child(2) { transition-delay: 0.2s; }
.stats-grid [data-reveal]:nth-child(3) { transition-delay: 0.3s; }
.stats-grid [data-reveal]:nth-child(4) { transition-delay: 0.4s; }

.work-grid [data-reveal]:nth-child(1) { transition-delay: 0.05s; }
.work-grid [data-reveal]:nth-child(2) { transition-delay: 0.1s; }
.work-grid [data-reveal]:nth-child(3) { transition-delay: 0.15s; }
.work-grid [data-reveal]:nth-child(4) { transition-delay: 0.2s; }
.work-grid [data-reveal]:nth-child(5) { transition-delay: 0.25s; }
.work-grid [data-reveal]:nth-child(6) { transition-delay: 0.3s; }

.team-grid [data-reveal]:nth-child(1) { transition-delay: 0.1s; }
.team-grid [data-reveal]:nth-child(2) { transition-delay: 0.2s; }
.team-grid [data-reveal]:nth-child(3) { transition-delay: 0.3s; }
.team-grid [data-reveal]:nth-child(4) { transition-delay: 0.4s; }

.about-content [data-reveal]:nth-child(1) { transition-delay: 0.1s; }
.about-content [data-reveal]:nth-child(2) { transition-delay: 0.2s; }

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 56px; }
    .section-title { font-size: 36px; }
    .cta-title { font-size: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body { cursor: auto; }
    .cursor-dot, .cursor-outline { display: none; }
    button { cursor: pointer; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 24px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-indicator {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero { padding: 100px 24px 60px; }
    .hero-title { font-size: 40px; letter-spacing: -1px; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero-stat-num { font-size: 28px; }
    .hero-stat::after { display: none; }
    .hero-desc { font-size: 16px; }

    .values-grid { grid-template-columns: 1fr; }
    .work-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .team-card {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .service-card { height: 380px; }
    .section-title { font-size: 30px; }
    .cta-title { font-size: 32px; }
    .cta-grid { grid-template-columns: 1fr; gap: 40px; }
    .cta-form { padding: 28px; }
    .cta-header { margin-bottom: 48px; }
    .cta-header .cta-title { font-size: 30px; }

    .about-content { grid-template-columns: 1fr; }
    .mission-card { margin-top: 32px; }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 32px; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .section-title { font-size: 26px; }
    .cta-title { font-size: 28px; }
    .back-to-top-btn {
        bottom: 16px;
        right: 16px;
        width: 42px;
        height: 42px;
    }
}

/* ============================================
   ACCESSIBILITY - REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .service-card-inner { transform: none !important; }
    .service-card-back { display: none; }
}