* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    line-height: 1.6;
    background-color: #f4f6f8;
    color: #222;
}

header {
    background: #1f2933;
    color: #ffffff;
    padding: 2rem;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
}

header nav {
    margin-top: 1rem;
}

header nav a {
    color: #ffffff;
    margin: 0 0.75rem;
    text-decoration: none;
    font-weight: bold;
}

header nav a:hover {
    text-decoration: underline;
}

main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    margin-bottom: 3rem;
}

section h2 {
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    list-style: none;
    gap: 0.5rem;
}

.skills-list li {
    background: #ffffff;
    padding: 0.5rem;
    border-radius: 4px;
    text-align: center;
}

.project {
    background: #ffffff;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.project h3 {
    margin-bottom: 0.5rem;
}

.project-links a {
    margin-right: 1rem;
    color: #2563eb;
    text-decoration: none;
}

.project-links a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 1rem;
    background: #e5e7eb;
    font-size: 0.9rem;
}

.layout {
    display: flex;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* LEFT DASHBOARD */
.sidebar {
    width: 260px;
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    height: fit-content;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sidebar h2 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.metric {
    margin-bottom: 1.2rem;
}

.metric label {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.3rem;
    color: #444;
}

.bar {
    width: 100%;
    height: 10px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.fill {
    height: 100%;
    width: 0%;
    background: #2563eb;
    transition: width 0.4s ease;
}

/* TEXT UNDER BAR */
.metric span {
    font-size: 0.8rem;
    color: #555;
    display: inline-block;
    margin-top: 0.3rem;
}

/* CENTER PANEL */
.main {
    flex: 1;
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.container-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #1f2933;
    color: white;

    padding: 0.8rem 1.2rem;

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.topbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.topbar a:hover {
    text-decoration: underline;
}

.topbar span {
    font-weight: 600;
}