/**
 * Exploria - Our Amazing Team Page Styles
 * Version: 2.0.0
 *
 * Ultra Cinematic Team Page Styles
 * Features: Animation system, 3D team cards, particle effects, filter animations
 *
 * @package Exploria
 */

/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
    /* Primary Colors */
    --color-primary: #0F4C5C;
    --color-secondary: #2E5D4B;

    /* Blue Palette */
    --color-blue-deep: #1E3A8A;
    --color-blue-light: #3B82F6;

    /* Sun Palette */
    --color-yellow-warm: #D97706;
    --color-yellow-light: #FCD34D;

    /* Neutral Palette */
    --color-white: #FFFFFF;
    --color-black: #0A0A0A;
    --color-surface: #F8F9FA;
    --color-surface-alt: #E8ECF0;
    --color-border: #E2E8F0;
    --color-text: #1A1A2E;
    --color-text-muted: #6B7280;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing (8px grid) */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Animation Timing */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Durations */
    --duration-fast: 0.2s;
    --duration-normal: 0.4s;
    --duration-slow: 0.6s;
    --duration-ultra: 1s;

    /* Container Widths */
    --container-narrow: 720px;
    --container-medium: 960px;
    --container-site: 1200px;
    --container-wide: 1400px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(15, 76, 92, 0.3);
}

/* Dark Mode Tokens */
[data-theme="dark"],
.dark-mode {
    --color-surface: #0F172A;
    --color-surface-alt: #1E293B;
    --color-border: #334155;
    --color-text: #F1F5F9;
    --color-text-muted: #94A3B8;
}

/* ================================================================
   BASE STYLES
   ================================================================ */
.team-page {
    position: relative;
    overflow-x: hidden;
    background-color: var(--color-white);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
}

.team-page *,
.team-page *::before,
.team-page *::after {
    box-sizing: border-box;
}

.team-page h1,
.team-page h2,
.team-page h3,
.team-page h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

/* Container Classes */
.container {
    width: 100%;
    max-width: var(--container-site);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-narrow { max-width: var(--container-narrow); }
.container-medium { max-width: var(--container-medium); }
.container-site { max-width: var(--container-site); }
.container-wide { max-width: var(--container-wide); }

/* Section Spacing */
.section-md { padding: var(--space-16) 0; }
.section-lg { padding: var(--space-24) 0; }

/* Background Colors */
.bg-white { background-color: var(--color-white); }
.bg-surface { background-color: var(--color-surface); }

/* Text Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-lg { font-size: 1.125rem; }
.text-accent {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

/* ================================================================
   ULTRA GLOBAL ANIMATION SYSTEM (25 Classes)
   ================================================================ */

/* Animation Base State */
[class*="anim-"] {
    will-change: transform, opacity, filter;
    transition-timing-function: var(--ease-out-expo);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    [class*="anim-"] {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }
}

/* 1. anim-fade-up */
.anim-fade-up {
    opacity: 0;
    transform: translateY(40px);
}
.anim-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
                transform var(--duration-slow) var(--ease-out-expo);
}

/* 2. anim-fade-down */
.anim-fade-down {
    opacity: 0;
    transform: translateY(-40px);
}
.anim-fade-down.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
                transform var(--duration-slow) var(--ease-out-expo);
}

/* 3. anim-fade-in */
.anim-fade-in {
    opacity: 0;
}
.anim-fade-in.is-visible {
    opacity: 1;
    transition: opacity var(--duration-slow) var(--ease-out-expo);
}

/* 4. anim-fade-out */
.anim-fade-out {
    opacity: 1;
}
.anim-fade-out.is-visible {
    opacity: 0;
    transition: opacity var(--duration-slow) var(--ease-out-expo);
}

/* 5. anim-slide-left */
.anim-slide-left {
    opacity: 0;
    transform: translateX(60px);
}
.anim-slide-left.is-visible {
    opacity: 1;
    transform: translateX(0);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
                transform var(--duration-slow) var(--ease-out-expo);
}

/* 6. anim-slide-right */
.anim-slide-right {
    opacity: 0;
    transform: translateX(-60px);
}
.anim-slide-right.is-visible {
    opacity: 1;
    transform: translateX(0);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
                transform var(--duration-slow) var(--ease-out-expo);
}

/* 7. anim-slide-up */
.anim-slide-up {
    opacity: 0;
    transform: translateY(80px);
}
.anim-slide-up.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity var(--duration-ultra) var(--ease-out-expo),
                transform var(--duration-ultra) var(--ease-out-expo);
}

