/* Header Image Styling */
.header-image {
    width: 100%; /* Make it responsive */
    height: auto; /* Maintain aspect ratio */
    display: block;
    margin: 0 auto; /* Center the image */
    max-height: 400px; /* Adjust this value to fit your design */
    object-fit: contain; /* Ensure the full image is shown without cropping */
}

/* General Body Styling */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Container for content */
.container {
    max-width: 900px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Styling for Heading */
h1, h2 {
    color: #333;
}

/* Button Styling */
.button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    color: white;
    background-color: #007BFF;
    text-decoration: none;
    border-radius: 5px;
}

/* Container for Projects */
.projects-container {
    display: flex;
    justify-content: space-between; /* Space sections apart */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 20px; /* Adds a gap between elements */
    margin-top: 20px;
}

/* General and Specific Project Sections */
.general-projects, .specific-projects {
    flex: 1 1 45%; /* Allow both to take up 45% of the container width */
    box-sizing: border-box; /* Include padding and borders in width calculation */
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px; /* Adds space between sections */
}

/* Category Image Styling */
.category-image {
    width: 100px; /* Adjust to a smaller size */
    height: auto; /* Maintain aspect ratio */
    display: block;
    margin: 0 auto 10px; /* Center and add spacing below */
}

/* List of Projects in Each Section */
.project-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Styling for Project Button */
.project-button {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: blue; /* Always blue */
    font-weight: bold;
}

/* Hover Effect for Project Button */
.project-button:hover {
    background-color: #e0e0e0;
}

/* Project Icon Styling */
.project-icon {
    width: 50px; /* Smaller icons for each project */
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
}
.project-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
}
#dataset-page .project-image {
    width: 600px;  /* Fixed width */
    height: 300px; /* Fixed height */
    object-fit: cover; /* Ensures images maintain aspect ratio */
}