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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 10px;
}

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

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

.navbar ul li a:hover {
    color: #007BFF;
}

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-attachment: scroll;
    background-repeat: no-repeat;
}

/* Set initial background image for all sections */
body {
    background-image: url('randomcomplex.png');
    background-size: contain; 
    background-repeat: repeat;
    background-color: rgba(255, 255, 255, 0.95); /* Add light overlay */
    background-blend-mode: lighten; /* Blend the image with the white background */
    opacity: 0.8; /* Add transparency */
}


/* Home Section */
.home .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1500px;
    margin: 0 auto;
    gap: 100px;
}

.left-column {
    flex: 0.5;
    text-align: center;
}

.middle-column {
    flex: 2;
    text-align: left;
}

.right-column {
    flex: 1.5;
    text-align: center;
}

.middle-column h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.middle-column h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #555;
}

.middle-column p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons .icon {
    font-size: 24px;
    color: #555;
    transition: color 0.3s;
}

.social-icons .icon:hover {
    color: #007BFF;
}

/* Profile Picture */
.profile-pic {
    width: 200px; /* Smaller size for the profile picture */
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Secondary Image (Hextorus) */
.secondary-pic {
    width: 400px; /* 2.5 times larger than the original */
    height: auto;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Research Section */
.research {
    padding: 60px 20px;
    text-align: left;
    color: #333;
}

.research .container {
    max-width: 800px;
    margin: 0 auto;
}

.research h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.research p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.research ul {
    margin-top: 10px;
    list-style: disc;
    padding-left: 20px;
}

.research ul li {
    margin-bottom: 15px;
    line-height: 1.6;
}


/* Publications Section */
.publications {
    padding: 60px 20px;
    color: #333;
}

.publications .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.publications h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.publications ul {
    list-style: none;
    padding: 0;
}

.publications li {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.publications a {
    color: #007bff;
    text-decoration: none;
}

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

/* PDF Viewer Section */
.pdf-viewer {
    padding: 60px 20px;
    color: #333;
    text-align: center;

}

.pdf-viewer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.pdf-viewer h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.pdf-viewer p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.pdf-viewer a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.pdf-viewer a:hover {
    text-decoration: underline;
}

.pdf-container {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    overflow: hidden;
    border-radius: 5px;
}



.teaching .container {
    max-width: 1500px;
    margin: 0 auto;
    text-align: left;
}

.talks .container {
    max-width: 1500px;
    margin: 0 auto;
    text-align: left;
}