/* 8. anim-slide-down */
.anim-slide-down {
    opacity: 0;
    transform: translateY(-80px);
}
.anim-slide-down.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity var(--duration-ultra) var(--ease-out-expo),
                transform var(--duration-ultra) var(--ease-out-expo);
}

/* 9. anim-scale-in */
.anim-scale-in {
    opacity: 0;
    transform: scale(0.8);
}
.anim-scale-in.is-visible {
    opacity: 1;
    transform: scale(1);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
                transform var(--duration-slow) var(--ease-out-expo);
}

/* 10. anim-scale-out */
.anim-scale-out {
    opacity: 1;
    transform: scale(1);
}
.anim-scale-out.is-visible {
    opacity: 0;
    transform: scale(1.2);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
                transform var(--duration-slow) var(--ease-out-expo);
}

/* 11. anim-zoom-in */
.anim-zoom-in {
    opacity: 0;
    transform: scale(0.5);
}
.anim-zoom-in.is-visible {
    opacity: 1;
    transform: scale(1);
    transition: opacity var(--duration-ultra) var(--ease-spring),
                transform var(--duration-ultra) var(--ease-spring);
}

/* 12. anim-zoom-out */
.anim-zoom-out {
    opacity: 0;
    transform: scale(1.5);
}
.anim-zoom-out.is-visible {
    opacity: 1;
    transform: scale(1);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
                transform var(--duration-slow) var(--ease-out-expo);
}

/* 13. anim-rotate-in */
.anim-rotate-in {
    opacity: 0;
    transform: rotate(-15deg) scale(0.9);
}
.anim-rotate-in.is-visible {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
                transform var(--duration-slow) var(--ease-out-expo);
}

/* 14. anim-rotate-out */
.anim-rotate-out {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}
.anim-rotate-out.is-visible {
    opacity: 0;
    transform: rotate(15deg) scale(0.9);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
                transform var(--duration-slow) var(--ease-out-expo);
}

/* 15. anim-blur-in */
.anim-blur-in {
    opacity: 0;
    filter: blur(20px);
}
.anim-blur-in.is-visible {
    opacity: 1;
    filter: blur(0);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
                filter var(--duration-slow) var(--ease-out-expo);
}

/* 16. anim-blur-out */
.anim-blur-out {
    opacity: 1;
    filter: blur(0);
}
.anim-blur-out.is-visible {
    opacity: 0;
    filter: blur(20px);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
                filter var(--duration-slow) var(--ease-out-expo);
}

/* 17. anim-flip-x */
.anim-flip-x {
    opacity: 0;
    transform: perspective(1000px) rotateX(90deg);
}
.anim-flip-x.is-visible {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
                transform var(--duration-slow) var(--ease-out-expo);
}

/* 18. anim-flip-y */
.anim-flip-y {
    opacity: 0;
    transform: perspective(1000px) rotateY(90deg);
}
.anim-flip-y.is-visible {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
                transform var(--duration-slow) var(--ease-out-expo);
}

/* 19. anim-reveal-mask */
.anim-reveal-mask {
    overflow: hidden;
}
.anim-reveal-mask > span,
.anim-reveal-mask > * {
    display: inline-block;
    transform: translateY(100%);
    transition: transform var(--duration-slow) var(--ease-out-expo);
}
.anim-reveal-mask.is-visible > span,
.anim-reveal-mask.is-visible > * {
    transform: translateY(0);
}

/* 20-22. Stagger variants */
.anim-stagger [class*="anim-"],
.anim-stagger-fast [class*="anim-"],
.anim-stagger-slow [class*="anim-"] {
    transition-delay: calc(var(--stagger-index, 0) * 100ms);
}
.anim-stagger-fast [class*="anim-"] {
    transition-delay: calc(var(--stagger-index, 0) * 50ms);
}
.anim-stagger-slow [class*="anim-"] {
    transition-delay: calc(var(--stagger-index, 0) * 200ms);
}

/* 23. anim-float */
.anim-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(-20px) rotate(-1deg); }
    75% { transform: translateY(-10px) rotate(0.5deg); }
}

/* 24. anim-glow */
.anim-glow {
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { box-shadow: 0 0 20px rgba(15, 76, 92, 0.2); }
    100% { box-shadow: 0 0 40px rgba(15, 76, 92, 0.4), 0 0 60px rgba(217, 119, 6, 0.2); }
}

