body {
    background: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    color: #222;
    line-height: 1.6;
}
.resume-container {
    display: flex;
    max-width: 1100px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}
.sidebar {
    background: #f7fafc;
    width: 320px;
    padding: 2rem 1.5rem;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.sidebar h2 {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.sidebar .details div,
.sidebar .links ul,
.sidebar .skills ul {
    margin-bottom: 1.2rem;
    font-size: 0.98rem;
}
.sidebar .links ul {
    list-style: none;
    padding: 0;
}
.sidebar .links a {
    color: #3182ce;
    text-decoration: none;
    font-weight: 500;
}
.sidebar .links a:hover {
    text-decoration: underline;
}
.sidebar .skills ul {
    list-style: none;
    padding: 0;
}
.dots {
    margin-left: 8px;
    vertical-align: middle;
}
.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
    margin-right: 2px;
}
.dot.filled {
    background: #3182ce;
}

.main-content {
    flex: 1;
    padding: 2.5rem 2.5rem 2.5rem 2rem;
}
.main-content header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.main-content h1 {
    font-size: 2.6rem;
    letter-spacing: 2px;
    color: #22223b;
    margin-bottom: 0.2rem;
}
.main-content h2 {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.profile p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 2.2rem;
    line-height: 1.7;
}
.employment .job {
    margin-bottom: 2.2rem;
}
.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.08rem;
    margin-bottom: 0.2rem;
}
.job-title {
    color: #22223b;
}
.job-location {
    color: #718096;
    font-size: 0.98rem;
}
.job-date {
    color: #a0aec0;
    font-size: 0.97rem;
    margin-bottom: 0.7rem;
}
.employment ul {
    margin: 0 0 0.7rem 1.2rem;
    padding: 0;
    color: #444;
    font-size: 1.01rem;
}
.employment a {
    color: #3182ce;
    text-decoration: none;
}
.employment a:hover {
    text-decoration: underline;
}
@media (max-width: 1024px) {
    .resume-container {
        margin: 20px;
        max-width: none;
    }
    .main-content {
        padding: 2rem 1.5rem;
    }
    .sidebar {
        width: 280px;
        padding: 1.5rem 1rem;
    }
}
@media (max-width: 900px) {
    .resume-container {
        flex-direction: column;
        margin: 10px;
    }
    
    /* Reorder content for mobile - main content first */
    .main-content {
        order: 1;
        padding: 2rem 1.5rem 1rem 1.5rem;
    }
    
    .sidebar {
        order: 2;
        width: 100%;
        border-right: none;
        border-top: 1px solid #e2e8f0;
        padding: 1.5rem;
        gap: 1.5rem;
        /* Make sidebar content horizontal on tablets */
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .sidebar .details,
    .sidebar .links,
    .sidebar .skills {
        flex: 1;
        min-width: 200px;
    }
    
    .main-content h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    
    .profile-header {
        flex-direction: row;
        gap: 1.5rem;
        text-align: left;
        justify-content: flex-start;
    }
}
@media (max-width: 600px) {
    .resume-container {
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    /* Keep main content first */
    .main-content {
        order: 1;
        padding: 1.5rem 1rem;
    }
    
    .sidebar {
        order: 2;
        flex-direction: column;
        padding: 1rem;
        gap: 1.5rem;
        border-top: 2px solid #e2e8f0;
        background: #fafbfc;
    }
    
    .sidebar .details,
    .sidebar .links,
    .sidebar .skills {
        min-width: auto;
    }
    
    /* Compact sidebar sections */
    .sidebar h2 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .sidebar .details div,
    .sidebar .links ul,
    .sidebar .skills ul {
        margin-bottom: 0.8rem;
        font-size: 0.9rem;
    }
    
    .main-content h1 {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }
    
    .main-content h2 {
        font-size: 1.1rem;
    }
    
    .profile p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    
    .job-title {
        font-size: 1rem;
    }
    
    .job-location {
        font-size: 0.9rem;
    }
    
    .employment ul {
        margin-left: 1rem;
        font-size: 0.95rem;
    }
    
    .profile-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .profile-img {
        width: 60px;
        height: 60px;
    }
}
@media (max-width: 400px) {
    .sidebar {
        padding: 0.75rem;
    }
    .main-content {
        padding: 1rem 0.75rem;
    }
    .main-content h1 {
        font-size: 1.6rem;
    }
    .profile p {
        font-size: 0.95rem;
    }
    .employment ul {
        font-size: 0.9rem;
    }
}
li {
    margin-bottom: 0.8em;
}
.sidebar hr {
    margin: 1.2em 0;
    border: none;
    border-top: 1.5px solid #e2e8f0;
}
.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid #e2e8f0;
} 