/* ==========================================================================
   Custom Styles for Enhanced Visual Appeal
   ========================================================================== */

/* Publication Badges */
.publication-badge {
  display: inline-block;
  padding: 0.25em 0.6em;
  margin: 0.2em 0.2em 0.2em 0;
  font-size: 0.75em;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  background-color: #52adc8;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.publication-badge.icsme {
  background-color: #0066cc;
}

.publication-badge.tosem {
  background-color: #cc6600;
}

.publication-badge.icse {
  background-color: #009900;
}

.publication-badge.arxiv {
  background-color: #b31b1b;
}

/* Enhanced Publication Cards */
.archive__item {
  padding: 1.5em;
  margin-bottom: 1.5em;
  border-left: 4px solid #52adc8;
  background-color: #fafafa;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.archive__item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-left-color: #0066cc;
}

.archive__item-title a {
  color: #2c3e50;
  font-weight: 600;
  transition: color 0.3s ease;
}

.archive__item-title a:hover {
  color: #52adc8;
}

/* Enhanced About Page */
.page__content h2 {
  color: #2c3e50;
  border-bottom: 3px solid #52adc8;
  padding-bottom: 0.5em;
  margin-top: 1.5em;
  margin-bottom: 1em;
}

.page__content ul li {
  margin-bottom: 0.5em;
  line-height: 1.8;
}

.page__content strong {
  color: #2c3e50;
}

/* Quick Links Styling */
.quick-links {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin: 1em 0;
}

.quick-links li {
  padding: 0;
  border-bottom: none;
}

.quick-links a {
  padding: 0.6em 1.2em;
  background-color: #52adc8;
  color: white !important;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.quick-links a:hover {
  background-color: #0066cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Research Interest Cards */
.research-interest {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 1em;
  margin: 0.5em 0;
  border-radius: 8px;
  border-left: 4px solid #52adc8;
}

/* Enhanced Buttons */
.btn {
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Publication Links Styling */
.page__content a[href*="arxiv"],
.page__content a[href*="ieee"],
.page__content a[href*="acm"],
.page__content a[href*="dl.acm"] {
  display: inline-block;
  padding: 0.3em 0.8em;
  margin: 0.2em;
  background-color: #52adc8;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

.page__content a[href*="arxiv"]:hover,
.page__content a[href*="ieee"]:hover,
.page__content a[href*="acm"]:hover,
.page__content a[href*="dl.acm"]:hover {
  background-color: #0066cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Highlight Box for Important Information */
.highlight-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 1.5em;
  border-radius: 8px;
  margin: 1.5em 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.highlight-box h3 {
  color: #fff;
  margin-top: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.5em;
}

/* Stats/Counters */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  margin: 2em 0;
}

.stat-item {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 1em;
  background: #f8f9fa;
  border-radius: 8px;
  border-top: 4px solid #52adc8;
}

.stat-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #52adc8;
  display: block;
}

.stat-label {
  color: #666;
  font-size: 0.9em;
  margin-top: 0.5em;
}

/* Enhanced Typography */
.page__title {
  color: #2c3e50;
  font-weight: 700;
}

/* Icon Enhancements */
.page__content ul li::before {
  content: "▸";
  color: #52adc8;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

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

.archive__item {
  animation: fadeInUp 0.6s ease-out;
}

/* News Section Styles */
.news-highlights {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin: 1.5em 0;
}

.news-card {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  padding: 1.2em;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 8px;
  border-left: 4px solid #52adc8;
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-left-color: #0066cc;
}

.news-icon {
  font-size: 2em;
  line-height: 1;
  flex-shrink: 0;
}

.news-text {
  flex: 1;
  line-height: 1.6;
}

.news-text strong {
  color: #2c3e50;
}

/* News Timeline Page */
.news-timeline {
  position: relative;
  padding-left: 2em;
  margin: 2em 0;
}

.news-timeline::before {
  content: '';
  position: absolute;
  left: 0.5em;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #52adc8, #0066cc);
  border-radius: 2px;
}

.news-item {
  position: relative;
  margin-bottom: 2.5em;
  padding-left: 2em;
}

.news-item::before {
  content: '';
  position: absolute;
  left: -1.75em;
  top: 0.3em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #52adc8;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #52adc8;
}

.news-date {
  font-weight: 600;
  color: #52adc8;
  font-size: 0.9em;
  margin-bottom: 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-content {
  background: #f8f9fa;
  padding: 1.5em;
  border-radius: 8px;
  border-left: 4px solid #52adc8;
  transition: all 0.3s ease;
}

.news-content:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-left-color: #0066cc;
}

.news-content h3 {
  margin-top: 0;
  color: #2c3e50;
  font-size: 1.2em;
}

.news-content p {
  margin-bottom: 0;
  color: #555;
  line-height: 1.7;
}

/* Button Enhancements */
.btn--primary {
  background-color: #52adc8;
  color: #fff;
  border: none;
  padding: 0.8em 1.5em;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn--primary:hover {
  background-color: #0066cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* X (Twitter) Icon Styling */
.x-icon {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  display: inline-block;
  fill: currentColor;
}

.social-icons .x-icon {
  fill: #1da1f2; /* Twitter/X blue color */
}

.btn--twitter .x-icon {
  fill: #fff;
}

.author__urls-wrapper .x-icon {
  fill: #1da1f2;
}

/* ORCID Link Styling */
.author__urls-wrapper a[href*="orcid"] {
  transition: all 0.3s ease;
}

.author__urls-wrapper a[href*="orcid"]:hover {
  opacity: 0.8;
  transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .stats-container {
    flex-direction: column;
  }
  
  .archive__item {
    padding: 1em;
  }
  
  .news-timeline {
    padding-left: 1.5em;
  }
  
  .news-item {
    padding-left: 1.5em;
  }
  
  .news-card {
    flex-direction: column;
    text-align: center;
  }
  
  .news-icon {
    margin: 0 auto;
  }
}