/* 25. anim-bounce-soft */
.anim-bounce-soft {
    animation: bounceSoft 2s ease-in-out infinite;
}

@keyframes bounceSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ================================================================
   PAGE LOADER STYLES
   ================================================================ */
#we-page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

#we-page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.we-loader-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.we-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 8s infinite ease-in-out;
}

.we-particle--1 { top: 20%; left: 10%; animation-delay: 0s; }
.we-particle--2 { top: 40%; left: 80%; animation-delay: 1s; }
.we-particle--3 { top: 70%; left: 30%; animation-delay: 2s; }
.we-particle--4 { top: 30%; left: 60%; animation-delay: 3s; }
.we-particle--5 { top: 80%; left: 70%; animation-delay: 4s; }

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    25% { transform: translate(20px, -30px) scale(1.2); opacity: 1; }
    50% { transform: translate(-10px, -60px) scale(0.8); opacity: 0.4; }
    75% { transform: translate(30px, -30px) scale(1.1); opacity: 0.8; }
}

.we-loader-inner {
    text-align: center;
    color: white;
    z-index: 1;
}

.we-loader-decoration {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.we-loader-decoration span {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    animation: decorPulse 1.5s infinite ease-in-out;
}

.we-loader-decoration--top span:nth-child(2) { animation-delay: 0.2s; }
.we-loader-decoration--top span:nth-child(3) { animation-delay: 0.4s; }
.we-loader-decoration--bottom { margin-top: var(--space-4); margin-bottom: 0; }

@keyframes decorPulse {
    0%, 100% { transform: scaleX(1); opacity: 0.3; }
    50% { transform: scaleX(1.5); opacity: 1; }
}

.we-loader-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    position: relative;
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
}

.we-loader-title-text {
    position: relative;
    z-index: 1;
    animation: titleReveal 1s var(--ease-out-expo) forwards;
}

.we-loader-title-glow {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0;
    filter: blur(20px);
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleReveal {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes titleGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

.we-loader-tagline {
    font-size: 1.125rem;
    opacity: 0.9;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: var(--space-6);
    animation: fadeInUp 1s 0.3s var(--ease-out-expo) forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 0.9; transform: translateY(0); }
}

.we-loader-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.we-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: dotPulse 1.2s infinite ease-in-out;
}

.we-dot--2 { animation-delay: 0.2s; }
.we-dot--3 { animation-delay: 0.4s; }

@keyframes dotPulse {
    0%, 100% { transform: scale(1); background: rgba(255, 255, 255, 0.5); }
    50% { transform: scale(1.5); background: rgba(255, 255, 255, 1); }
}

.we-loader-progress {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto;
}

.we-loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-yellow-light), var(--color-yellow-warm));
    width: 0;
    animation: progressFill 2.5s var(--ease-out-expo) forwards;
}

@keyframes progressFill {
    0% { width: 0; }
    100% { width: 100%; }
}

.we-loader-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.we-loader-corner--tl { top: 30px; left: 30px; border-right: none; border-bottom: none; }
.we-loader-corner--tr { top: 30px; right: 30px; border-left: none; border-bottom: none; }
.we-loader-corner--bl { bottom: 30px; left: 30px; border-right: none; border-top: none; }
.we-loader-corner--br { bottom: 30px; right: 30px; border-left: none; border-top: none; }

/* ================================================================
   TRAVEL STAR FIELD
   ================================================================ */
.travel-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* ================================================================
   SECTION 1: CINEMATIC HERO
   ================================================================ */
.team-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Travel Particles Container */
.travel-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.travel-particles .particle-canvas {
    width: 100%;
    height: 100%;
}

/* Parallax Clouds */
.parallax-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.cloud-layer {
    position: absolute;
    width: 200%;
    height: 100%;
    background-size: contain;
    background-repeat: repeat-x;
    opacity: 0.1;
}

.cloud-layer--1 {
    top: 10%;
    height: 30%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 25%, transparent 50%, rgba(255,255,255,0.2) 75%, transparent 100%);
    animation: cloudDrift 60s linear infinite;
}

.cloud-layer--2 {
    top: 40%;
    height: 25%;
    background: linear-gradient(90deg, transparent 10%, rgba(255,255,255,0.2) 30%, transparent 60%, rgba(255,255,255,0.25) 80%, transparent 100%);
    animation: cloudDrift 80s linear infinite reverse;
}

