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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2d3436;
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

.logo {
    font-size: 1.3rem;
    font-weight: bold;
    color: #0c4a6e;
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0284c7;
}

/* Hero Section - Glacier Theme */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 40%, #38bdf8 100%);
    color: white;
    padding: 6rem 2rem 4rem;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease;
}

.tagline {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s both;
    letter-spacing: 0.5px;
}

.hero-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 750px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-intro strong {
    color: #7dd3fc;
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2.5rem 0;
    animation: fadeInUp 1s ease 0.4s both;
}

.highlight-item {
    text-align: center;
}

.highlight-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #7dd3fc;
}

.highlight-label {
    font-size: 0.9rem;
    opacity: 0.85;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #0c4a6e;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s ease 0.5s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Sections */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: left;
    color: #0c4a6e;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 0.75rem;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, #0369a1, #38bdf8);
    border-radius: 2px;
}

.section-intro {
    max-width: 100%;
    margin: 0 0 3rem;
    text-align: left;
    font-size: 1.1rem;
    color: #475569;
}

.section-intro strong {
    color: #0369a1;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    color: #475569;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text strong {
    color: #0369a1;
}

.education-compact {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.edu-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.edu-item:last-child {
    border-bottom: none;
}

.edu-item strong {
    display: block;
    color: #0c4a6e;
    font-size: 0.95rem;
}

.edu-item span {
    color: #64748b;
    font-size: 0.9rem;
}

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

.experience-card {
    background: white;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-left: 3px solid #0369a1;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.9rem;
}

.experience-card h3 {
    font-size: 1rem;
    color: #0c4a6e;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.exp-company {
    display: block;
    color: #0369a1;
    font-size: 0.85rem;
    font-weight: 500;
}

.exp-period {
    color: #94a3b8;
    font-size: 0.85rem;
    white-space: nowrap;
    margin-left: 1rem;
}

.experience-card p {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.65;
}

/* Methodology Section */
.methodology-section {
    background: linear-gradient(180deg, #f0f9ff 0%, #f8fafc 100%);
    max-width: 100%;
    padding: 5rem calc((100% - 1200px) / 2 + 2rem);
}

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

.method-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #38bdf8;
}

.method-card.featured {
    border-top-color: #0369a1;
    background: linear-gradient(180deg, #f0f9ff 0%, white 30%);
}

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

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0369a1, #38bdf8);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.method-card h3 {
    color: #0c4a6e;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.method-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.method-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.method-tags span {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Publications - Compact */
.publications-compact {
    max-width: 100%;
    margin: 2rem 0 0;
}

.pub-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.pub-item:last-child {
    border-bottom: none;
}

.pub-item h4 {
    color: #0c4a6e;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.pub-item p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.pub-item strong {
    color: #0c4a6e;
}

.pub-item em {
    color: #0369a1;
}

.pub-item a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 500;
}

.pub-item a:hover {
    text-decoration: underline;
}

/* Skills Section - Inline */
.skills-section {
    background: #f8fafc;
    padding: 3rem 2rem;
}

.skills-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.75rem;
    max-width: 100%;
    margin: 1.5rem 0 0;
}

.skill-tag {
    background: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 500;
    color: #334155;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, background 0.3s;
    font-size: 0.9rem;
}

.skill-tag:hover {
    transform: scale(1.05);
    background: #0369a1;
    color: white;
}

/* Contact */
#contact {
    text-align: left;
    background: linear-gradient(180deg, #f8fafc 0%, #f0f9ff 100%);
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

#contact h2 {
    color: #0c4a6e;
    text-align: left;
}

#contact > p {
    color: #475569;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.contact-info {
    margin: 1.5rem 0;
    color: #64748b;
    text-align: left;
}

.contact-info p {
    margin: 0.3rem 0;
    text-align: left;
}

#contact .cta-button {
    margin-top: 1rem;
    background: #0369a1;
    color: white;
}

#contact .cta-button:hover {
    background: #0284c7;
}

/* Project Cards on Main Page */
.project-card-link {
    text-decoration: none;
    color: inherit;
}

.view-project {
    display: inline-block;
    margin-top: 1rem;
    color: #0369a1;
    font-weight: 600;
    font-size: 0.9rem;
}

.project-card:hover .view-project {
    color: #0284c7;
}

/* Project Detail Pages */
.project-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
}

.project-header {
    margin-bottom: 3rem;
}

.back-link {
    display: inline-block;
    color: #0369a1;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.back-link:hover {
    color: #0284c7;
}

.project-header h1 {
    font-size: 2.5rem;
    color: #0c4a6e;
    margin-bottom: 0.5rem;
}

.project-subtitle {
    font-size: 1.2rem;
    color: #64748b;
}

