/*--------------------------------------------------------------
# Resume Page Redesign CSS
# TM Studio Premium Dual Timelines & Custom Skills Styling
--------------------------------------------------------------*/

.resume-section-wrapper {
  background-color: var(--background-color);
  background-image: 
    radial-gradient(circle at 50% 20%, rgba(19, 135, 193, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(168, 85, 247, 0.04) 0%, transparent 45%);
  padding: 80px 0;
}

/* Glassmorphic Columns */
.resume-card {
  background: rgba(20, 31, 38, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 45px 40px;
  height: 100%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.resume-card:hover {
  border-color: rgba(19, 135, 193, 0.3);
  box-shadow: 0 20px 45px rgba(19, 135, 193, 0.15);
  transform: translateY(-5px);
}

.resume-card-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 35px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: -0.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.resume-card-title span.title-text {
  background: linear-gradient(135deg, #ffffff, var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Vertical Timeline Track */
.timeline-wrapper {
  position: relative;
  padding-left: 35px;
  border-left: 2px solid rgba(255, 255, 255, 0.06);
  margin-left: 10px;
}

.timeline-item {
  position: relative;
  margin-bottom: 35px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Timeline Glowing Nodes */
.timeline-item::before {
  content: "";
  position: absolute;
  left: -46px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--background-color);
  border: 3px solid var(--accent-color);
  box-shadow: 0 0 12px rgba(19, 135, 193, 0.6);
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-item:hover::before {
  background: var(--accent-color);
  transform: scale(1.25);
  box-shadow: 0 0 15px rgba(19, 135, 193, 0.9);
}

.timeline-item h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 6px;
  line-height: 1.3;
}

.timeline-item h5 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-color);
  background: rgba(19, 135, 193, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.timeline-item .company {
  font-size: 0.9rem;
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 12px;
}

.timeline-item ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.timeline-item ul li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 6px;
}

.timeline-item ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 1.1rem;
  line-height: 1;
}

/* Skills subsection inside timeline */
.skills-block {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.skills-block h4.block-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.skill-track-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  margin-bottom: 8px;
}

.skill-track-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: visible;
}

.skill-track-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), #00f2fe);
  border-radius: 10px;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

@media (max-width: 991.98px) {
  .resume-card {
    padding: 30px 20px;
  }
}
