/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Unique Brand Colors - Burundian Heritage */
    --bg-primary: #0d0d0d;
    --bg-secondary: #1a1410;
    --bg-tertiary: #2a1f1a;
    --text-primary: #f5f1e8;
    --text-secondary: #b8a88a;
    --accent: #c8945f;
    --accent-dark: #9d7045;
    --accent-light: #e4b886;
    --border-color: #3a2f2a;
    --highlight: #d4a574;

    /* Burundi flag inspired accents */
    --burundi-red: #ce1126;
    --burundi-green: #1eb53a;
    --burundi-white: #ffffff;

    /* Spacing - More generous */
    --spacing-xs: 0.75rem;
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 6rem;
    --spacing-xl: 10rem;

    /* Typography - Bold and distinctive */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Inter', sans-serif;
    --font-size-base: 16px;
    --line-height: 1.6;
    --letter-spacing: -0.01em;
}

body.light-theme {
    --bg-primary: #faf8f4;
    --bg-secondary: #f2ede4;
    --bg-tertiary: #e8e0d5;
    --text-primary: #1a1410;
    --text-secondary: #6b5d4f;
    --border-color: #d4c9ba;
}

html {
    overflow-x: hidden;
}

html.lenis {
    height: auto;
}

html.lenis-smooth {
    scroll-behavior: auto;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: none;
}

/* Lock scroll during intro */
body:not(.scroll-unlocked) {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100vh;
}

body.scroll-unlocked {
    overflow-x: hidden;
    overflow-y: auto;
    position: static;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.logo-animation {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent);
}

/* Custom Cursor */
.custom-cursor {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10001;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.custom-cursor.hover .cursor-dot {
    width: 0;
    height: 0;
}

.custom-cursor.hover .cursor-outline {
    width: 60px;
    height: 60px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: all 0.3s ease;
}

body.scroll-unlocked .navbar {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
}

body.light-theme .navbar {
    background: transparent;
}

body.light-theme.scroll-unlocked .navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    display: inline-block;
    will-change: transform;
}

.nav-logo a:hover {
    color: var(--accent);
}

