/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body & General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    color: #333;
    margin: 0;
    padding: 0;
}

a {
    color: black;  /* Default color */
    text-decoration: none;  /* Optional: removes underline */
}

a:visited {
    color: black;  /* Color stays black after clicking */
}

/* Fixed Navigation Bar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 1rem 0;
    z-index: 100;
}

#navbar ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

#navbar ul li {
    margin: 0 15px;
}

#navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

#navbar ul li a:hover {
    color: #4CAF50;
}

/* Section Styling */
section {
    margin-top: 80px;
    padding: 40px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* About Me Section */
#about {
    display: flex; /* Make the section a flex container */
    align-items: center; /* Vertically center the content */
    justify-content: flex-start; /* Align items to the left */
    /* justify-content: space-between; */
    /**/
    position: relative;
    padding: 40px;
    background-color: white;
    margin-top: 80px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /**/
}

/* Text content inside About Me */
#about .text {
    flex: 1; /* Make the text container take up the available space */
    /* padding-left: 200px; /* Add space to the left to prevent overlap with the image */
    width: 70%;
}

#about .photo {
    position: relative;
    width: 20%;
}

#about .photo img {
    width: 200px; /* Size of the photo */
    height: 200px;
    border-radius: 50%;  /* Make the photo circular */
    /* position: fixed; */
    top: -20px;    /* Adjusts the positioning of the photo */
    border: 3px solid #333;  /* Optional: adds a border around the photo */
}

.photo {
    width: 25%; /* Adjust the width of the photo section */
    display: flex;
    justify-content: center;
}

.photo img {
    width: 120px; /* Set the width for the circular photo */
    height: 120px; /* Set height equal to width */
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover; /* Ensures the image fills the circle without distortion */
    border: 5px solid #fff; /* Optional: adds a white border around the photo */
}

.about-text {
    text-justify: auto;
}

/* Research Interests */
#research ul {
    list-style-type: none;
    padding-left: 20px;
}

#research ul li {
    margin-bottom: 10px;
}

/* Social Links */
#social .social-icons {
    display: flex;
    justify-content: space-around;
    padding: 10px;
}

#social .social-icons img {
    width: 40px;
    height: 40px;
}

/* Publications */
#publications-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#publications-table th, td {
    padding: 10px;
    border: 1px solid #ddd;
}

#publications-table th {
    background-color: #f9f9f9;
}

#publications-table td {
    color: black;
}

#publications-table img {
    width: 12%;
    height: 1%;
}

/* Courses and Supervision */
#courses-table, #supervision-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#courses-table th, #supervision-table th, td {
    padding: 10px;
    border: 1px solid #ddd;
}

#courses-table th, #supervision-table th {
    background-color: #f9f9f9;
}

/* Skills */
#skills ul {
    list-style-type: none;
    padding-left: 20px;
}

#skills ul li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}
