/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-alt: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
}

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

/* Navigation */
#main-nav {
    position: sticky;
    top: 0;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: var(--shadow);
}

#main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-color);
    margin: 3px 0;
    transition: all 0.3s ease;
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-color);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        display: block;
        padding: 0.75rem 1.5rem;
    }
}

/* Sections */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background: var(--bg-alt);
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Introduction Section */
#introduction {
    text-align: center;
    padding: 5rem 0;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.profile-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-photo:hover img {
    transform: scale(1.05);
}

.intro-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.intro-summary {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Content Lists */
.content-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-item {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.content-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.item-header {
    margin-bottom: 1rem;
}

.item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.item-company {
    color: var(--primary-color);
    font-weight: 600;
}

.item-date {
    display: inline-block;
    background: var(--bg-alt);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.item-description p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.item-description p:last-child {
    margin-bottom: 0;
}

.responsibilities {
    margin-top: 1.5rem;
}

.responsibilities h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.responsibilities ul {
    list-style: none;
    padding-left: 0;
}

.responsibilities li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.responsibilities li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Achievements List */
.achievements-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement-item {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.achievement-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.achievement-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.achievement-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-color);
    flex: 1;
}

.achievement-category {
    background: var(--bg-alt);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
}

.achievement-impact {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact-info {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-label {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    display: block;
}

.contact-value {
    color: var(--text-light);
}

.contact-value a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-value a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--text-color);
    color: var(--bg-color);
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: var(--bg-color);
    text-decoration: underline;
}

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

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

    h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 3rem 0;
    }

    #introduction {
        padding: 4rem 0;
    }

    .content-item {
        padding: 1.5rem;
    }

    .achievement-header {
        flex-direction: column;
        align-items: start;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    #main-nav {
        display: none;
    }

    section {
        page-break-inside: avoid;
    }

    .content-item,
    .achievement-item {
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
}
