* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

body {
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

header {
  background-color: #0f3c5f;
  color: white;
  padding: 3rem 1rem;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
}

header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.tab-nav {
  display: flex;
  justify-content: center;
  background-color: #0f3c5f;
  padding: 0 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-button {
  background: none;
  border: none;
  color: white;
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-button:hover {
  background-color: #1a4d6e;
}

.tab-button.active {
  background-color: #2c5f7a;
  border-bottom: 3px solid #4a90e2;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.container {
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 0 1.2rem;
}

h2 {
  color: #0f3c5f;
  margin-bottom: 1rem;
}

h3 {
  color: #0f3c5f;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

#about p {
  padding-left: 1.5rem;
}

.skills {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.skills li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.project {
  background: white;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.project h3 {
  margin-bottom: 0.5rem;
}

.project span {
  font-size: 0.9rem;
  color: #555;
}

a {
  color: #0f3c5f;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 1.5rem;
  background: #eaeaea;
  font-size: 0.9rem;
}

.research-links {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0;
  display: flex;
  gap: 0.75rem;
}

.research-links li {
  margin: 0;
}

.research-links a {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  background-color: #f2f4f8;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.research-links a:hover {
  background-color: #e1e6ee;
  transform: translateY(-1px);
}

section ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

section li {
  margin-bottom: 0.75rem;
}
.education-item {
  margin-bottom: 0.75rem;
}

.pdf-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #0f3c5f;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  margin-bottom: 1rem;
  transition: background-color 0.3s;
}

.pdf-link:hover {
  background-color: #1a4d6e;
}

.scholar-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background-color: #4285f4;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.scholar-link:hover {
  background-color: #3367d6;
}

.positions-list, .education-list {
  margin-top: 1rem;
}

.positions-list {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.positions-list li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.positions-list strong {
  color: #0f3c5f;
}

.education-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 1.5rem;
}

.education-list li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.education-list strong {
  color: #0f3c5f;
}

.citation-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
  padding: 2rem;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.metric {
  text-align: center;
}

.metric h3 {
  color: #0f3c5f;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.metric-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: #0f3c5f;
}

.citations-info {
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: #666;
}

.citations-info em {
  display: block;
  margin-bottom: 0.5rem;
}

.scholar-links {
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: #e8f4fd;
  border-radius: 4px;
}

.scholar-links a {
  color: #0f3c5f;
  font-weight: 500;
}

.publications-list {
  margin-top: 2rem;
}

.year-section {
  margin-bottom: 2rem;
}

.year-section h4 {
  color: #0f3c5f;
  border-bottom: 2px solid #0f3c5f;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.publication-item {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  border-left: 4px solid #0f3c5f;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.publication-item strong {
  color: #0f3c5f;
  font-size: 1.1rem;
}

.publication-item p {
  margin: 0;
  line-height: 1.6;
}

.publication-item a {
  color: #4285f4;
  text-decoration: none;
}

.publication-item a:hover {
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  header {
    padding: 2rem 1rem;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  header p {
    font-size: 1rem;
  }
  
  .tab-nav {
    padding: 0 0.5rem;
  }
  
  .tab-button {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  .container {
    margin: 1.5rem auto;
    padding: 0 1rem;
  }
  
  h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }
  
  h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  
  .citation-metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
    margin: 1rem 0;
  }
  
  .metric-value {
    font-size: 2rem;
  }
  
  .project {
    padding: 0.8rem;
  }
  
  .publication-item {
    padding: 1rem;
  }
  
  .skills {
    padding-left: 1.2rem;
  }
  
  .positions-list, .education-list {
    padding-left: 1.2rem;
  }
  
  #about p {
    padding-left: 1.2rem;
  }
  
  iframe {
    height: 400px !important;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.8rem;
  }
  
  .tab-button {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .container {
    padding: 0 0.8rem;
  }
  
  .citation-metrics {
    padding: 0.8rem;
  }
  
  .metric-value {
    font-size: 1.8rem;
  }
  
  iframe {
    height: 300px !important;
  }
}

.publication-item a:hover {
  text-decoration: underline;
}