body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #212529;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.site-header {
    background-color: #f1f3f5;
    border-bottom: 1px solid #dee2e6;
}

.site-header .brand {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    color: #212529;
}

.site-nav {
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
}

.site-nav .nav-link {
    color: #212529;
    padding: 0.75rem 1.25rem;
    border-radius: 0;
}

.site-nav .nav-link:hover {
    background-color: #f8f9fa;
}

.site-nav .nav-link.active {
    background-color: #9ec5fe;
    color: #000;
    font-weight: 500;
}

.burger-btn {
    background: transparent;
    border: 1px solid #adb5bd;
    border-radius: 4px;
    padding: 0.4rem 0.7rem;
    font-size: 1.2rem;
    color: #212529;
    cursor: pointer;
}

.burger-btn:focus {
    outline: 2px solid #0d6efd;
}

.page-title {
    color: #f08c4a;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.section-title {
    color: #f08c4a;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.profile-photo {
    width: 100%;
    max-width: 220px;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

.skills {
    margin-top: 1.5rem;
}

.skill-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.skill-row .skill-icon {
    font-size: 2rem;
    width: 40px;
    height: 40px;
    text-align: center;
    object-fit: contain;
}

.skill-row .progress {
    flex: 1;
    height: 18px;
    background-color: #e9ecef;
}

.icon-python {
    color: #3776AB;
}

.icon-react {
    color: #61DAFB;
}

.icon-docker {
    color: #0db7ed;
}

.timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0.6rem 0;
    border-bottom: 1px dashed #e9ecef;
}

.timeline-list .year {
    min-width: 110px;
    font-weight: 600;
    color: #495057;
}

.contact-fieldset {
    border: 1px solid #adb5bd;
    border-radius: 6px;
    padding: 1.25rem;
}

.contact-fieldset legend {
    float: none;
    width: auto;
    padding: 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.contact-info i {
    width: 20px;
    text-align: center;
}

.contact-info a {
    color: #212529;
    text-decoration: none;
}

.contact-info a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.site-footer {
    background-color: #f1f3f5;
    border-top: 1px solid #dee2e6;
    padding: 1rem 0;
    margin-top: 2.5rem;
}

.social-icons a {
    color: #212529;
    font-size: 1.4rem;
    margin-left: 0.5rem;
    text-decoration: none;
}

.social-icons a:hover {
    color: #0d6efd;
}

@media (max-width: 767.98px) {
    .site-header .brand {
        font-size: 1.25rem;
    }

    .page-title,
    .section-title {
        text-align: center;
    }

    .site-nav .nav-link {
        border-bottom: 1px solid #f1f3f5;
    }

    .timeline-list li {
        flex-direction: column;
        gap: 0.25rem;
    }

    .site-footer .container {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
