:root {
    --bg-color: #f3f4f6;
    --card-bg: #ffffff;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    padding: 20px;
}

.app-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 25px;
}

/* Sidebar */
.profile-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.img-wrapper {
    width: 130px;
    height: 130px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--bg-color);
    box-shadow: 0 0 0 2px var(--primary);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Focuses on face */
}

h1 { font-size: 1.4rem; font-weight: 700; margin-bottom: 5px; }
.role { color: var(--primary); font-weight: 600; font-size: 0.95rem; margin-bottom: 5px; }
.location { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 25px; }

/* Buttons */
.contact-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.btn {
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.2s;
    display: flex; justify-content: center; align-items: center; gap: 8px;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border: 1px solid var(--border-color); color: var(--text-main); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* Skills Tags */
.skills-section h3 { font-size: 0.85rem; text-transform: uppercase; color: var(--text-muted); margin-bottom: 15px; letter-spacing: 0.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tags span {
    background: var(--bg-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-main);
}

/* Content Feed */
.section-header { margin: 30px 0 15px; }
.section-header h2 { font-size: 1.2rem; color: var(--text-muted); font-weight: 600; display: flex; align-items: center; gap: 10px; }

.card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    border-left: 4px solid transparent;
    transition: transform 0.2s;
}

.card:hover { transform: translateY(-3px); }

/* Specialization Box (New) */
.specialization-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}
.specialization-box h4 { color: var(--primary-dark); font-size: 0.95rem; margin-bottom: 10px; }
.course-list { list-style: none; padding: 0; }
.course-list li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    padding-left: 15px;
    border-left: 2px solid var(--primary);
}

/* Job & Project Cards */
.job-card, .project-card, .edu-card { border-left-color: var(--primary); }
.job-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 5px; }
.job-header h3 { font-size: 1.1rem; font-weight: 700; }
.date { font-size: 0.85rem; color: var(--text-muted); background: var(--bg-color); padding: 4px 8px; border-radius: 4px; }
.company { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; margin-bottom: 15px; }

ul { padding-left: 20px; color: #374151; }
li { margin-bottom: 6px; font-size: 0.95rem; }
.highlight { color: var(--primary); font-weight: 700; }

@media (max-width: 850px) {
    .app-container { grid-template-columns: 1fr; }
    .profile-card { position: relative; top: 0; }
}