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

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

/* Anchor offset so the fixed header doesn't cover section titles on scroll */
#home,
#about,
#services,
#expertise,
#leadership,
#publications,
#contact {
    scroll-margin-top: 100px;
}

/* Header */
header {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #ecf0f1;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #ecf0f1;
    letter-spacing: -1px;
}

.logo span {
    color: #3498db;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #3498db;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #3498db;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: -2px;
    animation: slideInDown 1s ease-out;
}

.hero .subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: #bdc3c7;
    font-weight: 300;
    animation: slideInUp 1s ease-out 0.3s both;
}

.cta-button {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
    animation: slideInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.4);
}

/* Main Content */
.main-content {
    padding: 80px 0;
}

.section {
    margin-bottom: 80px;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
    font-weight: 300;
}

.intro-text {
    font-size: 1.3rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: #34495e;
    font-weight: 300;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.service-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Expertise Section */
.expertise-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.expertise-tag {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.expertise-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

/* Values Section */
.values {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    text-align: center;
    margin: 60px 0;
}

.values h3 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.values p {
    font-size: 1.2rem;
    color: #34495e;
    line-height: 1.7;
    font-style: italic;
}

/* Team Section */
.team {
    background: white;
    padding: 80px 0;
}

.team h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    color: #34495e;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.team-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.team-card-body {
    padding: 30px;
}

.team-card-body h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.team-role {
    color: #3498db;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: block;
}

.team-card-body p {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 0.98rem;
}

/* Publications Section */
.publications {
    background: #f8f9fa;
    padding: 80px 0;
}

.publications h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
}

.publications-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    color: #34495e;
    line-height: 1.7;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.report-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.1);
    display: flex;
    flex-direction: column;
}

.report-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.report-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.report-year {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.report-description {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 30px;
    flex: 1;
}

.report-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.report-button:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    transform: translateX(5px);
}

.report-button svg {
    transition: transform 0.3s ease;
}

.report-button:hover svg {
    transform: translateY(2px);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact h2 {
    color: white;
    margin-bottom: 30px;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #bdc3c7;
}

/* Footer */
footer {
    background: #1a252f;
    color: #bdc3c7;
    padding: 40px 0;
    text-align: center;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .nav-toggle {
        display: flex;
    }

    nav ul {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: calc(100% + 20px);
        left: 0;
        right: 0;
        background: rgba(44, 62, 80, 0.98);
        padding: 10px 0;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 15px 20px;
    }

    #home,
    #about,
    #services,
    #expertise,
    #leadership,
    #publications,
    #contact {
        scroll-margin-top: 100px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .expertise-list {
        flex-direction: column;
        align-items: center;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

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