/* ===== Base ===== */
body {
    margin: 0;
    background: #f4f4f4;
    font-family: 'Inter', Arial, sans-serif;
    color: #222;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1050px;
    margin: 40px auto;
    background: white;
    box-shadow: 0 8px 35px rgba(0,0,0,0.08);
}

/* ===== Header ===== */
.header {
    background: #8c8c8c;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.name {
    font-size: 58px;
    font-weight: 300;
    letter-spacing: 1.2px;
}

.subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-top: 8px;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid white;
}

/* ===== Layout ===== */
.content {
    display: flex;
}

.left {
    width: 34%;
    padding: 35px 28px;
    border-right: 6px solid #d0d0d0;
    box-sizing: border-box;
}

.right {
    width: 66%;
    padding: 35px 45px;
    box-sizing: border-box;
}

/* ===== Headings ===== */
.left h3 {
    font-size: 18px;
    font-weight: 600;
    color: #444;
    margin-top: 30px;
    margin-bottom: 12px;
}

.right h3 {
    font-size: 18px;
    font-weight: 600;
    color: #666;
    margin-top: 35px;
    margin-bottom: 12px;
}

/* ===== Sections ===== */
.section {
    margin-bottom: 30px;
}

.section img {
    position: relative;
    top: 5em; /* adjust this value */
}

.section-large {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid #ddd;
}

/* ===== Text ===== */
p {
    line-height: 1.7;
    font-size: 16px;
    margin: 6px 0;
}

b {
    font-weight: 600;
    color: #111;
}

.muted {
    color: #777;
}

/* ===== Lists ===== */
ul {
    margin: 8px 0 0 18px;
    padding: 0;
}

li {
    margin-bottom: 6px;
    line-height: 1.6;
}

/* ===== Skill rows ===== */
.skill-row {
    display: flex;
    margin-bottom: 8px;
}

.skill-label {
    width: 120px;
}

.skill-dots {
    letter-spacing: 3px;
}

.dots-filled { color: #444; }
.dots-empty { color: #ccc; }

/* ===== Links ===== */
a {
    color: #444;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

a:hover {
    color: #000;
    border-bottom: 1px solid #aaa;
}

/* ===== Demo Grid ===== */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.demo-grid img {
    width: 100%;
    border-radius: 6px;
    transition: transform 0.15s ease;
}

.demo-grid img:hover {
    transform: scale(1.05);
}

/* ===== Items ===== */
.item {
    margin-bottom: 16px;
}
