/* ============================================
   Academic & Professional Minimalist Style
   ============================================ */

:root {
  /* Color Palette - Academic & Professional */
  --primary-color: #1e3a8a;        /* Deep Academic Blue */
  --secondary-color: #334155;      /* Slate Gray */
  --accent-color: #0ea5e9;         /* Sky Blue */
  --text-dark: #1f2937;            /* Dark Gray */
  --text-light: #6b7280;           /* Light Gray */
  --border-color: #e5e7eb;         /* Light Border */
  --bg-light: #f9fafb;             /* Off White */
  --bg-white: #ffffff;             /* Pure White */
  
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
}

/* ============================================
   Hero Section - Clean & Minimalist
   ============================================ */

.jumbotron {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0;
  margin-top: 50px;
  margin-bottom: 0;
}

.profile-section {
  display: flex;
  gap: var(--spacing-2xl);
  align-items: flex-start;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Left Column - Photo & Key Info */
.profile-left {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.profile-photo {
  width: 200px;
  height: auto;
  max-height: 280px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  object-fit: contain;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  display: block;
}

.profile-photo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Profile Badges - Clean Style */
.profile-badges {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--bg-light);
  border-left: 3px solid var(--accent-color);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.badge-item:hover {
  background-color: var(--bg-white);
  border-left-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.badge-item i {
  color: var(--primary-color);
  font-size: 14px;
}

.badge-item.highlight {
  border-left-color: #f59e0b;
  background-color: #fffbeb;
}

.badge-item.highlight i {
  color: #f59e0b;
}

/* Profile Stats - Minimal Cards */
.profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  padding: var(--spacing-md);
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.2s ease;
}

.stat-card:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Contact Button */
.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: var(--primary-color);
  color: var(--bg-white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn-contact:hover {
  background-color: #1e40af;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--bg-white);
}

.btn-contact i {
  font-size: 14px;
}

/* Right Column - Main Content */
.profile-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.profile-intro {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.profile-intro p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
}

.profile-intro strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Highlight Box */
.highlight-box {
  padding: var(--spacing-lg);
  background-color: #eff6ff;
  border-left: 4px solid var(--accent-color);
  border-radius: var(--radius-md);
}

.highlight-box h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.highlight-box h4 i {
  font-size: 16px;
}

.highlight-box p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Research Interests */
.research-interests {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.interest-tag {
  display: inline-block;
  padding: 6px 12px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-dark);
  transition: all 0.2s ease;
  cursor: default;
}

.interest-tag:hover {
  border-color: var(--accent-color);
  background-color: #eff6ff;
  color: var(--accent-color);
}

/* Hiring Banner */
.hiring-banner {
  padding: var(--spacing-lg);
  background-color: #fef3c7;
  border-radius: var(--radius-md);
  border-left: 4px solid #f59e0b;
}

.hiring-banner h4 {
  font-size: 14px;
  font-weight: 600;
  color: #92400e;
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.hiring-banner h4 i {
  font-size: 16px;
}

.hiring-banner p {
  font-size: 14px;
  line-height: 1.6;
  color: #78350f;
}

.hiring-banner a {
  color: #d97706;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.hiring-banner a:hover {
  color: #b45309;
}

/* ============================================
   Research Work Section
   ============================================ */

.page-header {
  margin-top: var(--spacing-2xl);
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-md);
  border-bottom: 2px solid var(--border-color);
}

.page-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.page-header h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
}

.research-card {
  margin-bottom: var(--spacing-2xl);
  padding: var(--spacing-xl);
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.research-card:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-md);
}

.research-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.research-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #eff6ff;
  border-radius: var(--radius-md);
  color: var(--accent-color);
  font-size: 20px;
}

.research-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
}

.research-content {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: var(--spacing-xl);
  align-items: start;
}

.research-image {
  width: 100%;
}

.research-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.research-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.research-text p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dark);
}

.research-text a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  border-bottom: 1px solid transparent;
}

.research-text a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* ============================================
   Publications Section
   ============================================ */

.publication-item {
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-left: 3px solid transparent;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.publication-item:hover {
  border-left-color: var(--accent-color);
  background-color: #f9fafb;
  box-shadow: var(--shadow-sm);
}

.publication-year {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 2px solid var(--border-color);
}

.publication-item li {
  list-style: none;
  margin: var(--spacing-md) 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
}

.publication-item a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.publication-item a:hover {
  color: var(--primary-color);
}

/* ============================================
   News Section
   ============================================ */

.news-container {
  margin-top: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.news-item {
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  background-color: var(--bg-white);
  border-left: 3px solid var(--accent-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.news-item:hover {
  background-color: #f9fafb;
  box-shadow: var(--shadow-sm);
}

.news-date {
  font-weight: 600;
  color: var(--primary-color);
}

.news-item a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.news-item a:hover {
  color: var(--primary-color);
}

/* ============================================
   Contact Section
   ============================================ */

.contact-section {
  margin-top: var(--spacing-2xl);
  padding: var(--spacing-xl);
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  text-align: center;
}

.contact-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.contact-section p {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
}

.contact-email {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.contact-email:hover {
  background-color: #1e40af;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 992px) {
  .profile-section {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .profile-left {
    flex: 1;
  }
  
  .profile-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .research-content {
    grid-template-columns: 1fr;
  }
  
  .research-image {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .jumbotron {
    padding: 40px 0;
  }
  
  .profile-left {
    flex: 1;
    align-items: center;
  }
  
  .profile-photo {
    width: 160px;
    height: 160px;
  }
  
  .profile-stats {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
  
  .page-header h2 {
    font-size: 24px;
  }
  
  .page-header h4 {
    font-size: 16px;
  }
  
  .research-card {
    padding: var(--spacing-lg);
  }
  
  .research-content {
    grid-template-columns: 1fr;
  }
  
  .publication-item li {
    font-size: 13px;
  }
  
  .interest-tag {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .profile-stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .stat-number {
    font-size: 20px;
  }
  
  .stat-label {
    font-size: 11px;
  }
  
  .badge-item {
    font-size: 12px;
    padding: 8px 10px;
  }
  
  .page-header h2 {
    font-size: 20px;
  }
  
  .research-title {
    font-size: 16px;
  }
}

/* ============================================
   Utility Classes
   ============================================ */

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

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

.text-muted {
  color: var(--text-light);
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
  .navbar,
  .btn-contact,
  .hiring-banner {
    display: none;
  }
  
  .profile-section {
    gap: var(--spacing-lg);
  }
}
