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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

nav {
    background-color: #2c3e50;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #3498db;
}

main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
}

main img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

h2 {
    color: #34495e;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

h3 {
    color: #34495e;
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

hr {
    border: none;
    border-top: 2px solid #ecf0f1;
    margin: 2rem 0;
}

.about-container {
    text-align: center;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 2rem auto;
    border: 4px solid #3498db;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.project {
    border-left: 4px solid #3498db;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.project h2 {
    margin-top: 0;
}

.project a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.project a:hover {
    text-decoration: underline;
}

.cv-section {
    margin-bottom: 2.5rem;
}

.cv-section ul {
    list-style: none;
    padding-left: 1rem;
}

.cv-section li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

strong {
    color: #2c3e50;
}

footer {
    text-align: center;
    padding: 2rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    main {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    nav ul {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .profile-photo {
        width: 150px;
        height: 150px;
    }
}

/* PhD Progress Tracker Styles */
.phd-progress {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #3498db;
}

.phd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.phd-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.phd-year {
    color: #3498db;
    font-weight: 600;
    font-size: 0.95rem;
}

.phd-institution {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.milestone {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.milestone::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #3498db;
}

.milestone.completed::before {
    background: #3498db;
}

.milestone.in-progress::before {
    background: linear-gradient(90deg, #3498db 50%, white 50%);
}

.milestone-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.2rem;
}

.milestone.completed .milestone-title {
    color: #27ae60;
}

.milestone.in-progress .milestone-title {
    color: #f39c12;
}

.milestone-status {
    font-size: 0.85rem;
    color: #7f8c8d;
}

.milestone.completed .milestone-status {
    color: #27ae60;
}

.milestone.in-progress .milestone-status {
    color: #f39c12;
}

.progress-bar-container {
    margin: 1.5rem 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.progress-bar {
    width: 100%;
    height: 24px;
    background: #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 12px;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .phd-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .phd-year {
        margin-top: 0.5rem;
    }
}
