:root {
  --uc-primary: #005c66;
  --uc-primary-dark: #00474f;
  --uc-accent: #0f7c86;
  --uc-soft: #eaf4f4;
  --uc-bg: #f5f8f8;
  --text: #1f2a30;
  --muted: #5f6b73;
  --white: #ffffff;
  --border: #d6e4e5;
  --shadow: 0 8px 24px rgba(0, 55, 61, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--uc-bg);
  color: var(--text);
  line-height: 1.7;
}

.container {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
}

.hero,
header.page-header {
  background: linear-gradient(135deg, var(--uc-primary-dark), var(--uc-primary));
  color: var(--white);
}

.hero {
  padding: 1.5rem 0 2.5rem;
}

header.page-header {
  padding: 2.5rem 0;
  margin-bottom: 2rem;
}

header.page-header h1,
header.page-header p,
header.page-header a,
header.page-header .subtitle {
  color: white;
}

header.page-header h1 {
  max-width: 950px;
  font-size: 2.3rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin: 0 0 0.4rem 0;
}

.subtitle {
  font-size: 1.1rem;
  margin: 0 0 1rem 0;
  opacity: 0.95;
}

.hero-summary {
  max-width: 760px;
  font-size: 1.05rem;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  width: 245px;
  height: 245px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.tabs {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tab-button {
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--uc-primary-dark);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.tab-button:hover {
  transform: translateY(-1px);
  background: var(--white);
}

.tab-button.active {
  background: var(--uc-primary-dark);
  color: var(--white);
  outline: 2px solid rgba(255, 255, 255, 0.25);
}

main {
  padding: 2rem 0 3rem;
}

section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

section.tab-content {
  display: none;
}

section.tab-content.active,
section.standalone-section {
  display: block;
}

h2 {
  color: var(--uc-primary);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.9rem;
}

h3 {
  color: var(--uc-primary-dark);
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

p {
  margin-top: 0.7rem;
  margin-bottom: 0.9rem;
}

a {
  color: var(--uc-primary);
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

ul,
ol {
  padding-left: 1.3rem;
}

.clean-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.profile-grid,
.metrics-grid,
.contact-grid,
.two-col,
.project-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.4rem;
}

.profile-card,
.metric-card,
.contact-card,
.info-box,
.project-detail-card,
.project-card {
  background: var(--uc-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.icon-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.icon-link i {
  font-size: 1.2rem;
  color: var(--uc-accent);
  width: 20px;
  text-align: center;
}

.pub-list li,
.results-list li {
  margin-bottom: 0.9rem;
}

.results-list li {
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.media-card {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  background: #fff;
  margin-bottom: 1rem;
}

.media-logo i {
  font-size: 2rem;
  color: var(--uc-primary);
}

.conversation-logo {
  min-width: 180px;
  font-weight: 900;
  line-height: 1.1;
  color: #222;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  background: #fff;
}

.conversation-logo span {
  color: #d64032;
}

.media-content h3 {
  margin-top: 0;
}

.project-card {
  margin-bottom: 1rem;
}

.project-card h4 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: var(--uc-primary-dark);
  font-size: 1.05rem;
}

.project-card p {
  margin: 0.35rem 0;
}

.project-link {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.65rem 1rem;
  background: var(--uc-primary);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.project-link:hover {
  background: var(--uc-primary-dark);
  text-decoration: none;
}

.conference-card {
  display: flex;
  gap: 1rem;
  background: var(--uc-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.conference-icon {
  font-size: 1.6rem;
  color: var(--uc-primary);
  min-width: 42px;
  text-align: center;
  padding-top: 0.2rem;
}

.conference-content h4 {
  margin: 0 0 0.5rem 0;
  color: var(--uc-primary-dark);
}

.conference-content p {
  margin: 0.25rem 0;
}

.conference-links {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.conference-links a {
  display: inline-block;
  background: var(--uc-primary);
  color: white;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
}

.conference-links a:hover {
  background: var(--uc-primary-dark);
  text-decoration: none;
}

.pending {
  display: inline-block;
  background: #eef1f1;
  color: var(--muted);
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
}

footer {
  background: #ddeaea;
  color: var(--uc-primary-dark);
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero-content,
  .profile-grid,
  .metrics-grid,
  .contact-grid,
  .two-col,
  .project-detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-text {
    text-align: center;
  }

  .tabs {
    justify-content: center;
  }

  .hero-summary {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 2.1rem;
  }

  header.page-header h1 {
    font-size: 1.9rem;
  }

  section {
    padding: 1.35rem;
  }

  .hero-image img {
    width: 200px;
    height: 200px;
  }

  .media-card,
  .conference-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .conversation-logo {
    min-width: auto;
    width: 100%;
  }

  .conference-icon {
    text-align: left;
  }
}
