/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.member-container {
    display: flex;
    margin: 20px auto;
    max-width: 1100px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    align-items: flex-start; /* Align the content to start at the top of the profile section */
}



.profile-section {
    width: 300px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    margin-right: 20px;
}
.content-section {
    display: none;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}
/* CSS for member photos */
.member-photo {
    width: 150px; /* Fixed width for all member photos */
    height: 150px; /* Fixed height for all member photos */
    overflow: hidden; /* Ensures images do not overflow out of the container */
    margin: 0 auto 20px; /* Center the image container and add some margin at the bottom */
    border-radius: 50%; /* Optional: Makes the photos circular */
    position: relative; /* Ensures relative positioning if needed */
    border: 2px solid #2a6c8e; /* Optional: Adds a border around the photos */
}

.member-photo img {
    width: 100%; /* Image takes full width of the container */
    height: 100%; /* Image takes full height of the container */
    object-fit: cover; /* Ensures the image covers the entire container while maintaining aspect ratio */
}

/* Member photo watermark section styles */
.member-photo-watermark {
    position: absolute; /* Allows the image to be positioned freely */
    top: 150px; /* Align to top */
    left: 650px; /* Align to left */
    width: 300px; /* Full width */
    height: 100%; /* Full height of the intended area */
    display: flex; /* Flexbox to center the image */
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    pointer-events: none; /* Ensures image does not interfere with interactions */
    z-index: 1; /* Position behind the content (lower than content z-index) */
    opacity: 0.3; /* Transparency for watermark effect */
}

.member-photo-watermark-img {
    max-width: 500px; /* Set maximum width for the image */
    height: 500px; /* Maintain aspect ratio */
    opacity: 0.5; /* Further reduce opacity for a subtle watermark effect */
    z-index: 1; /* Make sure the image is behind other content */
}


.profile-section h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #2a6c8e;
}
.profile-section p {
    
font-size: 1.1em;

    margin-bottom: 20px;

    color: #555;

}
.social-media {

    list-style-type: none;

    padding: 0;

    margin-bottom: 20px;

    display: flex;

    justify-content: center;

    gap: 10px;

}

.social-media li a {
    text-decoration: none;
    font-size: 1.8em;  /* Increased the size of the icons */
    color: #2a6c8e;
    transition: color 0.3s;
}

.social-media li a:hover {
    color: #4c8baa;
}


.profile-links {
    list-style-type: none;
    padding: 0;
    text-align: left;
}

.profile-links li {
    margin-bottom: 10px;
}

.profile-links li a {
    text-decoration: none;
    color: #333;
    font-size: 1.1em;
    padding: 10px;
    display: block;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.profile-links li a:hover {
    background-color: #4c8baa;
    color: #fff;
}


.content-section:target {
    display: block;
    top-margin: 100px;
}

.content h3 {
    color: #2a6c8e;
    border-bottom: 2px solid #2a6c8e;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.content p, .content ul {
    margin-bottom: 20px;
    line-height: 1.6;
}

.content ul {
    list-style-type: disc;
    padding-left: 20px;
}
/* Style for the publication counter as the header */
.publication-counter {
    background-color: #f0f0f0; /* Light grey background */
    padding: 10px 15px;        /* Padding for spacing */
    color: #333;               /* Text color */
    border-radius: 5px;        /* Rounded corners */
    font-weight: bold;         /* Bold text */
    float: right;              /* Align to the right */
    margin-bottom: 10px;       /* Space below the counter */
    display: inline-block;     /* Keeps the box width fitting content */
}

/* Clear float to avoid overlapping issues */
.publication-header::after {
    content: "";
    display: table;
    clear: both;
}

/* CSS */
/* Styling for the publication entries */
#publication-list {
    padding-left: 20px;
}

#publication-list .publication-entry {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

.publication-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.publication-details a {
    text-decoration: none;
    color: #007bff;
}

.publication-details a:hover {
    text-decoration: underline;
}

.publication-year {
    text-align: right;
    flex-shrink: 0;
}

.crossref-link {
    display: inline-block;
    margin-left: 10px;
    font-size: 0.9em;
    color: #007bff;
    text-decoration: none;
}

.crossref-link:hover {
    text-decoration: underline;
}

/* Style for Awards & Honors section */
.awards-list {
    list-style: none; /* Remove default list style */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.awards-list li {
    display: flex; /* Use flexbox to align year and detail horizontally */
    align-items: center; /* Vertically center the items */
    padding: 10px 0; /* Add vertical padding for spacing between awards */
    border-bottom: 1px solid #ddd; /* Light border between awards */
}

.awards-list li:last-child {
    border-bottom: none; /* Remove the border for the last item */
}

.award-year {
    flex: 0 0 50px; /* Fixed width for the year */
    font-weight: bold; /* Bold text for the year */
    color: #2a6c8e; /* Color for the year text */
    margin-right: 15px; /* Space between year and detail */
    text-align: center; /* Center align the year text */
}

.award-detail {
    flex: 1; /* Takes up the remaining space */
    text-align: left; /* Left-align the detail text */
    color: #333; /* Color for the detail text */
}
/* Style for Workshops & Conferences section */
.workshops-list {
    list-style: none; /* Remove default list style */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.workshops-list li {
    display: flex; /* Use flexbox to align year and detail horizontally */
    align-items: flex-start; /* Align items at the start for proper alignment */
    padding: 15px 0; /* Add vertical padding for spacing between items */
    border-bottom: 1px solid #ddd; /* Light border between items */
}

.workshops-list li:last-child {
    border-bottom: none; /* Remove the border for the last item */
}

.conference-year {
    flex: 0 0 50px; /* Fixed width for the year */
    font-weight: bold; /* Bold text for the year */
    color: #2a6c8e; /* Color for the year text */
    margin-right: 15px; /* Space between year and detail */
    text-align: center; /* Center align the year text */
}

.conference-detail {
    flex: 1; /* Takes up the remaining space */
    text-align: left; /* Left-align the detail text */
    color: #333; /* Color for the detail text */
    line-height: 1.6; /* Increase line height for better readability */
}

.conference-detail strong {
    font-size: 1.1em; /* Slightly larger font size for conference/workshop titles */
    color: #2a6c8e; /* Title color */
}
/* Style for Memberships section */
.memberships-list {
    list-style: none; /* Remove default list style */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.memberships-list li {
    padding: 15px 0; /* Add vertical padding for spacing between items */
    border-bottom: 1px solid #ddd; /* Light border between items */
    display: block; /* Use flexbox to align organization and detail horizontally */
    align-items: flex-start; /* Align items at the start for proper alignment */
}

.memberships-list li:last-child {
    border-bottom: none; /* Remove the border for the last item */
}

.membership-organization {
    flex: 0 0 300px; /* Fixed width for the organization name */
    font-weight: bold; /* Bold text for the organization */
    color: #2a6c8e; /* Color for the organization text */
    margin-right: 20px; /* Space between organization and detail */
    text-align: left; /* Align the organization name to the left */
}

.membership-detail {
    flex: 1; /* Takes up the remaining space */
    text-align: left; /* Left-align the detail text */
    color: #333; /* Color for the detail text */
    line-height: 1.6; /* Increase line height for better readability */
}

.membership-detail strong {
    font-size: 1em; /* Font size for role details */
    color: #333; /* Text color for the role */
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 10px;
    }

    .profile-section, .content {
        width: 100%;
        margin-right: 0;
    }

    .profile-section {
        margin-bottom: 20px;
    }
}
/* Biography Section Text Justification */
#biography p {
    text-align: justify;
}
