/* ============================================
   CHILDREN'S BOOKNEST - OUR TEAM PAGE
   ============================================ */
:root {

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   GPU LAYER OPTIMIZATIONS
   ============================================ */
.cbn-particle,
.cbn-bird,
.cbn-cloud,
.hero-glow,
.hero-float-emoji,
.section-blob,
.section-particle,
.float-particle,
.svc-float-emoji,
.team-card,
.team-card::before,
.team-card::after,
.team-photo,
.team-photo::before,
.team-photo::after,
.team-photo-wrapper,
.team-photo-glow,
.team-social a,
.team-sparkle,
.team-intro-image,
.team-intro-badge,
.join-card,
.join-mesh-blob,
.join-sparkle,
.cta-card,
.cta-mesh-blob,
.cta-sparkle,
.cta-float-emoji,
.scroll-indicator,
.back-to-top {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.page-hero,
.team-intro,
.leadership,
.creative-team,
.operations-team,
.join-us,
.cta {
    contain: layout paint;
}

/* ============================================
   HERO FLOATING PARTICLES (matches index.html)
   ============================================ */
.cbn-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.cbn-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 12s ease-in-out infinite;
}

.cbn-particle:nth-child(1) { width: 8px; height: 8px; background: #FFD700; left: 10%; top: 20%; }
.cbn-particle:nth-child(2) { width: 12px; height: 12px; background: #FF6B9D; left: 20%; top: 60%; animation-delay: 2s; }
.cbn-particle:nth-child(3) { width: 6px; height: 6px; background: #4ECDC4; left: 30%; top: 30%; animation-delay: 4s; }
.cbn-particle:nth-child(4) { width: 10px; height: 10px; background: #FFE66D; left: 70%; top: 15%; animation-delay: 1s; }
.cbn-particle:nth-child(5) { width: 14px; height: 14px; background: #FF8C42; left: 80%; top: 50%; animation-delay: 3s; }
.cbn-particle:nth-child(6) { width: 8px; height: 8px; background: #C7F464; left: 50%; top: 70%; animation-delay: 5s; }
.cbn-particle:nth-child(7) { width: 11px; height: 11px; background: #FF6B6B; left: 15%; top: 80%; animation-delay: 7s; }
.cbn-particle:nth-child(8) { width: 7px; height: 7px; background: #4ECDC4; left: 85%; top: 25%; animation-delay: 9s; }
.cbn-particle:nth-child(9) { width: 9px; height: 9px; background: #FFD93D; left: 40%; top: 10%; animation-delay: 6s; }
.cbn-particle:nth-child(10) { width: 13px; height: 13px; background: #FF8C94; left: 60%; top: 85%; animation-delay: 8s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.2; }
    50% { transform: translateY(-25px) scale(1.3); opacity: 0.6; }
}

/* ============================================
   HERO FLYING BIRDS (matches index.html)
   ============================================ */
.cbn-birds-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.cbn-bird {
    position: absolute;
    opacity: 0.8;
}

.cbn-bird svg {
    width: 40px;
    height: 40px;
    fill: #5D4E37;
}

.cbn-bird:nth-child(1) { top: 15%; left: -50px; animation: birdFly 18s linear infinite; }
.cbn-bird:nth-child(1) svg { width: 35px; height: 35px; fill: #8B7355; }

.cbn-bird:nth-child(2) { top: 25%; left: -50px; animation: birdFly 22s linear infinite 4s; }
.cbn-bird:nth-child(2) svg { width: 30px; height: 30px; fill: #A0522D; }

.cbn-bird:nth-child(3) { top: 10%; left: -50px; animation: birdFly 16s linear infinite 2s; }
.cbn-bird:nth-child(3) svg { width: 45px; height: 45px; fill: #6B4423; }

.cbn-bird:nth-child(4) { top: 35%; left: -50px; animation: birdFly 20s linear infinite 6s; }
.cbn-bird:nth-child(4) svg { width: 32px; height: 32px; fill: #8B6914; }

.cbn-bird:nth-child(5) { top: 20%; right: -50px; animation: birdFlyReverse 19s linear infinite 1s; }
.cbn-bird:nth-child(5) svg { width: 38px; height: 38px; fill: #5D4E37; transform: scaleX(-1); }

@keyframes birdFly {
    from { transform: translateX(0); }
    to { transform: translateX(calc(100vw + 100px)); }
}

@keyframes birdFlyReverse {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100vw - 100px)); }
}

/* ============================================
   HERO FLOATING CLOUDS (matches index.html)
   ============================================ */
.cbn-cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    pointer-events: none;
    z-index: 2;
}

.cbn-cloud::before,
.cbn-cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.cbn-cloud-1 {
    width: 100px; height: 40px; top: 20%; left: -150px;
    animation: cloudDrift 35s linear infinite;
}
.cbn-cloud-1::before { width: 50px; height: 50px; top: -25px; left: 10px; }
.cbn-cloud-1::after { width: 60px; height: 40px; top: -15px; left: 40px; }

.cbn-cloud-2 {
    width: 80px; height: 35px; top: 45%; left: -150px;
    animation: cloudDrift 40s linear infinite 8s;
}
.cbn-cloud-2::before { width: 40px; height: 40px; top: -20px; left: 15px; }
.cbn-cloud-2::after { width: 50px; height: 35px; top: -10px; left: 35px; }

.cbn-cloud-3 {
    width: 120px; height: 45px; top: 10%; left: -150px;
    animation: cloudDrift 30s linear infinite 15s;
}
.cbn-cloud-3::before { width: 60px; height: 60px; top: -30px; left: 20px; }
.cbn-cloud-3::after { width: 70px; height: 45px; top: -20px; left: 50px; }

@keyframes cloudDrift {
    from { transform: translateX(0); }
    to { transform: translateX(calc(100vw + 300px)); }
}

/* ============================================
   HERO GLOW BLOBS
   ============================================ */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.hero-glow-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent 70%);
    top: -200px; right: -100px;
    animation: glowPulse 10s ease-in-out infinite;
}

.hero-glow-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(183, 142, 255, 0.12), transparent 70%);
    bottom: -150px; left: -100px;
    animation: glowPulse 10s ease-in-out infinite 5s;
}

.hero-glow-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.12), transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    animation: glowPulse 12s ease-in-out infinite 3s;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.35; }
    50% { transform: scale(1.3); opacity: 0.55; }
}

/* ============================================
   HERO FLOATING EMOJIS (matches index emotional)
   ============================================ */
.hero-float-emoji {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    animation: floatDrift 20s ease-in-out infinite;
}

.hero-float-emoji-1 { top: 10%; left: 5%; font-size: 40px; opacity: 0.15; }
.hero-float-emoji-2 { top: 20%; right: 8%; font-size: 30px; opacity: 0.12; animation-delay: 5s; }
.hero-float-emoji-3 { top: 60%; left: 3%; font-size: 35px; opacity: 0.1; animation-delay: 10s; }
.hero-float-emoji-4 { bottom: 15%; right: 5%; font-size: 45px; opacity: 0.13; animation-delay: 15s; }
.hero-float-emoji-5 { top: 45%; right: 15%; font-size: 25px; opacity: 0.1; animation-delay: 8s; }

@keyframes floatDrift {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
    75% { transform: translateY(-25px) rotate(8deg); }
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--space-8) 0 var(--space-6);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('http://childrensbooknest.com/wp-content/uploads/2026/05/Untitled-design-16.png');
    background-size: cover;
    background-position: center;
}

.page-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 248, 240, 0.55) 0%, rgba(255, 235, 205, 0.45) 50%, rgba(255, 228, 196, 0.35) 100%);
    background-size: 200% 200%;
    animation: heroGradientDrift 12s ease-in-out infinite;
}

