body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #f0f2f5; /* A light grey background */
    color: #333;
    line-height: 1.6;
}

/* Main Container for the Flexbox Layout */
.main-container {
    display: flex;
    min-height: 100vh;
}

/* Left Navigation Sidebar */
.nav-sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 30px 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    overflow-y: auto;
}

.nav-title {
    font-size: 2em;
    font-weight: 300;
    margin-bottom: 5px;
    color:#f5f9f7;
    border-bottom: 2px solid #278ef5;
    padding-bottom: 10px;
}

.nav-subtitle {
    font-size: 1.2em;
    font-weight: 300;
    color: #bdc3c7;
    margin-top: 0;
    margin-bottom: 20px;
}

.nav-link, .sub-nav-link {
    color: #ecf0f1;
    text-decoration: none;
    padding: 6px 10px;
    margin-bottom: 0px;
    border-radius: 2px;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* font-size:1.5em; */
}

.nav-link:hover, .sub-nav-link:hover {
    background-color: #34495e;
}

.nav-link {
    font-size: 1.2em;
    padding:6px 10px;
    margin-top: 10px;
    margin-left:1px;
    font-weight: bold;
}

.sub-nav-link {
    margin-top: 4px;
    margin-left: 12px;
    padding: 6px 10px;
    font-size: 0.4em;
}

/* Main Content Area */
.content-area {
    margin-left: 250px; /* Same width as sidebar */
    flex-grow: 1;
    padding: 40px;
    box-sizing: border-box;
}

/* Sections Styling */
.content-section {
    max-width: 900px;
    margin: auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hidden {
    display: none;
}

.active {
    display: block;
}

/* Specific Element Styling */
h1, h2, h3 {
    color: #2c3e50;
    margin-top: 0;
}

p {
    margin-bottom: 1em;
}

.back-to-research {
    display: inline-block;
    margin-bottom: 20px;
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.back-to-research:hover {
    color: #2980b9;
}

/* New styling for the research links list */
.nav-links-list {
    list-style-type: none; /* Removes bullet points */
    padding: 0;
    margin: 20px 0 0 0;
}

.nav-links-list li {
    margin-bottom: 10px;
}

.nav-links-list li a {
    display: block; /* Makes the entire link a clickable block */
    background-color: #34495e;
    color: #ecf0f1;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.1em; /* Increased font size */
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-links-list li a:hover {
    background-color: #3498db;
    transform: translateY(-3px); /* Subtle animation on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Styling for the About Me links container */
.about-links {
    margin-top: 10px;
    display: flex;
    gap: 15px; /* Adds space between the buttons */
}

/* Base styling for the buttons */
.cv-link,
.github-link {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Specific button colors and hover effects */
.cv-link {
    background-color: #3498db; /* A nice blue color */
    color: #fff;
}

.cv-link:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.github-link {
    background-color: #2c3e50; /* A dark grey color */
    color: #fff;
}

.github-link:hover {
    background-color: #34495e;
    transform: translateY(-2px);
}

/* Styling for the header with logos */
/* New styling for the logo header inside the sidebar */
.logo-header {
    text-align: center;
    padding-bottom: 5px;

}

.logo {
    height: 38px; /* A smaller height to fit the sidebar */
    width: auto; /* Maintain aspect ratio */
    margin: 0 10px; /* Adjust spacing between logos */
}

/* Styling for the contact section in the sidebar */
.contact-section {
    margin-top: auto;
    padding-top: 5px;
    border-top: 2px solid #34495e;
    width: 96%; /* Ensure the section takes full width of its parent */
    box-sizing: border-box; /* To prevent padding from overflowing the width */
}

.contact-section h4 {
    color: #bdc3c7;
    text-align: center;
    margin-bottom: 35px;
    font-size: 1.1em;
}

.contact-logos {
    display: flex;
    justify-content: center; /* Center the logos horizontally */
    gap: 15px;
    width: 100%; /* Explicitly set this to ensure centering works */
    margin-bottom: 25px;
}

.contact-logos img {
    height: 45px;
    width: auto;
    margin-bottom: 20px;
    transition: transform 0.2s ease;
}

.contact-logos img:hover {
    transform: scale(1.1);
}

.site-footer {
    padding: 30px;
    text-align: center;
}

.site-footer .contact-logos {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.location-text {
    color: #bdc3c7; /* A light grey color */
    text-align: center;
    font-size: 0.9em;
    margin-top: -30px; /* Adjust as needed */
    margin-bottom: 25px;
}

.portfolio-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Makes the image a perfect circle */
    object-fit: cover; /* Ensures the image fills the space without distortion */
    border: 3px solid #3498db;
    margin-top: 15px;
    margin-bottom: 15px;
    display: block; /* Centers the image on its own line */
    margin-left: auto;
    margin-right: auto;
}

.profile-pic {
    width: 600px;
    height: 500px;
    /* border-radius: 50%; Makes the image a perfect circle */
    object-fit: cover; /* Ensures the image fills the space without distortion */
    border: 3px solid #3498db;
    margin-top: 15px;
    margin-bottom: 15px;
    display: block; /* Centers the image on its own line */
    margin-left: auto;
    margin-right: auto;
}

