/* Benchmark Page Styles */
.benchmark-page {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.benchmark-hero {
  background: linear-gradient(135deg, #013830 0%, #0a4a3f 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.benchmark-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.benchmark-hero .section-title {
  position: relative;
  z-index: 2;
}

.benchmark-hero .big-title {
  color: white;
  margin-bottom: 20px;
}

.benchmark-hero .text-color {
  color: rgb(0,176,17);
  text-shadow: 0 0 10px rgba(0,176,17,0.5);
}

.benchmark-hero .title-para {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* Benchmark Content Section */
.benchmark-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  min-height: 0; /* Important for flex child */
}

.benchmark-content .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0; /* Important for flex child */
}

.tab-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0; /* Important for flex child */
}

.tab-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0; /* Important for flex child */
}

.tab-pane.active {
  display: flex !important;
}

/* Tab Styles */
.benchmark-tabs {
  background: white;
  border-radius: 15px;
  padding: 5px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  max-width: 500px;
  margin: 20px auto;
}

.benchmark-tabs .nav-tabs {
  border: none;
  background: transparent;
}

.benchmark-tabs .nav-item {
  flex: 1;
}

.benchmark-tabs .nav-link {
  border: none;
  background: transparent;
  color: #6c757d;
  font-weight: 500;
  padding: 15px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.benchmark-tabs .nav-link:hover {
  color: #013830;
  background: rgba(1, 56, 48, 0.1);
}

.benchmark-tabs .nav-link.active {
  background: #013830;
  color: white;
  box-shadow: 0 4px 15px rgba(1, 56, 48, 0.3);
}

.benchmark-tabs .nav-link i {
  font-size: 18px;
}

/* Timeline Styles */
.timeline-container {
  flex: 1;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-radius: 28px;
  padding: 20px 0 0 40px;
  box-shadow: 
    0 24px 48px rgba(0, 0, 0, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #013830 0%, rgb(0,176,17) 50%, #013830 100%);
  box-shadow: 0 2px 8px rgba(0,176,17,0.3);
}

.timeline-tracker {
  flex: 1;
  position: relative;
  padding-left: 0;
  overflow-y: auto;
  overflow-x: visible;
  scrollbar-width: thin;
  scrollbar-color: rgba(1, 56, 48, 0.3) transparent;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}

.timeline-metric-tiles {
  margin-top: 30px;
  padding: 30px 0 80px 0;
  border-top: 2px solid rgba(1, 56, 48, 0.1);
}

.timeline-metric-tiles .metric-tile {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  border: 2px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.08),
    0 6px 20px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.4);
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: slideInUpFade 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.timeline-metric-tiles .row > div:nth-child(1) .metric-tile {
  animation-delay: 0.2s;
}

.timeline-metric-tiles .row > div:nth-child(2) .metric-tile {
  animation-delay: 0.4s;
}

.timeline-metric-tiles .metric-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #013830 0%, rgb(0,176,17) 50%, #013830 100%);
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 2px 8px rgba(0,176,17,0.3);
}

.timeline-metric-tiles .metric-tile::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.timeline-metric-tiles .metric-tile:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 10px 30px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.7);
}

.timeline-metric-tiles .metric-tile:hover::before {
  transform: scaleX(1);
}

.timeline-metric-tiles .metric-tile:hover::after {
  opacity: 1;
}