@keyframes heroGradientDrift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.page-hero .container {
    position: relative;
    z-index: 5;
}

/* Staggered entrance */
.page-badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-secondary);
    background: rgba(76, 175, 80, 0.15);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-3);
    border: 1px solid rgba(76, 175, 80, 0.2);
    animation: fadeSlideUp 0.6s ease-out both, badgeBreath 4s ease-in-out infinite 0.6s;
}

@keyframes badgeBreath {
    0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
    50% { box-shadow: 0 0 20px 2px rgba(76, 175, 80, 0.08); }
}

.page-title {
    font-size: 64px;
    line-height: 1.1;
    color: #1a3c5a;
    margin-bottom: var(--space-3);
    animation: fadeSlideUp 0.8s ease-out 0.1s both;
}

.page-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: #1e4d5c;
    max-width: 600px;
    animation: fadeSlideUp 1s ease-out 0.2s both;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Indicator (matches index.html) */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-5);
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    cursor: pointer;
    color: #1a3c5a;
    opacity: 0.7;
    transition: opacity var(--transition-base), transform var(--transition-base);
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator:hover {
    opacity: 1;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   SHARED SECTION DECORATIONS
   Blobs, particles, float sparkles (reusable)
   ============================================ */

/* Background Blobs */
.section-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    pointer-events: none;
}

