/* Modern enhancements without changing the whole template */

:root{
  --accent: #14b8a6;
  --ink: #0f172a;
  --muted: #475569;
  --card: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(2, 6, 23, .08);
}

/* Wider content area - use more screen space */
.row {
  max-width: 1400px !important;
  width: 94% !important;
}

/* typography */
body{
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h2, h3, h4{
  letter-spacing: -.02em;
}

a{ color: var(--accent); }
a:hover{ color: #0f766e; }

/* make the top nav feel premium */
#nav-wrap{
  background: rgba(11, 18, 32, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(226, 232, 240, .12);
}

/* remove the now-unused header decoration space (keep #home only as anchor for "Back to top") */
header#home{
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
}
header#home .scrolldown,
header#home .tech-decoration{
  display: none !important;
}

/* About top intro card */
.about-hero{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  background: linear-gradient(135deg, rgba(20,184,166,.10), rgba(59,130,246,.08));
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin: 10px 0 18px;
}
.about-hero img{
  width: 100%;
  max-width: 220px;
  border-radius: 14px;
  border: 1px solid rgba(226,232,240,.9);
}
.about-hero .kicker{
  color: var(--muted);
  margin: 0 0 6px;
  font-size: 14px;
}
.about-hero .name{
  margin: 0 0 10px;
}
.cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.btn{
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(20,184,166,.35);
  background: rgba(20,184,166,.10);
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: all .2s ease;
}
.btn:hover{
  background: rgba(20,184,166,.16);
  transform: translateY(-1px);
}

/* "Previous Affiliations" spacing as a consistent list (instead of many <p>) */
.affiliations p{
  margin: 0 0 14px;
}

/* nicer section rhythm */
section{
  scroll-margin-top: 80px; /* so anchor jumps don't hide headings behind sticky nav */
}
hr{
  border: 0;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

/* Publication cards */
.pub-list {
  list-style: none;
  padding: 0;
}

.pub-list li {
  padding: 15px;
  margin-bottom: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(2, 6, 23, .04);
  transition: all .2s ease;
}

.pub-list li:hover {
  box-shadow: 0 4px 16px rgba(2, 6, 23, .08);
  transform: translateY(-2px);
}

/* Skills section */
.drop-cap {
  line-height: 1.7;
}

/* responsive */
@media (max-width: 768px){
  .about-hero{
    grid-template-columns: 1fr;
    text-align: left;
  }
  .about-hero img{
    max-width: 180px;
    margin: 0 auto;
  }
}
