/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --hover-shadow: 0 4px 12px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background-color: #ffffff;
    font-size: 15px;
  }
  
  /* Container */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Header Section */
  .header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 30px;
  }
  
  .profile-section {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .profile-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow);
    object-fit: cover;
  }
  
  .profile-info h1 {
    font-size: 2em;
    margin-bottom: 5px;
    font-weight: 700;
  }
  
  .profile-info h3 {
    font-size: 1.1em;
    font-weight: 400;
    margin-bottom: 15px;
    opacity: 0.9;
  }
  
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .contact-info a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95em;
  }
  
  .contact-info a:hover {
    opacity: 0.8;
  }
  
  .social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
  }
  
  .social-links a {
    background: rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 20px;
    transition: var(--transition);
    font-size: 0.9em;
  }
  
  .social-links a:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-1px);
  }
  
  /* Navigation */
  .navigation {
    background: white;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
  }
  
  .nav-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    transition: var(--transition);
    font-size: 0.9em;
  }
  
  .nav-links a:hover {
    background: var(--light-bg);
    color: var(--secondary-color);
  }
  
  /* Section Styles */
  section {
    margin-bottom: 40px;
  }
  
  section h2 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
  }
  
  .back-top {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.7em;
    margin-left: 15px;
    opacity: 0.7;
    transition: var(--transition);
  }
  
  .back-top:hover {
    opacity: 1;
  }
  
  /* Biography */
  .biography-content {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    line-height: 1.6;
  }
  
  .biography-content p {
    margin-bottom: 10px;
    text-indent: 2em;
  }
  
  .biography-content a {
    color: var(--secondary-color);
    text-decoration: none;
  }
  
  .biography-content a:hover {
    text-decoration: underline;
  }
  
  .experience-list {
    list-style: none;
    margin-top: 15px;
  }
  
  .experience-list li {
    padding: 6px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.95em;
  }
  
  .experience-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
  }
  
  /* News Section */
  .news-container {
    max-height: 300px;
    overflow-y: auto;
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
  }
  
  .news-container ul {
    list-style: none;
  }
  
  .news-container li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    font-size: 0.95em;
  }
  
  .news-container li:last-child {
    border-bottom: none;
  }
  
  .news-container li:hover {
    padding-left: 8px;
    background: rgba(52, 152, 219, 0.05);
  }
  
  /* Publications */
  .pub-section h3 {
    color: var(--primary-color);
    font-size: 1.3em;
    margin: 20px 0 15px;
  }
  
  .pub-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .pub-table tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
  }
  
  .pub-table tr:hover {
    background: var(--light-bg);
  }
  
  .pub-td1 {
    width: 180px;
    padding: 15px;
    text-align: center;
    vertical-align: top;
  }
  
  .papericon {
    width: 100%;
    max-width: 160px;
    border-radius: 6px;
    box-shadow: var(--shadow);
    transition: var(--transition);
  }
  
  .papericon:hover {
    transform: scale(1.03);
    box-shadow: var(--hover-shadow);
  }
  
  .pub-td2 {
    padding: 15px;
    font-size: 0.95em;
    line-height: 1.6;
  }
  
  .pub-td2 b:first-child {
    color: var(--accent-color);
  }
  
  .pub-td2 strong {
    display: inline-block;
    margin: 5px 0;
    font-size: 1.05em;
  }
  
  .pub-links {
    margin-top: 8px;
  }
  
  .pub-links a {
    display: inline-block;
    margin-right: 12px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9em;
  }
  
  .pub-links a:hover {
    color: var(--accent-color);
    transform: translateX(2px);
  }
  
  /* Awards Section */
  .awards-list {
    list-style: none;
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
  }
  
  .awards-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95em;
    line-height: 1.5;
  }
  
  .awards-list li:last-child {
    border-bottom: none;
  }
  
  .awards-list li:before {
    content: "🏆";
    position: absolute;
    left: 0;
    font-size: 1.1em;
  }
  
  .awards-list b {
    color: var(--accent-color);
  }
  
  /* Activities Section */
  .activities-list {
    list-style: none;
    padding-left: 15px;
  }
  
  .activities-list li {
    padding: 6px 0;
    position: relative;
    padding-left: 15px;
    font-size: 0.95em;
  }
  
  .activities-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
  }
  
  /* Statistics Section */
  .statistics-content {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 30px 0;
    color: #666;
    font-size: 0.85em;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .profile-section {
      flex-direction: column;
      text-align: center;
      gap: 20px;
    }
    
    .profile-image {
      width: 140px;
      height: 140px;
    }
    
    .social-links {
      justify-content: center;
    }
    
    .nav-links {
      gap: 10px;
    }
    
    .pub-td1 {
      width: 120px;
      padding: 10px;
    }
    
    .papericon {
      max-width: 100px;
    }
    
    section {
      margin-bottom: 30px;
    }
  }
  
  /* Smooth Scrolling */
  html {
    scroll-behavior: smooth;
  }
  
  /* Custom Scrollbar */
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--light-bg);
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 3px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
  }
  
  /* Compact text for better information density */
  p, li {
    margin-bottom: 0.5em;
  }
  
  /* Tighter spacing for publication entries */
  .pub-table tr {
    padding: 0;
  }
  
  .pub-td2 br {
    line-height: 1.3;
  }