/* ==========================================================================
   TrynixTech — Career Page Stylesheet
   Designed as per TrynixTech Design System & Untitled UI Specification
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Page Layout & Atmospheric Ambient Glows
   -------------------------------------------------------------------------- */
body.career-body {
  margin: 0 !important;
  padding: 0 !important;
  background-color: #ffffff;
  color: #101828;
  font-family: SatoshiRegular, 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* Base Career Page Wrapper with Ambient Gradient Orbs */
.career-page-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #ffffff;
}

/* Atmospheric Glow: Top-Right Warm Peach / Coral Aura */
.career-page-wrapper::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -120px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
      rgba(255, 214, 202, 0.72) 0%,
      rgba(254, 226, 220, 0.45) 35%,
      rgba(255, 240, 236, 0.18) 60%,
      rgba(255, 255, 255, 0) 80%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

/* Atmospheric Glow: Bottom-Left Lavender / Violet Aura */
.career-page-wrapper::after {
  content: "";
  position: absolute;
  bottom: 260px;
  left: -140px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
      rgba(238, 224, 255, 0.65) 0%,
      rgba(244, 234, 255, 0.4) 38%,
      rgba(250, 245, 255, 0.15) 62%,
      rgba(255, 255, 255, 0) 80%);
  filter: blur(52px);
  pointer-events: none;
  z-index: 0;
}



/* --------------------------------------------------------------------------
   3. Career Hero Section
   -------------------------------------------------------------------------- */
.career-hero-section {
  position: relative;
  z-index: 1;
  padding-top: 150px;
  padding-bottom: 40px;
}

@media (max-width: 991px) {
  .career-hero-section {
    padding-top: 120px;
    padding-bottom: 30px;
  }
}

.career-hero-container {
  max-width: 1160px;
  margin: 0 auto;
}

/* "We're hiring!" Pill Badge */
.career-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid #d0d5dd;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: SatoshiMedium, 'Satoshi', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #344054;
  margin-bottom: 22px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  transition: all 0.25s ease;
}

.career-badge:hover {
  border-color: #98a2b3;
  transform: translateY(0px);
}

.career-badge .badge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 2px rgba(18, 183, 106, 0.2);
  display: inline-block;
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(18, 183, 106, 0.5);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(18, 183, 106, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(18, 183, 106, 0);
  }
}

/* Main Hero Heading */
.career-hero-title {
  font-family: SatoshiBold, 'Satoshi', sans-serif !important;
  font-size: clamp(38px, 4.8vw, 62px) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
  color: #101828 !important;
  margin-bottom: 20px !important;
}

/* Hero Subtitle */
.career-hero-subtitle {
  font-family: SatoshiRegular, 'Satoshi', sans-serif !important;
  font-size: clamp(17px, 1.25vw, 20px) !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  color: #475467 !important;
  max-width: 740px !important;
  margin-bottom: 44px !important;
}

/* --------------------------------------------------------------------------
   4. Filter Pill Tabs
   -------------------------------------------------------------------------- */
.career-filters-wrap {
  position: relative;
  z-index: 2;
  margin-bottom: 48px;
}

.career-filters-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.career-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 9999px;
  font-family: SatoshiMedium, 'Satoshi', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
  color: #344054;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  white-space: nowrap;
}

.career-filter-btn:hover {
  background: #f8fafc;
  color: #101828;
  border-color: #98a2b3;
  transform: translateY(0px);
}

.career-filter-btn.active {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
}

.career-filter-btn .filter-count {
  margin-left: 6px;
  font-size: 12px;
  opacity: 0.8;
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 7px;
  border-radius: 9999px;
}

.career-filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.22);
}

/* --------------------------------------------------------------------------
   5. Job Listings Section
   -------------------------------------------------------------------------- */
.career-jobs-section {
  position: relative;
  z-index: 1;
  padding-top: clamp(48px, 5.5vw, 76px);
  padding-bottom: 90px;
}

.career-jobs-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #eaecf0;
}

.career-job-item {
  position: relative;
  padding: 34px 0;
  border-bottom: 1px solid #eaecf0;
  transition: all 0.25s ease;
}

.career-job-item.hidden-job {
  display: none !important;
}

.career-job-item:hover {
  background: rgba(248, 250, 252, 0.5);
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 12px;
}

.career-job-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
}

.career-job-title {
  font-family: SatoshiBold, 'Satoshi', sans-serif !important;
  font-size: clamp(22px, 1.8vw, 26px) !important;
  font-weight: 700 !important;
  color: #101828 !important;
  letter-spacing: -0.015em;
  margin: 0 !important;
  transition: color 0.2s ease;
}

