* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: 'Montserrat', system-ui, Segoe UI, Roboto, Arial, sans-serif;
    color: #e9eef6;
    background: linear-gradient(180deg, #071428, #081424);
}

.page-bg {
    min-height: 100vh;
    padding: 28px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: rgba(12, 20, 30, 0.4);
    border-radius: 10px;
    padding: 16px 22px;
    border-left: 4px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(2, 8, 17, 0.6);
}

.name {
    margin: 0;
    font-size: 30px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #ffffff;
}

.role,
.contact p {
    margin: 0;
    font-size: 13px;
    color: #98a0ab;
}

.contact a {
    color: #c92b3b;
    text-decoration: none;
}

.layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
}

.sidebar {
    background: #0d1b2a;
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(2, 8, 17, 0.6);
    border-left: 4px solid rgba(255, 255, 255, 0.05);
}

.avatar-wrap {
    width: 140px;
    height: 140px;
    margin: 8px auto 14px;
    border-radius: 12px;
    overflow: hidden;
    border: 6px solid #c92b3b;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.6);
}

.avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-block {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.contact-block p,
.contact-block a {
    margin: 6px 0;
    color: #dbe7f0;
    font-size: 13px;
}

.contact-block a {
    color: #c92b3b;
    text-decoration: none;
}

.skill-circles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
}

.circle {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    background: #071427;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.05);
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.circle.active,
.tool.active {
    background: #c92b3b;
    box-shadow: 0 6px 12px rgba(201, 43, 59, 0.3);
}

.cat-thumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.cat-thumb {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.timeline {
    margin-top: 12px;
}


.timeline h4 {
    font-size: 14px;
    margin-bottom: 8px;
    color: #c92b3b;
}

.timeline ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline li {
    display: flex;
    gap: 10px;
    padding: 8px 0 8px 12px;
    border-left: 3px solid rgba(255, 255, 255, 0.05);
}

.timeline strong {
    color: #fff;
    font-size: 13px;
}

.timeline span {
    color: #98a0ab;
    font-size: 13px;
}

.main {
    background: rgba(12, 20, 30, 0.4);
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(2, 8, 17, 0.6);
    border-left: 4px solid rgba(255, 255, 255, 0.05);
}

.card {
    padding: 18px;
    margin-bottom: 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
}

.pill-title,
.section-title {
    display: inline-block;
    background: #c92b3b;
    padding: 8px 16px;
    color: #fff;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(201, 43, 59, 0.3);
}

.skills-card .columns {
    display: flex;
    gap: 28px;
}

.columns ul {
    margin: 8px 0 0 18px;
    color: #98a0ab;
    font-size: 14px;
    list-style: disc;
}

.tool-icons {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.tool {
    width: 46px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #071428;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.experience-card .exp-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.exp-item {
    display: flex;
    gap: 16px;
}

.exp-item time {
    width: 100px;
    font-weight: 700;
    color: #ff6b5f;
}

.hobby-icons {
    font-size: 20px;
    color: #dfe7f4;
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 12px;
}

.footer {
    margin-top: 18px;
    text-align: center;
    font-size: 13px;
    color: #98a0ab;
}

@media (max-width: 1000px) {
    .layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {

    .avatar-wrap {
        width: 80px;
        height: 80px;
    }

    .name {
        font-size: 20px;
    }

    .avatar-wrap {
        width: 100px;
        height: 100px;
    }
}