.section-blob-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent 70%);
    top: -200px; right: -100px;
}

.section-blob-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(183, 142, 255, 0.12), transparent 70%);
    bottom: -150px; left: -100px;
}

.section-blob-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.12), transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
}

/* Service-style blobs */
.svc-blob-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2), transparent 70%);
    top: -250px; left: -200px;
}

.svc-blob-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.15), transparent 70%);
    bottom: -200px; right: -150px;
}

.svc-blob-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(183, 142, 255, 0.12), transparent 70%);
    top: 40%; left: 50%; transform: translate(-50%, -50%);
}

/* Section Particles */
.section-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.section-particle {
    position: absolute;
    width: 6px; height: 6px;
    background: rgba(255, 107, 53, 0.15);
    border-radius: 50%;
    animation: sectionParticleFloat 12s ease-in-out infinite;
}

.section-particle:nth-child(1) { left: 8%; top: 15%; animation-delay: 0s; }
.section-particle:nth-child(2) { left: 20%; top: 70%; animation-delay: 2s; background: rgba(183, 142, 255, 0.15); }
.section-particle:nth-child(3) { left: 45%; top: 25%; animation-delay: 4s; background: rgba(78, 205, 196, 0.15); }
.section-particle:nth-child(4) { left: 70%; top: 80%; animation-delay: 6s; background: rgba(76, 175, 80, 0.15); }
.section-particle:nth-child(5) { left: 88%; top: 40%; animation-delay: 8s; background: rgba(255, 107, 142, 0.15); }
.section-particle:nth-child(6) { left: 55%; top: 60%; animation-delay: 10s; }

@keyframes sectionParticleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.15; }
    50% { transform: translateY(-25px) scale(1.3); opacity: 0.5; }
}

/* Float Sparkle Characters */
.float-particle {
    position: absolute;
    font-size: 20px;
    color: var(--color-primary);
    opacity: 0.3;
    pointer-events: none;
    animation: floatParticleDrift 14s ease-in-out infinite;
}

.fp-1 { top: 15%; left: 8%; }
.fp-2 { top: 25%; right: 12%; font-size: 14px; animation-delay: 3s; }
.fp-3 { bottom: 20%; left: 15%; font-size: 16px; animation-delay: 6s; }
.fp-4 { bottom: 30%; right: 8%; font-size: 18px; animation-delay: 9s; }
.fp-5 { top: 60%; left: 5%; font-size: 12px; animation-delay: 12s; }

@keyframes floatParticleDrift {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.2; }
    25% { transform: translateY(-15px) rotate(10deg); opacity: 0.5; }
    50% { transform: translateY(-8px) rotate(-5deg); opacity: 0.3; }
    75% { transform: translateY(-20px) rotate(15deg); opacity: 0.45; }
}

/* Service-style floating emojis */
.svc-float-emoji {
    position: absolute;
    font-size: 2rem;
    opacity: 0.12;
    pointer-events: none;
}

.svc-float-emoji:nth-of-type(1) { top: 10%; left: 5%; }
.svc-float-emoji:nth-of-type(2) { top: 20%; right: 8%; font-size: 1.5rem; }
.svc-float-emoji:nth-of-type(3) { bottom: 25%; left: 10%; font-size: 1.8rem; }
.svc-float-emoji:nth-of-type(4) { bottom: 15%; right: 12%; font-size: 2.2rem; }
.svc-float-emoji:nth-of-type(5) { top: 60%; left: 3%; font-size: 1.3rem; }

/* ============================================
   SECTION UTILITIES
   ============================================ */
.section {
    padding: var(--space-8) 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto var(--space-6);
    text-align: center;
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: var(--color-secondary);
    color: var(--color-primary-dark);
    border: 1px solid var(--color-border);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-3);
    animation: badgeBreath 4s ease-in-out infinite;
}

.section-title {
    font-size: 48px;
    margin-bottom: var(--space-3);
    color: var(--color-dark);
}

.section-desc {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 550px;
    margin: 0 auto;
}

.divider {
    width: 96px;
    height: 3px;
    background: var(--color-primary-dark);
    border-radius: 3px;
    margin: var(--space-3) 0 var(--space-4);
    position: relative;
}

.divider::after {
    content: '✦';
    position: absolute;
    right: -28px;
    top: -12px;
    font-size: 20px;
    color: var(--color-primary-dark);
    animation: sparkleWiggle 3s ease-in-out infinite;
}

