body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#navbar-holder{
  margin-top: 0;
  padding: 0;
  width: 20%;
  background-color: #f1f1f1;
  position: fixed;
  height: 100%;
  overflow: auto;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

#navbar-holder #profiles ul{
  list-style-type: none;
  padding: 0;
}

#navbar-holder #profiles ul li a {
  display: block;
  color: #000;
  padding: 4px 6px;
  text-decoration: none;
  margin-bottom: 5px;
  margin-top: 5px;
}

#navbar-holder #dp{
  margin-top: 20px;
}

#navbar-holder #dp .icon img{
  border-radius: 60%;
}

#navbar-holder #profiles ul li:last-child {
 margin-bottom: 20px;
}

.active {
  background-color: #4CAF50;
  color: white;
}

#navbar-holder #profiles ul li a:hover:not(.active) {
  background-color: #555;
  color: white;
}

.main-class{
  margin-left:25%;
  padding:1px 16px;
  height:600px;
}

#navbar-holder .icons {
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
}

#navbar-holder .icons:hover {
  cursor:pointer;
}

#navbar-holder .icon {
  flex: 40%;
  padding: 5px;
}

#counter{
  position: absolute;
  top: 600px;
  right: 25px;
  font-size: 20px;
  text-align: center;
}

.main-class .info{
  position: relative;
  bottom: 0px;
  left: -50px;
  text-align: justify;
  font-size: 16px;
  line-height: 1.6;
}

.main-class .cover-photo{
  position: relative;
  left: -50px;
}

.main-class .office{
  position: relative;
  top: 25px;
  font-size: 20px;
}

.journal-item, .conference-item, .ipr-item{
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 10px;
  position: relative;
  left: -50px;
}

.thesis-item, .workshop-item, .poster-item, .blog-item{
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 10px;
  position: relative;
  left: -50px;
}

body a, a:link, a:visited, a:focus, a:hover, a:active{
  color: #808B96;
}

/* Homepage h1 */
h1 {
  position: relative;
  left: -50px;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 8px;
  font-size: 28px;
}

h2{
  position: relative;
  left: -50px;
  text-align: center;
  top: 30px;
  margin-bottom: 50px;
}

hr{
  position:relative;
  left: -50px;
  margin-bottom: 30px;
  margin-top: 30px;
}

.main-class #description{
  position:relative;
  left: -50px;
  margin-bottom: 5px;
  margin-top: 5px;
  text-align: justify;
  font-size: 18px;
}

.refs{
  display: flex;
}

.bibtex, .textlink, .iprlink{
  background-color: lightgrey;
  width: 50px;
  height: 22px;
  line-height: 22px;
  border: 2px;
  padding: 2px;
  margin: 2px;
  margin-top: 8px;
  margin-right: 7px;
  text-align: center;
  position: relative;
  left: 22px;
}

.subtitle {
  position: relative;
  left: -50px;
  text-align: center;
  font-size: 15px;
  color: #555;
  margin-top: 0;
  margin-bottom: 20px;
  font-style: italic;
}

/* Career highlights banner */
.highlights {
  position: relative;
  left: -50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 10px 0 5px 0;
  flex-wrap: wrap;
}

.highlight-card {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px 28px;
  text-align: center;
  min-width: 120px;
  transition: box-shadow 0.2s;
}

.highlight-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.highlight-number {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
}

.highlight-label {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* CTA row */
.cta-row {
  position: relative;
  left: -50px;
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 10px 0 0 0;
}

.cta-btn {
  display: inline-block;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  background-color: #333;
  color: white !important;
  border: 2px solid #333;
  transition: background-color 0.2s;
}

.cta-btn:hover {
  background-color: #111;
  color: white !important;
}

.cta-btn-outline {
  background-color: white;
  color: #333 !important;
  border: 2px solid #333;
}

.cta-btn-outline:hover {
  background-color: #f0f0f0;
  color: #111 !important;
}

/* CV download button */
.cv-download-wrapper {
  text-align: center;
  position: relative;
  left: -50px;
  margin: 10px 0;
}

.cv-download-btn {
  background-color: #555;
  color: white;
  border: none;
  padding: 10px 24px;
  font-size: 16px;
  font-family: inherit;
  border-radius: 6px;
  cursor: pointer;
}

.cv-download-btn:hover {
  background-color: #333;
}

.cv-download-btn:disabled {
  background-color: #999;
  cursor: wait;
}

/* Compact info sections */
.compact-section {
  position: relative;
  left: -50px;
  margin: 12px 0;
  font-size: 15px;
  line-height: 1.8;
}

.compact-label {
  font-weight: bold;
  margin-right: 6px;
}

.skill-tag {
  display: inline-block;
  background-color: #555;
  color: white;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 13px;
  margin: 3px 3px;
  white-space: nowrap;
}
