:root {
    --primary-color: #6a1b9a;
    /* Deep purple */
    --accent-color: #8e24aa;
    --text-dark: #2c3e50;
    --text-light: #546e7a;
    --bg-color: #f0f2f5;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --sidebar-width: 300px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: --bg-color;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 14px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    background-color: var(--white);
    display: flex;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    /* Soft rounding */
    overflow: hidden;
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    background-color: #f8f9fa;
    border-right: 1px solid var(--border-color);
    padding: 30px;
    flex-shrink: 0;
}

.profile-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar section:last-child {
    border-bottom: none;
}

.sidebar h2 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.cert-list li {
    margin-bottom: 12px;
}

.cert-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
}

.sidebar i {
    width: 20px;
    color: var(--primary-color);
    margin-right: 5px;
    text-align: center;
}

/* Main Content Styles */
.main-content {
    flex-grow: 1;
    padding: 40px 50px;
    background-color: var(--white);
}

header {
    margin-bottom: 40px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 20px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.summary {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 800px;
    text-align: justify;
}

.main-content h2 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    display: inline-block;
}

.experience .job {
    margin-bottom: 30px;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--border-color);
}

.experience .job:last-child {
    margin-bottom: 0;
}

.job-header {
    margin-bottom: 10px;
}

.job h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
}

.company {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.date {
    display: block;
    font-size: 0.85rem;
    color: #95a5a6;
    margin-bottom: 10px;
    font-style: italic;
}

.job-description p {
    margin-bottom: 10px;
    color: var(--text-light);
}

.job-description ul {
    list-style-type: disc;
    margin-left: 20px;
    color: var(--text-light);
}

.job-description li {
    margin-bottom: 5px;
}

.education .degree h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.education .degree .school {
    font-size: 1rem;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        margin: 0;
        border-radius: 0;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
    }

    .main-content {
        padding: 30px 20px;
    }

    header h1 {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    body {
        background-color: var(--white);
        font-size: 12px;
    }

    .container {
        box-shadow: none;
        margin: 0;
        width: 100%;
        max-width: none;
        border: none;
    }

    .sidebar {
        background-color: transparent;
        border-right: 1px solid #ccc;
    }

    a {
        text-decoration: none;
        color: var(--text-dark);
    }
}