:root {
  --navy: #0b2545;
  --navy-soft: #13315c;
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --text: #0b2545;
  --text-muted: #4a5a78;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --border: #e5ecf4;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.04);
  --shadow-md: 0 4px 16px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 37, 69, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }

/* ================== HERO ================== */
.hero {
  position: relative;
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(0, 40, 20, 0.35), rgba(0, 30, 15, 0.5)),
    url('images/hea.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 2rem;
}

.hero-content {
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  opacity: 0.95;
  max-width: 640px;
  margin: 0 auto;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* ================== LOGOS ================== */
.logos {
  padding: 4rem 2rem;
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.logos img {
  height: 56px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.logos a:hover img { opacity: 1; }

/* ================== SECTIONS ================== */
section.content {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section.content.alt {
  background: var(--bg-soft);
  max-width: none;
  padding-left: 2rem;
  padding-right: 2rem;
}

section.content.alt > .inner {
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

/* ================== PUBLICATIONS ================== */
.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.pub-card {
  display: block;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pub-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}

.pub-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.pub-authors {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.pub-venue {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--blue-dark);
}

.pub-card:hover .pub-venue { text-decoration: underline; }

/* ================== CONTACT ================== */
.contact-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.contact-item {
  text-align: center;
}

.contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--blue);
}

.contact-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-value a { color: var(--text-muted); }
.contact-value a:hover { color: var(--blue-dark); }

/* ================== FOOTER ================== */
footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
  .logos { gap: 2.5rem; padding: 3rem 1.5rem; }
  .logos img { height: 42px; }
  section.content { padding: 3.5rem 1.5rem; }
  .contact-card { padding: 2rem 1.5rem; }
}
