/* ============================================
   Urban Resilience Collaborative - Light Theme
   Purple & Green with Gradients
   ============================================ */

/* CSS Custom Properties - Purple & Green Palette */
:root {
    /* Primary Colors - Purple */
    --purple-900: #4c1d95;
    --purple-800: #5b21b6;
    --purple-700: #6d28d9;
    --purple-600: #7c3aed;
    --purple-500: #8b5cf6;
    --purple-400: #a78bfa;
    --purple-300: #c4b5fd;
    --purple-200: #ddd6fe;
    --purple-100: #ede9fe;
    --purple-50: #f5f3ff;

    /* Secondary Colors - Green */
    --green-900: #064e3b;
    --green-800: #065f46;
    --green-700: #047857;
    --green-600: #059669;
    --green-500: #10b981;
    --green-400: #34d399;
    --green-300: #6ee7b7;
    --green-200: #a7f3d0;
    --green-100: #d1fae5;
    --green-50: #ecfdf5;

    /* Gradient Definitions */
    --gradient-purple: linear-gradient(135deg, #4c1d95 0%, #6d28d9 50%, #7c3aed 100%);
    --gradient-green: linear-gradient(135deg, #047857 0%, #059669 50%, #10b981 100%);
    --gradient-mixed: linear-gradient(135deg, #4c1d95 0%, #6d28d9 40%, #059669 100%);
    --gradient-hero: linear-gradient(135deg, #4c1d95 0%, #5b21b6 30%, #047857 70%, #059669 100%);
    --gradient-soft: linear-gradient(135deg, #f5f3ff 0%, #ecfdf5 100%);

    /* Neutrals - Light Theme */
    --white: #FFFFFF;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(76, 29, 149, 0.1);
    --glass-shadow: 0 8px 32px rgba(76, 29, 149, 0.1);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-purple: 0 10px 40px rgba(76, 29, 149, 0.2);
    --shadow-green: 0 10px 40px rgba(5, 150, 105, 0.2);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;

    /* Spacing */
    --container-max: 1400px;
    --section-padding: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-purple);
    border-radius: 5px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hidden {
    display: none !important;
}

/* ============================================
   Header - Fixed White Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-purple);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-purple);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--purple-900);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--green-600);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.nav-desktop {
    display: none;
    gap: 0.5rem;
}

.nav-desktop a {
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-600);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.nav-desktop a:hover {
    color: var(--purple-700);
    background: var(--purple-50);
}

.nav-desktop a.active {
    color: var(--purple-700);
    background: var(--purple-100);
}

.mobile-menu-btn {
    background: var(--gradient-purple);
    border: none;
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-purple);
}

.mobile-menu-btn:hover {
    transform: scale(1.05);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 1rem;
    margin-top: 0.5rem;
    box-shadow: var(--shadow-xl);
}

.mobile-menu a {
    display: block;
    padding: 0.875rem 1rem;
    color: var(--gray-700);
    border-radius: 8px;
    font-weight: 500;
}

.mobile-menu a:hover {
    background: var(--purple-50);
    color: var(--purple-700);
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}

/* ============================================
   Hero Section - Purple/Green Gradient
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 1rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(16, 185, 129, 0.2), transparent),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(109, 40, 217, 0.2), transparent);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 1rem;
    color: var(--green-300);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: -0.03em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-highlight {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-highlight span {
    background: linear-gradient(135deg, var(--green-300), var(--green-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-green);
    color: var(--white);
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--purple-700);
    box-shadow: var(--shadow-lg);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* ============================================
   About/Description Section
   ============================================ */
.about-section {
    padding: var(--section-padding) 0;
    background: var(--white);
    position: relative;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.375rem;
    color: var(--gray-600);
    line-height: 1.9;
}

.about-text .highlight {
    color: var(--purple-700);
    font-weight: 600;
    position: relative;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.about-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple-300);
    box-shadow: var(--shadow-purple);
}

.about-card-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-purple);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--white);
}

.about-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
}

@media (max-width: 768px) {
    .about-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .about-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--purple-100);
    border: 1px solid var(--purple-200);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--purple-700);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--purple-900);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Shifts & Markers Section
   ============================================ */
.shifts-section {
    padding: var(--section-padding) 0;
    background: var(--gradient-soft);
    position: relative;
}

.shifts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.shift-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.shift-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-green);
    opacity: 0;
    transition: var(--transition-smooth);
}

.shift-card:hover {
    transform: translateY(-8px);
    border-color: var(--green-300);
    box-shadow: var(--shadow-lg);
}

.shift-card:hover::before {
    opacity: 1;
}

.shift-icon {
    width: 56px;
    height: 56px;
    background: var(--green-100);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--green-600);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.shift-card:hover .shift-icon {
    background: var(--gradient-green);
    color: var(--white);
    transform: scale(1.1);
}

.shift-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.shift-label {
    font-size: 0.8rem;
    color: var(--green-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.shift-list {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.shift-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.shift-list li::before {
    content: "→";
    color: var(--purple-600);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .shifts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .shifts-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   3P Framework Section - Compact
   ============================================ */
.framework-section {
    padding: 4rem 0;
    background: var(--gradient-soft);
}

.framework-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.framework-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.framework-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--purple-300);
}

.framework-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    background: var(--gradient-purple);
    color: var(--white);
    box-shadow: var(--shadow-purple);
}

.framework-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--purple-900);
    margin-bottom: 0.25rem;
    letter-spacing: 0.02em;
}

.framework-subtitle {
    font-size: 0.8rem;
    color: var(--green-600);
    font-weight: 600;
    margin-bottom: 1rem;
}