.career-job-item:hover .career-job-title {
  color: #0284c7 !important;
}

/* Apply ↗ Button */
.career-apply-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: SatoshiBold, 'Satoshi', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #101828;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.career-apply-link svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.career-apply-link:hover,
.career-job-item:hover .career-apply-link {
  color: #0284c7;
}

.career-apply-link:hover svg,
.career-job-item:hover .career-apply-link svg {
  transform: translate(3px, -3px);
}

/* Job Description */
.career-job-desc {
  font-family: SatoshiRegular, 'Satoshi', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #475467;
  max-width: 820px;
  margin: 0 0 20px 0;
}

/* Meta Tags (Location, Time) */
.career-job-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.career-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid #d0d5dd;
  background: #ffffff;
  font-family: SatoshiMedium, 'Satoshi', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: #344054;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}

.career-tag svg {
  color: #667085;
}

/* Empty State */
.career-empty-state {
  display: none;
  text-align: center;
  padding: 60px 20px;
  background: rgba(248, 250, 252, 0.6);
  border-radius: 16px;
  border: 1px dashed #cbd5e1;
  margin-top: 24px;
}

.career-empty-state.visible {
  display: block;
}

.career-empty-state h4 {
  font-family: SatoshiBold, 'Satoshi', sans-serif;
  font-size: 20px;
  color: #101828;
  margin-bottom: 8px;
}

.career-empty-state p {
  color: #64748b;
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 20px auto;
}

/* --------------------------------------------------------------------------
   6. Work-Life Balance Quote / Testimonial Section
   -------------------------------------------------------------------------- */
.career-quote-section {
  position: relative;
  z-index: 1;
  padding: 80px 0 90px 0;
  text-align: center;
}

.career-quote-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.career-quote-text {
  font-family: SatoshiBold, 'Satoshi', sans-serif !important;
  font-size: clamp(32px, 3.8vw, 48px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.025em !important;
  color: #101828 !important;
  margin-bottom: 40px !important;
}

.career-author-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.career-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.12);
  border: 2px solid #ffffff;
  margin-bottom: 14px;
  background: #f2f4f7;
}

.career-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.career-author-name {
  font-family: SatoshiBold, 'Satoshi', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #101828;
  margin-bottom: 4px;
}

.career-author-role {
  font-family: SatoshiRegular, 'Satoshi', sans-serif;
  font-size: 14px;
  color: #667085;
}

/* --------------------------------------------------------------------------
   7. Marquee Ticker Strip (Continuous High-Impact Ribbon)
   -------------------------------------------------------------------------- */
.career-ticker-section {
  position: relative;
  z-index: 2;
  width: 100%;
  background: #0f172a;
  color: #f8fafc;
  overflow: hidden;
  padding: 18px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.career-ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: infiniteTicker 35s linear infinite;
}

.career-ticker-track:hover {
  animation-play-state: paused;
}

@keyframes infiniteTicker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.career-ticker-item {
  display: inline-flex;
  align-items: center;
  font-family: SatoshiMedium, 'Satoshi', sans-serif;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  color: #f1f5f9;
  padding: 0 24px;
  user-select: none;
}

.career-ticker-item .ticker-bullet {
  color: #38bdf8;
  font-size: 18px;
  margin-right: 12px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   8. TrynixTech Footer Integration
   -------------------------------------------------------------------------- */
.career-body .wionfooter-section {
  position: relative;
  z-index: 2;
  background-color: #ffffff;
}

.career-body .wionfooter-top {
  padding-top: 70px;
}

/* --------------------------------------------------------------------------
   9. Interactive Job Application Modal Dialog
   -------------------------------------------------------------------------- */
.career-dialog {
  padding: 0;
  border: none;
  border-radius: 20px;
  background: #ffffff;
  max-width: 620px;
  width: 92%;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  margin: auto;
  overflow: hidden;
}

.career-dialog::backdrop {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.career-dialog-inner {
  padding: 36px 36px 32px 36px;
  position: relative;
  max-height: 88vh;
  overflow-y: auto;
}

.career-dialog-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.career-dialog-close:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.career-dialog-header {
  margin-bottom: 24px;
  padding-right: 36px;
}

.career-dialog-subtitle {
  display: inline-block;
  font-family: SatoshiMedium, 'Satoshi', sans-serif;
  font-size: 13px;
  color: #0284c7;
  background: #e0f2fe;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 10px;
}

.career-dialog-title {
  font-family: SatoshiBold, 'Satoshi', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.career-dialog-desc {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}

/* Application Form Elements */
.career-form-group {
  margin-bottom: 18px;
}

.career-form-label {
  display: block;
  font-family: SatoshiMedium, 'Satoshi', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #344054;
  margin-bottom: 6px;
}

.career-form-input,
.career-form-textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: SatoshiRegular, 'Satoshi', sans-serif;
  font-size: 15px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  outline: none;
  transition: all 0.2s ease;
}

.career-form-input:focus,
.career-form-textarea:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.career-file-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.career-file-dropzone:hover {
  border-color: #0284c7;
  background: #f0f9ff;
}

.career-dropzone-text {
  font-size: 13.5px;
  color: #64748b;
}

.career-dropzone-text strong {
  color: #0284c7;
}

.career-submit-btn {
  width: 100%;
  padding: 14px 20px;
  background: #0f172a;
  color: #ffffff;
  font-family: SatoshiBold, 'Satoshi', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 10px;
}

.career-submit-btn:hover {
  background: #0284c7;
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.3);
  transform: translateY(0px);
}

.career-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.career-submit-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.career-submit-success.visible {
  display: block;
}

.career-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-size: 28px;
}

