:root {
    --primary-color: #0A2342;
    /* Deep Professional Blue */
    --accent-color: #F4D03F;
    /* Muted Gold/Yellow */
    --bg-color: #FAFAFA;
    /* Off-White */
    --text-color: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

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

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.btn-contact {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
}

.btn-contact:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(10, 35, 66, 0.8), rgba(10, 35, 66, 0.8)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    padding-top: 80px;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--white);
    /* Changed to white for contrast */
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    /* Lighter white for text */
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    /* Yellow button on blue bg */
    color: var(--primary-color);
    /* Blue text on yellow button */
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-primary:hover {
    background-color: #eec21f;
    /* Slightly darker yellow */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 208, 63, 0.3);
}

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

/* Distinct Backgrounds */
#about {
    background-color: var(--white);
}

#labs {
    background-color: #F0F4F8;
    /* Light blue-grey */
}

.section-header {
    margin-bottom: 3rem;
    text-align: left;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.line {
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

.about-content {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.labs-content {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
}

.labs-content p {
    margin-bottom: 1.5rem;
}

/* Contact Section */
#contact {
    background-color: var(--primary-color);
    color: var(--white);
}

#contact .section-header h2 {
    color: var(--white);
}

.contact-content {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    box-shadow: none;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.email-link {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--accent-color);
    transition: var(--transition);
}

#contact .email-link {
    color: var(--white);
    border-bottom: 2px solid rgba(244, 208, 63, 0.3);
}

#contact .email-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-bottom-color: var(--accent-color);
}

.email-link:hover {
    color: #0f3057;
    background-color: var(--accent-color);
    /* Highlight effect */
    border-bottom-color: transparent;
    padding: 0 5px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.95;
}

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

    nav ul {
        gap: 1rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}