.framework-list {
    text-align: left;
}

.framework-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.framework-list i {
    color: var(--green-500);
    margin-top: 0.15rem;
    flex-shrink: 0;
    font-size: 0.8rem;
}

@media (max-width: 1024px) {
    .framework-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ============================================
   Task Forces Section
   ============================================ */
.taskforces-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.taskforces-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.taskforce-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border-left: 3px solid var(--purple-600);
}

.taskforce-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.taskforce-header {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--gray-100);
    background: linear-gradient(to right, var(--purple-50), var(--white));
}

.taskforce-header i {
    width: 32px;
    height: 32px;
    background: var(--gradient-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--white);
}

.taskforce-header h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--purple-900);
}

.taskforce-body {
    padding: 0.75rem 1rem;
}

.taskforce-focus {
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    line-height: 1.4;
}

.taskforce-focus strong {
    color: var(--purple-700);
}

.taskforce-priorities h4 {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--green-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.taskforce-priorities ul {
    font-size: 0.7rem;
    color: var(--gray-700);
}

.taskforce-priorities li {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.taskforce-priorities li::before {
    content: "•";
    color: var(--green-500);
}

.taskforce-members {
    display: none;
}

@media (max-width: 1200px) {
    .taskforces-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .taskforces-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Members Section - Premium Cards
   ============================================ */
.members-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition-smooth);
    background: var(--white);
    color: var(--gray-600);
}

.tab-btn:hover {
    border-color: var(--purple-400);
    color: var(--purple-700);
}

.tab-btn.active {
    background: var(--gradient-purple);
    border-color: transparent;
    color: var(--white);
    box-shadow: var(--shadow-purple);
}

/* Individual Members Grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.member-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition-smooth);
    border-left: 4px solid var(--purple-500);
}

.member-card:hover {
    transform: translateY(-4px);
    border-color: var(--purple-300);
    box-shadow: var(--shadow-lg);
}

.member-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--purple-900);
    margin-bottom: 0.25rem;
}

.member-role {
    font-size: 0.75rem;
    color: var(--green-600);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.member-intro {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.5;
}

@media (max-width: 1200px) {
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .members-grid {
        grid-template-columns: 1fr;
    }
}

/* Organizations Grid */
.orgs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.org-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.25rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.org-card:hover {
    transform: translateY(-4px);
    border-color: var(--green-300);
    box-shadow: var(--shadow-md);
}

.org-card.anchor {
    border-color: var(--purple-300);
    background: linear-gradient(135deg, var(--purple-50), var(--white));
    border-width: 2px;
}

.org-card.anchor::before {
    content: 'ANCHOR';
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--purple-700);
    background: var(--purple-100);
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    letter-spacing: 0.1em;
}

.org-card.knowledge {
    border-color: var(--green-300);
    background: linear-gradient(135deg, var(--green-50), var(--white));
}

.org-card.knowledge::before {
    content: 'KNOWLEDGE';
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--green-700);
    background: var(--green-100);
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    letter-spacing: 0.1em;
}

.org-logo-img {
    width: 100px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
}

.org-logo {
    width: 60px;
    height: 40px;
    background: var(--gradient-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--white);
    box-shadow: var(--shadow-green);
}

.org-card.anchor .org-logo {
    background: var(--gradient-purple);
    box-shadow: var(--shadow-purple);
}

.org-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.15rem;
}

.org-location {
    font-size: 0.7rem;
    color: var(--purple-600);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.org-description {
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.org-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    color: var(--purple-600);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.org-link:hover {
    color: var(--green-600);
}

.org-link i {
    font-size: 0.6rem;
}

@media (max-width: 1024px) {
    .orgs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .orgs-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Map Section
   ============================================ */
.map-section {
    padding: var(--section-padding) 0;
    background: var(--purple-900);
}

.map-section .section-title {
    color: var(--white);
}

.map-section .section-subtitle {
    color: var(--purple-200);
}

.map-section .section-badge {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--green-400);
}

.map-container {
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 3px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

#partner-map {
    height: 100%;
    width: 100%;
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--purple-200);
    font-size: 0.9rem;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.legend-dot.anchor {
    background: var(--purple-400);
}

.legend-dot.partner {
    background: var(--green-400);
}

.legend-dot.knowledge {
    background: #f59e0b;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--gradient-purple);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--purple-200);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.footer-anchor {
    font-size: 0.9rem;
    color: var(--purple-300);
}

.footer-anchor span {
    color: var(--green-400);
    font-weight: 600;
}

.footer-column h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--purple-200);
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--purple-200);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.footer-contact i {
    color: var(--green-400);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--purple-300);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-200);
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--green-500);
    border-color: var(--green-500);
    color: var(--white);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   Leaflet Custom Styles
   ============================================ */
.leaflet-popup-content-wrapper {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

.leaflet-popup-content {
    margin: 12px 16px;
    color: var(--gray-800);
}

.leaflet-popup-tip {
    background: var(--white);
}

.map-popup h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--purple-900);
    margin-bottom: 0.25rem;
}

.map-popup p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0 0 0.25rem;
}

.map-popup .type {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}

.map-popup .type.anchor {
    background: var(--purple-100);
    color: var(--purple-700);
}

.map-popup .type.partner {
    background: var(--green-100);
    color: var(--green-700);
}

.map-popup .type.knowledge {
    background: #fef3c7;
    color: #92400e;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for grids */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

.stagger-7 {
    transition-delay: 0.7s;
}

.stagger-8 {
    transition-delay: 0.8s;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-gradient-purple {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-green {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}