a {
  color: #5791C9FF;           /* softer, muted grey */
  text-decoration: none;  /* no underline */
  font-weight: 400;       /* not emphasized */
}

body {
    margin:0;
    font-family:Arial, sans-serif;
    scroll-behavior:smooth;
    background:#f7f7f7;
    color:#222;
}

/*!* ===== Header Section ===== *!*/
/*header {*/
/*    height: 350px;*/
/*    background-image: url('background.jpg'); !* <-- DROP YOUR IMAGE HERE *!*/
/*    background-size: cover;*/
/*    background-position:center;*/
/*    display:flex;*/
/*    justify-content:center;*/
/*    align-items:center;*/
/*    flex-direction:column;*/
/*    color:white;*/
/*    text-shadow:0px 0px 10px rgba(0,0,0,0.6);*/
/*}*/

/*header img {*/
/*    width:150px;*/
/*    height:150px;*/
/*    border-radius:50%;*/
/*    border:4px solid #fff;*/
/*    margin-bottom:15px;*/
/*    object-fit:cover;*/
/*}*/

header {
  position: relative;
  text-align: center;
  background-image: url('{{ '/assets/images/background.jpg' | relative_url }}');
  background-size: cover;
  background-position: center;
  padding: 2rem 1rem; /* add padding instead of fixed height */
}

header img {
  width: 120px; /* or a relative size */
  max-width: 40%; /* ensures it scales down on mobile */
  height: auto;
  border-radius: 50%;
  object-fit: cover; /* makes sure the image fits its container */
  display: block;
  margin: 0 auto 1rem;
}

@media (max-width: 480px) {
  header img {
    width: 90px;
    max-width: 60%;
  }

  header h1, header h2 {
    font-size: 1.2rem;
  }
}


header h1 { font-size:2.5rem; margin:0; }
header h2 { font-size:1.2rem; font-weight:300; }

/* ===== Navigation Bar ===== */
nav {
    position:sticky;
    top:0;
    background:#111;
    padding:12px;
    z-index:100;
    text-align:center;
}

nav a {
    color:white;
    margin:0 15px;
    font-weight:bold;
    text-decoration:none;
    transition:0.3s;
}

nav a:hover {
    color:#00b4ff;
}

/* ===== Section Blocks ===== */
section {
    max-width:900px;
    padding:25px 20px;
    margin:auto;
}

section h2 {
    font-size:2rem;
    margin-bottom:20px;
    border-left:5px solid #00b4ff;
    padding-left:10px;
}

.pub-list li { margin-bottom:10px; line-height:1.4; }

footer {
    text-align:center;
    padding:30px;
    background:#111;
    color:#bbbbbb;
    margin-top:40px;
}

footer .contact-icons i {
  display: inline-block !important;
  font-style: normal; /* prevent italic fallback */
  color: #bbbbbb; /* subtle default color */
  /*color: #555; */       /* icon color */
}


.links a {
    color:#00b4ff;
    margin-right:15px;
    font-size:1.1rem;
}

/* subtle institutional link style */
#bio a {
  color: #5791C9FF;           /* softer, muted grey */
  text-decoration: none;  /* no underline */
  font-weight: 400;       /* not emphasized */
}

#bio a:hover {
  text-decoration: underline;
  color: #555;            /* slightly darker on hover */
}



/* Contact Icons styling */
.contact-icons ul {
  display: flex;
  gap: 1.5rem;
  justify-content: center; /* center icons */
  align-items: center;
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
  flex-wrap: wrap; /* wrap on small screens */
}

.contact-icons i {
  display: inline-block !important;
  font-style: normal; /* prevent italic fallback */
  color: whitesmoke; /* subtle default color */
  /*color: #555; */       /* icon color */
}

.contact-icons ul li a {
  font-size: 1.8rem;
  /*color: #555;*/ /* subtle default color */
  color: whitesmoke; /* subtle default color */
  transition: color 0.3s, transform 0.2s;
}

.contact-icons ul li a:hover {
  color: #0073b1; /* hover color example (LinkedIn blue) */
  transform: scale(1.2);
}

/* Optional: smaller icons on mobile */
@media (max-width: 600px) {
  .contact-icons ul li a {
    font-size: 1.5rem;
  }
}


/* Header styling */
header {
  text-align: center;
  color: white; /* default text color */
  padding: 2rem 1rem 3rem 1rem; /* reduce top and bottom padding if needed */
  position: relative;
}

header img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

header h1 {
  margin: 0.5rem 0 0.3rem 0; /* reduce space below h1 */
  font-size: 2.5rem;
}

header h2 {
  margin: 0 0 0.1rem 0; /* reduce space below h2 */
  font-weight: 400;
  font-size: 1.5rem;
}

/* Header contact icons */
header .contact-icons {
  margin-top: 0.5rem; /* small space above icons */
}

header .contact-icons ul {
  display: flex;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

header .contact-icons ul li a {
  font-size: 1.6rem;
  color: white; /* default icon color */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

header .contact-icons ul li a:hover {
  transform: scale(1.3);
  background-color: rgba(255, 255, 255, 0.2); /* subtle white circle */
  color: #ffd700; /* gold hover color */
}

.level {
  color: #666;
  font-size: 0.85rem;
}

.flag {
  font-size: 18px;
}

#teaching a {
  color: #5791C9FF;           /* softer, muted grey */
  text-decoration: none;  /* no underline */
  font-weight: 400;       /* not emphasized */
}

#thesis a {
  color: #5791C9FF;           /* softer, muted grey */
  text-decoration: none;  /* no underline */
  font-weight: 400;       /* not emphasized */
}

.spoken-languages h3 {
  margin-bottom: 5px;
}

.spoken-languages p {
  font-size: 0.95em;
  margin: 0;
}

.scopus-icon i svg {
  width: 1.2em;
  height: 1.2em;
}
