/* General reset */
/* Conferences */
.conference-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.conference-item {
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.conference-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
}

.conference-item p {
  font-size: 14px;
  text-align: justify;
}

/* Publications list */
.papers ul {
  list-style-type: square;
  padding-left: 20px;
}

.papers li {
  margin-bottom: 10px;
}
.conference-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

.conference-item img:hover {
  transform: scale(1.05);
}

.achievements {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

.achievements h2 {
  text-align: center;
  margin-bottom: 20px;
}

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

.achievements li {
  background: #f1f1f1;
  margin: 10px 0;
  padding: 12px;
  border-left: 5px solid #007bff;
  border-radius: 5px;
}

/* Simple Experience Section */
.experience-list {
  max-width: 800px;
  margin: 20px auto;
  padding: 0 20px;
  text-align: justify;
}

.experience-entry {
  margin-bottom: 30px;
  padding: 15px;
  border-left: 4px solid #007bff;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 8px;
}

.experience-entry h2 {
  margin-top: 0;
  color: #007bff;
}

.experience-entry ul {
  margin: 10px 0 0 20px;
}



/* Education Section */
.education-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.education-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: justify;  /* makes all text justified */
}

.education-card h2 {
  margin-top: 0;
  color: #007bff;
}


.links a {
  color: white;
  text-decoration: none;
  font-size: 20px;  /* Optional: make icons larger */
  margin: 0 5px;    /* Optional: space between icons */
}

.links a:hover {
  color: #212157; /* Optional: change icon color on hover */
}
html, body {
  height: 100%;           /* full viewport height */
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column; /* stack elements vertically */
  min-height: 100vh;      /* ensure full height is respected */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f8f9fa;
  color: #333;
}

/* Navigation */
nav {
  background-color: #333;
  padding: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Header */
header {
  text-align: center;
  padding: 20px;
  background: #6A6AA8;
  color: white;
}

header img {
 width: 300px;
  height: 200px;      /* rectangle */
  border-radius: 15px;
  object-fit: cover;
}

/* Main content wrapper */
main {
  flex: 1;                /* this expands to fill leftover space */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

/* Sections */
section {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  text-align: justify;  
  text-justify: inter-word;
}

/* Footer */
footer {
  text-align: center;
  padding: 10px;
  background: #333;
  color: #fff;
}
