/* =============================================
   Experience Page — Navy Mint Theme
   Mobile-first, fluid typography with clamp()
   ============================================= */


/* ── Shared utilities ── */

.ex-label {
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(0.68rem, 1.5vw, 0.78rem);
  color: #64ffda;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(100, 255, 218, 0.05);
  border: 1px solid rgba(100, 255, 218, 0.25);
  padding: 0.2rem 0.75rem;
  border-radius: 3px;
  margin-bottom: 0.65rem;
}

.exp-section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: #ccd6f6;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 2.5rem;
}


/* ── Page Header ── */

.exp-header-section {
  padding: 5rem 0 3rem;
  text-align: center;
  animation: fadeInUp 0.7s ease both;
}

.exp-headline {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 900;
  color: #ccd6f6;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.exp-subline {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: #8892b0;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}


/* ── Career Highlights ── */

.exp-highlights {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.highlight-card {
  background: #112240;
  border: 1px solid #233554;
  border-radius: 10px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.highlight-card:hover {
  border-color: rgba(100, 255, 218, 0.4);
  transform: translateY(-3px);
}

.highlight-value {
  display: block;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.highlight-label {
  font-size: clamp(0.65rem, 1.5vw, 0.72rem);
  color: #8892b0;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ══════════════════════════════════════
   TIMELINE
══════════════════════════════════════ */

.exp-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* The vertical line */
.exp-timeline {
  position: relative;
  padding-left: 2rem;
}

.exp-timeline::before {
  content: '';
  position: absolute;
  left: 0.35rem;
  top: 0.75rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom,
    #64ffda 0%,
    rgba(100, 255, 218, 0.3) 60%,
    transparent 100%
  );
}

/* Each role entry */
.exp-entry {
  position: relative;
  margin-bottom: 3rem;
}

.exp-entry:last-child {
  margin-bottom: 0;
}

/* Timeline dot */
.exp-entry-dot {
  position: absolute;
  left: -2.35rem;
  top: 1.6rem;
  width: 0.9rem;
  height: 0.9rem;
  background: #64ffda;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(100, 255, 218, 0.6);
  flex-shrink: 0;
}

/* Role card */
.exp-card {
  background: #112240;
  border: 1px solid #233554;
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2rem);
  transition: border-color 0.25s ease;
}

.exp-card:hover {
  border-color: rgba(100, 255, 218, 0.35);
}


/* ── Card header ── */

.exp-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.exp-company {
  font-size: clamp(0.82rem, 1.8vw, 0.9rem);
  font-weight: 700;
  color: #64ffda;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 0.02em;
}

.exp-separator {
  color: #233554;
}

.exp-location {
  font-size: clamp(0.75rem, 1.6vw, 0.82rem);
  color: #8892b0;
  font-family: 'Courier New', Courier, monospace;
}

.exp-location i {
  font-size: 0.75rem;
  margin-right: 0.2rem;
}

.exp-role-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.exp-role-title {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 900;
  color: #ccd6f6;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.exp-badge {
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(0.6rem, 1.3vw, 0.66rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 3px;
}

.exp-badge-current {
  color: #64ffda;
  background: rgba(100, 255, 218, 0.1);
  border: 1px solid rgba(100, 255, 218, 0.3);
}

.exp-badge-origin {
  color: #8892b0;
  background: rgba(136, 146, 176, 0.08);
  border: 1px solid rgba(136, 146, 176, 0.2);
}

.exp-dates {
  display: inline-block;
  font-size: clamp(0.72rem, 1.5vw, 0.8rem);
  color: #8892b0;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.exp-dates i {
  font-size: 0.72rem;
  margin-right: 0.25rem;
}

.exp-summary {
  font-size: clamp(0.88rem, 2vw, 0.97rem);
  color: #a8b2d8;
  line-height: 1.75;
  border-left: 3px solid rgba(100, 255, 218, 0.4);
  padding-left: 0.9rem;
  margin-bottom: 0;
}


/* ── Impact Metrics ── */

.exp-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.exp-metric {
  background: rgba(100, 255, 218, 0.04);
  border: 1px solid rgba(100, 255, 218, 0.18);
  border-radius: 8px;
  padding: 1rem 0.75rem;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.exp-metric:hover {
  background: rgba(100, 255, 218, 0.08);
  border-color: rgba(100, 255, 218, 0.35);
}

.metric-value {
  display: block;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 900;
  color: #64ffda;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.metric-label {
  font-size: clamp(0.6rem, 1.3vw, 0.68rem);
  color: #8892b0;
  font-family: 'Courier New', Courier, monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}


/* ── Achievement Bullets ── */

.exp-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.exp-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: clamp(0.85rem, 1.9vw, 0.95rem);
  color: #a8b2d8;
  line-height: 1.7;
}

.exp-bullets li:last-child {
  border-bottom: none;
}

.exp-bullet-icon {
  color: #64ffda;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.exp-bullets strong {
  color: #ccd6f6;
  font-weight: 700;
}


/* ── Tech Tags ── */

.exp-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.5rem;
}

.exp-tech-tags span {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(0.65rem, 1.4vw, 0.72rem);
  color: #64ffda;
  background: rgba(100, 255, 218, 0.06);
  border: 1px solid rgba(100, 255, 218, 0.2);
  padding: 0.18rem 0.6rem;
  border-radius: 3px;
  letter-spacing: 0.03em;
  transition: background 0.2s ease;
}

.exp-tech-tags span:hover {
  background: rgba(100, 255, 218, 0.12);
}


/* ══════════════════════════════════════
   EDUCATION
══════════════════════════════════════ */

.edu-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.edu-card {
  background: #112240;
  border: 1px solid #233554;
  border-radius: 12px;
  padding: clamp(1.5rem, 3.5vw, 2rem);
  height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.edu-card-active {
  border-color: rgba(100, 255, 218, 0.3);
}

.edu-card:hover {
  border-color: rgba(100, 255, 218, 0.45);
  transform: translateY(-3px);
}

.edu-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.edu-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(100, 255, 218, 0.08);
  border: 1px solid rgba(100, 255, 218, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edu-icon {
  font-size: 1.4rem;
  color: #64ffda;
}

.edu-status {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(0.6rem, 1.3vw, 0.68rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

.edu-current {
  color: #64ffda;
  background: rgba(100, 255, 218, 0.1);
  border: 1px solid rgba(100, 255, 218, 0.3);
}

.edu-completed {
  color: #ccd6f6;
  background: rgba(204, 214, 246, 0.07);
  border: 1px solid rgba(204, 214, 246, 0.2);
}

.edu-degree {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 900;
  color: #ccd6f6;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.edu-field {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 700;
  color: #64ffda;
  margin-bottom: 0.75rem;
}

.edu-school {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: #ccd6f6;
  margin-bottom: 0.35rem;
}

.edu-school i,
.edu-location-dates i {
  font-size: 0.8rem;
  color: #64ffda;
  margin-right: 0.25rem;
}

.edu-location-dates {
  font-size: clamp(0.72rem, 1.5vw, 0.8rem);
  color: #8892b0;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 0.03em;
  margin-bottom: 0.9rem;
}

.edu-note {
  font-size: clamp(0.82rem, 1.8vw, 0.9rem);
  color: #8892b0;
  line-height: 1.7;
  margin: 0;
  padding-left: 0.9rem;
  border-left: 2px solid rgba(100, 255, 218, 0.25);
}


/* ── CTA ── */

.exp-cta {
  padding: 5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.exp-cta-box {
  background: #112240;
  border: 1px solid #233554;
  border-radius: 16px;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.exp-cta-box h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  color: #ccd6f6;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.exp-cta-box p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #8892b0;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.exp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}


/* ── Responsive ── */

@media (max-width: 991px) {
  .exp-header-section {
    padding: 3.5rem 0 2rem;
  }
}

@media (max-width: 767px) {
  /* Tighten timeline on smaller screens */
  .exp-timeline {
    padding-left: 1.5rem;
  }

  .exp-entry-dot {
    left: -1.85rem;
  }
}

@media (max-width: 575px) {
  .exp-header-section {
    padding: 2.5rem 0 1.5rem;
  }

  /* Metrics: keep 3-column but reduce padding */
  .exp-metrics {
    gap: 0.5rem;
  }

  .exp-metric {
    padding: 0.75rem 0.5rem;
  }

  /* Full-width CTA buttons */
  .exp-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    text-align: center;
  }

  /* Hide timeline line on very small screens, full-width cards */
  .exp-timeline {
    padding-left: 0;
  }

  .exp-timeline::before {
    display: none;
  }

  .exp-entry-dot {
    display: none;
  }
}
