/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4b2e83; /* UW Purple */
    --secondary-color: #00ff88; /* Tech Green accent */
    --dark-bg: #0f0f0f;
    --darker-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --light-card-bg: #252525;
    --text-primary: #e8e8e8;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --border-color: #2a2a2a;
    --accent-border: #3a3a3a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--dark-bg);
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

ul, ol {
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--primary-color);
    transition: transform 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: rgba(75, 46, 131, 0.1);
    transform: translateY(-2px);
}

.nav-menu a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-menu a:active {
    transform: translateY(0);
}

.join-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(75, 46, 131, 0.2);
}

.join-btn:hover {
    background: #3a1f6b;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(75, 46, 131, 0.4);
}

.join-btn:active {
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 80px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6b46c1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #3a1f6b;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(75, 46, 131, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--dark-bg);
}

/* Hero Visual Elements */
.hero-visual {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.tech-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(75, 46, 131, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float 20s infinite ease-in-out;
}

.tech-circle-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

/* Section Styles */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.15rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Subsection Titles (for Project Leadership, etc.) */
.subsection-title {
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.subsection-subtitle {
    font-size: 1rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background: var(--darker-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-border);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0;
}

.mission-section {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 3rem;
    background: var(--primary-color);
    color: white;
    border-radius: 16px;
    text-align: center;
}

.mission-section h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.mission-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* Community Section */
.community-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.community-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.community-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.social-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: left;
}

.social-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light-card-bg);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.social-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.discord-card:hover {
    border-color: #5865F2;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1) 0%, var(--light-card-bg) 100%);
}

.instagram-card:hover {
    border-color: #E1306C;
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.1) 0%, var(--light-card-bg) 100%);
}

.social-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.discord-card:hover .social-icon {
    background: #5865F2;
}

.discord-card:hover .social-icon svg {
    color: white;
}

.instagram-card:hover .social-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-card:hover .social-icon svg {
    color: white;
}

.social-card-content {
    flex: 1;
}

