body {
    font-family: "Work Sans", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-optical-sizing: auto;
    letter-spacing: 0.5px;
    line-height: 1.6;

    display: flex;
    flex-direction: column;
    align-items: center; /* Centers everything horizontally */
    justify-content: center;
    min-height: 100vh;
}



header {
    text-align: center;
    width: 100%;
    padding: 50px 0;
    background: #fff;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: blue;
}

section {
    width: 60%;
    max-width: 800px;
    margin: 40px 0;
    padding: 25px;
    text-align: left; /* Keeps text aligned while centering section */
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
}

footer {
    text-align: center;
    padding: 20px;
    width: 100%;
    background: #333;
    color: white;
}

.profile {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Aligns text to the left */
    gap: 20px; /* Adds space between image and text */
    width: 60%;
    max-width: 800px;
    margin: 30px auto 5px auto; /* Reduce bottom margin */
    flex-direction: row; /* Ensures left-to-right layout */
}


.profile-text {
    flex: 1; /* Makes the text take available space */
    text-align: left; /* Ensures text is left-aligned */
}

.profile h1 {
    font-size: 2.2em;
    font-weight: bold;
    margin: 0;
}

.profile p {
    font-size: 0.95em;
    color: #555;
    margin: 5px 0;
}

.profile-pic {
    width: 210px; /* Increase size */
    height: 210px;
    border-radius: 0; /* Remove circular shape */
    object-fit: cover;
    margin-right: 20px; /* Add spacing between image and text */
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 5px; /*  Reduce space between profile and buttons */
}

.social-button {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f5f5f5;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
}

.social-button:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.social-button img {
    width: 20px;
    height: 20px;
}
