body{
    font-family: Arial, Sans-Serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}
header{
    /* Primary Color for Header: #38761d (Dark Green) */
    background-color: #38761d;
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* 1. NEW: CONTAINER FOR H1 and NAV */
header .container {
    max-width: 800px;
    margin: 0 auto;
    display: flex; /* Use Flexbox to align logo/title and nav */
    justify-content: space-between; /* Space them out */
    align-items: center; /* Vertically center them */
    padding: 0 20px; /* Add internal padding */
}

/* Adjustments for children of header */
header h1, header p {
    text-align: left; /* Keep text aligned left for better reading */
    margin: 0; /* Remove default margins for Flexbox control */
}
header p {
    font-style: italic;
    font-size: 1.1em;
}

/* 2. NEW: NAVIGATION MENU STYLES */
nav ul {
    list-style: none; /* Removes bullet points */
    padding: 0;
    margin: 0;
    display: flex; /* Layout links horizontally */
    gap: 20px; /* Space between links */
}

nav a {
    color: white; /* Match header text color */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
    padding: 5px 10px; /* Make the click area larger */
    transition: background-color 0.3s; /* Smooth hover effect */
    border-radius: 5px; /* Subtle rounding */
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Light transparent background on hover */
}


main{
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* ... existing #skills styles ... */
#skills ul {
    list-style: none;
    padding: 0;
}
#skills li {
    background-color: #333;
    color: white;
    padding: 10px;
    margin-bottom: 5px;
    text-align: center;
    border-radius: 5px;
}


/* 3. NEW: CONTACT FORM STYLES */
#contact {
    padding-top: 20px;
    border-top: 1px solid #ccc;
    /* Removed text-align: center here so form elements can be left-aligned */
}

#contact h2 {
    color: #38761d;
    text-align: center; /* Keep the heading centered */
}

#contact form p {
    margin-bottom: 15px; /* Consistent vertical spacing between form fields */
    text-align: left;
}

#contact label {
    display: block; /* Make label take up its own line */
    margin-bottom: 5px;
    font-weight: bold;
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
    width: 100%; /* Important for alignment and cohesion */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding doesn't affect total width */
    font-size: 1em;
}

#contact textarea {
    resize: vertical; /* Only allow vertical resizing */
}

/* Style the submit button */
#contact button[type="submit"] {
    /* Accent Color: Using a brighter green/lime to make it pop */
    background-color: #6aa84f; 
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s;
    width: 100%; /* Make the button full width */
}

#contact button[type="submit"]:hover {
    background-color: #4c8238; /* Slightly darker on hover */
}

/* Basic footer style */
footer {
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    background-color: #eee;
    font-size: 0.8em;
}