@keyframes sparkleWiggle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(12deg) scale(1.15); }
    75% { transform: rotate(-12deg) scale(1.15); }
}

/* ============================================
   TEAM INTRO SECTION
   ============================================ */
.team-intro {
    background: linear-gradient(170deg, var(--color-white) 0%, #fffdf8 30%, #fef9f0 60%, var(--color-white) 100%);
    position: relative;
    overflow: hidden;
}

.team-intro-content {
    padding-right: var(--space-4);
    position: relative;
    z-index: 2;
}

.lead-text {
    font-size: 20px;
    line-height: 1.7;
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: var(--space-3);
}

.body-text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: var(--space-4);
}

/* Animated Stats */
.team-stats {
    display: flex;
    gap: var(--space-5);
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
}

.team-stat {
    text-align: center;
}

.team-stat .stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), #F7931E);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    line-height: 1.1;
    transition: transform var(--transition-slow);
}

.team-stat:hover .stat-number {
    transform: scale(1.15);
}

.team-stat .stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* Image Container with animated gradient border */
.team-intro-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: box-shadow var(--transition-smooth);
}

.team-intro-image::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--color-primary), #F7931E, var(--color-accent), var(--color-primary));
    background-size: 300% 300%;
    border-radius: calc(var(--radius-lg) + 3px);
    z-index: -1;
    animation: gradientBorderRotate 8s ease infinite;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.team-intro-image:hover::before {
    opacity: 1;
}

@keyframes gradientBorderRotate {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.team-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-lg);
}

.team-intro-image:hover img {
    transform: scale(1.05);
}

.team-intro-image:hover {
    box-shadow: var(--shadow-xl);
}

/* Floating badge with glassmorphism */
.team-intro-badge {
    position: absolute;
    bottom: var(--space-4);
    right: var(--space-4);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-3);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: badgeFloat 6s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.badge-icon {
    font-size: 24px;
    animation: sparkleWiggle 3s ease-in-out infinite;
}

.badge-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark);
}

/* ============================================
   LEADERSHIP SECTION
   ============================================ */
.leadership {
    background: var(--color-bg-warm);
    position: relative;
    overflow: hidden;
}

/* ============================================
   TEAM CARDS — Premium Storybook Profile Cards
   ============================================ */
.team-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-4);
    text-align: center;
    height: 100%;
    border: 1px solid var(--color-border-light);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-base);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Gradient top border — animated scaleX on hover */
.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #F7931E, var(--color-accent));
    background-size: 200% 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
    z-index: 5;
}

.team-card:hover::before {
    transform: scaleX(1);
    animation: gradientBorderRotate 4s ease infinite;
}

/* Shine sweep */
.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 10;
}

.team-card:hover::after {
    left: 150%;
}

/* Hover: 3D lift + glow */
.team-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 107, 53, 0.08);
    border-color: rgba(255, 107, 53, 0.15);
}

/* Card Sparkles (matches Why Choose sparkles) */
.team-sparkle {
    position: absolute;
    font-size: 14px;
    color: var(--color-primary);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 6;
}

.sparkle-1 {
    top: 20px;
    right: 20px;
    transform: translateY(10px);
}

.sparkle-2 {
    bottom: 30px;
    left: 20px;
    font-size: 10px;
    transform: translateY(-10px);
}

.team-card:hover .team-sparkle {
    opacity: 0.6;
    transform: translateY(0);
}

/* ============================================
   FEATURED LEADERSHIP CARDS
   ============================================ */
.team-card.featured {
    padding: var(--space-5) var(--space-4) var(--space-4);
    box-shadow: var(--shadow-md);
}

.team-card.featured::before {
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), #FFD700, #F7931E, var(--color-accent));
    background-size: 300% 100%;
}

.team-card.featured:hover {
    transform: translateY(-16px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 107, 53, 0.12), 0 0 80px rgba(255, 107, 53, 0.08);
}

/* Photo Wrapper */
.team-photo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-3);
}

/* Ambient glow behind featured photo */
.team-photo-glow {
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    z-index: 0;
    animation: iconPulse 4s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0; }
    50% { transform: scale(1.15); opacity: 0.6; }
}

.team-card.featured:hover .team-photo-glow {
    opacity: 1;
}

/* ============================================
   TEAM PHOTOS — Magical Decorative Frames
   ============================================ */
.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--bg, linear-gradient(135deg, #eee, #ddd));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: photoFloat 6s ease-in-out infinite;
}

