body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    color: #333;
    background: #f5f5f5;
}

nav {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c5aa0;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    padding: 0.5rem;
    border-radius: 4px;
}

.nav-links a:visited {
    color: #666;
}

.nav-links a:hover {
    background-color: #f0f0f0;
}

.nav-links a.active {
    background-color: #2c5aa0;
    color: white;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

section {
    background: white;
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero {
    text-align: center;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2c5aa0;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
}

h2 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    border-bottom: 2px solid #2c5aa0;
    padding-bottom: 0.5rem;
}

.links {
    margin-top: 1.5rem;
    text-align: center;
}

.btn {
    display: inline-block;
    background: #2c5aa0;
    color: white;
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 0.5rem;
}

.btn:hover {
    background: #1e3f73;
}

.btn:visited {
    color: white;
}

.resume-section {
    margin-bottom: 2rem;
}

.experience-item {
    background: #f9f9f9;
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 5px;
}

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

.experience-date {
    color: #666;
    font-size: 0.9rem;
}

.experience-item h4 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.project-card h3 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-link {
    color: #2c5aa0;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid #2c5aa0;
    border-radius: 5px;
}

.project-link:hover {
    background: #2c5aa0;
    color: white;
}

.project-link:visited {
    color: #1e3f73;
    border-color: #1e3f73;
}

.project-link:visited:hover {
    background: #1e3f73;
    color: white;
}

footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: white;
}

.footer-links a:hover {
    color: #ccc;
}

.footer-links a:visited {
    color: #ddd;
}