.bbcf-logo {
    transform-origin: center center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* Burundi Flag */
.burundi-flag {
    width: 40px;
    height: 30px;
    margin-right: var(--spacing-sm);
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    border-radius: 3px;
}

.burundi-flag:hover {
    transform: scale(1.1);
}

/* Bouton de changement de langue */
.lang-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.8rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.lang-toggle:hover {
    background: rgba(200, 148, 95, 0.1);
    transform: scale(1.05);
}

.lang-fr,
.lang-en {
    transition: all 0.3s ease;
    opacity: 0.5;
}

.lang-fr.active,
.lang-en.active {
    opacity: 1;
    color: var(--accent);
}

.lang-divider {
    opacity: 0.4;
}

.theme-toggle {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.sun-icon,
.moon-icon {
    font-size: 1.3rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

body.light-theme .moon-icon {
    display: none;
}

body:not(.light-theme) .sun-icon {
    display: none;
}

/* White color for theme toggle in dark mode */
body:not(.light-theme) .moon-icon {
    color: #ffffff;
}

/* Menu Trigger Button */
.menu-trigger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.menu-trigger:hover {
    color: var(--accent);
}

.menu-text {
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hamburger {
    width: 24px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

body.menu-open .hamburger span:first-child {
    transform: rotate(45deg) translateY(9px);
}

body.menu-open .hamburger span:last-child {
    transform: rotate(-45deg) translateY(-9px);
}

body.menu-open .menu-text {
    opacity: 0;
}

/* Full Screen Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.menu-bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: float 20s infinite ease-in-out;
}

.menu-bg-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.menu-bg-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: 20%;
    right: 15%;
    animation-delay: -7s;
}

.menu-bg-shape-3 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.menu-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 var(--spacing-md);
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: var(--spacing-xl);
}

.menu-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.menu-overlay.active .menu-link {
    opacity: 1;
    transform: translateY(0);
}

.menu-overlay.active .menu-link:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.active .menu-link:nth-child(2) { transition-delay: 0.2s; }
.menu-overlay.active .menu-link:nth-child(3) { transition-delay: 0.3s; }
.menu-overlay.active .menu-link:nth-child(4) { transition-delay: 0.4s; }
.menu-overlay.active .menu-link:nth-child(5) { transition-delay: 0.5s; }

.menu-link:hover {
    color: var(--accent);
    transform: translateX(20px);
}

.menu-link-number {
    font-size: 0.4em;
    color: var(--text-secondary);
    font-weight: 400;
}

.menu-link-text {
    position: relative;
}

.menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.6s;
}

.menu-overlay.active .menu-footer {
    opacity: 1;
    transform: translateY(0);
}

.menu-info {
    display: flex;
    gap: var(--spacing-lg);
    text-align: left;
}

.menu-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-info-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.menu-info-item a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu-info-item a:hover {
    color: var(--accent);
}

.menu-social {
    display: flex;
    gap: var(--spacing-sm);
}

.menu-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Fixed Intro Frame */
.intro-frame {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    z-index: 100;
    opacity: 1;
    transform: scale(1);
    will-change: opacity, transform;
}

.intro-content {
    text-align: center;
    max-width: 1200px;
    padding: 0 var(--spacing-md);
}

.intro-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.intro-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2rem);
}

.intro-title .word {
    position: relative;
    display: inline-block;
}

.intro-title .letter {
    position: relative;
    display: inline-block;
    font-weight: 900;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    transform-origin: center center;
    -webkit-text-stroke: 2px var(--accent);
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.intro-title .letter.active {
    transform: scale(1.3);
    -webkit-text-fill-color: var(--accent);
    color: var(--accent);
    text-shadow: 0 0 30px rgba(200, 148, 95, 0.5);
}

.intro-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.75rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 300;
}

.intro-tagline {
    font-size: clamp(1rem, 2vw, 1.375rem);
    color: var(--accent);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
    font-style: italic;
}

.scroll-prompt {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.875rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow {
    font-size: 2rem;
    color: var(--accent);
}

.skip-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.6;
    margin-top: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding-top: 0;
    background: var(--bg-primary);
    min-height: 100vh;
}

/* When intro is active, push content down */
body:not(.scroll-unlocked) .main-content {
    margin-top: 100vh;
}

/* Ensure smooth visibility */
.main-content {
    opacity: 1;
    visibility: visible;
}

/* Hero Section - REMOVED (replaced by intro-frame) */
.hero {
    display: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 1px,
            var(--border-color) 1px,
            var(--border-color) 2px
        );
    background-size: 100px 100px;
    opacity: 0.03;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 1200px;
    padding: 0 var(--spacing-md);
}

.hero-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.75rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-cta {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: var(--accent);
    color: var(--bg-primary);
    text-decoration: none;
    font-weight: 700;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    border: 2px solid var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

.hero-cta:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(200, 148, 95, 0.2);
}

.hero-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.hero-link:hover {
    color: var(--accent);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    z-index: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    font-weight: 600;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: var(--text-secondary);
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* Manifesto Section */
.manifesto-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.manifesto-content {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
}

.manifesto-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.manifesto-statement {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.manifesto-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--accent);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Sections */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-description {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.7;
    font-weight: 300;
}

/* About Section */
.about-section {
    background: var(--bg-primary);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.mission-statement {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    padding: 0;
    border-left: none;
    background: transparent;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.value-card {
    flex: 1 1 calc(33.333% - var(--spacing-md));
    min-width: 250px;
    padding: var(--spacing-lg);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent);
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent);
    transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.value-card:hover::before {
    width: 5px;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-left-width: 5px;
}

.value-card h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: var(--spacing-sm);
    color: var(--accent);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Members Section */
.members-preview-grid,
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.member-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.member-image {
    width: 100%;
    height: 350px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-secondary);
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: var(--spacing-md);
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-title {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.member-company {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.member-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.member-sector {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: var(--spacing-sm);
}

/* Masonry Gallery Layout */
.members-grid-masonry {
    column-count: 3;
    column-gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.members-grid-masonry .member-card {
    break-inside: avoid;
    margin-bottom: var(--spacing-md);
    position: relative;
    overflow: hidden;
    border-radius: 0;
    border: none;
    background: transparent;
}

.members-grid-masonry .member-card .member-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.members-grid-masonry .member-card .member-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 2;
    transform-origin: left;
}

.members-grid-masonry .member-card.revealed .member-image::before {
    animation: imageReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes imageReveal {
    0% {
        transform: scaleX(1);
    }
    50% {
        transform: scaleX(1);
        transform-origin: left;
    }
    51% {
        transform-origin: right;
    }
    100% {
        transform: scaleX(0);
        transform-origin: right;
    }
}

.members-grid-masonry .member-card .member-image img {
    transform: scale(1.2);
    transition: transform 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.members-grid-masonry .member-card.revealed .member-image img {
    transform: scale(1);
}

/* Hover Overlay Effect */
.members-grid-masonry .member-card .member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-md);
    z-index: 3;
}

.members-grid-masonry .member-card:hover .member-overlay {
    opacity: 1;
}

.members-grid-masonry .member-card .member-overlay .member-name {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1) 0.1s;
}

.members-grid-masonry .member-card:hover .member-overlay .member-name {
    transform: translateY(0);
}

.members-grid-masonry .member-card .member-overlay .member-role {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1) 0.2s;
}

.members-grid-masonry .member-card:hover .member-overlay .member-role {
    transform: translateY(0);
}

.members-grid-masonry .member-card .member-overlay .member-sector-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--accent);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    align-self: flex-start;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1) 0.3s;
}

.members-grid-masonry .member-card:hover .member-overlay .member-sector-tag {
    transform: translateY(0);
    opacity: 1;
}

/* Hide default member info for masonry layout */
.members-grid-masonry .member-card .member-info {
    display: none;
}

/* Parallax Effect on Scroll */
.members-grid-masonry .member-card:nth-child(3n+1) {
    transform: translateY(0);
}

.members-grid-masonry .member-card:nth-child(3n+2) {
    transform: translateY(40px);
}

.members-grid-masonry .member-card:nth-child(3n+3) {
    transform: translateY(20px);
}

/* Events Section */
.events-preview-grid,
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.event-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.event-image {
    width: 100%;
    height: 200px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 3rem;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    padding: var(--spacing-md);
}

.event-category {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--accent);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: var(--spacing-sm);
}

