body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f2f5;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 800px; /* width control */
    margin: 0 auto; /* centering */
    background: #fff;
    padding: 40px; /* padding */
    border-radius: 12px; /* border-radius */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow-x: hidden;
}

h1 {
    margin-bottom: 5px;
    color: #0073b1; /* LinkedIn Blue */
    min-height: 1.2em;
}

/* Blinking cursor shown on whichever element is actively being typed */
.typing-cursor::after {
    content: '|';
    color: #0073b1;
    animation: blink-cursor 0.7s step-end infinite;
}

@keyframes blink-cursor {
    50% { opacity: 0; }
}

h2 {
    font-weight: 300;
    color: #666;
    margin-top: 0;
    min-height: 1.4em;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
}

.profile-img {
    width: 150px;
    height: 150px; /* height */
    border-radius: 50%; /* circular image */
    border: 3px solid #0073b1;
    transition: transform 0.3s ease; /* transition effect */
}

.profile-img:hover {
    transform: scale(1.05); /* hover interaction */
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0;
}

.contact-info p strong {
    min-width: 110px;
    flex-shrink: 0;
}

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

.contact-info a:hover {
    text-decoration: underline;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #0073b1;
}

.like-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

button.like-btn {
    background: #e8f4fd;
    color: #0073b1;
    border: 2px solid #0073b1;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    font-size: 34px;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

button.like-btn:hover {
    background: #0073b1;
    color: white;
    transform: scale(1.08);
}

button.like-btn.liked {
    background: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

.like-count {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

button {
    background-color: #0073b1;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #005582;
}

.hebrew-name {
    font-size: 0.75em;
    color: #555;
    font-weight: 400;
    direction: rtl;
}

.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin: 28px 0;
}

.tech-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.tech-logo:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 20px;
    }

    .profile-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .contact-info p {
        justify-content: flex-start;
        text-align: left;
    }

    .contact-info p strong {
        min-width: 85px;
    }

    .like-section {
        margin-left: 0;
    }

    .tech-logos {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        margin: 24px 0;
    }

    .tech-logo {
        height: 48px;
        width: auto;
        object-fit: contain;
        opacity: 0.85;
        transition: opacity 0.2s;
    }

    .tech-logo:hover {
        opacity: 1;
    }

    .footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    button {
        width: 100%;
        max-width: 280px;
    }

    button.like-btn {
        width: 80px;
        max-width: 80px;
    }
}