.project-content {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.project-section {
    margin-bottom: 2.5rem;
}

.project-section:last-child {
    margin-bottom: 0;
}

.project-section h2 {
    font-size: 1.4rem;
    color: #0c4a6e;
    margin-bottom: 1rem;
    text-align: left;
}

.project-section p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.project-section ul {
    color: #475569;
    line-height: 1.8;
    margin-left: 1.5rem;
}

.project-section li {
    margin-bottom: 0.5rem;
}

.project-section .pub-item {
    padding: 0;
    border-bottom: none;
}

.project-section .cta-button {
    margin-top: 1rem;
    background: #0369a1;
    color: white;
    animation: none;
}

.inline-link {
    color: #0369a1;
    font-weight: 600;
    text-decoration: none;
}

.inline-link:hover {
    text-decoration: underline;
}

/* Workflow Diagram */
.workflow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.workflow-step {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 12px;
    padding: 1.5rem;
    width: 160px;
    text-align: center;
    border: 2px solid #38bdf8;
}

.step-number {
    width: 32px;
    height: 32px;
    background: #0369a1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-weight: bold;
}

.step-content h4 {
    color: #0c4a6e;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #64748b;
    font-size: 0.8rem;
    margin: 0;
}

.workflow-arrow {
    color: #0369a1;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Component Grid */
.component-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.component-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.component-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.component-icon {
    background: linear-gradient(135deg, #0369a1, #38bdf8);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 0.8rem;
    font-weight: bold;
}

.component-card h4 {
    color: #0c4a6e;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.component-card p {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0;
}

/* Data Flow Diagram */
.data-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.data-sources, .data-output {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.data-item {
    background: #f0f9ff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #334155;
}

.data-icon {
    font-size: 1.2rem;
}

.data-arrow {
    color: #0369a1;
    font-size: 2rem;
}

.data-center {
    background: linear-gradient(135deg, #0369a1, #0284c7);
    color: white;
    padding: 2rem;
    border-radius: 50%;
    text-align: center;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ESG Framework */
.esg-framework {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
}

.esg-center {
    background: linear-gradient(135deg, #0369a1, #0284c7);
    color: white;
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
    box-shadow: 0 5px 20px rgba(3, 105, 161, 0.3);
}

.esg-items-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.esg-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid;
    transition: transform 0.3s, box-shadow 0.3s;
}

.esg-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.esg-e { border-color: #22c55e; }
.esg-s { border-color: #f59e0b; }
.esg-g { border-color: #8b5cf6; }

.esg-label {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
}

.esg-e .esg-label { background: #22c55e; }
.esg-s .esg-label { background: #f59e0b; }
.esg-g .esg-label { background: #8b5cf6; }

.esg-item h4 {
    color: #0c4a6e;
    margin-bottom: 0.5rem;
}

.esg-item p {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0;
}

/* Value Chain */
.value-chain {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.chain-step {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    width: 140px;
    text-align: center;
}

.chain-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.chain-step h4 {
    color: #0c4a6e;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.chain-step p {
    color: #64748b;
    font-size: 0.8rem;
    margin: 0;
}

.chain-arrow {
    color: #0369a1;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Theme Grid */
.theme-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.theme-card {
    background: #f0f9ff;
    border-radius: 10px;
    padding: 1.25rem;
}

.theme-card h4 {
    color: #0c4a6e;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.theme-card p {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0;
}

/* Publication & Learn More Box */
.pub-box, .learn-more-box {
    background: #f0f9ff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.pub-box h4 {
    color: #0c4a6e;
    margin-bottom: 0.75rem;
}

.pub-box p {
    color: #64748b;
    margin-bottom: 1rem;
}

.learn-more-box p {
    color: #475569;
    margin-bottom: 1.5rem;
}

/* Responsive for diagrams */
@media (max-width: 768px) {
    .workflow-container, .value-chain {
        flex-direction: column;
    }

    .workflow-arrow, .chain-arrow {
        transform: rotate(90deg);
    }

    .esg-items-row {
        grid-template-columns: 1fr;
    }

    .data-flow {
        flex-direction: column;
    }

    .data-arrow {
        transform: rotate(90deg);
    }

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

/* Section background wrappers */
.bg-white-section {
    background: #ffffff;
    width: 100%;
}

.bg-alt-section {
    background: #f1f5f9;
    width: 100%;
    border-top: 1px solid #e8edf2;
    border-bottom: 1px solid #e8edf2;
}

/* Heading refinements */
.logo {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero h1 {
    font-weight: 700;
    letter-spacing: -0.03em;
}

.tagline {
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #0c4a6e;
    color: #94a3b8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-highlights {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .hero-intro {
        font-size: 1rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .methodology-section {
        padding: 3rem 1.5rem;
    }
}
