body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
}

section h2 {
    margin-top: 0;
}

#about-content, #why-content {
    text-align: justify;
}

.about-section {
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    margin-bottom: 40px;
}

.about-section::before {
    content: '📌';
    position: absolute;
    top: -25px;
    left: 10px;
    background: white;
    padding: 8px 12px;
    border-radius: 50%;
    font-size: 1.2em;
    box-shadow: 0 4px 12px rgba(103, 126, 234, 0.2);
}

.why-section {
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    margin-bottom: 40px;
}

.why-section::before {
    content: '🎯';
    position: absolute;
    top: -25px;
    left: 10px;
    background: white;
    padding: 8px 12px;
    border-radius: 50%;
    font-size: 1.2em;
    box-shadow: 0 4px 12px rgba(118, 75, 162, 0.2);
}

.about-section #about-content, .why-section #why-content {
    margin: 0;
    line-height: 1.7;
    color: #2c3e50;
    font-size: 1.05em;
}

#availability-banner {
    position: absolute;
    top: 45px;
    right: -50px;
    background-color: #e74c3c;
    color: white;
    padding: 8px 0px;
    font-weight: bold;
    font-size: 0.8em;
    z-index: 10;
    transform: rotate(45deg);
    transform-origin: center;
    text-align: center;
    box-shadow: -2px 2px 5px rgba(0,0,0,0.3);
    white-space: nowrap;
    width: 220px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

#personal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

#profile-photo {
    height: 100%;
    width: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    min-height: 80px;
    max-height: 120px;
}

#personal-details {
    flex: 1;
    min-width: 0;
    width: 100%;
}

#personal-details h1 {
    margin: 0;
    font-size: 1.8em;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    flex: 1;
    min-width: auto;
    text-align: center;
}

#personal-details > div:first-child {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 15px;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

#header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: absolute;
    flex-direction: column;
    top: 15px;
    left: 15px;
    justify-content: flex-start;
}

#header-content {
    flex-direction: row;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.9em;
}

#personal-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: fit-content;
    min-width: 180px;
    text-align: right;
}

#vertical-separator {
    background: rgba(255,255,255,0.3);
    align-self: stretch;
    width: 2px;
    margin: 0;
}

#jobs-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: fit-content;
    min-width: 180px;
    text-align: left;
}

#jobs-info h3 {
    display: none;
}

#jobs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#jobs-list li {
    margin-left: 0;
    margin-bottom: 3px;
    padding-left: 0;
    position: relative;
}

#jobs-list li:before {
    display: none;
}

h1 {
    color: #2c3e50;
}

h2, h3 {
    color: #34495e;
}

section h2 {
    color: #667eea;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

#language-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

button {
    margin: 0 5px;
    height: 40px;
    width: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

section {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

ul {
    list-style-type: disc;
    margin-left: 10px;
    padding-left: 10px;
}

li {
    margin-left: 5px;
}

/* First level of nested lists should be bold only in professional experiences */
#experiences ul > li {
    font-weight: bold;
}

/* Second level should be normal weight with different symbol in professional experiences */
#experiences ul > li > ul > li {
    font-weight: normal;
    list-style-type: circle;
}

.blurred {
    filter: blur(5px);
    cursor: pointer;
    transition: filter 0.3s ease;
}

@media (max-width: 768px) {
    #personal-details h1 {
        font-size: 1.6em;
    }
}

@media (max-width: 640px) {
    #personal-details h1 {
        font-size: 1.4em;
    }

    #header-content {
        flex-direction: column;
    }

    #vertical-separator {
        width: 100%;
        height: 2px;
    }

    #jobs-info {
        text-align: center;
    }

    #personal-info {
        text-align: center;
    }
}

@media print {
    header, button, #language-selector, #availability-banner {
        display: none;
    }
    body {
        background-color: white;
        font-size: 11px;
        padding: 0;
    }
    #personal-header {
        margin: 0 0 20px 0;
        padding: 0;
    }
    #profile-photo {
        box-shadow: none;
        border: 1px solid black;
    }
    section, .why-section, .about-section {
        background-color: white;
        box-shadow: none;
        border: none;
        backdrop-filter: none;
        margin: 0 0 20px 0;
        padding: 0;
    }
    .why-section, .about-section {
        margin-left: 30px;
    }
    .why-section::before, .about-section::before {
        padding: 0;
        border-radius: 0;
        margin-top: 10px;
        margin-left: -30px;
        top: 0;
        left: 0;
        box-shadow: none;
    }
    #personal-header {
        flex-direction: row;
        background: white;
        color: #333;
        box-shadow: none;
        border: none;
    }
    #personal-details h1 {
        color: #333;
        text-shadow: none;
    }
    section h2, h3 {
        text-shadow: none;
        margin: 0;
    }
    section ul {
        margin: 0;
    }
}