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

:root {
    --primary-blue: #1f4e79;
    --light-blue: #e8f0f8;
    --dark-gray: #333;
    --light-gray: #f5f5f5;
    --text-color: #444;
    --accent-blue: #4472c4;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    flex: 0 0 280px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: white;
    padding: 40px 20px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid rgba(255, 255, 255, 0.4);
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.profile-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 20px;
}

.profile-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 20px;
}

.profile-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.job-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

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

.sidebar-section h3 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-list,
.skills-list {
    list-style: none;
}

.contact-list li {
    font-size: 11px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.icon {
    font-size: 14px;
    flex-shrink: 0;
}

.contact-list a {
    color: white;
    text-decoration: none;
    word-break: break-word;
}

.contact-list a:hover {
    text-decoration: underline;
}

.skills-list li {
    font-size: 11px;
    margin-bottom: 8px;
    padding-left: 12px;
    position: relative;
}

.skills-list li:before {
    content: "•";
    position: absolute;
    left: 0;
}

.level {
    font-size: 10px;
    opacity: 0.8;
    display: block;
    margin-top: 2px;
    margin-left: 12px;
}

.download-btn {
    margin-top: 30px;
    text-align: center;
}

.btn {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid white;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: white;
    color: var(--primary-blue);
}

/* Main Content */
.content {
    flex: 1;
    padding: 40px 50px;
    background-color: white;
}

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

.content h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-blue);
}

/* Summary */
.summary p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-color);
}

/* Experience */
.job {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--light-gray);
}

.job:last-child {
    border-bottom: none;
}

.job-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.job-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
}

.position {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-blue);
}

.date {
    font-size: 12px;
    color: #888;
    margin-left: auto;
}

.job > p {
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.7;
}

.job-highlights {
    list-style: none;
    margin: 15px 0;
    padding-left: 0;
}

.job-highlights li {
    font-size: 12px;
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
    line-height: 1.6;
}

.job-highlights li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

.projects {
    background-color: var(--light-blue);
    padding: 12px;
    border-radius: 4px;
    margin-top: 12px;
    font-size: 12px;
}

.projects strong {
    color: var(--primary-blue);
}

.projects ul {
    list-style: none;
    margin-top: 8px;
    padding-left: 0;
}

.projects li {
    margin-bottom: 6px;
    padding-left: 16px;
    position: relative;
}

.projects li:before {
    content: "▪";
    position: absolute;
    left: 2px;
    color: var(--primary-blue);
}

/* Education */
.education ul {
    list-style: none;
}

.education li {
    font-size: 13px;
    margin-bottom: 12px;
    padding-left: 16px;
    position: relative;
    line-height: 1.6;
}

.education li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-category {
    background-color: var(--light-blue);
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid var(--primary-blue);
}

.skill-category h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skill-category p {
    font-size: 12px;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--light-gray);
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #ddd;
}

footer a {
    color: var(--accent-blue);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        flex: 0 0 auto;
        padding: 30px 20px;
    }

    .content {
        padding: 30px 20px;
    }

    .content h2 {
        font-size: 18px;
    }

    .job-header {
        flex-direction: column;
        gap: 5px;
    }

    .date {
        margin-left: 0;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .sidebar {
        padding: 20px;
    }

    .content {
        padding: 20px;
    }

    .profile-header h1 {
        font-size: 24px;
    }

    .content h2 {
        font-size: 16px;
    }

    .job-header h3 {
        font-size: 14px;
    }
}
