body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    padding: 20px;
}

header {
    text-align: center; /* Keep this for centering the whole header content */
    margin-bottom: 40px;
}

.logo-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Increased space between logo and title */
    margin-bottom: 20px;
}

.logo {
    height: 80px; /* Increased from 60px */
    width: auto;
}

h1 {
    font-size: 3rem; /* Increased from 2.5rem */
    color: #2c3e50;
    margin: 0;
}

/* This creates the grid/rows for your projects */
/* Update the grid gap */
/* ... (header, logo, h1 styles are unchanged) ... */

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

/* .project-item is no longer needed and should be REMOVED.
*/

/* Update the card style to hold the width and text-align */
.project-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    display: block; /* Makes the <a> tag behave like a block */
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px; /* Set the width for the entire card */
    text-align: center; /* This will center the title text */
}

    .project-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    }

/* This new rule targets your image and makes it square */
.project-thumbnail {
    width: 100%; /* This will be 300px (from the card width) */
    height: 300px; /* This makes the height equal to the width */
    object-fit: cover; /* Ensures the image fills the square */
    display: block;
}

/* Update the title style for spacing inside the card */
.project-title {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    /* Use padding for spacing inside the card */
    padding: 20px;
    margin: 0; /* Remove default h3 margin */
}