
@import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
/* CSS Variables and Theme */
:root {
  --bg-gradient-start: #1e1e1e;
  --bg-gradient-end: #252526;
  --card-bg: #2d2d30;
  --primary-color: #569cd6;
  --secondary-color: #dcdcaa; /* Light yellow */
  --accent-color: #d7ba7d; /* Yellowish accent */
  --text-color: #d4d4d4;
  --muted-color: #808080;
  --border-color: #3c3c3c;
  --code-bg: #1e1e1e;
  --border-radius: 4px;
  --transition-fast: 0.2s ease-in-out;
}

body, h1, h2, h3, p, ul, li, a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Anonymous Pro', monospace;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
  color: var(--text-color);
  line-height: 1.6;
  padding: 0 20px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

header {
  text-align: center;
  padding: 40px 0;
  background: linear-gradient(90deg, var(--bg-gradient-start), var(--bg-gradient-end));
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
}
nav {
  perspective: 800px;
  transform-style: preserve-3d;
}

header h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  text-shadow: none;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 10px;
  flex-wrap: wrap;
}

nav a {
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  color: var(--accent-color);
  font-weight: 600;
  padding: 8px 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

nav a:hover {
  background: rgba(181,206,168,0.2);
  color: var(--accent-color);
  transform: translateY(-2px) rotateX(3deg) rotateY(1deg);
  box-shadow: 0 6px 12px rgba(0,0,0,0.5);
}

main {
  max-width: 1600px;
}

.about-page main {
  max-width: 800px;
  perspective: 1200px;
  transform-style: preserve-3d;
  margin: 0 auto;
  padding: 40px 0;
}

main section {
  margin: 60px 0;
  padding: 35px 40px;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3), 0 6px 12px rgba(0, 0, 0, 0.2);
  transform: rotateX(0.5deg) rotateY(0.5deg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

main section:hover {
  transform: translateY(-5px) rotateX(0.5deg);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4), 0 8px 15px rgba(0, 0, 0, 0.3);
}

main section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 5px;
  transform-style: preserve-3d;
  transform: rotateX(1deg);
}

main section p {
  margin-bottom: 1em;
}

ul {
  margin-left: 1.2em;
  margin-bottom: 1em;
}

a.inline-link {
  color: var(--accent-color);
  text-decoration: underline;
  transition: color var(--transition-fast);
}
a.inline-link:visited {
  color: var(--muted-color);
}

a.inline-link:hover {
  color: var(--accent-color);
}

/* Markdown content links */
main section a {
  color: var(--accent-color);
  text-decoration: underline;
  transition: color var(--transition-fast);
}
main section a:visited {
  color: var(--muted-color);
}
main section a:hover {
  color: var(--accent-color);
}

/* Scoped markdown-content links */
#markdown-content a {
  color: var(--accent-color);
  text-decoration: underline;
  transition: color var(--transition-fast);
}
#markdown-content a:visited {
  color: var(--muted-color);
}
#markdown-content a:hover {
  color: var(--accent-color);
}


code {
  background: var(--code-bg);
  padding: 2px 4px;
  border-radius: 4px;
  font-family: 'Anonymous Pro', monospace;
  transform-style: preserve-3d;
  transform: rotateX(1deg) rotateY(-1deg);
}

blockquote {
  border-left: 4px solid var(--muted-color);
  padding-left: 16px;
  color: var(--muted-color);
  margin: 1em 0;
}

footer {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #333;
  margin-top: 40px;
  color: var(--muted-color);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
  header h1 {
    font-size: 2.5rem;
  }

  nav ul {
    gap: 15px;
  }

  main {
    padding: 20px 0;
  }
}

/* Contact Icons */
.contact-info a, .contact-info i {
  font-size: 1.75rem;
  color: #666666;
  margin: 0 10px;
  transition: color var(--transition-fast);
}
.contact-info a:hover i,
.contact-info i:hover {
  color: #000000;
}







.pub-table {
  width: 100%;
  border-collapse: collapse;
}

.pub-table td.pub-photo {
  vertical-align: top;
  width: 180px;
  padding: 10px;
}
.pub-table td.pub-photo img {
  width: 180px;
  height: auto;
}

.pub-table td.pub-entries {
  vertical-align: top;
  padding: 10px;
  width: calc(100% - 180px);
}

#publications .pub-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 6em;
}

#publications .pub-wrapper .pub-photo {
  flex: 0 0 350px;
  text-align: center;
}

#publications .pub-wrapper .pub-photo img {
  width: 350px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 4px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 8px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#publications .pub-wrapper .pub-entries {
  flex: 1;
}

.pub-table tr {
  display: table-row;
}
.pub-table td {
  display: table-cell;
  vertical-align: top;
}

@media (max-width: 800px) {
  .pub-table {
    display: block;
  }
  .pub-table tr,
  .pub-table td {
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }
}

/* Publications table alignment override */
.pub-table {
  width: 100% !important;
  border-collapse: collapse !important;
}
.pub-table td.pub-photo {
  width: 180px !important;
  vertical-align: top !important;
  padding: 10px !important;
}
.pub-table td.pub-entries {
  vertical-align: top !important;
  padding: 10px !important;
  width: calc(100% - 180px) !important;
}

/* Publication titles color override */
#publications .pub-wrapper .pub-entries p > strong:first-of-type {
  font-size: 1.7rem;
  color: var(--primary-color);
}

/* Experience entry titles color override */
#experience .exp-wrapper .exp-entries p > strong:first-of-type {
  font-size: 1.7rem;
  color: var(--primary-color);
}

/* Education entry titles color override */
#education .edu-wrapper .edu-entries p > strong:first-of-type {
  font-size: 1.7rem;
  color: var(--primary-color);
}

/* Experience entries styling */
#experience .exp-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 6em;
}

#experience .exp-wrapper .exp-photo {
  flex: 0 0 180px;
  text-align: center;
}

#experience .exp-wrapper .exp-photo img {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 4px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 8px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#experience .exp-wrapper .exp-entries {
  flex: 1;
}

/* Education entries styling */
#education .edu-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 6em;
}

#education .edu-wrapper .edu-photo {
  flex: 0 0 180px;
  text-align: center;
}

#education .edu-wrapper .edu-photo img {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 4px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 8px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#education .edu-wrapper .edu-entries {
  flex: 1;
}

#publications h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  display: block;
  width: 100%;
  font-weight: 600;
  margin: 2em 0 1em 0;
  color: var(--accent-color);
  padding-bottom: 0.5em;
  border-bottom: 3px solid var(--accent-color);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

#publications h3.conference-paper,
#publications h3.workshop-paper {
  color: #00CED1; /* Unified teal color for both */
  border-bottom: 3px solid #00CED1; /* Matching teal color for underline */
}

#publications h3:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}
