/* Modern Professional Theme Enhancements */

/* Improved Typography */
body {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: #2c3e50;
}

/* Enhanced Section Headers with Accent Line */
.lined::after {
  background: linear-gradient(90deg, #dc3545 0%, #dc354580 100%);
  height: 3px;
}

/* Timeline Enhancements */
.timeline-arrow {
  background: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.timeline-item {
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(5px);
}

.timeline-item:hover .timeline-arrow {
  box-shadow: 0 0 0 5px rgba(220, 53, 69, 0.2);
}

/* Card-like appearance for timeline items */
.timeline .row {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.timeline-item:hover .row {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Enhanced Hero Section */
#hero {
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #281818 0%, #3a2828 100%);
  z-index: 0;
}

#hero .container {
  position: relative;
  z-index: 1;
}

/* Section Headers Enhancement */
section header {
  position: relative;
}

section header p {
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 0.875rem;
}

/* Contact Items Enhancement */
.contact-item {
  transition: all 0.3s ease;
  border-radius: 8px;
  border: 1px solid transparent;
}

.contact-item:hover {
  border-color: #dc3545;
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(220, 53, 69, 0.15) !important;
}

/* Skill Pills/Tags */
.skill-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  margin: 0.25rem;
  background: #f8f9fa;
  border-radius: 20px;
  font-size: 0.875rem;
  color: #495057;
  border: 1px solid #dee2e6;
  transition: all 0.2s ease;
}

.skill-tag:hover {
  background: #dc3545;
  color: white;
  border-color: #dc3545;
  transform: translateY(-2px);
}

/* Publication & Awards Cards */
.publication-card, .award-card {
  background: white;
  border-left: 3px solid #dc3545;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.publication-card:hover, .award-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

/* Section Dividers */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #dc3545 50%, transparent 100%);
  margin: 2rem 0;
}

/* Enhanced Footer */
footer {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

/* Duration Badge Styling */
.duration-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6c757d;
  background: #f8f9fa;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  margin-left: 0.5rem;
  border: 1px solid #dee2e6;
  white-space: nowrap;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .text-xl {
    font-size: 2rem !important;
  }
  
  .timeline-item:hover {
    transform: none;
  }
  
  .duration-badge {
    display: block;
    margin-left: 0;
    margin-top: 0.25rem;
    width: fit-content;
  }
}