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

body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #545E6C;
    background: #e8eaf0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.wrapper {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    display: flex;
    min-height: 100vh;
}

.sidebar-wrapper {
    width: 300px;
    min-width: 300px;
    background: #1f3a5f;
    color: #fff;
    padding: 40px 28px;
}


.profile-container {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 18px;
    border: 4px solid rgba(255,255,255,0.25);
}

.name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.tagline {
    font-size: 13px;
    font-weight: 300;
    margin-bottom: 4px;
    opacity: 0.85;
    letter-spacing: 0.3px;
}

.container-block {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.container-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.container-block-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.list-unstyled {
    list-style: none;
}

.contact-list li {
    margin-bottom: 12px;
    word-wrap: break-word;
    font-size: 13px;
}

.contact-list i {
    margin-right: 10px;
    width: 18px;
    text-align: center;
    opacity: 0.7;
}

.contact-list a {
    color: #fff;
}

.interests-list li {
    margin-bottom: 8px;
    font-size: 13px;
}

.interests-list .level {
    font-weight: 300;
    font-size: 12px;
    opacity: 0.7;
}

.download-container {
    text-align: center;
}

.btn-download {
    display: inline-block;
    padding: 10px 22px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-radius: 4px;
    transition: background 0.3s;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.btn-download:hover {
    background: rgba(255,255,255,0.2);
    text-decoration: none;
}

.main-wrapper {
    flex: 1;
    padding: 40px 45px;
}

.section {
    margin-bottom: 35px;
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f3a5f;
    margin-bottom: 20px;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid #e5e7eb;
}


.section-title i {
    margin-right: 10px;
    font-size: 14px;
}

.career-profile {
    line-height: 1.8;
    white-space: pre-line;
    font-size: 14.5px;
    font-style: italic;
    color: #b5751a;
}

.item {
    margin-bottom: 25px;
    padding-left: 18px;
    border-left: 2px solid #e5e7eb;
    position: relative;
}

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


.item-heading {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
}

.item .title {
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
}

.item .degree {
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
}

.item .university,
.item .company {
    color: #1f3a5f;
    font-size: 13px;
    margin-bottom: 3px;
}


.item .time {
    color: #9ca3af;
    font-size: 12px;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.item .details {
    line-height: 1.7;
    white-space: pre-line;
    color: #6b7280;
    font-size: 13.5px;
}

.project-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
}

.project-title a {
    color: #1f3a5f;
}


.project-tagline {
    color: #6b7280;
    margin-bottom: 20px;
    font-size: 13.5px;
}

.publication {
    margin-bottom: 20px;
}

.publication-title {
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 3px;
}

.publication-title a {
    color: #1f3a5f;
}

.publication-authors {
    font-style: italic;
    color: #9ca3af;
    font-size: 12px;
    margin-bottom: 3px;
}

.publication-conference {
    color: #9ca3af;
    font-size: 12px;
}

.skillset {
    margin-top: 15px;
}

.skill-item {
    margin-bottom: 16px;
}

.skill-name {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #4b5563;
}

.skill-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar-inner {
    height: 100%;
    background: #b5751a;
    border-radius: 3px;
    transition: width 1s ease;
}


.detail-list {
    list-style: none;
    padding-left: 1.2em;
    margin: 4px 0;
}

.detail-list li {
    position: relative;
    padding-left: 0;
    margin-bottom: 3px;
    line-height: 1.6;
}

.detail-list li::before {
    content: '•';
    position: absolute;
    left: -1.2em;
    color: #b5751a;
    font-weight: 700;
}

.intro {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 13.5px;
    color: #6b7280;
}

.footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
}


@media (max-width: 768px) {
    .wrapper {
        flex-direction: column;
    }
    
    .sidebar-wrapper {
        width: 100%;
        min-width: auto;
    }
    
    .main-wrapper {
        padding: 25px 20px;
    }
    
}

@media print {
    @page {
        size: A4;
        margin: 0;
    }

    body {
        background: white;
        margin: 0;
        padding: 0;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .wrapper {
        box-shadow: none;
        max-width: 100%;
        display: block;
        position: relative;
    }

    .sidebar-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100%;
        padding: 35px 24px;
        z-index: 1;
    }

    .main-wrapper {
        margin-left: 280px;
        padding: 35px 35px 20px 35px;
    }

    .section {
        margin-bottom: 20px;
    }

    .item {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 18px;
    }

    .publication {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .skill-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .section-title {
        break-after: avoid;
        page-break-after: avoid;
    }

    .download-container {
        display: none;
    }

    a {
        text-decoration: none;
    }

    a[href]:after {
        content: none;
    }
}
