:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #333;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header and Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

nav a:hover {
    color: var(--secondary-color);
}

/* Update header styles for Wangscape branding */
.logo {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.logo h1 {
    font-size: 1.8rem;
    color: #2c5530;
    margin: 0;
}

.tagline {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.bg-light {
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 100px 0 80px;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
}

.feature i {
    font-size: 1.5rem;
    color: #2c5530;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background: #2c5530;
    color: white;
}

.btn-primary:hover {
    background: #1e3a21;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: #2c5530;
    border: 2px solid #2c5530;
}

.btn-secondary:hover {
    background: #2c5530;
    color: white;
}

/* Section styles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #666;
    font-size: 1.1rem;
}

/* Research cards */
.research-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.research-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.research-icon {
    width: 60px;
    height: 60px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.research-icon i {
    font-size: 1.8rem;
    color: #2c5530;
}

.learn-more {
    color: #2c5530;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
}

.learn-more:hover {
    text-decoration: underline;
}

/* Tools showcase */
.tools-showcase {
    margin-top: 3rem;
}

.tool-featured {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tool-badge {
    background: #2c5530;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.tool-stats {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.tool-link {
    color: #2c5530;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.coming-soon {
    display: inline-block;
    background: #ffd93d;
    color: #333;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* Publications */
.publication-list {
    margin-top: 2rem;
}

.publication {
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.publication h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.authors {
    color: #666;
    font-style: italic;
}

.venue {
    color: #888;
    margin: 0.5rem 0;
}

.pub-links a {
    color: var(--secondary-color);
    text-decoration: none;
    margin-right: 1rem;
}

/* Publication styles */
.publication-highlight {
    background: #f8fafb;
    border-left: 4px solid #2c5530;
    padding: 2rem;
    margin-bottom: 3rem;
    border-radius: 5px;
}

.pub-badge {
    background: #2c5530;
    color: white;
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 3px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.pub-impact {
    color: #2c5530;
    font-weight: 500;
    margin: 0.5rem 0;
}

.pub-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.pub-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c5530;
    text-decoration: none;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pub-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pub-meta {
    color: #666;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* About section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c5530;
}

.stat-label {
    color: #666;
    margin-top: 0.5rem;
}

.contact-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c5530;
    text-decoration: none;
    font-weight: 500;
}

/* Footer redesign */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #aaa;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

.view-all {
    text-align: center;
    margin-top: 2rem;
}

/* Update research grid for 4 items */
.research-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .profile {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-container {
        flex-direction: column;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
}