/* --------------------------------------------------------------------------
   10. Mobile Responsiveness
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .career-job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .career-apply-link {
    margin-top: 4px;
    font-size: 16px;
  }

  .career-dialog-inner {
    padding: 24px 20px;
  }

  .career-quote-text {
    font-size: 26px !important;
  }

  .career-filters-list {
    gap: 8px;
  }

  .career-filter-btn {
    padding: 7px 14px;
    font-size: 13.5px;
  }
}

/* ==========================================================================
   11. New Reference Design: Floating White Job Cards & Global Team Stats
   ========================================================================== */

/* Preloader fail-safe */
.career-body .preloader,
.career-body .preloader-inner {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Job Cards Container */
.career-jobs-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Individual Job Card (Matching Reference Screenshot) */
.career-job-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.career-job-card:hover {
  transform: translateY(0px);
  border-color: #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.career-job-card.hidden-job {
  display: none !important;
}

.career-job-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.career-job-role-title {
  font-family: 'SatoshiBold', 'Satoshi', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0c0c0e !important;
  letter-spacing: -0.015em;
  margin: 0 0 4px 0 !important;
}

.career-job-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'SatoshiRegular', 'Satoshi', sans-serif;
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.career-job-exp-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'SatoshiRegular', 'Satoshi', sans-serif;
  font-size: 14px;
  color: #64748b;
  margin: 2px 0 0 0;
}

.career-job-exp-row svg {
  color: #64748b;
  flex-shrink: 0;
}

/* Black Pill Apply Now Button (Matching Reference) */
.career-apply-btn {
  background: #0c0c0e;
  color: #ffffff !important;
  font-family: 'SatoshiBold', 'Satoshi', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.career-apply-btn:hover {
  background: #27272a;
  color: #ffffff !important;
  transform: translateY(0px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* --------------------------------------------------------------------------
   Global Team Stats Section (Matching Reference Design)
   -------------------------------------------------------------------------- */
.career-team-section {
  margin: 60px 0 90px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 28px;
  padding: 56px 48px;
  position: relative;
}

.career-team-header {
  max-width: 820px;
  margin-bottom: 40px;
}

.career-team-badge {
  display: inline-block;
  font-family: 'SatoshiBold', 'Satoshi', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
  background: transparent;
  padding: 0;
  margin-bottom: 16px;
  line-height: 1;
}

.career-team-title {
  font-family: 'SatoshiBold', 'Satoshi', sans-serif !important;
  font-size: clamp(28px, 3.2vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.24 !important;
  letter-spacing: -0.025em !important;
  margin: 0 !important;
}

.career-team-title-bold {
  color: #0c0c0e;
}

.career-team-title-muted {
  color: #94a3b8;
  font-weight: 500;
}

.career-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.career-stat-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 30px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.career-stat-card:hover {
  transform: translateY(0px);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08);
}

.career-stat-number {
  font-family: 'SatoshiBold', 'Satoshi', sans-serif;
  font-size: clamp(44px, 4.2vw, 58px);
  font-weight: 800;
  color: #0c0c0e;
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.career-stat-desc {
  font-family: 'SatoshiRegular', 'Satoshi', sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

@media (max-width: 992px) {
  .career-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .career-team-section {
    padding: 44px 28px;
  }
}

@media (max-width: 640px) {
  .career-job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 20px;
  }

  .career-apply-btn {
    width: 100%;
    justify-content: center;
  }

  .career-stats-grid {
    grid-template-columns: 1fr;
  }

  .career-stat-card {
    min-height: unset;
    padding: 28px 24px;
  }

  .career-team-section {
    padding: 32px 20px;
    border-radius: 20px;
  }
}