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

:root {
    --primary-color: #0066cc;
    --secondary-color: #004999;
    --accent-color: #00a8e8;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    padding: 1rem 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: -5px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    opacity: 0.9;
}

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

section h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* About Section */
.about {
    background-color: var(--bg-light);
}

.about-content .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.mission, .vision {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.mission h3, .vision h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.research-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.research-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.research-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.methodology {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.methodology h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: left;
}

.methodology ul {
    list-style: none;
    padding-left: 0;
}

.methodology li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.methodology li:last-child {
    border-bottom: none;
}

.research-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 3rem;
}

.research-highlight h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.research-highlight .impact {
    font-size: 1.2rem;
    margin: 0;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.method-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 5px;
}

.method-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.method-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.research-impact {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.research-impact h3 {
    text-align: center;
    margin-bottom: 2rem;
}

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

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
}

.publications {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
    border-left: 4px solid var(--accent-color);
}

.publications h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: left;
}

.publications p {
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

/* Member Section */
.member {
    background-color: var(--bg-light);
}

.member-profile {
    background: var(--white);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: start;
}

.member-image-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.initials {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

.member-info h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.member-info .title {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.member-info .affiliation {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.expertise, .contributions {
    margin-bottom: 2rem;
}

.expertise h4, .contributions h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.expertise ul, .contributions ul {
    list-style: none;
    padding-left: 0;
}

.expertise li, .contributions li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.expertise li:before, .contributions li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.contact-member {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 2rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.gallery-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.caption {
    padding: 1.5rem;
}

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

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

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

.contact-info, .research-collaboration {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
}

.contact-info h3, .research-collaboration h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: left;
}

.contact-info ul, .research-collaboration ul {
    list-style: none;
    padding-left: 0;
}

.contact-info li, .research-collaboration li {
    padding: 0.5rem 0;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    padding: 0.3rem 0;
    opacity: 0.8;
}

.established {
    color: var(--accent-color);
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .member-profile {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .member-image-placeholder {
        margin: 0 auto;
    }
}
