/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Styles */
header {
    background-color: #fff;
    padding: 20px 0;
    width: 100%;
    display: flex;
    justify-content: space-between; /* Align title and nav separately */
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 24px;
    text-align: left; /* Align title to the left */
    padding-left: 20px; /* Add cushioning on the left */
    flex-shrink: 0; /* Prevent the title from shrinking */
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center; /* Align nav items vertically centered */
    padding-right: 20px; /* Add cushioning on the right */
}

header nav ul li {
    margin-left: 20px; /* Space between nav links */
}

header nav ul li a {
    text-decoration: none;
    color: #000;
}

/* Main Content Styles */
#work .image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
    width: 100%;
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid-item img {
    max-width: 100%; /* Ensure images are responsive */
    height: auto;
    object-fit: cover; /* Maintain aspect ratio */
    border-radius: 5px; /* Optional: add some styling */
}

.grid-item p {
    text-align: center;
    margin-top: 10px;
}

/* About Page Styles */
#about .about-content {
    display: flex;
    align-items: flex-start; /* Align items at the top */
    margin-top: 40px;
    width: 100%;
}

.about-images {
    display: flex;
    flex-direction: column; /* Stack images vertically */
    margin-right: 40px; /* Add space between images and text */
    width: 35%; /* Adjust the width of the image container */
}

.about-images img {
    width: 100%; /* Ensure images are responsive */
    height: auto;
    margin-bottom: 20px; /* Space between stacked images */
}

.about-text {
    width: calc(65% - 40px); /* Adjust text width to fit next to images */
    line-height: 1.6; /* Improve readability */
}

/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-links p {
    margin: 0;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}