/* General body styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Header styling */
header {
    background-color: #333;
    color: #fff;
    padding: 5px 0;
    text-align: center;
}

/* Navigation bar styling */
.navbar {
    display: flex;
    justify-content: center;
    background-color: #333;
    padding: 10px 0;
}

.navbar a {
    color: white;
    padding: 14px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 17px;
    transition: background-color 0.3s ease-in-out;
    margin: 0 10px;
}

.navbar a:hover {
    background-color: #555;
    border-radius: 4px;
}

.navbar a.active {
    background-color: #04AA6D;
    border-radius: 4px;
}

/* Responsive navigation */
@media screen and (max-width: 600px) {
    .navbar a {
        display: block;
        text-align: left;
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Intro section styling */
.intro {
    display: flex;
    flex-direction: column; /* Arrange items in a column (vertical layout) */
    align-items: center; /* Center the content horizontally */
    padding: 40px;
    margin: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); /* Soft shadow around the section */
}

.profile-image {
    width: 100%; /* Full width image container */
    max-width: 300px; /* Set a max-width to prevent the image from becoming too large */
    margin-bottom: 20px; /* Add space below the image */
}

.profile-image img {
    width: 100%; /* Ensure the image takes full width of its container */
    border-radius: 8px; /* Rounded corners for the image */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Slight shadow for depth */
    display: block; /* Eliminate inline spacing issues */
}

.intro-text {
    text-align: center; /* Center the text */
    padding: 0 30px; /* Add padding on the left and right to prevent text from touching the edges */
}

.intro-text h1 {
    margin: 0; /* Remove default margin */
    font-size: 32px; /* Headline size */
    color: #333; /* Dark grey color */
}

.intro-text p {
    margin-top: 10px; /* Space between paragraphs */
    font-size: 18px; /* Paragraph text size */
    color: #555; /* Medium grey for paragraphs */
    line-height: 1.6; /* Increase line height for readability */
}


/* Projects section styling */
.projects {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.projects h1 {
    text-align: center;
    color: #333;
    font-size: 32px;
    margin-bottom: 40px;
}

.project {
    margin-bottom: 30px;
}

.project h2 {
    font-size: 24px;
    color: #04AA6D;
    margin-bottom: 10px;
}

.project h2 a {
    text-decoration: none;
    color: #04AA6D;
    transition: color 0.3s ease;
}

.project h2 a:hover {
    color: #333;
}

.project p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}


/* Resume section styling */
.resume {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.resume h1, .resume h2 {
    color: #333;
    text-align: center;
}

.section {
    margin-bottom: 30px;
}

.experience, .skills, .awards, .education {
    margin-bottom: 20px;
}

.experience h3 {
    font-size: 20px;
    color: #04AA6D;
    margin-bottom: 5px;
}

.experience p {
    font-size: 16px;
    color: #333;
}

.experience ul, .skills ul, .awards ul, .education ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.experience ul li, .skills ul li, .awards ul li, .education ul li {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Blogs section styling */
.blogs {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.blogs h1 {
    text-align: center;
    color: #333;
    font-size: 32px;
    margin-bottom: 40px;
}

.blog-post {
    margin-bottom: 30px;
}

.blog-post h2 {
    font-size: 24px;
    color: #04AA6D;
    margin-bottom: 10px;
}

.blog-post h2 a {
    text-decoration: none;
    color: #04AA6D;
    transition: color 0.3s ease;
}

.blog-post h2 a:hover {
    color: #333;
}

.blog-post p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

/* Contact section styling */
.contact {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.contact p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 18px;
    margin: 10px 0;
}

.contact-info a {
    color: #04AA6D;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.contact-info a:hover {
    color: #333;
}

/* Contact form styling */
.contact-form {
    margin-top: 30px;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.contact-form button {
    background-color: #04AA6D;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

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