@keyframes photoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Rotating dashed ring */
.team-photo::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 107, 53, 0.2);
    animation: ringRotate 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Hover sparkle star */
.team-photo::after {
    content: '✦';
    position: absolute;
    top: -6px;
    right: -6px;
    font-size: 16px;
    color: #FFD700;
    opacity: 0;
    transform: scale(0) rotate(0deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 5;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5));
}

.team-card:hover .team-photo {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.2), 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: none;
}

.team-card:hover .team-photo::after {
    opacity: 1;
    transform: scale(1) rotate(180deg);
}

/* Featured cards — larger photo */
.team-card.featured .team-photo {
    width: 130px;
    height: 130px;
    font-size: 60px;
}

.team-card.featured .team-photo::before {
    inset: -10px;
    border-width: 2.5px;
    border-color: rgba(255, 215, 0, 0.25);
}

/* ============================================
   SOCIAL ICONS
   ============================================ */
.team-social {
    position: absolute;
    bottom: -4px;
    right: -4px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.team-social a {
    width: 32px;
    height: 32px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-slow);
    opacity: 0;
    transform: translateY(8px) scale(0.8);
}

.team-card:hover .team-social a {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.team-card:hover .team-social a:nth-child(2) {
    transition-delay: 0.08s;
}

.team-social a:hover {
    background: linear-gradient(135deg, var(--color-primary), #F7931E);
    color: var(--color-white);
    border-color: transparent;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

/* ============================================
   TEAM CARD TEXT
   ============================================ */
.team-name {
    font-size: 22px;
    margin-bottom: 4px;
    color: var(--color-dark);
    transition: color var(--transition-base);
}

.team-card:hover .team-name {
    color: var(--color-primary-dark);
}

.team-role {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-3);
    position: relative;
    display: inline-block;
}

.team-role::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), #F7931E);
    border-radius: 2px;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-role::after {
    transform: translateX(-50%) scaleX(1);
}

.team-bio {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: var(--space-3);
}

.team-fun-fact {
    background: rgba(255, 107, 53, 0.04);
    border: 1px solid rgba(255, 107, 53, 0.08);
    border-radius: var(--radius-sm);
    padding: var(--space-2);
    font-size: 13px;
    line-height: 1.5;
    transition: all var(--transition-base);
}

.team-card:hover .team-fun-fact {
    background: rgba(255, 107, 53, 0.06);
    border-color: rgba(255, 107, 53, 0.12);
}

.fun-label {
    font-weight: 700;
    color: var(--color-primary);
}

.fun-text {
    color: var(--color-text-light);
}

/* ============================================
   CREATIVE TEAM SECTION
   ============================================ */
.creative-team {
    background: var(--color-border);
    position: relative;
    overflow: hidden;
}

.creative-team .row {
    position: relative;
    z-index: 2;
}

/* ============================================
   OPERATIONS TEAM SECTION
   ============================================ */
.operations-team {
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
}

.operations-team .row {
    position: relative;
    z-index: 2;
}

/* ============================================
   JOIN US SECTION — Magical CTA
   ============================================ */
.join-us {
    background: var(--gradient-2);
    padding-bottom: var(--space-8);
    position: relative;
    overflow: hidden;
}

.join-glow {
    width: 600px !important;
    height: 600px !important;
    background: radial-gradient(circle, rgba(45, 106, 79, 0.1), transparent 70%) !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    animation: glowPulse 12s ease-in-out infinite !important;
}

/* Join Card — animated gradient */
.join-card {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #1B5E20 40%, #2E7D32 70%, #1B5E20 100%);
    background-size: 300% 300%;
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-5);
    color: var(--color-white);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    animation: joinGradientShift 10s ease infinite;
    z-index: 2;
}

@keyframes joinGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Mesh blobs inside join card */
.join-mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.join-mesh-blob-1 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
    top: -100px; right: -80px;
    animation: meshFloat 18s ease-in-out infinite;
}

.join-mesh-blob-2 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(165, 214, 167, 0.1), transparent 70%);
    bottom: -80px; left: -60px;
    animation: meshFloat 18s ease-in-out infinite 9s;
}

@keyframes meshFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -25px) scale(1.1); }
    50% { transform: translate(-25px, 15px) scale(0.95); }
    75% { transform: translate(15px, 35px) scale(1.05); }
}

/* Sparkles inside join card */
.join-sparkle {
    position: absolute;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    pointer-events: none;
    animation: joinSparkle 4s ease-in-out infinite;
}

