/* ============================================================
   HuRI Lab — Shared Stylesheet
   Color palette: Deep Navy #1a2744 + Tech Blue #2E86DE
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:        #1a2744;
  --navy-light:  #243460;
  --navy-dark:   #111b30;
  --blue:        #2E86DE;
  --blue-light:  #5BA3E8;
  --blue-pale:   #EBF4FD;
  --white:       #ffffff;
  --gray-50:     #f8f9fb;
  --gray-100:    #eef0f5;
  --gray-200:    #dde1eb;
  --gray-400:    #8891a8;
  --gray-600:    #4a5568;
  --text:        #1a2744;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --shadow-sm:   0 2px 8px rgba(26,39,68,.07);
  --shadow-md:   0 4px 20px rgba(26,39,68,.10);
  --shadow-lg:   0 8px 32px rgba(26,39,68,.14);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ── Navigation ── */
.nav {
  background: var(--navy);
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo:hover { text-decoration: none; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.65);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .2s;
  padding-bottom: 3px;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active {
  color: var(--white);
  border-bottom: 2px solid var(--blue-light);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: all .25s;
}

/* ── Page Header (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 3rem 2.5rem 2.5rem;
}
.page-hero h1 {
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .3rem;
}
.page-hero p {
  font-size: 14.5px;
  color: rgba(255,255,255,.58);
}

/* ── Container ── */
.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
}

/* ── Section Utilities ── */
.section-header { margin-bottom: 2rem; }
.section-header h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .35rem;
}
.section-header .underline {
  width: 36px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
}

.sub-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .09em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin: 2.25rem 0 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.sub-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-100);
}

/* ── Badges ── */
.badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 20px;
  letter-spacing: .04em;
  vertical-align: middle;
}
.badge-intl    { background: #EBF4FD; color: #1a6eb5; }
.badge-dom     { background: #FFF8E1; color: #996800; }
.badge-journal { background: #E8F5E9; color: #276334; }
.badge-conf    { background: #F3E8FD; color: #6a1fa3; }
.badge-phd     { background: #EBF4FD; color: var(--blue); }
.badge-ms      { background: #E8F5E9; color: #2e7d32; }
.badge-bs      { background: #FFF8E1; color: #996800; }
.badge-pi      { background: var(--navy); color: var(--white); }

/* ── Tags ── */
.tag {
  display: inline-block;
  font-size: 11.5px;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  font-family: 'DM Sans', sans-serif;
}
.btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  text-decoration: none;
}
.btn svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ── Footer ── */
.footer {
  background: var(--navy-dark);
  padding: 2rem 2.5rem;
  text-align: center;
}
.footer p {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
}
.footer a { color: rgba(255,255,255,.55); }
.footer a:hover { color: var(--white); }

/* ── Responsive ── */
@media (max-width: 720px) {
  .nav { padding: 0 1.25rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    gap: 0;
    padding: .5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: .75rem 1.5rem;
    border-bottom: none !important;
  }
  .nav-toggle { display: flex; }
  .container { padding: 2rem 1.25rem; }
  .page-hero { padding: 2rem 1.25rem 1.75rem; }
}
