/* General Styles */
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9; /* Keep the general background color consistent */
}

h1 {
    font-size: 3.5rem; /* Larger headings for better emphasis */
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: center;
}

h2 {
    font-size: 2.5rem; /* Subheadings for sections */
    font-weight: 600;
    margin-bottom: 1rem;
    color: #34495e;
    text-align: left;
}

p, .intro-text, .edu, .exp, .pro, .ski {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: justify; /* Justify text alignment */
    color: #555;
}

.container {
    margin-top: 80px;
    padding: 0 1.5rem;
}

/* Header */
header {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav a {
    color: #ecf0f1;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #1abc9c;
}

/* Section-specific Styles */
.section {
    min-height: 85vh;
    padding: 2.5rem;
    scroll-margin-top: 80px;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

/* Introduction Section Styles */
#introduction {
    background-color: #ecf0f1;
    display: flex;
    flex-direction: column; /* Stack the heading, image, and content vertically */
    align-items: center;    /* Center all items horizontally */
    padding: 3rem 1.5rem;
}

#introduction h1 {
    font-size: 3.5rem; /* Larger font size for the heading */
    margin-bottom: 2rem; /* Space between the heading and the content */
    text-align: center;
    color: #2c3e50;
}

.intro-container {
    display: flex;
    flex-direction: column; /* Stack the image and text vertically */
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    gap: 2rem;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 4px solid #2c3e50;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: justify; /* Ensures the text is justified */
    color: #555;
    max-width: 100%; /* Allows for proper alignment within the container */
}

/* Education Styles */
#education {
    background-color: #bdc3c7;
}

.edu ul {
    list-style-type: disc;
    margin: 0;
    padding-left: 20px;
    text-align: left;
}

.edu li {
    margin-bottom: 1rem;
    font-size: 1.2rem; /* Slightly larger for clarity */
}

.key-courses {
    padding-left: 20px; /* Keeps the same left padding */
    padding-bottom: 10px; /* Padding at the bottom of the key courses */
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Experience Styles */
#experience {
    background-color: #ecf0f1;
}

.exp ul {
    list-style-type: circle;
    margin: 0;
    padding-left: 20px;
    text-align: left;
}

.exp li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.exp a {
    color: #1abc9c;
    text-decoration: none;
}

.exp a:hover {
    text-decoration: underline;
}

/* Projects Styles */
#projects {
    background-color: #ddd;
}

.pro h2 {
    font-size: 2.5rem; /* Larger heading for projects */
}

.pro ul {
    list-style-type: square;
    margin: 0;
    padding-left: 20px;
    text-align: left;
}

.pro li {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Skills Styles */
#skills {
    background-color: #f4f4f4;
}

.ski h2 {
    font-size: 2.5rem; /* Larger heading for skills */
}

.ski ul {
    list-style-type: disc;
    margin: 0;
    padding-left: 20px;
    text-align: left;
}

.ski li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Contact Styles */
#contact {
    background-color: #ecf0f1; /* Match the webpage background color */
    padding: 2.5rem; /* Padding for the contact section */
    scroll-margin-top: 80px; /* To align with the fixed navbar */
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact ul {
    list-style-type: disc;
    margin: 0;
    padding-left: 20px;
    text-align: left;
}

.contact li {
    margin-bottom: 1rem;
    font-size: 1.2rem; /* Consistent font size */
}

.contact a {
    color: #1abc9c;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

footer p {
    margin: 0;
}
