*, *::before, *::after {
    box-sizing: border-box;
}

@page {
    size: A4;
    margin: 15mm 12mm;
    background-color: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333333;
    background-color: #ffffff;
    font-size: 10.5pt;
    line-height: 1.4;
}

.container {
    display: table;
    width: 100%;
    height: 100%;
    border-collapse: collapse;
}

.cv-row {
    display: table-row;
}

.sidebar {
    display: table-cell;
    width: 32%;
    background-color: #37a1a8;
    vertical-align: top;
    padding: 0;
}

.sidebar-top-dark {
    background-color: #1a5296;
    padding: 20px 15px 25px 15px;
}

.profile-img-container {
    text-align: center;
    margin-bottom: 25px;
}

.profile-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: #ffffff;
    display: inline-block;
    border: 3px solid #ffffff;
    object-fit: cover;
}

.sidebar-bottom-teal {
    padding: 25px 15px;
    background-color: #37a1a8;
}

.main-content {
    display: table-cell;
    width: 68%;
    background-color: #ffffff;
    vertical-align: top;
    padding: 0 0 0 20px;
}

.header-box {
    background-color: #1a5296;
    padding: 25px 20px;
    margin-bottom: 25px;
    color: #ffffff;
    border-bottom: 4px solid #f29c11;
}

.header-box h1 {
    margin: 0 0 8px 0;
    font-size: 22pt;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    color: #ffffff;
}

.header-box p {
    margin: 0;
    font-size: 12pt;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f5f5f5;
}

.section-box {
    border: 2px solid #f29c11;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    page-break-inside: avoid;
}

.section-title-right {
    background-color: #37a1a8;
    color: #ffffff;
    margin: -15px -15px 15px -15px;
    padding: 8px 15px;
    font-size: 12pt;
    font-weight: bold;
    text-transform: uppercase;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.section-title-left {
    color: #ffffff;
    font-size: 12pt;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 5px;
    margin-top: 0;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.contact-info {
    color: #ffffff;
    font-size: 9.5pt;
    line-height: 1.6;
}

.contact-info div {
    margin-bottom: 8px;
}

.sidebar-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0 0 20px 0;
    color: #ffffff;
    font-size: 9.5pt;
}

.sidebar-list .sub-title {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #f5f5f5;
    text-decoration: underline;
}

.sidebar-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
}

.sidebar-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ffffff;
}

.language-item {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 9.5pt;
}

.language-name {
    margin-bottom: 4px;
    font-weight: 500;
}

.progress-bar {
    background-color: rgba(255, 255, 255, 0.3);
    height: 6px;
    border-radius: 3px;
    width: 100%;
    overflow: hidden;
}

.progress-fill {
    background-color: #1a5296;
    height: 100%;
    border-radius: 3px;
}

.about-text {
    font-size: 10pt;
    text-align: justify;
    margin: 0;
    color: #444444;
}

.timeline-item {
    margin-bottom: 15px;
}

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

.item-title {
    font-weight: bold;
    font-size: 10.5pt;
    color: #1a5296;
    margin: 0 0 2px 0;
}

.item-meta {
    font-size: 9.5pt;
    color: #666666;
    margin: 0 0 6px 0;
    font-style: italic;
}

.item-description {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    font-size: 9.5pt;
    color: #444444;
}

.item-description li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 4px;
}

.item-description li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #37a1a8;
    font-weight: bold;
}