/* Basic Reset & Body Stylings */
body {
    font-family: sans-serif; /* Choose a professional font! */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
}

h1, h2, h3 {
    color: #1a1a1a; /* Darker color for headings */
}

h1 { font-size: 2.5em; }
h2 { font-size: 1.8em; margin-top: 40px; }
h3 { font-size: 1.3em; }

main {
    max-width: 900px; /* Limit content width for readability */
    margin: 20px auto; /* Center the main content */
    padding: 0 20px;
}

section {
    padding: 40px 0;
    border-bottom: 1px solid #eee; /* Separator between sections */
}

section:last-of-type {
    border-bottom: none;
}

/* Header & Navigation */
header {
    background-color: #f4f4f4; /* Light grey background */
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

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

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

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

nav a:hover {
    color: #007bff; /* Example hover color */
}

/* Hero Section (Home) */
.hero {
    text-align: center;
    padding-top: 60px; /* More space at the top */
}

.profile-pic {
    width: 150px; /* Adjust size as needed */
    height: 150px;
    border-radius: 50%; /* Make it circular */
    object-fit: cover; /* Prevents image stretching */
    margin-bottom: 20px;
    border: 3px solid #ddd;
}

.cta-button {
    display: inline-block;
    background-color: #007bff; /* Example button color */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3; /* Darker shade on hover */
}

/* Portfolio Items */
.portfolio-item {
    margin-bottom: 30px;
}

/* Quiz Section Styling */
#quiz-container {
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-top: 20px;
}

#quiz-answers button {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    background-color: #e7e7e7;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    text-align: left;
}

#quiz-answers button:hover {
    background-color: #ddd;
}

#quiz-answers button.correct {
    background-color: #d4edda; /* Light green */
    border-color: #c3e6cb;
}
#quiz-answers button.incorrect {
    background-color: #f8d7da; /* Light red */
    border-color: #f5c6cb;
}


#quiz-feedback {
    margin-top: 15px;
    font-weight: bold;
}

#quiz-next-btn {
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

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

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding in width */
}

#contact-form button {
    background-color: #28a745; /* Example submit button color */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact-form button:hover {
    background-color: #218838;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: #f4f4f4;
    color: #555;
    font-size: 0.9em;
}