/* General Styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
}

/* Header */
header {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

header nav {
    margin-top: 1rem;
}

header nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #007acc;
}

/* Project Card Styling */
.project-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: #fff;
}

.project-card:hover {
    transform: scale(1.02);
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.project-thumbnail {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
}

.project-info {
    flex: 1;
    padding-right: 20px;
}

.project-info h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 1rem;
    color: #555;
}

/* Centering Elements */
.centered {
    text-align: center;
    margin-top: 20px;
}

.centered-title {
    text-align: center;
    font-size: 2rem;
}

.centered-text {
    text-align: center;
    margin: 20px auto;
    max-width: 800px;
}

/* Main Content */
main {
    padding: 2rem;
}

h2 {
    text-align: center;
    font-size: 2rem;
}

.centered-text {
    text-align: center;
    margin: 20px auto;
    max-width: 800px;
}

.centered {
    text-align: center;
    margin-top: 20px;
}

.download-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007acc;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #005f99;
}

/* Key Features Section with Flexbox */
.key-features-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Horizontally centers the items */
    justify-content: center; /* Vertically centers the items if needed */
    padding: 20px;
}

.centered-text-key {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
    max-width: 800px;
    width: 100%;
}

.centered-text-key li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 25px;
    text-align: left;
}


/* About Section */
.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.profile-photo {
    width: 150px;
    border-radius: 50%;
    margin: 20px;
}

.about-content p {
    max-width: 500px;
    margin: 20px;
}

/* Gallery Section */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers the images horizontally */
    align-items: center; /* Ensures vertical alignment consistency */
    gap: 20px; /* Adds spacing between images */
    padding: 20px;
    margin: 0 auto; /* Centers the entire gallery container */
}

.project-image {
    max-width: 350px; /* Increase the width limit */
    max-height: 300px; /* Set a higher maximum height */
    width: auto; /* Maintain aspect ratio by using auto */
    height: auto; /* Ensure the height adjusts proportionally */
    border: 2px solid #ccc; /* Add a light border */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    margin: 10px; /* Add spacing around the image */
    object-fit: contain; /* Ensures the entire image is visible without cropping */
}
/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    font-size: 0.9rem;
    width: 100%; /* Ensures footer spans full width */
    box-sizing: border-box; /* Includes padding and borders in width calculation */
}


footer a.contact-link {
    color: #ccc; /* Neutral color */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
    padding: 0 10px;
}

footer a.contact-link:hover {
    color: #fff; /* Highlight on hover */
    text-decoration: underline;
}

/* Links */
a {
    color: #444; /* Neutral link color */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #007acc; /* Subtle blue on hover */
    text-decoration: underline;
}