.cloud-layer--3 {
    top: 70%;
    height: 20%;
    background: linear-gradient(90deg, transparent 5%, rgba(255,255,255,0.15) 20%, transparent 40%, rgba(255,255,255,0.2) 70%, transparent 90%);
    animation: cloudDrift 100s linear infinite;
}

@keyframes cloudDrift {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Hero Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-bg-zoom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-size: cover;
    background-position: center;
    animation: bgZoom 30s ease-out infinite alternate;
}

@keyframes bgZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Hero Overlays */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay--dark { background: rgba(0, 0, 0, 0.3); }
.hero-overlay--gradient {
    background: linear-gradient(
        180deg,
        rgba(15, 76, 92, 0.4) 0%,
        rgba(15, 76, 92, 0.2) 40%,
        rgba(15, 76, 92, 0.6) 100%
    );
}
.hero-overlay--vignette {
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* Floating Elements */
.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.3) 0%, transparent 70%);
    filter: blur(30px);
}

.floating-element--1 { top: 20%; left: 10%; }
.floating-element--2 { top: 60%; right: 15%; width: 150px; height: 150px; }
.floating-element--3 { bottom: 20%; left: 30%; width: 80px; height: 80px; }

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
}

.hero-text {
    text-align: center;
    color: white;
}

.hero-text .subtitle {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-yellow-light);
    margin-bottom: var(--space-6);
}

.subtitle-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-yellow-light));
}

.hero-text .hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: white;
}

.hero-title .title-line {
    display: block;
    overflow: hidden;
}

.hero-title .title-line span {
    display: inline-block;
}

.hero-description {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto var(--space-10);
    opacity: 0.9;
    line-height: 1.7;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-12);
    margin-top: var(--space-10);
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-yellow-light);
    line-height: 1;
}

.hero-stat .stat-value::after {
    content: '+';
    font-size: 1.5rem;
}

.hero-stat .stat-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: white;
    opacity: 0.7;
    z-index: 10;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, white 0%, transparent 100%);
    animation: scrollLineMove 2s ease-in-out infinite;
}

@keyframes scrollLineMove {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ================================================================
   SECTION 2: TEAM PHILOSOPHY
   ================================================================ */
.team-philosophy {
    position: relative;
    background-color: var(--color-surface);
}

.philosophy-content {
    max-width: 800px;
}

.philosophy-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
    color: var(--color-primary);
}

.philosophy-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-6);
}

.philosophy-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.divider-line {
    width: 60px;
    height: 1px;
    background: var(--color-border);
}

.divider-icon {
    color: var(--color-primary);
    opacity: 0.6;
}

.philosophy-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

/* ================================================================
   SECTION 3: TEAM FILTERS
   ================================================================ */
.section-filters {
    padding: var(--space-16) 0 var(--space-8);
    background-color: var(--color-white);
}

.filter-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-muted);
    background: transparent;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out-expo);
    z-index: -1;
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    border-color: var(--color-primary);
}

.filter-btn:hover::before,
.filter-btn.active::before {
    transform: scaleX(1);
}

.filter-btn .btn-text {
    position: relative;
    z-index: 1;
}

/* ================================================================
   SECTION 4: TEAM GRID
   ================================================================ */
.team-grid-section {
    padding-top: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

/* Team Card */
.team-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--ease-out-expo);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Hidden state for filtering */
.team-card.is-hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.team-card.is-visible {
    opacity: 1;
    transform: scale(1);
    position: relative;
    visibility: visible;
}

/* Card Photo */
.card-photo {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.team-card:hover .card-photo img {
    transform: scale(1.08);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(15, 76, 92, 0.8) 100%
    );
    opacity: 0;
    transition: opacity 0.4s var(--ease-out-expo);
}

.team-card:hover .photo-overlay {
    opacity: 1;
}

/* Social Overlay */
.social-overlay {
    position: absolute;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: var(--space-3);
    opacity: 0;
    transition: all 0.4s var(--ease-out-expo);
}

.team-card:hover .social-overlay {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    transition: all 0.3s var(--ease-out-expo);
}

.social-link:hover {
    background: var(--color-yellow-warm);
    transform: translateY(-4px);
}

/* Card Badge */
.card-badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    padding: var(--space-1) var(--space-3);
    background: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-badge.badge--guide {
    background: var(--color-secondary);
}

.card-badge.badge--creative {
    background: var(--color-yellow-warm);
    color: var(--color-black);
}

/* Card Info */
.card-info {
    padding: var(--space-6);
    text-align: center;
}