.event-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.event-date {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

.event-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.event-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.event-link:hover {
    background: var(--accent);
    color: white;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* Event Tabs */
.event-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    position: relative;
}

.tab-btn.active {
    color: var(--text-primary);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.tab-btn.active::after {
    width: 100%;
}

/* Contact Section */
.contact-section {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.contact-details {
    margin: var(--spacing-md) 0;
}

.contact-item {
    margin-bottom: var(--spacing-md);
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

.footer-logo h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.footer-logo p {
    color: var(--text-secondary);
    max-width: 400px;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Page Header */
.page-header {
    padding-top: 150px;
    padding-bottom: var(--spacing-lg);
    text-align: center;
    background: var(--bg-secondary);
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.page-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* About Page Specific Styles */
.page-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.page-hero-content {
    text-align: center;
    max-width: 1200px;
    padding: var(--spacing-xl) var(--spacing-md);
}

.page-hero-title {
    font-size: clamp(3.5rem, 10vw, 9rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-top: var(--spacing-md);
}

.about-intro {
    padding: var(--spacing-xl) 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.intro-heading {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    color: var(--accent);
}

.intro-body {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.intro-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    margin-top: var(--spacing-sm);
}

.intro-link:hover {
    color: var(--accent-light);
    transform: translateX(5px);
}

.our-story {
    background: var(--bg-secondary);
    padding: var(--spacing-xl) 0;
}

.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.section-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.story-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.story-text p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.story-image {
    height: 100%;
}

.image-placeholder {
    border-radius: 0;
    min-height: 400px;
}

.philosophy-section {
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.philosophy-header {
    margin-bottom: var(--spacing-lg);
}

.philosophy-quote {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.3;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--text-primary);
    font-style: italic;
    letter-spacing: -0.01em;
}

.values-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.values-intro {
    margin-bottom: var(--spacing-lg);
}

.impact-section {
    padding: var(--spacing-xl) 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    border: 1px solid var(--border-color);
}

.impact-stat {
    padding: var(--spacing-lg);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.impact-stat:hover {
    background: var(--bg-secondary);
}

.impact-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.impact-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.impact-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
    text-align: center;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.cta-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: var(--accent);
    color: var(--bg-primary);
    text-decoration: none;
    font-weight: 700;
    border: 2px solid var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.cta-button:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(200, 148, 95, 0.2);
}

.cta-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.cta-link:hover {
    color: var(--accent);
}

/* View All Link */
.view-all-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: var(--accent-hover);
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 968px) {
    .menu-link {
        font-size: clamp(1.5rem, 8vw, 3rem);
        gap: 1rem;
    }

    .menu-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .menu-info {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .menu-text {
        display: none;
    }

    .members-grid-masonry {
        column-count: 2;
    }

    /* About Page Responsive */
    .intro-grid,
    .story-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .hero-stats {
        gap: var(--spacing-lg);
    }

    /* Intro Frame Responsive */
    .intro-title {
        font-size: clamp(2rem, 8vw, 4rem);
        gap: clamp(0.5rem, 2vw, 1rem);
    }

    .intro-subtitle {
        font-size: clamp(1rem, 3vw, 1.25rem);
    }

    .intro-tagline {
        font-size: clamp(0.875rem, 2.5vw, 1.125rem);
    }
}

@media (max-width: 640px) {
    .members-preview-grid,
    .members-grid,
    .events-preview-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .menu-link-number {
        font-size: 0.3em;
    }

    .menu-bg-shape-1,
    .menu-bg-shape-2,
    .menu-bg-shape-3 {
        width: 200px;
        height: 200px;
    }

    /* Show default cursor on mobile */
    body {
        cursor: auto;
    }

    .custom-cursor {
        display: none;
    }

    .members-grid-masonry {
        column-count: 1;
    }

    .members-grid-masonry .member-card:nth-child(n) {
        transform: translateY(0) !important;
    }

    /* Intro Frame Mobile */
    .intro-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        flex-direction: column;
        gap: 0.5rem;
    }

    .intro-title .letter {
        -webkit-text-stroke: 1px var(--accent);
    }

    .intro-label {
        font-size: 0.75rem;
        letter-spacing: 0.2em;
    }

    .scroll-prompt {
        bottom: var(--spacing-md);
        font-size: 0.75rem;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* New Sections Styles */

/* President Section */
.president-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    perspective: 1500px;
    perspective-origin: center center;
    overflow: hidden;
}

.president-content {
    max-width: 900px;
    margin: 0 auto;
    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: hidden;
}

.president-text {
    margin: var(--spacing-lg) 0;
}

.president-text p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.president-signature {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--accent);
    text-align: right;
}

.signature-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.signature-position {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Presentation Section */
.presentation-section {
    padding: var(--spacing-xl) 0;
}

.presentation-content {
    max-width: 1000px;
    margin: 0 auto;
}

.presentation-intro,
.presentation-description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.audience-list {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent);
}

.audience-items {
    list-style: none;
    padding: 0;
}

.audience-items li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
    position: relative;
    padding-left: 2rem;
}

.audience-items li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Philosophy Section */
.philosophy-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.philosophy-content {
    max-width: 1000px;
    margin: 0 auto;
}

.beliefs-intro {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--accent);
}

.beliefs-list {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-lg);
}

.beliefs-list li {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    padding-left: 2rem;
    position: relative;
    color: var(--text-primary);
}

.beliefs-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 2rem;
    line-height: 1;
}

.philosophy-statement {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 600;
    line-height: 1.6;
    color: var(--accent);
    font-style: italic;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--bg-primary);
    border-left: 4px solid var(--accent);
}

/* Fundamentals Section */
.fundamentals-section {
    padding: var(--spacing-xl) 0;
}

.fundamentals-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.mission-block {
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.values-block {
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.section-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--accent);
}

.mission-points {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.mission-points li {
    flex: 1 1 300px;
    font-size: 1rem;
    line-height: 1.6;
    padding: var(--spacing-md);
    padding-left: 3rem;
    position: relative;
    color: var(--text-primary);
    background: var(--bg-primary);
    border-left: 3px solid var(--accent);
    transition: all 0.3s ease;
}

.mission-points li:hover {
    transform: translateX(5px);
    border-left-width: 5px;
}

.mission-points li::before {
    content: '✓';
    position: absolute;
    left: var(--spacing-sm);
    top: var(--spacing-md);
    color: var(--accent);
    font-weight: 700;
    font-size: 1.5rem;
}

/* How to Join Section */
.how-to-join-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.join-categories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.join-category {
    flex: 1 1 calc(50% - var(--spacing-md));
    min-width: 280px;
    padding: var(--spacing-lg);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.join-category:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.category-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--accent);
}

.category-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    flex-grow: 1;
}

.join-contact {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--bg-primary);
    border: 2px solid var(--accent);
    border-radius: 10px;
}

