/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: #202124; /* Closer to the image's background */
    color: #e8eaed; /* Adjust text color for better contrast */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 960px;
    margin: 20px auto;
    padding: 30px;
    background-color: #2d2d2d; /* Closer to the container color in the image */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* Refine the shadow */
}

/* Header */
header {
    background-color: #303134; /* Closest match to header background */
    color: #fff;
    text-align: center;
    padding: 1.5rem 1rem; /* Tighter padding to reduce header size */
    border-radius: 8px 8px 0 0;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

h1 {
    margin-bottom: 0.1rem; /* Reduced bottom margin */
    font-size: 2.2rem; /* Adjusted for balance */
    letter-spacing: -0.05rem;
    font-family: 'Montserrat', sans-serif;
    color: #8ab4f8; /* Closest to "Tuan" blue in the image */
}

.job-title {
    font-style: italic;
    margin-top: 0.1rem; /* Adjusted top margin */
    font-size: 1rem; /* Smaller, as in the image */
    color: #bdc1c6; /* Accurate "Software Engineer" color */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Softened shadow */
}

/* Profile Picture */
.profile-pic {
    width: 160px; /* Slightly smaller */
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px; /* Reduced margin */
    display: block;
    border: 4px solid #3e3e3e; /* Subtle border */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease-in-out;
}

.profile-pic:hover {
    transform: rotate(3deg); /* Even subtler rotation */
}

/* Content Sections */
.content {
    background-color: #34353a; /* Darker, flatter content background */
    padding: 20px; /* Slightly reduced padding */
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); /* Reduced shadow */
    margin-bottom: 20px; /* Reduced margin */
    transition: all 0.3s ease-in-out;
    color: #c5c6c9; /* Refined text color */
}

.content:hover {
    transform: translateY(-2px); /* Reduced lift on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 1.8rem; /* Slightly smaller */
    color: #b3bbbf; /* Refined heading color */
    margin-bottom: 0.8rem; /* Reduced margin */
    border-bottom: 1.5px solid #444; /* Thinner border */
    padding-bottom: 0.4rem; /* Reduced padding */
    font-family: 'Montserrat', sans-serif;
}

h3 {
    font-size: 1.3rem; /* Slightly smaller */
    color: #98a0a4; /* Subtle color change */
    margin-bottom: 0.6rem; /* Reduced margin */
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px; /* Reduced gap */
    margin-bottom: 25px; /* Reduced margin */
}

.social-links a {
    color: #99a0a4; /* Refined link color */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px; /* Reduced gap */
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

.social-links a:hover {
    color: #d1d4d6; /* Subtle change on hover */
    transform: scale(1.05); /* Reduced scale */
}

.social-links svg {
    width: 20px; /* Slightly smaller icons */
    height: 20px;
    fill: #99a0a4;
    transition: fill 0.2s ease-in-out;
}

.social-links a:hover svg {
    fill: #d1d4d6;
}

/* Footer */
footer {
    text-align: center;
    padding: 12px; /* Reduced padding */
    background-color: #37474f; /* Accurate to the image */
    font-size: 0.8em;
    border-radius: 0 0 8px 8px;
    color: #8a9298; /* Close match to image */
}

/* Transitions */
a {
    color: #99a0a4;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #d1d4d6;
}

/* Font Import (Add these to the top of your CSS if you haven't already) */
@import url('./?mortyurl=https%3A%2F%2Ffonts.googleapis.com%2Fcss2%3Ffamily%3DMontserrat%3Awght%40400%3B700%26family%3DRoboto%3Awght%40400%3B500%26display%3Dswap');
