/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0d1117;
    color: #ffffff;
    text-align: center;
}

/* Header */
header {
    background: #161b22;
    color: white;
    padding: 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 24px;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #58a6ff;
}

/* Sections */
section {
    padding: 100px 10%;
    min-height: 100vh;
}

/* Home Section */
#home {
    background: url('home-back.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    opacity: 0.7;
}

#home h2 {
    font-size: 48px;
    font-weight: 600;
}

#home p {
    font-size: 20px;
    font-weight: 400;
    margin-top: 10px;
    /*font-weight: 600;*/
}

.circle-image {
    width: 100px; /* Adjust size */
    height: 100px;
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover; /* Ensures the image covers the circle */
    position: absolute;
    /*top: 32%;  Centers the image vertically */
    /*left: 50%;  Centers the image horizontally */
    transform: translate(-50%, -50%); /* Centers the image accurately */
    border: 2px solid #161b22; /* Optional: border around the circle */
  }

/* About Section */
#about {
    background: #161b22;
}

#about h2 {
    font-size: 32px;
    color: #58a6ff;
}

#about p {
    font-size: 18px;
    max-width: 600px;
    margin: 20px auto;
    opacity: 0.8;
    text-align: justify;
}

/* Projects Section */
#projects {
    background: #0d1117;
}

/*#projects h2 {
    font-size: 32px;
    color: #58a6ff;
}*/
.projects-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.project {
    background: #161b22;
    padding: 20px;
    border-radius: 0px;
    width: 300px;
    transition: 0.3s;
}

.project:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(88, 166, 255, 0.3);
}

.project img {
    width: 100%;
    border-radius: 10px;
    height: 55%;
}

.project a {
    display: inline-block;
    margin-top: 10px;
    color: #58a6ff;
    text-decoration: none;
}

.project p {
    font-size: 14px;
}


/* Contact Section */
#contact {
    background: #161b22;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: auto;
}

form input, form textarea {
    margin: 10px 0;
    padding: 12px;
    border: 1px solid #58a6ff;
    background: transparent;
    color: white;
    border-radius: 5px;
}

button {
    padding: 12px;
    background: #58a6ff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    transition: 0.3s;
}

button:hover {
    background: #1f6feb;
}

/* Footer 
footer {
    background: #161b22;
    padding: 15px;
    text-align: center;
    color: white;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    color: black;
}

th, td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background: #58a6ff;
    color: white;
}*/

#publications {
    padding-top: 80px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    background: #161b22;
    color: white;
}

.publication-list {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.publication {
    position: relative;
    background: #0d1117;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    transition: 0.3s;
}

.publication:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(88, 166, 255, 0.3);
}

.publication h3 {
    color: #58a6ff;
    text-align: left;
    font-size: 16px;
}

strong {
    color: #58a6ff;
}

.publication a {
    display: block;
    margin-top: 10px;
    color: #58a6ff;
    text-decoration: none;
    text-align: center;
    position: absolute;
    bottom: 10px; /* Adjust for spacing */
    left: 50%;
    transform: translateX(-50%); /* Centers horizontally */
}

.publication p{
    text-align: left;
    font-size: 14px;
}

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

.btn {
    background: linear-gradient(135deg, #007bff, #00d4ff);
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 123, 255, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0px 8px 20px rgba(0, 123, 255, 0.5);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0px 4px 8px rgba(0, 123, 255, 0.3);
}

