/* Reset default styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Profile picture styling */
.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 15px;
    float: left;
    object-fit: cover;
}

/* Certification picture styling */
.certificate-pic {
    width: 400px; /* Set the desired width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Center the image */
    margin: 20px auto; /* Center the image with top/bottom margin */
}

/* Experience styling */
#experience ul li {
    margin-bottom: 5px; /* Adds space between list items */
}

#experience p {
    margin: 10px 0; /* Adds space above and below paragraphs */
}

/* Header styling */
header {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
    font-weight: 300;
}

/* Container for sidebar and main content */
.container {
    display: flex; /* Use flexbox for layout */
    max-width: 1200px; /* Set a max-width for the container */
    margin: 0 auto; /* Center the container */
}

/* Sidebar styling */
.sidebar {
    width: 250px; /* Fixed width for the sidebar */
    padding: 20px;
    background-color: #f4f4f4; /* Light background color */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    margin-right: 20px; /* Add space between sidebar and main content */
}

.sidebar h2 {
    margin-top: 0;
}

.sidebar ul {
    list-style-type: none; /* Removes default bullet points */
    padding-left: 0; /* Removes default padding */
}

.sidebar li {
    margin-bottom: 10px; /* Adds space between list items */
}

/* Main content section styling */
.main-content {
    flex: 1; /* Take up the remaining space */
    padding: 20px;
}

/* Section styling */
section {
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.8em;
}

section p,
section ul {
    font-size: 1em;
    line-height: 1.6;
}

section ul {
    list-style-type: disc;
    margin-left: 20px;
}

section ul li {
    margin-bottom: 5px;
}

/* Contact styling */
#contact a {
    color: #0066cc;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

/* Footer styling */
footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: #fff;
    margin-top: 20px;
    font-size: 0.9em;
}