.timeline-metric-tiles .metric-tile.primary {
  background: linear-gradient(135deg, rgba(1, 56, 48, 0.95) 0%, rgba(10, 74, 63, 0.95) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: white;
  border-color: rgba(0, 176, 17, 0.3);
}

.timeline-metric-tiles .metric-tile.primary::before {
  background: linear-gradient(90deg, rgba(0, 176, 17, 0.8) 0%, rgba(0, 176, 17, 1) 50%, rgba(0, 176, 17, 0.8) 100%);
}

.timeline-metric-tiles .metric-tile.secondary {
  background: linear-gradient(135deg, rgba(0, 176, 17, 0.95) 0%, rgba(0, 160, 21, 0.95) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: white;
  border-color: rgba(1, 56, 48, 0.3);
}

.timeline-metric-tiles .metric-tile.secondary::before {
  background: linear-gradient(90deg, rgba(1, 56, 48, 0.8) 0%, rgba(1, 56, 48, 1) 50%, rgba(1, 56, 48, 0.8) 100%);
}

.timeline-metric-tiles .metric-icon {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: iconPulse 2s ease-in-out infinite;
}

.timeline-metric-tiles .metric-icon i {
  font-size: 56px;
  opacity: 0.9;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-metric-tiles .metric-tile:hover .metric-icon i {
  transform: scale(1.15) rotate(5deg);
  opacity: 1;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.timeline-metric-tiles .metric-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.timeline-metric-tiles .metric-value {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
  color: inherit;
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  display: inline-block;
}

.timeline-metric-tiles .metric-tile:hover .metric-value {
  transform: scale(1.1);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.timeline-metric-tiles .metric-label {
  font-size: 15px;
  opacity: 0.95;
  margin: 0;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-metric-tiles .metric-tile:hover .metric-label {
  opacity: 1;
  letter-spacing: 0.5px;
}

@keyframes slideInUpFade {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes dotGlow {
  0%, 100% {
    box-shadow: 
      0 0 0 10px rgba(0, 176, 17, 0.15),
      0 8px 20px rgba(0, 176, 17, 0.25),
      0 16px 40px rgba(0, 176, 17, 0.2),
      0 0 40px rgba(0, 176, 17, 0.4),
      inset 0 2px 2px rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 
      0 0 0 14px rgba(0, 176, 17, 0.25),
      0 10px 24px rgba(0, 176, 17, 0.35),
      0 20px 48px rgba(0, 176, 17, 0.3),
      0 0 48px rgba(0, 176, 17, 0.6),
      inset 0 2px 2px rgba(255, 255, 255, 0.4);
  }
}

/* Tooltip Styles */
.timeline-icon-wrapper .tooltip-text {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(4px) scale(1);
  background: rgba(1, 56, 48, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 300px;
  min-width: 200px;
  white-space: normal;
  text-align: center;
  box-shadow: 
    0 8px 10px rgba(0, 0, 0, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform-origin: center center;
  z-index: 99999;
  word-wrap: break-word;
}

.timeline-icon-wrapper:hover .tooltip-text {
  opacity: 1;
  transform: translateY(-50%) translateX(0) scale(1);
}

.timeline-icon-wrapper .tooltip-arrow {
  position: absolute;
  right: calc(100% + 4px);
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 6px solid rgba(1, 56, 48, 0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100000;
}

.timeline-icon-wrapper:hover .tooltip-arrow {
  opacity: 1;
  transform: translateY(-50%);
}

/* First tooltip positioned at top */
.timeline-item:first-child .timeline-icon-wrapper .tooltip-text {
  right: auto;
  left: 50%;
  top: auto;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(4px) scale(1);
}

.timeline-item:first-child .timeline-icon-wrapper:hover .tooltip-text {
  transform: translateX(-50%) translateY(0) scale(1);
}

.timeline-item:first-child .timeline-icon-wrapper .tooltip-arrow {
  right: auto;
  left: 50%;
  top: auto;
  bottom: calc(100% + 4px);
  transform: translateX(-50%);
  border-top: 6px solid rgba(1, 56, 48, 0.98);
  border-bottom: none;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
}

.timeline-item:first-child .timeline-icon-wrapper:hover .tooltip-arrow {
  transform: translateX(-50%);
}

/* All other tooltips positioned at bottom */
.timeline-item:not(:first-child) .timeline-icon-wrapper .tooltip-text {
  right: auto;
  left: 50%;
  top: calc(100% + 12px);
  bottom: auto;
  transform: translateX(-50%) translateY(-4px) scale(1);
}

.timeline-item:not(:first-child) .timeline-icon-wrapper:hover .tooltip-text {
  transform: translateX(-50%) translateY(0) scale(1);
}

.timeline-item:not(:first-child) .timeline-icon-wrapper .tooltip-arrow {
  right: auto;
  left: 50%;
  top: calc(100% + 4px);
  bottom: auto;
  transform: translateX(-50%);
  border-top: none;
  border-bottom: 6px solid rgba(1, 56, 48, 0.98);
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
}

.timeline-item:not(:first-child) .timeline-icon-wrapper:hover .tooltip-arrow {
  transform: translateX(-50%);
}

.timeline-tracker::-webkit-scrollbar {
  width: 6px;
}

.timeline-tracker::-webkit-scrollbar-track {
  background: transparent;
}

.timeline-tracker::-webkit-scrollbar-thumb {
  background: rgba(1, 56, 48, 0.3);
  border-radius: 3px;
}

.timeline-tracker::-webkit-scrollbar-thumb:hover {
  background: rgba(1, 56, 48, 0.5);
}

.timeline-tracker::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, 
    rgba(1, 56, 48, 0.1) 0%, 
    rgba(0,176,17, 0.3) 25%, 
    rgba(0,176,17, 0.6) 50%, 
    rgba(0,176,17, 0.3) 75%, 
    rgba(1, 56, 48, 0.1) 100%);
  z-index: 0;
}

.timeline-item {
  position: relative;
  margin-bottom: 35px;
  padding-left: 60px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }
.timeline-item:nth-child(7) { animation-delay: 0.7s; }
.timeline-item:nth-child(8) { animation-delay: 0.8s; }
.timeline-item:nth-child(9) { animation-delay: 0.9s; }

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 35px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgb(0, 176, 17);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 4px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 0 0 10px rgba(0, 176, 17, 0.15),
    0 8px 20px rgba(0, 176, 17, 0.25),
    0 16px 40px rgba(0, 176, 17, 0.2),
    0 0 40px rgba(0, 176, 17, 0.4),
    inset 0 2px 2px rgba(255, 255, 255, 0.3);
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  animation: dotGlow 3s ease-in-out infinite;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.timeline-item.completed .timeline-dot {
  background: rgb(0, 176, 17);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 0 0 10px rgba(0, 176, 17, 0.2),
    0 8px 20px rgba(0, 176, 17, 0.3),
    0 16px 40px rgba(0, 176, 17, 0.25),
    0 0 48px rgba(0, 176, 17, 0.4),
    inset 0 2px 2px rgba(255, 255, 255, 0.4);
  animation: dotGlow 3s ease-in-out infinite, pulse 2s infinite;
}

.timeline-item:hover .timeline-dot {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 
    0 0 0 12px rgba(0, 176, 17, 0.2),
    0 10px 24px rgba(0, 176, 17, 0.3),
    0 20px 48px rgba(0, 176, 17, 0.25),
    0 0 48px rgba(0, 176, 17, 0.5),
    inset 0 2px 2px rgba(255, 255, 255, 0.5);
}

.timeline-icon-column {
  width: 120px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 12px;
  position: relative;
  z-index: 10;
  overflow: visible;
}

.timeline-icon-column::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  width: 60px;
  height: 48px;
  background: #f8f9fa;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
}

.timeline-icon-column::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 60px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, 
    transparent 0%, 
    transparent calc(12px - 1px),
    rgba(248, 249, 250, 1) calc(12px - 1px),
    rgba(248, 249, 250, 1) calc(36px + 1px),
    transparent calc(36px + 1px),
    transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.timeline-icon-wrapper {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 4px solid rgb(0, 176, 17);
  box-shadow: 
    0 4px 12px rgba(0, 176, 17, 0.2),
    0 2px 6px rgba(0, 176, 17, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 5;
  cursor: help;
  margin-top: 0;
  margin-left: 0;
  overflow: visible;
}

.timeline-icon-wrapper::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: #ffffff;
  border-radius: 50%;
  z-index: -1;
  box-shadow: 0 0 0 2px #ffffff;
}

.timeline-icon-wrapper i {
  font-size: 20px;
  color: rgb(0, 176, 17);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-item:hover .timeline-icon-wrapper {
  transform: scale(1.1);
  box-shadow: 
    0 6px 16px rgba(0, 176, 17, 0.3),
    0 3px 8px rgba(0, 176, 17, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgb(0, 176, 17);
}

.timeline-item:hover .timeline-icon-wrapper i {
  transform: scale(1.15);
  color: rgb(0, 176, 17);
}

.timeline-item.completed .timeline-icon-wrapper {
  background: #ffffff;
  border-color: rgb(0, 176, 17);
  box-shadow: 
    0 4px 12px rgba(0, 176, 17, 0.25),
    0 2px 6px rgba(0, 176, 17, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.timeline-item.completed .timeline-icon-wrapper i {
  color: rgb(0, 176, 17);
}

.timeline-content {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.06),
    0 4px 16px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  width: 60%;
  flex-shrink: 0;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(1, 56, 48, 0.3) 50%, 
    transparent 100%);
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-content::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    transparent 50%,
    rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-item.completed .timeline-content {
  background: rgba(248, 255, 248, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: rgba(0, 176, 17, 0.25);
  box-shadow: 
    0 8px 32px rgba(0, 176, 17, 0.08),
    0 4px 16px rgba(0, 176, 17, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.5);
}

.timeline-item.completed .timeline-content::before {
  transform: scaleX(1);
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0, 176, 17, 0.4) 50%, 
    transparent 100%);
}

.timeline-content:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.6);
}

.timeline-content:hover::after {
  opacity: 1;
}

.timeline-item.completed .timeline-content:hover {
  background: rgba(248, 255, 248, 0.9);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-color: rgba(0, 176, 17, 0.35);
  box-shadow: 
    0 16px 48px rgba(0, 176, 17, 0.12),
    0 8px 24px rgba(0, 176, 17, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.6);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 16px;
}

.timeline-label {
  font-weight: 700;
  color: #013830;
  font-size: 22px;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.timeline-value-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.step-elapsed-label {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1;
}

.timeline-value {
  background: rgba(1, 56, 48, 0.85);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 4px 12px rgba(1, 56, 48, 0.25),
    0 2px 6px rgba(1, 56, 48, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-value:hover {
  background: rgba(1, 56, 48, 0.95);
  transform: translateY(-1px);
  box-shadow: 
    0 6px 16px rgba(1, 56, 48, 0.3),
    0 3px 8px rgba(1, 56, 48, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.timeline-item.completed .timeline-value {
  background: rgba(0, 176, 17, 0.85);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 4px 12px rgba(0, 176, 17, 0.3),
    0 2px 6px rgba(0, 176, 17, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.timeline-item.completed .timeline-value:hover {
  background: rgba(0, 176, 17, 0.95);
  box-shadow: 
    0 6px 16px rgba(0, 176, 17, 0.35),
    0 3px 8px rgba(0, 176, 17, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.timeline-description {
  color: #64748b;
  font-size: 18px;
  margin: 0 0 16px 0;
  line-height: 1.6;
  font-weight: 400;
}

.timeline-timestamp {
  color: #013830;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  letter-spacing: 0.3px;
  display: inline-block;
}

.timeline-item.completed .timeline-timestamp {
  color: rgb(0, 176, 17);
  background: rgba(0, 176, 17, 0.08);
  border-left-color: rgb(0, 176, 17);
}

.timeline-elapsed {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
  align-items: center;
}

/* Modern Table Styles */
.timeline-elapsed-table {
  width: 60%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 16px 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.06),
    0 4px 16px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-elapsed-table:hover {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.08),
    0 6px 20px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.timeline-elapsed-table thead {
  background: rgba(1, 56, 48, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.timeline-elapsed-table thead::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0, 176, 17, 0.4) 50%, 
    transparent 100%);
  opacity: 0.6;
}

.timeline-elapsed-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  color: #013830;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  border: none;
}

.timeline-elapsed-table th:first-child {
  border-top-left-radius: 16px;
}

.timeline-elapsed-table th:last-child {
  border-top-right-radius: 16px;
}

.timeline-elapsed-table tbody {
  background: transparent;
}

.timeline-elapsed-table tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(1, 56, 48, 0.06);
}

.timeline-elapsed-table tbody tr:last-child {
  border-bottom: none;
}

.timeline-elapsed-table tbody tr:hover {
  background: linear-gradient(135deg, rgba(248, 255, 248, 0.8) 0%, rgba(240, 255, 240, 0.6) 100%);
}

.timeline-elapsed-table td {
  padding: 18px 20px;
  font-size: 14px;
  color: #1e293b;
  border: none;
  vertical-align: middle;
}

.timeline-elapsed-table .timeline-value-cell {
  font-weight: 600;
  color: #013830;
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  letter-spacing: 0.3px;
  font-size: 13px;
}

.timeline-elapsed-table .elapsed-total-cell {
  font-weight: 700;
  color: #013830;
  font-size: 14px;
}

.timeline-item.completed .timeline-elapsed-table {
  background: rgba(248, 255, 248, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: rgba(0, 176, 17, 0.2);
}

.timeline-item.completed .timeline-elapsed-table thead {
  background: rgba(0, 176, 17, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.timeline-item.completed .timeline-elapsed-table th {
  color: rgb(0, 176, 17);
}

.timeline-item.completed .timeline-elapsed-table tbody tr:hover {
  background: linear-gradient(135deg, rgba(240, 255, 240, 0.9) 0%, rgba(232, 255, 232, 0.7) 100%);
}

.timeline-item.completed .timeline-elapsed-table .timeline-value-cell {
  color: rgb(0, 176, 17);
}

.timeline-item.completed .timeline-elapsed-table .elapsed-total-cell {
  color: rgb(0, 176, 17);
}

/* Hide timeline-elapsed-table on Utag.js Start Time card (first timeline item) */
.timeline-item:first-child .timeline-elapsed-table {
  display: none;
}

.elapsed-total {
  background: linear-gradient(135deg, #013830 0%, #0a4a3f 100%);
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 4px rgba(1, 56, 48, 0.2);
}

.elapsed-step {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 4px rgba(100, 116, 139, 0.2);
}

.timeline-item.completed .elapsed-step {
  background: linear-gradient(135deg, rgb(0,176,17) 0%, #00a015 100%);
  box-shadow: 0 1px 4px rgba(0,176,17,0.2);
}

/* Metrics Dashboard Styles */
.metrics-dashboard {
  flex: 1;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.metric-tile {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.metric-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #013830, rgb(0,176,17));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.metric-tile:hover::before {
  transform: scaleX(1);
}

.metric-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.metric-tile.primary {
  background: linear-gradient(135deg, #013830 0%, #0a4a3f 100%);
  color: white;
}

.metric-tile.secondary {
  background: linear-gradient(135deg, rgb(0,176,17) 0%, #00a015 100%);
  color: white;
}

.metric-icon {
  margin-bottom: 20px;
}

.metric-icon i {
  font-size: 48px;
  opacity: 0.8;
}

.metric-value {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: inherit;
}

.metric-label {
  font-size: 16px;
  opacity: 0.9;
  margin: 0;
  line-height: 1.4;
}

/* Chart Container Styles */
.chart-container {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 30px;
  border: 1px solid #e9ecef;
  height: 320px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.chart-container-bottlenecks {
  height: 540px;
}

/* Split Chart Tabs */
.split-chart-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  justify-content: center;
  background: white;
  padding: 4px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.split-tab-btn {
  flex: 1;
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: #6c757d;
  font-weight: 500;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Roboto', sans-serif;
}

.split-tab-btn:hover {
  color: #013830;
  background: rgba(1, 56, 48, 0.05);
}

.split-tab-btn.active {
  background: #013830;
  color: white;
  box-shadow: 0 2px 8px rgba(1, 56, 48, 0.2);
}

.split-chart-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-container canvas {
  height: 400px;
  max-height: 400px;
  width: 100% !important;
}

#detailedSplitChart {
  max-height: 350px !important;
  height: auto !important;
}

.chart-title {
  color: #013830;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0,176,17,0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0,176,17,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0,176,17,0);
  }
}

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

/* Loading States */
.loading {
  position: relative;
  pointer-events: none;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(1, 56, 48, 0.3);
  border-radius: 50%;
  border-top-color: #013830;
  animation: spin 1s ease-in-out infinite;
  margin-right: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Icon Styles - Using existing icon font */
.my-icon {
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Responsive Design */
@media (max-width: 768px) {
  .benchmark-content {
    padding: 0 10px;
  }
  
  .benchmark-tabs {
    max-width: 100%;
  }
  
  .benchmark-tabs .nav-link {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .timeline-container {
    padding: 30px 20px;
    border-radius: 20px;
  }
  
  .timeline-tracker {
    padding-left: 0;
  }
  
  .timeline-tracker::before {
    left: 60px;
  }
  
  .timeline-item {
    padding-left: 20px;
    gap: 20px;
  }
  
  .timeline-icon-column {
    width: 80px;
  }
  
  .timeline-icon-wrapper {
    width: 40px;
    height: 40px;
  }
  
  .timeline-icon-wrapper i {
    font-size: 16px;
  }
  
  .timeline-dot {
    width: 52px;
    height: 52px;
    top: 20px;
  }
  
  .timeline-content {
    width: calc(100% - 100px);
  }
  
  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .timeline-value-container {
    align-items: flex-start;
  }
  
  .step-elapsed-label {
    font-size: 10px;
  }
  
  .timeline-content {
    padding: 20px;
  }
  
  .timeline-label {
    font-size: 16px;
  }
  
  .timeline-value {
    padding: 5px 12px;
    font-size: 12px;
  }
  
  .timeline-elapsed {
    gap: 8px;
  }
  
  .elapsed-total,
  .elapsed-step {
    padding: 2px 6px;
    font-size: 10px;
  }
  
  .timeline-elapsed-table {
    width: 100%;
    margin: 12px 0;
    border-radius: 12px;
  }
  
  .timeline-elapsed-table th {
    padding: 12px 16px;
    font-size: 11px;
  }
  
  .timeline-elapsed-table td {
    padding: 14px 16px;
    font-size: 12px;
  }
  
  .timeline-elapsed-table .timeline-value-cell {
    font-size: 11px;
  }
  
  .timeline-elapsed-table .elapsed-total-cell {
    font-size: 12px;
  }
  
  .metrics-dashboard {
    padding: 20px;
  }
  
  .metric-tile {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .metric-value {
    font-size: 28px;
  }
  
  .chart-container {
    padding: 20px;
    height: 300px;
  }
  
  .chart-container-bottlenecks {
    height: 400px;
  }
  
  .split-chart-tabs {
    margin-bottom: 15px;
    padding: 3px;
  }
  
  .split-tab-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .timeline-metric-tiles {
    margin-top: 20px;
    padding-top: 20px;
  }
  
  .timeline-metric-tiles .metric-tile {
    padding: 30px 20px;
    margin-bottom: 20px;
  }
  
  .timeline-metric-tiles .metric-icon i {
    font-size: 42px;
  }
  
  .timeline-metric-tiles .metric-value {
    font-size: 32px;
  }
  
  .timeline-metric-tiles .metric-label {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .benchmark-hero .big-title {
    font-size: 28px;
  }
  
  .benchmark-hero .title-para {
    font-size: 16px;
  }
  
  .timeline-container {
    padding: 20px 15px;
    border-radius: 16px;
  }
  
  .timeline-tracker {
    padding-left: 0;
  }
  
  .timeline-tracker::before {
    left: 46px;
  }
  
  .timeline-item {
    padding-left: 15px;
    gap: 15px;
  }
  
  .timeline-icon-column {
    width: 60px;
  }
  
  .timeline-icon-wrapper {
    width: 32px;
    height: 32px;
  }
  
  .timeline-icon-wrapper i {
    font-size: 14px;
  }
  
  .timeline-dot {
    width: 44px;
    height: 44px;
    top: 16px;
  }
  
  .timeline-content {
    width: calc(100% - 75px);
    padding: 16px;
  }
  
  .timeline-label {
    font-size: 15px;
  }
  
  .step-elapsed-label {
    font-size: 9px;
  }
  
  .timeline-value {
    padding: 4px 10px;
    font-size: 11px;
  }
  
  .timeline-elapsed {
    gap: 6px;
    margin-bottom: 6px;
  }
  
  .elapsed-total,
  .elapsed-step {
    padding: 2px 5px;
    font-size: 9px;
  }
  
  .timeline-elapsed-table {
    width: 100%;
    margin: 10px 0;
    border-radius: 10px;
  }
  
  .timeline-elapsed-table th {
    padding: 10px 12px;
    font-size: 10px;
  }
  
  .timeline-elapsed-table td {
    padding: 12px;
    font-size: 11px;
  }
  
  .timeline-elapsed-table .timeline-value-cell {
    font-size: 10px;
  }
  
  .timeline-elapsed-table .elapsed-total-cell {
    font-size: 11px;
  }
  
  .metric-tile {
    padding: 15px;
  }
  
  .metric-value {
    font-size: 24px;
  }
  
  .chart-container {
    height: 280px;
    padding: 15px;
  }
  
  .chart-container-bottlenecks {
    height: 350px;
  }
  
  .split-chart-tabs {
    margin-bottom: 12px;
    padding: 2px;
  }
  
  .split-tab-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .chart-container canvas {
    height: 300px !important;
    max-height: 300px !important;
  }
  
  .timeline-metric-tiles {
    margin-top: 15px;
    padding-top: 15px;
  }
  
  .timeline-metric-tiles .metric-tile {
    padding: 25px 15px;
    margin-bottom: 15px;
    border-radius: 18px;
  }
  
  .timeline-metric-tiles .metric-icon {
    margin-bottom: 18px;
  }
  
  .timeline-metric-tiles .metric-icon i {
    font-size: 36px;
  }
  
  .timeline-metric-tiles .metric-value {
    font-size: 28px;
  }
  
  .timeline-metric-tiles .metric-label {
    font-size: 12px;
  }
} 