.card-info h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
    transition: color 0.3s var(--ease-out-expo);
}

.team-card:hover .card-info h3 {
    color: var(--color-primary);
}

.card-info .role {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.card-info .bio {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ================================================================
   SECTION 5: TEAM JOURNEY MAP
   ================================================================ */
.team-journey {
    position: relative;
    background-color: var(--color-surface);
}

.journey-map {
    position: relative;
    padding: var(--space-8) 0;
}

.map-route {
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.route-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s var(--ease-out-expo);
}

.route-path.is-visible {
    stroke-dashoffset: 0;
}

.marker-pulse {
    animation: markerPulseAnim 2s ease-in-out infinite;
}

@keyframes markerPulseAnim {
    0%, 100% { r: 15; opacity: 0.4; }
    50% { r: 22; opacity: 0.2; }
}

.airplane {
    transition: transform 0.1s linear;
}

/* Location Labels */
.location-labels {
    position: relative;
    margin-top: calc(-1 * var(--space-16));
    padding-bottom: var(--space-8);
}

.location-label {
    position: absolute;
    transform: translateX(-50%);
    text-align: center;
    background: var(--color-white);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.location-label .label-name {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.location-label .label-count {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: var(--space-1);
}

/* ================================================================
   SECTION 6: ACHIEVEMENTS
   ================================================================ */
.achievements-section {
    position: relative;
    background-color: var(--color-white);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.achievement-item {
    position: relative;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-10) var(--space-6);
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
}

.achievement-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.achievement-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(15, 76, 92, 0.1);
    border-radius: 50%;
    color: var(--color-primary);
    margin-bottom: var(--space-6);
    transition: all 0.4s var(--ease-out-expo);
}

.achievement-item:hover .achievement-icon {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

.achievement-icon--alt { color: var(--color-blue-deep); background: rgba(30, 58, 138, 0.1); }
.achievement-item:hover .achievement-icon--alt { background: var(--color-blue-deep); color: white; }

.achievement-icon--secondary { color: var(--color-secondary); background: rgba(46, 93, 75, 0.1); }
.achievement-item:hover .achievement-icon--secondary { background: var(--color-secondary); color: white; }

.achievement-icon--warm { color: var(--color-yellow-warm); background: rgba(217, 119, 6, 0.1); }
.achievement-item:hover .achievement-icon--warm { background: var(--color-yellow-warm); color: var(--color-black); }

.achievement-item .counter {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1;
    margin-bottom: var(--space-3);
}

.achievement-item .counter::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-yellow-warm);
}

.achievement-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
}

.achievement-bar {
    width: 100%;
    height: 4px;
    background: var(--color-border);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-yellow-warm));
    border-radius: var(--radius-full);
    transition: width 1.5s var(--ease-out-expo);
}

.achievement-item.is-visible .bar-fill {
    width: var(--fill-width, 80%);
}

/* ================================================================
   SECTION 7: TESTIMONIALS
   ================================================================ */
.testimonials-section {
    position: relative;
    background-color: var(--color-surface);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s var(--ease-out-expo);
}

.testimonial-item {
    min-width: 100%;
    padding: 0 var(--space-4);
}

.testimonial-content {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.quote-icon {
    margin-bottom: var(--space-6);
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--space-8);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text);
}

.author-title {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Testimonials Navigation */
.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    color: var(--color-text);
}

.nav-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.nav-dots {
    display: flex;
    gap: var(--space-2);
}

.nav-dots .dot {
    width: 8px;
    height: 8px;
    background: var(--color-border);
    border-radius: 50%;
    transition: all 0.3s var(--ease-out-expo);
    cursor: pointer;
}

.nav-dots .dot.active {
    background: var(--color-primary);
    width: 24px;
    border-radius: var(--radius-full);
}

/* ================================================================
   SECTION 8: GALLERY
   ================================================================ */
.team-gallery {
    position: relative;
    background-color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out-expo);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 76, 92, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s var(--ease-out-expo);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transform: scale(0.8);
    transition: transform 0.3s var(--ease-out-expo);
}

.gallery-item:hover .gallery-icon {
    transform: scale(1);
}

/* ================================================================
   SECTION 9: CTA
   ================================================================ */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
    color: var(--color-yellow-light);
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-6);
    color: white;
}

.cta-section .text-lg {
    opacity: 0.9;
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: 1.125rem;
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* Magnetic Button */
.btn-magnetic {
    transition: transform 0.2s var(--ease-out-expo);
}

/* Ripple Effect */
.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.btn-ripple.is-active {
    animation: rippleEffect 0.6s var(--ease-out-expo) forwards;
}

@keyframes rippleEffect {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 300px; height: 300px; opacity: 0; }
}

