/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #d3d3d3; /* Light gray background */
    color: #444; /* Dark gray font for general text */
}

/* Header Styling with Medium-Dark Gradient */
header {
    background: linear-gradient(90deg, #665500, #2e6b2e, #205a8a); /* Medium Dark Yellow to Medium Dark Green to Medium Dark Blue */
    color: white;
    padding: 1.5rem;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

/* Main Content Container */
.container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 25px;
    text-align: left;
    background-color: white;
    color: #444; /* Ensuring all content text is dark gray */
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

/* Profile Section */
.profile {
    text-align: center;
}

.profile img {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Keeps image circular */
    display: block;
    margin: 0 auto;
    border: 4px solid #1b5e20;
}

.profile a {
    color: #1b5e20;
    text-decoration: none;
    font-weight: bold;
}
.profile a:hover {
    text-decoration: underline;
}

/* Projects Section */

.projects {
    text-align: left; /* Aligns project title to the left */
}

.projects h2 {
    margin-left: 10px; /* Adds a slight margin to align with the rest of the content */
}

.project-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project {
    width: 25%; /* Each project takes up 25% of the width */
    text-align: center;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.project img {
    width: 100%; /* Makes sure image fits container */
    height: 180px; /* Fixed height for consistency */
    border-radius: 10px; /* Slightly rounded corners */
    object-fit: cover; /* Ensures the image covers the space */
    margin-bottom: 10px;
}

.projects button {
    padding: 12px 18px;
    background-color: #8bc34a; /* Light Green */
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.2s;
    font-weight: bold;
    margin-top: 10px;
}
.projects button:hover {
    background-color: #7cb342;
    transform: scale(1.05);
}

/* Footer with Dark Gradient */
footer {
    background: linear-gradient(90deg, #665500, #2e6b2e, #205a8a);
    color: white;
    padding: 1.5rem;
    margin-top: 25px;
    font-size: 1rem;
}
