/* ==========================================================================
   VEEN Services & Tech Stack Matrix Styles (100% Light Mode Harmonious)
   Zero lag, GPU-friendly, pure CSS smooth rendering
   ========================================================================== */

:root {
  --showcase-bg: #F8FAF9;
  --showcase-card-bg: #FFFFFF;
  --showcase-border: rgba(17, 59, 58, 0.1);
  --showcase-teal: #113B3A;
  --showcase-emerald: #10B981;
  --showcase-text-primary: #0B2A29;
  --showcase-text-secondary: #475569;
}

/* --------------------------------------------------------------------------
   Shared Showcase Container
   -------------------------------------------------------------------------- */
.tech-showcase-wrapper {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--showcase-bg) 15%, var(--showcase-bg) 85%, #FFFFFF 100%);
  color: var(--showcase-text-primary);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--showcase-border);
  border-bottom: 1px solid var(--showcase-border);
}

/* --------------------------------------------------------------------------
   Section 1: Services Showcase Timeline (Replaces Fake Dates)
   -------------------------------------------------------------------------- */
.career-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 80px 20px 70px;
  max-width: 1440px;
  margin: 0 auto;
  z-index: 2;
  width: 100%;
}

.career-container {
  width: 100%;
  max-width: 1440px;
}

.career-header {
  text-align: center;
  margin-bottom: 48px;
}

.career-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(17, 59, 58, 0.05);
  border: 1px solid rgba(17, 59, 58, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--showcase-teal);
  letter-spacing: 0.3px;
  margin-bottom: 16px;
}

.career-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.career-header h2 {
  font-size: 38px;
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
  margin: 0;
  color: var(--showcase-teal);
  letter-spacing: -0.5px;
}

.career-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--showcase-text-secondary);
  max-width: 680px;
  margin: 14px auto 0;
  font-weight: 400;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 44px auto 0;
  max-width: 1360px;
  width: 100%;
  position: relative;
}

.career-grid::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(17, 59, 58, 0.04), rgba(16, 185, 129, 0.25), rgba(17, 59, 58, 0.04));
  z-index: 0;
  pointer-events: none;
}

.career-step-card {
  background: #FFFFFF;
  border: 1px solid rgba(17, 59, 58, 0.09);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 6px 24px rgba(17, 59, 58, 0.04);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.career-step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #113B3A, #D8F36A);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.career-step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(17, 59, 58, 0.22);
  box-shadow: 0 16px 36px -4px rgba(17, 59, 58, 0.09);
}

.career-step-card:hover::before {
  opacity: 1;
}

.career-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(17, 59, 58, 0.06);
}

.career-step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #113B3A;
  color: #D8F36A;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.career-step-card:hover .career-step-num-badge {
  background: #D8F36A;
  color: #113B3A;
  box-shadow: 0 4px 12px rgba(216, 243, 106, 0.45);
}

.career-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(17, 59, 58, 0.05);
  color: var(--showcase-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.career-step-card:hover .career-step-icon {
  transform: scale(1.06);
  background: rgba(17, 59, 58, 0.1);
  color: #113B3A;
}

.career-step-phase {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #059669;
  margin-bottom: 6px;
}

.career-step-title {
  font-size: 1.15rem;
  line-height: 1.4;
  font-weight: 800;
  color: var(--showcase-text-primary);
  margin: 0 0 10px;
}

.career-step-desc {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--showcase-text-secondary);
  margin: 0 0 20px;
  flex: 1;
}

.career-step-deliverable {
  margin-top: auto;
  padding: 10px 14px;
  border-radius: 12px;
  background: #F4F7F6;
  border: 1px solid rgba(17, 59, 58, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--showcase-teal);
  transition: all 0.2s ease;
}

.career-step-card:hover .career-step-deliverable {
  background: #EDF8BE;
  border-color: rgba(17, 59, 58, 0.18);
  color: #113B3A;
}

.career-step-deliverable svg {
  color: #10B981;
  flex-shrink: 0;
}

/* LTR / RTL Alignment Handling */
body.rtl .career-grid {
  direction: rtl;
}

body:not(.rtl) .career-grid {
  direction: ltr;
}

body.rtl .career-step-card {
  direction: rtl;
  text-align: right;
}

body:not(.rtl) .career-step-card {
  direction: ltr;
  text-align: left;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .career-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .career-grid::before {
    display: none;
  }
  .career-step-title {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .career-section {
    padding: 60px 16px 45px;
  }
  .career-header {
    text-align: center;
    margin-bottom: 30px;
  }
  .career-header h2 {
    font-size: 26px;
  }
  .career-subtitle {
    font-size: 0.95rem;
  }
  .career-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .career-step-card {
    padding: 22px 20px;
  }
}
