:root {
    --primary-bg: #fdfcf9;
    --sidebar-bg: #e8e4db;
    --accent: #b2bea3;
    --text-main: #4a4a4a;
    --text-muted: #8e8e8e;
    --text-white: #4a4a4a;
    --border-color: #dcd7ca;
    --font-header: 'Readex Pro', sans-serif;
    --font-body: 'Readex Pro', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background: #eef2f3;
    line-height: 1.5;
    color: var(--text-main);
}

.resume-container {
    max-width: 1000px;
    margin: 30px auto;
    background: var(--primary-bg);
    display: flex;
    min-height: 1300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Sidebar Styling */
.sidebar {
    width: 280px;
    background: var(--sidebar-bg);
    color: var(--text-white);
    padding: 40px 30px;
}

.profile-header {
    margin-bottom: 40px;
}

.profile-header h1 {
    font-family: var(--font-header);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 5px;
}

.profile-header h2 {
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.profile-header .role {
    font-size: 0.9rem;
    background: var(--accent);
    display: inline-block;
    padding: 3px 15px;
    border-radius: 6px; /* Subtle soft-square instead of pill */
    margin-top: 15px;
    letter-spacing: 0.5px;
}

.profile-header .location {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #4a4a4a;
    opacity: 0.8;
}

.sidebar-section {
    margin-bottom: 35px;
}

.sidebar-section h3 {
    font-family: var(--font-header);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 5px;
}

.sidebar-section ul {
    list-style: none;
}

.sidebar-section ul li {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.sidebar-section a {
    color: inherit;
    text-decoration: none;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tags span {
    font-size: 0.75rem;
    background: rgba(0,0,0,0.05);
    padding: 5px 12px;
    border-radius: 6px; /* Balanced curve, no pill */
    border: 1px solid rgba(0,0,0,0.08);
}


.certifications li {
    line-height: 1.4;
    margin-bottom: 10px !important;
}

/* Main Content Styling */
.main-content {
    flex: 1;
    padding: 50px 60px;
}

.main-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.main-header h3 {
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.main-header h1 {
    font-family: var(--font-header);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--sidebar-bg);
}

.summary-text {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
}

.main-header strong {
    color: var(--accent);
}

.experience-section {
    margin-bottom: 40px;
}

.experience-section h3 {
    font-family: var(--font-header);
    font-size: 1.3rem;
    text-transform: uppercase;
    color: var(--sidebar-bg);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.experience-section h3::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
    margin-left: 20px;
}

.experience-item {
    margin-bottom: 30px;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.exp-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
}

.exp-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
}

.exp-bullets {
    margin-left: 20px;
}

.exp-bullets li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #444;
}

.exp-desc {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
}

.education-section h3 {
    font-family: var(--font-header);
    font-size: 1.3rem;
    text-transform: uppercase;
    color: var(--sidebar-bg);
    margin-bottom: 20px;
}

.edu-item {
    font-size: 0.95rem;
    margin-bottom: 10px;
    padding-left: 15px;
    border-left: 3px solid var(--accent);
}

@media print {
    body {
        background: white;
    }
    .resume-container {
        margin: 0;
        box-shadow: none;
        max-width: none;
        width: 100%;
    }
    .sidebar {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
