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

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

.nav-logo {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo i {
    margin-right: 0.5rem;
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s;
}

.nav-links a i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }
    
    .nav-links.active {
        max-height: 400px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .nav-links a {
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-links a:after {
        display: none;
    }
}

/* White Paper Resume Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #7f8c8d;
    --accent-color: #3498db;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --text-color: #333;
    --line-height: 1.6;
    --container-width: 8.5in;
    --content-width: 7.5in;
}

/* Base Styles */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 11pt;
    line-height: var(--line-height);
    color: var(--text-color);
    background: #fff;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem 1.5rem;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    margin-top: 1rem;
}

/* Header & Profile */
.header {
    margin-bottom: 2em;
    padding-bottom: 1.5em;
    border-bottom: 2px solid var(--border-color);
}

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

.profile-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info h1 {
    margin: 0 0 0.5rem;
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
}

.title {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.location {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.location i {
    margin-right: 0.4rem;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1em;
}

.header h1 {
    color: var(--primary-color);
    margin: 0;
    font-size: 28pt;
    font-weight: 300;
    letter-spacing: 1px;
}

.header .title {
    color: var(--secondary-color);
    font-size: 12pt;
    font-weight: 400;
    margin-top: 0.5em;
}

.timeline-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 0.6em 1.2em;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.2s;
}

.timeline-button i {
    margin-right: 0.5em;
}

.timeline-button:hover {
    background-color: var(--accent-color);
}

/* Contact Information */
.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em;
    margin: 1em 0;
    font-size: 10pt;
    color: var(--secondary-color);
}

.contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.contact-info a:hover {
    color: var(--accent-color);
}

/* Section Styling */
.section {
    margin-bottom: 2.5em;
    page-break-inside: avoid;
}

.section-title {
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.skill-category {
    background: #f9f9f9;
    padding: 1.2rem;
    border-radius: 6px;
    border-left: 3px solid var(--accent-color);
}

.skill-category h3 {
    margin: 0 0 0.8rem 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.skill-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-category li {
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1.2rem;
}

.skill-category li:before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Experience Section */
.experience-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #e0e0e0;
}

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

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.experience-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.experience-date {
    color: var(--accent-color);
    font-weight: 500;
    white-space: nowrap;
    margin-left: 1rem;
}

.company {
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.experience-item ul {
    margin: 0.8rem 0 0 0;
    padding-left: 1.2rem;
}

.experience-item li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Education Section */
.education-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #e0e0e0;
}

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

.education-item h3 {
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.university {
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
}

.education-date, .gpa {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.2rem;
}

/* Timeline Button */
.timeline-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.2s;
    white-space: nowrap;
    margin-left: 1rem;
}

.timeline-button i {
    margin-right: 0.5rem;
}

.timeline-button:hover {
    background-color: darken(var(--accent-color), 10%);
    transform: translateY(-2px);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-image {
        margin: 0 auto;
    }
    
    .timeline-button {
        margin: 1rem auto 0;
        width: 100%;
        justify-content: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .experience-date {
        margin-left: 0;
    }
}

@media print {
    body {
        font-size: 10pt;
        line-height: 1.4;
    }
    
    .container {
        padding: 1cm;
        box-shadow: none;
    }
    
    .section {
        margin-bottom: 1em;
    }
    
    a {
        text-decoration: none;
        color: var(--text-color);
    }
    
    .no-print {
        display: none;
    }
}

/* Utilities */
.text-muted {
    color: var(--secondary-color);
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
