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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    padding: 2rem 1rem;
    max-width: 650px;
    margin: 0 auto;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Profile section styling */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1rem;
}

.profile-image {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.2rem;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(245, 245, 245, 0.8);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.job-title {
    color: #666;
    font-size: 1rem;
    font-weight: 400;
}

/* Content sections styling */
.content-section {
    display: flex;
    margin-bottom: 1rem;
}

.section-label {
    color: #999;
    font-size: 0.9rem;
    width: 80px;
    flex-shrink: 0;
    padding-top: 2px;
}

.section-content {
    flex: 1;
}

.section-content p {
    margin-bottom: 0.8rem;
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* Links styling */
a {
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    transition: border-color 0.2s, color 0.2s;
}

a:hover {
    border-bottom: 1px solid #333;
}

/* Signature styling */
.signature {
    margin-top: 1rem;
    font-style: italic;
}

/* Social buttons styling */
.social-links {
    display: flex;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.social-button {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #555;
    background-color: #fff;
    transition: background-color 0.2s, border-color 0.2s;
}

.social-button:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.social-button svg {
    width: 16px;
    height: 16px;
}

/* Footer styling */
.footer {
    display: flex;
    margin-top: 1.5rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: #999;
    font-size: 0.85rem;
}

.signature-image {
    height: 30px;
}

.signature-image img {
    height: 100%;
}

/* Responsive adjustments */
@media (max-width: 500px) {
    .content-section {
        flex-direction: column;
    }

    .section-label {
        margin-bottom: 0.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* Skills & Interests tags styling */
.skills .interests {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.8rem; /* vertical gap 0.5rem, horizontal gap 0.8rem */
    margin: 0.5rem 0;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.9rem; /* reduced from 0.6rem 1rem for less height */
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #555;
    background-color: #fff;
    transition: background-color 0.2s, border-color 0.2s;
}

.tag:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
    cursor: default;
}
