/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8; /* Optional light background for contrast */
}

/* Header Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f8f8f8; /* Light background */
    border-bottom: 1px solid #ccc; /* Optional separator line */
}

/* Header Columns */
.header-column {
    flex: 1; /* Each column takes up equal space */
    text-align: center; /* Center content inside each column */
}


/* Logo Styling */
.logo img {
    width: 100px; /* Adjust size as needed */
    height: auto;
}

/* Text Styling */
header h1 {
    font-size: 24px;
    margin: 0;
    line-height: 1.2;
}

header h2 {
    margin: 5px 0;
    font-size: 18px;
    color: #990000; /* UA Crimson */
}

header h3 {
    margin: 5px 0;
    font-size: 16px;
    color: #828282; /* UA Grey */
}

/* Navigation Styling */
nav {
    text-align: center;
    margin-top: 10px;
}

nav a {
    color: #003366; /* Dark blue links */
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
}

nav a:hover {
    color: #990000; /* Crimson on hover */
}

/* Footer Styling */
footer {
    text-align: center;
    margin-top: 1px;
    margin-bottom: 1px;
    padding: 10px;
    background-color: #f0f0f0;
    color: #828282;
    font-size: 14px;
    line-height: 1; /* Reduces vertical spacing between lines */
}

footer p {
    margin: 0; /* Removes extra spacing between paragraphs */
    padding: 0; /* Ensures no additional padding is applied */
}

/* Main Content Wrapper */
main {
    max-width: 800px; /* Limit the text width */
    margin: 20px auto; /* Center the content */
    padding: 20px; /* Add padding inside the content */
    background-color: #ffffff; /* White background for the content */
    border: 1px solid #ccc; /* Optional border */
    border-radius: 8px; /* Optional rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
}

/* Left Logo */
.logo-left {
    width: 100px; /* Adjust size as needed */
    height: auto;
}

/* Right Logo */
.logo-right {
    width: 100px; /* Adjust size as needed */
    height: auto;
}

/* People Section Styling */
#people {
    margin-top: 5px;
}

.person {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
    gap: 5px; /* Space between columns */
}

.person-left {
    flex: 1;
}

.person-right {
    flex: 1;
    padding-left: 5px; /* Adds space between columns */
    border-left: 1px solid #ccc; /* Optional left border for separation */
    color: #555; /* Subtle text color for the bio */
}

.person h3 {
    margin-top: 1px;
    margin-bottom: 1px;
    color: #990000; /* UA Crimson */
}

.person h4 {
    margin-top: 1px;
    margin-bottom: 1px;
    color: #828282; /* UA Grey */
}

.person p {
    margin: 5px 0;
}

.person a {
    color: #000000;
    text-decoration: none;
}

.person a:hover {
    text-decoration: underline;
}

.person img {
    display: block;
    margin: 10px 0;
    max-width: 150px; /* Adjust size as needed */
    height: auto;
    border-radius: 8px; /* Optional for rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional for styling */
}

/* Introduction Section */
.introduction {
    margin: 20px;
}

/* Department Info Section */
.department-info {
    display: flex;
    align-items: flex-start;
    gap: 5px; /* Space between text and image */
    margin-top: 1px;
    margin-bottom: 1px;
    margin: 20px;
    line-height: 1.0;
}

.department-info img {
    max-width: 200px; /* Adjust as needed */
    height: auto;
    border-radius: 8px; /* Optional: rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: subtle shadow */
}

/* Papers Section */
#papers {
    margin: 20px auto;
    max-width: 800px;
}

/* Individual Paper Entry */
.paper {
    text-align: center;
    border-bottom: 1px solid #ccc; /* Divider */
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* Image Styling */
.paper-image {
    max-width: 384px; /* ~4 inches */
    height: auto;
    display: block;
    margin: 0 auto 10px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Image Styling */
.projects-image {
    max-width: 192px; /* ~2 inches */
    height: auto;
    display: block;
    margin: 0 auto 10px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Paper Link */
.paper a {
    font-size: 16px;
    font-weight: bold;
    color: #003366;
    text-decoration: none;
}

.paper a:hover {
    text-decoration: underline;
}

/* Paper Description */
.paper-description {
    font-size: 14px;
    color: #555;
    font-style: italic;
}

/* Subsection styling for DL/PIML projects */
#deep-learning-piml h3 {
    font-size: 14px;
    color: #990000; /* UA Crimson */
    margin-left: 0px; /* No indent for headers */
    margin-top: 20px;
}

#deep-learning-piml h3 + p {
    margin-left: 20px; /* Indent only the paragraph immediately following each h3 */
    margin-bottom: 10px;
}

.zoomable-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: zoom-in;
}

.zoomable-image:hover {
    transform: scale(4.5); /* Enlarge on hover */
    z-index: 10;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}