.social-card-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.social-card-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.social-cta {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.discord-card:hover .social-cta {
    color: #5865F2;
}

.instagram-card:hover .social-cta {
    color: #E1306C;
}

/* Four Project Teams Section */
.teams-section-main {
    background: var(--dark-bg);
}

.teams-grid-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card-main {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.team-card-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.team-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.team-card-main h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.team-card-main p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.team-card-main ul {
    list-style: none;
}

.team-card-main li {
    padding: 0.6rem 0 0.6rem 1.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.team-card-main li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Leadership Team Section */
.team {
    background: var(--darker-bg);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.leader-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
}

.leader-card:hover {
    transform: translateY(-4px);
}

.leader-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
    border: 3px solid var(--primary-color);
}

.leader-img-placeholder {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.leader-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.leader-title {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.leader-email {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.open-positions {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-top: 4rem;
}

.open-positions h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.position-card {
    padding: 2rem;
    background: var(--light-card-bg);
    border-radius: 12px;
}

.position-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.position-card ul {
    list-style: none;
}

.position-card li {
    padding: 0.6rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Join Section */
.join {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6b46c1 100%);
    color: white;
    text-align: center;
}

.join h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.join > p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.join-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    text-align: left;
}

.join-requirements {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
}

.join-requirements h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.join-requirements ul {
    list-style: none;
}

.join-requirements li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    opacity: 0.95;
    line-height: 1.7;
}

.join-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.btn-large {
    font-size: 1.15rem;
    padding: 1rem 2.5rem;
}

.join-note {
    font-size: 0.95rem;
    opacity: 0.85;
}

.join-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Page Hero (for Projects and Research pages) */
.page-hero {
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Projects Page Styles */
.project-detail {
    background: var(--darker-bg);
}

.project-header {
    text-align: center;
    margin-bottom: 4rem;
}

.project-status-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--dark-bg);
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.project-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.project-section {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.project-section h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.75rem 0 0.75rem 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.tech-stack-list {
    display: grid;
    gap: 2rem;
}

.tech-category h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tech-category ul {
    list-style: none;
}

.tech-category li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Development Pipeline */
.development-pipeline {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 4rem;
}

.development-pipeline h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-primary);
}

.pipeline-intro {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.pipeline-stages {
    display: grid;
    gap: 2rem;
}

.pipeline-stage {
    background: var(--light-card-bg);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.stage-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pipeline-stage h4 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.stage-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.pipeline-stage ul {
    list-style: none;
    margin-bottom: 1rem;
}

.pipeline-stage li {
    padding: 0.35rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.stage-timeline {
    display: inline-block;
    background: rgba(75, 46, 131, 0.2);
    color: var(--primary-color);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Project Timeline */
.project-timeline-section {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 4rem;
}

.project-timeline-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.timeline-list {
    display: grid;
    gap: 1.5rem;
}

.timeline-milestone {
    display: grid;
    grid-template-columns: 120px 150px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-card-bg);
    border-radius: 8px;
    align-items: center;
}

.milestone-date {
    font-weight: 600;
    color: var(--text-primary);
}

.milestone-status {
    font-size: 0.9rem;
    font-weight: 600;
}

.timeline-milestone.complete .milestone-status {
    color: var(--secondary-color);
}

.timeline-milestone.current .milestone-status {
    color: #00aaff;
}

.timeline-milestone p {
    color: var(--text-secondary);
}

/* Project CTA */
.project-cta {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.project-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Research Page Styles */
.research-detail {
    background: var(--darker-bg);
}

.research-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.research-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.research-opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.research-opportunity-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.research-opportunity-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.research-opportunity-card ul {
    list-style: none;
}

.research-opportunity-card li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.research-opportunity-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.research-opportunity-card.coming-soon {
    border-color: var(--accent-border);
    background: var(--light-card-bg);
}

.coming-soon-text {
    color: var(--text-muted);
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.coming-soon-description {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Research Process Section */
.research-process-section {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 4rem;
}

.research-process-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-primary);
}

.process-intro {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.research-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step-card {
    background: var(--light-card-bg);
    padding: 2rem;
    border-radius: 12px;
}

.process-step-card .step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-step-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-period {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.process-step-card > p:not(.step-period) {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.process-step-card ul {
    list-style: none;
}

.process-step-card li {
    padding: 0.35rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Research Areas */
.research-areas {
    margin-bottom: 4rem;
}

.research-areas h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.research-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.research-area-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.research-area-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.research-area-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Research Team Opportunities */
.research-team-opportunities {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 4rem;
}

.research-team-opportunities h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.research-roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.research-role-card {
    background: var(--light-card-bg);
    padding: 2rem;
    border-radius: 12px;
}

.research-role-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.research-role-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Research CTA */
.research-cta {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.research-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.research-cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    color: var(--text-secondary);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--text-primary);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.footer-section p {
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: white;
    background: var(--card-bg);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.2s;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Responsive Design */
/* Tablet styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .features-grid,
    .teams-grid-main {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .leadership-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Navigation improvements */
    .nav-container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .nav-menu {
        gap: 0.5rem;
        font-size: 0.85rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .join-btn {
        padding: 0.4rem 0.9rem;
        font-size: 0.85rem;
    }

    /* Hero section */
    .hero {
        min-height: 80vh;
        padding: 100px 15px 60px;
    }

    .hero h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.8;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
    }

    /* Section spacing */
    section {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .subsection-title {
        font-size: 1.5rem;
        margin-top: 3rem;
    }

    .subsection-subtitle {
        font-size: 0.95rem;
    }

    /* Feature cards */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.75rem;
    }

    .feature-card h3 {
        margin-bottom: 1rem;
    }

    .feature-card p {
        line-height: 1.8;
    }

    /* Mission section */
    .mission-section {
        padding: 2rem;
        margin: 0 auto 3rem;
    }

    .mission-section h3 {
        font-size: 1.5rem;
    }

    .mission-section p {
        font-size: 1rem;
    }

    /* Community section */
    .community-section {
        padding: 2rem;
    }

    .community-section h3 {
        font-size: 1.75rem;
    }

    .social-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .social-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .social-icon {
        width: 60px;
        height: 60px;
    }

    .social-icon svg {
        width: 36px;
        height: 36px;
    }

    /* Team cards */
    .teams-grid-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-card-main {
        padding: 1.75rem;
    }

    .team-card-main h3 {
        margin-bottom: 1rem;
    }

    .team-card-main p {
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    .team-card-main li {
        padding: 0.7rem 0 0.7rem 1.5rem;
        line-height: 1.7;
    }

    /* Leadership grid */
    .leadership-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .leader-card {
        padding: 1.5rem;
    }

    .leader-img,
    .leader-img-placeholder {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }

    .leader-card h3 {
        font-size: 1.1rem;
    }

    .leader-title,
    .leader-email {
        font-size: 0.85rem;
    }

    /* Open positions */
    .open-positions {
        padding: 2rem;
        margin-top: 3rem;
    }

    .open-positions h3 {
        font-size: 1.75rem;
    }

    .positions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .position-card {
        padding: 1.5rem;
    }

    .position-card h4 {
        margin-bottom: 1rem;
    }

    .position-card li {
        padding: 0.7rem 0;
        line-height: 1.7;
    }

    /* Join section */
    .join h2 {
        font-size: 2.25rem;
    }

    .join > p {
        font-size: 1.1rem;
    }

    .join-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .join-requirements {
        padding: 1.75rem;
    }

    .join-requirements h3 {
        font-size: 1.35rem;
    }

    .join-requirements li {
        font-size: 0.95rem;
    }

    .btn-large {
        font-size: 1rem;
        padding: 0.85rem 2rem;
        width: 100%;
    }

    .join-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Project pages */
    .page-hero {
        padding: 100px 15px 50px;
    }

    .page-hero h1 {
        font-size: 2.25rem;
    }

    .page-hero p {
        font-size: 1.1rem;
    }

    .project-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-section {
        padding: 2rem;
    }

    .timeline-milestone {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .development-pipeline,
    .project-timeline-section,
    .project-cta,
    .research-process-section,
    .research-team-opportunities,
    .research-cta {
        padding: 2rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.85rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .nav-menu {
        font-size: 0.8rem;
        gap: 0.4rem;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .social-cards {
        gap: 1.25rem;
    }

    .join h2 {
        font-size: 1.85rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}