/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern font stack */
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa; /* Softer background */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure footer sticks to bottom */
}

/* Header Styles */
header {
    background-color: #007bff; /* Bootstrap-like blue */
    color: #fff;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px; /* Space below header */
}

header h1 {
    font-size: 2.5rem; /* Use rem for scalability */
    margin-bottom: 10px;
}


/* Main Styles */
main {
    flex: 1; /* Allow main content to take up available space */
    padding: 20px;
    max-width: 960px; /* Set a maximum width for larger screens */
    margin: 0 auto; /* Center the main content */
}

main p {
    font-size: 1rem;
    margin-bottom: 20px;
}


/* Nav Styles */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center; /* Center the navigation */
}

nav li {
    display: inline; /* Make list items horizontal */
    margin: 0 15px; /* Add spacing between items */
}

nav a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500; /* Slightly bolder font */
    transition: color 0.3s ease; /* Smooth color transition on hover */
}

nav a:hover {
    color: #0056b3; /* Darker blue on hover */
}



/* Footer Styles */
footer {
    background-color: #343a40; /* Darker footer */
    color: #fff;
    padding: 10px;
    text-align: center;
    margin-top: 20px; /* Space above footer */
}

footer p {
    font-size: 0.9rem;
    margin-bottom: 0; /* Remove default margin */
}

footer a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0056b3;
}

/* Resume Page Styles */
.resume-page {
    padding: 20px;
}

.resume-page h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #343a40; /* Darker heading color */
}

.resume-page ul {
    list-style-type: disc; /* Use bullet points */
    padding-left: 20px; /* Indent list items */
    margin-bottom: 20px;
}

.resume-page li {
    margin-bottom: 10px;
}


/* Contact Page Styles */
.contact-page {
    padding: 20px;
    max-width: 600px; /* Limit form width */
    margin: 0 auto; /* Center the form */
}

.contact-page h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #343a40;
}

.contact-page form {
    margin-top: 20px;
}

.contact-page label {
    display: block;
    margin-bottom: 5px; /* Reduce label spacing */
    font-weight: 500;
}

.contact-page input[type="text"],
.contact-page input[type="email"],
.contact-page input[type="tel"], /* Include tel input */
.contact-page textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px; /* Adjust input spacing */
    border: 1px solid #ced4da; /* Softer border color */
    border-radius: 5px;
    transition: border-color 0.3s ease; /* Smooth border transition */
}

.contact-page input:focus,
.contact-page textarea:focus {
    border-color: #80bdff; /* Highlight border on focus */
    outline: none; /* Remove default outline */
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); /* Add a subtle box shadow */
}


.contact-page button[type="submit"] {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-page button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Success Message Styles */
#successMessage {
    background-color: #d4edda; /* Lighter green */
    color: #155724; /* Darker green text */
    padding: 10px;
    border: 1px solid #155724;
    border-radius: 5px;
    margin-top: 10px; /* Add some top margin */
    display: none; /* Initially hidden */
}