.join-contact p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.join-contact a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.join-contact a:hover {
    color: var(--accent-light);
}

/* Activities Section */
.activities-section {
    padding: var(--spacing-xl) 0;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.activity-card {
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.activity-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.activity-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--accent);
}

.activity-items {
    list-style: none;
    padding: 0;
}

.activity-items li {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-xs);
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.activity-items li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.activities-impact {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent);
    margin-top: var(--spacing-lg);
}

.activities-impact p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.7;
    color: var(--text-primary);
}

/* Hero Secondary Subtitle */
.hero-secondary-subtitle {
    font-size: clamp(1rem, 2vw, 1.375rem);
    color: var(--accent);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
    font-style: italic;
}

/* Text Animation Classes */
.split-line {
    display: block;
    position: relative;
    overflow: hidden;
    line-height: 1.8;
}

.split-line .word {
    display: inline-block;
    will-change: transform;
}

.overlay-line {
    pointer-events: none;
}

/* Responsive Updates */
@media (max-width: 968px) {
    .mission-points {
        flex-direction: column;
    }

    .mission-points li {
        flex: 1 1 100%;
    }

    .join-categories {
        flex-direction: column;
    }

    .join-category {
        flex: 1 1 100%;
        min-width: auto;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .president-signature {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-secondary-subtitle {
        font-size: 1rem;
    }

    .beliefs-list li,
    .mission-points li,
    .audience-items li {
        font-size: 1rem;
    }

    .activity-icon,
    .category-icon {
        font-size: 2.5rem;
    }

    .values-grid {
        flex-direction: column;
    }

    .value-card {
        flex: 1 1 100%;
        min-width: auto;
    }
}

/* Lenis Smooth Scroll Styles */
.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* 3D Transform Support */
.transform-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Card Hover 3D Effect Enhancement */
.join-category,
.activity-card {
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.join-category:hover,
.activity-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Smooth Scroll Indicator */
.scroll-indicator {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(10px);
    }
}

/* Performance Optimizations */
.will-animate {
    will-change: transform, opacity;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html.lenis-smooth {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   NOUS REJOINDRE PAGE STYLES
   ======================================== */

/* Page Header */
.page-header {
    padding: calc(var(--spacing-xl) + 80px) 0 var(--spacing-xl);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.page-header-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Join Categories Detailed Section */
.join-categories-detailed {
    padding: var(--spacing-xl) 0;
}

.categories-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.category-detailed-card {
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent);
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.category-detailed-card:hover {
    border-left-width: 6px;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: var(--bg-primary);
}

.category-icon-large {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.category-title-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
}

.category-description-large {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Membership Benefits Section */
.membership-benefits {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.benefit-card {
    padding: var(--spacing-lg);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.benefit-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
}

.benefit-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Application Process Section */
.application-process {
    padding: var(--spacing-xl) 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.process-step {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.process-step:hover {
    background: var(--bg-primary);
    border-color: var(--accent);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    min-width: 60px;
}

.step-content h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.step-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Join CTA Section */
.join-cta {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.cta-content > p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(200, 148, 95, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.cta-info {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.cta-info p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.cta-info a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.cta-info a:hover {
    text-decoration: underline;
}

/* Responsive Styles for Nous Rejoindre Page */
@media (max-width: 968px) {
    .categories-detailed-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 640px) {
    .page-header {
        padding: calc(var(--spacing-lg) + 80px) 0 var(--spacing-lg);
    }

    .category-icon-large,
    .benefit-icon {
        font-size: 3rem;
    }

    .step-number {
        font-size: 2rem;
        min-width: 50px;
    }

    .process-step {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

/* Contact Content Section */
.contact-content-section {
    padding: var(--spacing-xl) 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xl);
}

/* Contact Information Block */
.contact-info-block {
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.contact-info-block h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.contact-intro {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-info-item {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--bg-primary);
    border-left: 3px solid var(--accent);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    border-left-width: 5px;
    transform: translateX(5px);
}

.contact-info-icon {
    font-size: 2rem;
    min-width: 50px;
}

.contact-info-details h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.contact-info-details p,
.contact-info-details a {
    font-size: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
}

.contact-info-details a:hover {
    color: var(--accent);
}

.contact-social-block {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.contact-social-block h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.contact-social-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.social-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateX(5px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Form Block */
.contact-form-block {
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.contact-form-block h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200, 148, 95, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    margin-top: var(--spacing-sm);
    width: 100%;
}

.form-success-message {
    padding: var(--spacing-md);
    background: rgba(30, 181, 58, 0.1);
    border: 1px solid var(--burundi-green);
    border-radius: 4px;
    text-align: center;
}

.form-success-message p {
    font-size: 1rem;
    color: var(--burundi-green);
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.faq-item {
    padding: var(--spacing-lg);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-left-width: 5px;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.faq-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.faq-item a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Responsive Styles for Contact Page */
@media (max-width: 968px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-info-block,
    .contact-form-block {
        padding: var(--spacing-md);
    }

    .contact-info-item {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .contact-info-icon {
        min-width: auto;
    }

    .contact-social-links {
        gap: 0.5rem;
    }

    .social-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
    }
}