.join-sparkle:nth-child(3) { top: 20%; left: 15%; animation-delay: 0s; }
.join-sparkle:nth-child(4) { top: 30%; right: 20%; animation-delay: 0.8s; }
.join-sparkle:nth-child(5) { bottom: 25%; left: 25%; animation-delay: 1.6s; }
.join-sparkle:nth-child(6) { bottom: 15%; right: 15%; animation-delay: 2.4s; }
.join-sparkle:nth-child(7) { top: 50%; left: 50%; animation-delay: 3.2s; }

@keyframes joinSparkle {
    0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}

.join-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #A5D6A7;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-3);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: badgePulseGreen 3s ease-in-out infinite;
}

@keyframes badgePulseGreen {
    0%, 100% { box-shadow: 0 0 0 0 rgba(165, 214, 167, 0); }
    50% { box-shadow: 0 0 20px 2px rgba(165, 214, 167, 0.15); }
}

.join-title {
    font-size: 36px;
    color: var(--color-white);
    margin-bottom: var(--space-3);
    position: relative;
    z-index: 1;
}

.join-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.open-roles {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.role-tag {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all var(--transition-base);
}

.role-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.join-card .btn-primary {
    background: var(--color-white);
    color: var(--color-secondary);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.join-card .btn-primary::after {
    background: linear-gradient(90deg, transparent, rgba(45, 106, 79, 0.15), transparent);
}

.join-card .btn-primary:hover {
    background: var(--color-white);
    color: #1B5E20;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   CTA SECTION — Animated Gradient
   ============================================ */
.cta {
    background: var(--gradient-2);
    padding-bottom: var(--space-8);
    position: relative;
    overflow: hidden;
}

.cta-section-glow {
    width: 500px !important;
    height: 500px !important;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08), transparent 70%) !important;
    bottom: -200px !important;
    left: -150px !important;
    top: auto !important;
    right: auto !important;
    animation: glowPulse 14s ease-in-out infinite 3s !important;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, #F7931E 25%, #FFB347 50%, #FF8C42 75%, var(--color-primary) 100%);
    background-size: 300% 300%;
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-5);
    color: var(--color-white);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    animation: ctaGradientShift 10s ease infinite;
    z-index: 2;
}

@keyframes ctaGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Mesh blobs inside CTA card */
.cta-mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
}

.cta-mesh-blob-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
    top: -120px; right: -100px;
    animation: meshFloat 20s ease-in-out infinite 3s;
}

.cta-mesh-blob-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255, 200, 100, 0.1), transparent 70%);
    bottom: -80px; left: -60px;
    animation: meshFloat 20s ease-in-out infinite 12s;
}

/* Sparkles inside CTA card */
.cta-sparkle {
    position: absolute;
    color: white;
    font-size: 14px;
    pointer-events: none;
    animation: ctaSparkleTwinkle 3s ease-in-out infinite;
}

.cta-sparkle:nth-child(5) { top: 20%; left: 20%; animation-delay: 0s; }
.cta-sparkle:nth-child(6) { top: 30%; right: 25%; animation-delay: 0.5s; }
.cta-sparkle:nth-child(7) { top: 60%; left: 15%; animation-delay: 1s; }
.cta-sparkle:nth-child(8) { top: 70%; right: 20%; animation-delay: 1.5s; }
.cta-sparkle:nth-child(9) { top: 40%; left: 45%; animation-delay: 2s; }
.cta-sparkle:nth-child(10) { top: 15%; left: 60%; animation-delay: 2.5s; }

@keyframes ctaSparkleTwinkle {
    0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}

/* Floating emojis inside CTA card */
.cta-float-emoji {
    position: absolute;
    pointer-events: none;
    animation: ctaDrift 16s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.cta-float-1 { top: 12%; left: 8%; font-size: 42px; animation-delay: 0s; }
.cta-float-2 { top: 18%; right: 10%; font-size: 36px; animation-delay: 3s; }
.cta-float-3 { bottom: 22%; left: 6%; font-size: 48px; animation-delay: 6s; }
.cta-float-4 { bottom: 15%; right: 8%; font-size: 38px; animation-delay: 9s; }

@keyframes ctaDrift {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.25; }
    25% { transform: translateY(-25px) rotate(8deg) scale(1.1); opacity: 0.4; }
    50% { transform: translateY(-15px) rotate(-5deg) scale(0.95); opacity: 0.3; }
    75% { transform: translateY(-30px) rotate(12deg) scale(1.05); opacity: 0.35; }
}

