/* Reset and Variables */
:root {
    /* InLytics / SANS Inspired Palette */
    --primary-blue: #0f2b46; /* Deep Navy */
    --secondary-blue: #2c5282; /* Lighter Corporate Blue */
    --accent-grey: #f4f5f7;
    --text-dark: #1a202c;
    --text-light: #718096;
    --white: #ffffff;
    --border-color: #e2e8f0;
}

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

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

/* Navigation */
nav {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

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

.nav-links li a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.nav-links li a:hover {
    color: var(--secondary-blue);
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(15, 43, 70, 0.9), rgba(15, 43, 70, 0.9)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 10px;
}

.hero-text .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #cbd5e0;
}

.hero-text .tagline {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #a0aec0;
}

/* Section Utilities */
.section-light { padding: 80px 0; background: var(--white); }
.section-grey { padding: 80px 0; background: var(--accent-grey); }
.section-dark { padding: 80px 0; background: var(--primary-blue); color: var(--white); }

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--secondary-blue);
    margin: 15px 0 30px 0;
}

.divider-center {
    height: 4px;
    width: 60px;
    background-color: #cbd5e0;
    margin: 15px auto 50px auto;
}

.section-dark .divider-center { background-color: var(--secondary-blue); }
.section-dark h2 { color: var(--white); text-align: center; }
.section-light h2, .section-grey h2 { text-align: center; }
.section-light .divider, .section-light .divider-center { background-color: var(--primary-blue); }
.about-text h2 { text-align: left; }

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    object-fit: cover;
}

.bullet-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.bullet-list li::before {
    content: '•';
    color: var(--secondary-blue);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Experience Section */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(255,255,255,0.2);
    top: 0;
    bottom: 0;
    left: 20px;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    padding-left: 60px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--white);
    left: 13px;
    top: 5px;
    z-index: 10;
}

.role-date {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a0aec0;
    margin-bottom: 5px;
}

.role-content h3 {
    color: var(--white);
    font-size: 1.3rem;
}

.role-content h4 {
    color: #63b3ed;
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 400;
}

.role-content p {
    color: #cbd5e0;
    font-size: 0.95rem;
}

/* Cards (Patents) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    text-align: center;
    transition: transform 0.2s;
}

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

.icon-large {
    font-size: 2.5rem;
    color: var(--secondary-blue);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Writing Section */
.writing-list {
    max-width: 800px;
    margin: 0 auto;
}

.writing-item {
    background: var(--white);
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.writing-item:hover {
    transform: translateX(5px);
    background-color: #ffffff;
    border-left: 4px solid var(--secondary-blue);
}

.writing-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.writing-item h3 a {
    color: var(--primary-blue);
    text-decoration: none;
}

.writing-item h3 a:hover {
    text-decoration: underline;
    color: var(--secondary-blue);
}

.writing-item .publication {
    color: var(--secondary-blue);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #0a1c2e;
    color: #718096;
    padding: 40px 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-text h1 { font-size: 2rem; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image { max-width: 300px; margin: 0 auto; }
}