:root {
  --bg: #f7f3ff;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6f6a7d;
  
  /* Updated Purple Colors */
  --accent: #5b2e91; /* Example Deeper Purple */
  --accent-dark: #3d1a66; /* Darker shade for hover effects */
  
  --line: #e7def7;
  --shadow: 0 10px 30px rgba(88, 60, 140, 0.08);
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(246, 243, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-dark);
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.5rem;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.05;
  margin: 10px 0 16px;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 650px;
}

.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.button-primary {
  background: var(--accent);
  color: white;
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  border: 1px solid var(--line);
  background: white;
}

.hero-image,
.image-card {
  background: linear-gradient(135deg, #efe3ff, #e6dcff);
  border-radius: 28px;
  min-height: 340px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.section {
  padding: 28px 0 64px;
}

.section-title {
  font-size: 2rem;
  margin: 0 0 10px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 700px;
  margin-bottom: 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.list {
  display: grid;
  gap: 18px;
}

.list-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.list-item h3 {
  margin: 0 0 8px;
}

.list-item p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 40px 0 60px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .hero-grid,
  .card-grid,
  .split {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.6rem;
  }
}

.hero-image{
  overflow: hidden;
}

.hero-image img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 28px;
}

.section-intro {
  max-width: 700px;
  margin-bottom: 2rem;
  color: #555;
}

.publications-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.publication-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.publication-image img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.publication-content {
  flex: 1;
}

.publication-content h2 {
  margin: 0 0 0.4rem 0;
  font-size: 1.25rem;
  line-height: 1.3;
}

.publication-meta {
  font-weight: 600;
  color: #7a5ea8;
  margin-bottom: 0.75rem;
}

.publication-links {
  margin-top: 0.9rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.publication-links a {
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 700px) {
  .publication-card {
    flex-direction: column;
  }

  .publication-image img {
    width: 100%;
    height: auto;
  }
}

.contact-page {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro {
  color: #5f5f6b;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 620px;
  margin: 0.75rem auto 2rem;
}

.social-card {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.social-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: #6f4ca5;
  background: #f5edff;
  border: 1px solid rgba(111, 76, 165, 0.12);
  box-shadow: 0 6px 18px rgba(111, 76, 165, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.social-button:hover {
  transform: translateY(-2px);
  background: #efe2ff;
  box-shadow: 0 10px 22px rgba(111, 76, 165, 0.14);
}

.icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 640px) {
  .social-card {
    flex-direction: column;
    align-items: center;
  }

  .social-button {
    width: min(100%, 320px);
    justify-content: center;
  }
}

.news-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.news-item h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.news-item + .news-item {
  border-top: 1px solid #e6e0f5;
  padding-top: 1.25rem;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand {
  font-size: 1.8rem; /* adjust if needed */
  font-weight: 700;
  line-height: 1.1;
}

.brand-email {
  font-size: 0.9rem;
  color: #6b7280;
  text-decoration: none;
  line-height: 1.2;
}

.brand-email:hover {
  text-decoration: underline;
}

.site-header {
  padding: 0.9rem 0;
}
.experience-list {
  list-style-type: none; /* Remove default list styling */
  padding: 0; /* Remove default padding */
}

.experience-item {
  margin-bottom: 20px; /* Space between entries */
  padding: 20px;
  border: 1px solid var(--line); /* Optional: border around each item */
  border-radius: 10px; /* Rounded corners for better aesthetics */
  background: var(--surface); /* Background color to match the design */
  transition: box-shadow 0.3s ease;
}

.experience-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* Add shadow on hover for depth */
}

.experience-item h3 {
  margin: 0; /* Remove default margin for headings */
  font-size: 1.5rem; /* Increase font size for better visibility */
  color: var(--text); /* Main text color */
}

.experience-dates {
  color: var(--muted); /* Muted color for dates */
  font-weight: 600; /* Slightly bold */
  margin: 5px 0; /* Space around dates */
}

.experience-item p {
  margin: 5px 0; /* Adjust margins for paragraph text */
}