/* ================================================================
   3D CARD EFFECTS
   ================================================================ */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d.is-tilting {
    transition: transform 0.1s linear;
}

/* ================================================================
   SECTION HEADER
   ================================================================ */
.section-header {
    margin-bottom: var(--space-12);
}

.section-header .text-accent {
    margin-bottom: var(--space-4);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-4);
}

.section-header .text-muted {
    font-size: 1.125rem;
}

/* ================================================================
   RESPONSIVE DESIGN
   ================================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        gap: var(--space-8);
    }

    .hero-stat .stat-value {
        font-size: 2rem;
    }

    .anim-slide-left,
    .anim-slide-right {
        transform: translateX(40px);
    }

    .anim-fade-up {
        transform: translateY(30px);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section-md { padding: var(--space-12) 0; }
    .section-lg { padding: var(--space-16) 0; }

    .container { padding: 0 var(--space-4); }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .achievements-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-6);
    }

    .filter-wrapper {
        gap: var(--space-2);
    }

    .filter-btn {
        padding: var(--space-2) var(--space-4);
        font-size: 0.875rem;
    }

    .hero-cta,
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        width: 100%;
        max-width: 300px;
    }

    .card-3d {
        transform: none !important;
    }

    .anim-fade-up {
        transform: translateY(20px);
    }

    .anim-slide-left,
    .anim-slide-right {
        transform: translateX(20px);
    }

    .anim-scale-in {
        transform: scale(0.9);
    }

    .hero-floating-elements,
    .parallax-clouds {
        display: none;
    }

    .travel-stars {
        opacity: 0.3;
    }

    .location-labels {
        display: none;
    }

    .card-photo {
        height: 220px;
    }

    .achievement-item .counter {
        font-size: 2rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .card-photo {
        height: 300px;
    }

    .hero-text .hero-title {
        font-size: 2rem;
    }

    .we-loader-title {
        font-size: 2rem;
    }

    .we-loader-corner {
        width: 40px;
        height: 40px;
    }

    .testimonial-content {
        padding: var(--space-6);
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   DARK MODE SUPPORT
   ================================================================ */
[data-theme="dark"] .team-page,
.dark-mode .team-page {
    background-color: var(--color-surface);
}

[data-theme="dark"] .bg-white,
.dark-mode .bg-white {
    background-color: var(--color-surface);
}

[data-theme="dark"] .bg-surface,
.dark-mode .bg-surface {
    background-color: var(--color-surface-alt);
}

[data-theme="dark"] .team-card,
.dark-mode .team-card {
    background: var(--color-surface-alt);
}

[data-theme="dark"] .achievement-item,
.dark-mode .achievement-item {
    background: var(--color-surface-alt);
}

[data-theme="dark"] .testimonial-content,
.dark-mode .testimonial-content {
    background: var(--color-surface-alt);
}

[data-theme="dark"] .nav-btn,
.dark-mode .nav-btn {
    background: var(--color-surface-alt);
    border-color: var(--color-border);
}

[data-theme="dark"] .location-label,
.dark-mode .location-label {
    background: var(--color-surface-alt);
}

[data-theme="dark"] .filter-btn,
.dark-mode .filter-btn {
    border-color: var(--color-border);
}

/* ================================================================
   RTL SUPPORT
   ================================================================ */
[dir="rtl"] .subtitle-line {
    background: linear-gradient(90deg, var(--color-yellow-light), transparent);
}

[dir="rtl"] .anim-slide-left {
    transform: translateX(-60px);
}

[dir="rtl"] .anim-slide-left.is-visible {
    transform: translateX(0);
}

[dir="rtl"] .anim-slide-right {
    transform: translateX(60px);
}

[dir="rtl"] .anim-slide-right.is-visible {
    transform: translateX(0);
}

[dir="rtl"] .filter-btn::before {
    transform-origin: right;
}

/* ================================================================
   PRINT STYLES
   ================================================================ */
@media print {
    #we-page-loader,
    .travel-stars,
    .travel-particles,
    .parallax-clouds,
    .hero-floating-elements {
        display: none !important;
    }

    .team-hero {
        min-height: auto;
        padding: var(--space-8) 0;
    }

    [class*="anim-"] {
        opacity: 1 !important;
        transform: none !important;
    }
}
