body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

.intro-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 960px;
    margin: 80px auto;
    padding: 0 24px;
}

h1 .highlight {
    font-weight: 700;
}

.profile-image {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    flex-shrink: 0;

    margin-top: 150px;  /* ⬅️ This moves the image downward */
    display: block;
    margin-left: -80px;
    margin-right: 50px;
}


.intro-text {
    flex: 1 1 300px;
    min-width: 0;
    text-align: left;
}

h1 {
    font-size: 3rem;
    font-weight: 600;
    margin: 20px 0 16px;
    color: #222;
}

.slogan {
    color: #888; /* soft gray */
    font-style: italic;
    font-size: 1.5rem;
    margin-top: 24px;
    text-align: left;
}

p {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.linkedin-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 1rem;
}

.linkedin-button {
    padding: 6px 10px;
    font-weight: 500;
    color: #fff;
    background-color: #0077b5;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.linkedin-button:hover {
    background-color: #004182;
}

/* Responsive layout */
@media (max-width: 768px) {
    .intro-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 40px;  /* ⬅️ Reduce from desktop default */
    }

    .profile-image {
        width: 220px;
        height: 220px;
        border-radius: 50%;
        object-fit: cover;
        display: block;
        margin: 0 auto 20px auto;
    }

    h1 {
        font-size: 2rem; /* Smaller font to prevent line break */
        line-height: 1.2;
        margin: 0 0 10px;
        white-space: nowrap; /* Force one line */
    }

    .intro-text {
        text-align: center;
        max-width: 100%;
        padding: 0 16px;
    }

    .linkedin-container {
        justify-content: center;
    }
}

.language-toggle {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1rem;
    font-weight: 500;
}

.language-toggle a {
    color: #555;
    text-decoration: none;
    margin: 0 4px;
}

.language-toggle a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 1.5rem 0; /* Reduced padding */
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

footer {
    background-color: var(--text-color);
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}