* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
    background-color: #0d1117;
    color: #e6edf3;
    line-height: 1.5;
}

.header {
    background-color: #161b22;
    border-bottom: 1px solid #30363d;
    padding: 16px 0;
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #30363d;
    background-color: #21262d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 600;
    color: #58a6ff;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-info h1 {
    font-size: 36px;
    font-weight: 600;
    color: #e6edf3;
    margin-bottom: 4px;
}

.header-info .username {
    font-size: 22px;
    color: #8b949e;
    font-weight: 300;
}

.header-info .bio {
    margin-top: 8px;
    color: #8b949e;
    font-size: 16px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 32px;
    display: grid;
    grid-template-columns: 296px 1fr;
    gap: 24px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card {
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 16px;
}

.card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #e6edf3;
    margin-bottom: 16px;
    border-bottom: 1px solid #30363d;
    padding-bottom: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #8b949e;
    font-size: 15px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item a {
    color: #58a6ff;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.skill-item {
    background-color: #238636;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    margin: 2px 4px 2px 0;
}

.skill-item.secondary {
    background-color: #1f6feb;
}

.skill-item.tertiary {
    background-color: #8957e5;
}

.repo-card {
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 16px;
}

.repo-card:last-child {
    margin-bottom: 0;
}

.repo-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.repo-name {
    font-size: 17px;
    font-weight: 600;
    color: #58a6ff;
    text-decoration: none;
    margin-right: 8px;
}

.repo-visibility {
    background-color: #21262d;
    border: 1px solid #30363d;
    border-radius: 2em;
    padding: 3px 8px;
    font-size: 13px;
    font-weight: 500;
    color: #8b949e;
}

.repo-description {
    color: #8b949e;
    margin-bottom: 12px;
    font-size: 15px;
}

.repo-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #8b949e;
}

.repo-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.language-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.javascript {
    background-color: #f1e05a;
}

.python {
    background-color: #3572a5;
}

.java {
    background-color: #b07219;
}

.csharp {
    background-color: #239120;
}

.html {
    background-color: #e34c26;
}

.css {
    background-color: #1572b6;
}

.timeline-item {
    border-left: 2px solid #30363d;
    padding-left: 16px;
    margin-bottom: 24px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #58a6ff;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 17px;
    font-weight: 600;
    color: #e6edf3;
}

.timeline-company {
    font-size: 15px;
    color: #58a6ff;
    margin-bottom: 4px;
}

.timeline-date {
    font-size: 13px;
    color: #8b949e;
    background-color: #21262d;
    padding: 3px 9px;
    border-radius: 4px;
}

.timeline-description {
    color: #8b949e;
    font-size: 15px;
    line-height: 1.6;
}

.timeline-description ul {
    margin-left: 16px;
    margin-top: 8px;
}

.timeline-description li {
    margin-bottom: 4px;
}

.badge {
    background-color: #1f6feb;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 8px;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .header-content {
        padding: 0 16px;
        flex-direction: column;
        text-align: center;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.footer {
    background-color: #161b22;
    border-top: 1px solid #30363d;
    margin-top: 48px;
    padding: 32px 0;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: #8b949e;
    text-decoration: none;
    font-size: 14px;
}

.footer-link:hover {
    color: #58a6ff;
    text-decoration: underline;
}

.footer-text {
    color: #8b949e;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-content {
        padding: 0 16px;
    }

    .footer-links {
        gap: 16px;
    }
}

.github-btn {
    background: #161b22;
    color: #c9d1d9;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 0.5rem 1.2rem;
    font-family: 'Segoe UI', 'Liberation Sans', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 1.5px 4px rgba(27,31,35,.12);
    transition: background 0.18s, border 0.18s, box-shadow 0.18s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: left;
    gap: 0.5rem;
}
.github-btn:hover, .github-btn:focus {
    background: #21262d;
    border-color: #8b949e;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(27,31,35,.18);
}
.github-btn-icon {
    background: #161b22;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.github-btn-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}