body {

font-family: Arial;
background: #f5f5f5;
text-align: center;

}

.container {

width: 700px;
margin: auto;
padding: 40px;

}

.profile {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: contain;
    background: white;
}

.subtitle {

color: gray;

}

.social i {

font-size: 24px;
margin: 10px;
color: black;

}

nav {

margin: 30px;

}

nav a {

margin: 10px;
text-decoration: none;
font-weight: bold;
color: #444;

}

.content {

text-align: left;
margin-top: 30px;

}

.date {

color: gray;
font-size: 14px;

}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 5px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 100;
}

.bar-left .bar-name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.bar-nav {
    display: flex;
    gap: 16px;
    flex: 1;
    justify-content: center;
}

.bar-nav a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    font-size: 0.9rem;
}

.bar-nav a:hover { text-decoration: underline; }

.bar-right {
    display: flex;
    gap: 12px;
}

.bar-right a {
    color: inherit;
    text-decoration: none;
    font-size: 1rem;
}

.bar-right a:hover { color: #0366d6; }

/* Categories accordion grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 24px 0;
}

.category-card {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.accordion-button {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    font-weight: 600;
    padding: 12px 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: inherit;
    font-size: 1.05rem;
}

.accordion-button .caret {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 180ms ease;
    margin-left: 8px;
}

.accordion-button[aria-expanded="true"] .caret {
    transform: rotate(45deg);
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 260ms ease;
    padding: 0 10px;
    border-top: 1px solid rgba(0,0,0,0.04);
}

.accordion-panel ul {
    list-style: none;
    padding: 10px 0 14px;
    margin: 0;
}

.accordion-panel li + li { margin-top: 8px; }

.accordion-panel a {
    color: inherit;
    text-decoration: none;
    padding: 6px 8px;
    display: inline-block;
    border-radius: 6px;
}

.accordion-panel a:hover { background: rgba(0,0,0,0.04); }

/* Experience section */
.experience-item {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.experience-item h3 {
    margin: 0 0 6px 0;
    font-size: 1.05rem;
}

.experience-item .role {
    margin: 2px 0;
    font-weight: 500;
    color: #333;
}

.experience-item .date {
    margin: 4px 0 10px 0;
    font-size: 0.9rem;
    color: gray;
}

.experience-item ul {
    margin: 8px 0 0 20px;
    padding: 0;
}

.experience-item li {
    margin: 6px 0;
    color: #555;
}

.hero {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-content {
    display: flex;
    gap: 24px;
    align-items: center;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    margin: 0 0 8px 0;
}

.hero-text .subtitle {
    margin: 4px 0;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.hero-nav a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

.hero-nav a:hover {
    text-decoration: underline;
}

@media (max-width: 860px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .bar-nav { gap: 10px; }
}

@media (max-width: 560px) {
    .categories-grid { grid-template-columns: 1fr; }
    .top-bar { flex-wrap: wrap; gap: 10px; }
    .bar-left { flex: 1 100%; }
    .bar-nav { flex: 1 100%; justify-content: flex-start; }
    .bar-right { flex: 1 100%; justify-content: flex-end; }
    .hero-content {
        flex-direction: column;
    }
    .profile { width: 140px; height: 140px; }
}