.cta-title {
    font-size: 36px;
    color: var(--color-white);
    margin-bottom: var(--space-2);
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.cta-card .btn-primary {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.cta-card .btn-primary::after {
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.12), transparent);
}

.cta-card .btn-primary:hover {
    background: var(--color-white);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   FOOTER (matches index.html)
   ============================================ */
.site-footer {
    background: linear-gradient(180deg, #2C3E50 0%, #1A252F 100%);
    color: var(--color-white);
    padding: var(--space-7) 0 var(--space-4);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #F7931E, #FFD700, #4CAF50, #2196F3);
}

.footer-grid {
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    margin-bottom: var(--space-3);
}

.footer-logo-img {
    height: 150px;
    width: auto;
    border-radius: var(--radius-sm);
}

.footer-brand p {
    color: #B0BEC5;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: var(--space-3);
}

.social-links {
    display: flex;
    gap: var(--space-2);
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition-base);
    color: var(--color-white);
}

.social-links a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.footer-column h4 {
    font-family: var(--font-alt);
    font-size: 18px;
    margin-bottom: var(--space-3);
    color: var(--color-primary);
    position: relative;
    padding-bottom: var(--space-2);
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}

.footer-column li {
    margin-bottom: var(--space-2);
}

.footer-column a {
    color: #B0BEC5;
    font-size: 15px;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-column a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.footer-bottom p {
    color: #78909C;
    font-size: 14px;
    margin-bottom: 0;
}

.footer-badges {
    display: flex;
    gap: var(--space-3);
}

.footer-badges span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #B0BEC5;
    font-size: 14px;
}

/* ============================================
   RESPONSIVE — Header (matches index.html)
   ============================================ */
@media (max-width: 992px) {
    .nav-container {
        height: 70px;
    }

    .navbar-brand.logo img {
        height: 70px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #87CEEB 0%, #B3E5FC 50%, #E1F5FE 100%);
        padding: var(--space-3) var(--space-4);
        box-shadow: var(--shadow-lg);
        border-top: 1px solid rgba(255, 255, 255, 0.4);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .navbar-nav {
        gap: 0;
        align-items: stretch;
    }

    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .navbar-nav .nav-link {
        padding: 14px 0 !important;
        font-size: 16px;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-nav .btn {
        width: 100%;
        margin: var(--space-2) 0;
    }

    .dropdown-menu {
        background: rgba(255, 255, 255, 0.6);
        box-shadow: none;
        border: none;
        padding: 0 0 0 var(--space-3);
        margin: 0;
    }

    .dropdown-item {
        padding: 10px var(--space-2);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }
}

@media (max-width: 576px) {
    .nav-container {
        height: 60px;
    }

    .navbar-brand.logo img {
        height: 55px;
    }

    .navbar-toggler {
        padding: 8px;
    }

    .navbar-toggler-icon {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   RESPONSIVE — Sections
   ============================================ */
@media (max-width: 1199.98px) {
    .section-title {
        font-size: 44px;
    }

    .page-title {
        font-size: 56px;
    }

    .join-title,
    .cta-title {
        font-size: 32px;
    }
}

@media (max-width: 991.98px) {
    .section {
        padding: var(--space-6) 0;
    }

    .section-title {
        font-size: 36px;
    }

    .page-title {
        font-size: 48px;
    }

    .page-hero {
        min-height: 400px;
        padding: var(--space-6) 0 var(--space-5);
    }

    .team-intro-content {
        padding-right: 0;
        margin-bottom: var(--space-4);
    }

    .team-stats {
        gap: var(--space-4);
    }

    .team-stat .stat-number {
        font-size: 28px;
    }

    .join-title,
    .cta-title {
        font-size: 28px;
    }

    .cta-card,
    .join-card {
        text-align: center;
    }

    .cta-card .text-lg-end,
    .join-card .text-lg-end {
        text-align: center !important;
    }

    .open-roles {
        justify-content: center;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
        margin-bottom: var(--space-4);
    }

    .footer-logo {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column {
        text-align: center;
        margin-bottom: var(--space-4);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-badges {
        justify-content: center;
    }

    /* Simplify on tablet */
    .team-photo::before {
        animation-duration: 30s;
    }

    .section-blob,
    .svc-blob,
    .hero-float-emoji,
    .float-particle,
    .svc-float-emoji {
        display: none;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 16px;
        padding-top: 70px;
    }

    .section-title {
        font-size: 28px;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 18px;
    }

    .page-hero {
        min-height: 350px;
        padding: var(--space-5) 0 var(--space-4);
    }

    .lead-text {
        font-size: 18px;
    }

    .body-text {
        font-size: 16px;
    }

    .team-stats {
        flex-direction: column;
        gap: var(--space-3);
        align-items: center;
    }

    .team-stat .stat-number {
        font-size: 32px;
    }

    .join-title,
    .cta-title {
        font-size: 26px;
    }

    .join-card {
        padding: var(--space-4) var(--space-3);
    }

    .cta-card {
        padding: var(--space-4) var(--space-3);
    }

    .team-card {
        margin-bottom: var(--space-3);
    }

    .team-photo {
        width: 100px;
        height: 100px;
        font-size: 48px;
    }

    .team-photo::before {
        inset: -6px;
        border-width: 1.5px;
        animation-duration: 40s;
    }

    .team-card.featured .team-photo {
        width: 110px;
        height: 110px;
        font-size: 52px;
    }

    .team-card.featured .team-photo::before {
        inset: -8px;
    }

    /* Disable heavy animations on mobile */
    .team-photo {
        animation: none;
    }

    .hero-glow,
    .section-particles,
    .join-mesh-blob,
    .join-sparkle,
    .cta-mesh-blob,
    .cta-sparkle,
    .cta-float-emoji {
        display: none;
    }

    .team-intro-image::before {
        display: none;
    }

    .team-intro-badge {
        animation: none;
    }

    .section-badge,
    .page-badge {
        animation: none;
    }

    .divider::after {
        animation: none;
    }

    /* Footer mobile */
    .site-footer {
        padding: var(--space-5) 0 var(--space-3);
    }

    .footer-grid {
        gap: var(--space-4);
        margin-bottom: var(--space-4);
    }

    .footer-logo-img {
        height: 120px;
    }

    .footer-column h4 {
        font-size: 16px;
        margin-bottom: var(--space-2);
    }

    .footer-column a {
        font-size: 14px;
    }

    .footer-badges span {
        font-size: 13px;
    }

    /* Modal mobile */
    .modal-container {
        width: 95%;
        padding: var(--space-4);
        border-radius: var(--radius-lg);
        max-height: 85vh;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-form .grid-2 {
        display: flex !important;
        flex-direction: column;
        gap: var(--space-3) !important;
    }
}

@media (max-width: 575.98px) {
    .page-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 26px;
    }

    .team-intro-badge {
        bottom: var(--space-2);
        right: var(--space-2);
        padding: var(--space-1) var(--space-2);
    }

    .badge-icon {
        font-size: 18px;
    }

    .badge-text {
        font-size: 12px;
    }

    .team-photo {
        width: 90px;
        height: 90px;
        font-size: 42px;
    }

    .team-photo::before {
        display: none;
    }

    .team-photo::after {
        display: none;
    }

    .team-card.featured .team-photo {
        width: 100px;
        height: 100px;
        font-size: 46px;
    }

    .team-card.featured .team-photo::before {
        display: none;
    }

    .join-card,
    .cta-card {
        padding: var(--space-3) var(--space-2);
    }

    .join-title,
    .cta-title {
        font-size: 24px;
    }

    .join-text,
    .cta-text {
        font-size: 16px;
    }

    .role-tag {
        font-size: 12px;
        padding: 6px 12px;
    }

    .open-roles {
        gap: var(--space-1);
    }

    .team-card {
        padding: var(--space-4) var(--space-3);
    }

    .team-card.featured {
        padding: var(--space-4) var(--space-3) var(--space-3);
    }

    .team-name {
        font-size: 20px;
    }

    .team-role {
        font-size: 13px;
    }

    .team-bio {
        font-size: 14px;
    }

    .team-fun-fact {
        font-size: 12px;
        padding: var(--space-1) var(--space-2);
    }

    .join-badge {
        font-size: 11px;
        padding: 6px 14px;
        letter-spacing: 1.5px;
    }

    .footer-logo-img {
        height: 100px;
    }

    .footer-brand p {
        font-size: 14px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .footer-column h4 {
        font-size: 15px;
    }

    .footer-column a {
        font-size: 13px;
    }

    .footer-badges span {
        font-size: 12px;
    }

    /* Modal small mobile */
    .modal-container {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        padding: var(--space-3);
    }

    .modal-title {
        font-size: 1.25rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

@media (pointer: coarse) {
    .navbar-toggler,
    .back-to-top,
    .social-links a,
    .team-social a {
        min-width: 48px;
        min-height: 48px;
    }
}