body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

/* Override for About Me Section Paragraphs */
#about p {
    text-align: left;
    margin-bottom: 1em;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

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

.hero {
    background: #555;
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

/* Override for Home Section Header */
.hero h1 {
    font-size: 3em;
    font-weight: bold;
}

/* Override for Home Section Paragraph */
.hero p {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15;
}

#resume iframe {
    display: block;
    margin-bottom: 20px; /* Adds space below the iframe */
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    margin-top: 10px; /* Adds space above the button if needed */
}

.cta-button:hover {
    background: #0056b3;
}

section {
    padding: 50px;
    text-align: center;
}

.skills-grid, .portfolio-grid {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.skill-category, .portfolio-item {
    width: 45%;
    background: #f4f4f4;
    padding: 20px;
    border-radius: 5px;
}

/* Centering and left-aligning list items within each skill category */
.skills-grid {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.skill-category {
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
    text-align: center; /* Center the content within the skill-category */
}

.skill-category ul {
    list-style-position: inside; /* Ensures bullets are aligned with the text */
    display: inline-block; /* Makes the list behave like an inline element */
    text-align: left; /* Left-aligns the text inside the list */
    margin: 0 auto; /* Centers the list within the skill-category */
    padding-left: 0; /* Removes default padding to control spacing */
}

.skill-category li {
    margin-bottom: 0.5em; /* Adds space between list items */
}

/* Styling for nested lists */
.skill-category ul ul {
    padding-left: 20px; /* Adds indentation for nested lists */
    list-style-type: circle; /* Changes bullet style for nested lists */
}

.experience-list {
    margin-top: 20px;
}

.experience-item {
    background: #f4f4f4;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

form {
    margin-top: 20px;
}

form label {
    display: block;
    margin: 10px 0 5px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

form button {
    padding: 10px 20px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background: #0056b3;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    color: #007BFF;
    text-decoration: none;
}

.social-links a:hover {
    text-decoration: underline;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Contact Form Styling */
#contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f4f4f4;
    border-radius: 5px;
}

#contact-form label {
    display: block;
    margin: 10px 0 5px;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact-form button {
    padding: 10px 20px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#contact-form button:hover {
    background: #0056b3;
}

/* Adjustments to list item spacing */
ul {
    list-style-position: outside; /* Positions bullet points outside the text */
    padding-left: 20px; /* Ensures bullets are properly spaced from the left edge */
    margin-left: 0; /* No additional left margin needed */
}

li {
    text-align: left; /* Ensures text is aligned to the left */
    margin-bottom: 0.5em; /* Adds space between list items */
}