/* ==========================================================================
   CAREERS & CURRENT OPENINGS PAGE STYLES - IT WAYS
   ========================================================================== */

.careers-page-wrapper {
  overflow-x: hidden;
  background-color: #ffffff;
  color: #0f172a;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Global Container */
.careers-container {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Header Shared */
.careers-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}

.careers-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(23, 105, 255, 0.08);
  border: 1px solid rgba(23, 105, 255, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #1769ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.careers-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1769ff;
  box-shadow: 0 0 8px #1769ff;
  animation: careersPulse 2s infinite ease-in-out;
}

@keyframes careersPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* ==========================================================================
   1. SIMPLE CAREERS INTRO (No Image, Soft Ambient Gradient)
   ========================================================================== */
.careers-hero-section {
  position: relative;
  padding: 180px 24px 100px;
  background: 
    radial-gradient(circle at 15% 25%, rgba(23, 105, 255, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(118, 87, 245, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  text-align: center;
  overflow: hidden;
}

/* Subtle Ambient Dots Pattern */
.careers-hero-section::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 5%;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(#1769ff 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.25;
  pointer-events: none;
}

.careers-hero-section::after {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 5%;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(#7657f5 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.22;
  pointer-events: none;
}

.careers-hero-content {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.careers-hero-title {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.careers-hero-subtitle {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1769ff;
  line-height: 1.45;
  margin-bottom: 18px;
}

.careers-hero-desc {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 34px;
}

.careers-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #1769ff 0%, #0052cc 100%);
  color: #ffffff !important;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(23, 105, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.careers-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(23, 105, 255, 0.4);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.careers-btn-primary svg {
  transition: transform 0.3s ease;
}

.careers-btn-primary:hover svg {
  transform: translateY(3px);
}

/* ==========================================================================
   2. CURRENT OPENINGS (Wide Horizontal Job Cards)
   ========================================================================== */
.careers-openings-section {
  padding: 80px 0 100px;
  background: #ffffff;
  position: relative;
}

.careers-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.job-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 105, 255, 0.35);
  box-shadow: 0 16px 36px rgba(23, 105, 255, 0.1);
}

.job-card-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
}

.job-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(23, 105, 255, 0.1) 0%, rgba(118, 87, 245, 0.1) 100%);
  color: #1769ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.job-card:hover .job-icon-box {
  background: linear-gradient(135deg, #1769ff 0%, #7657f5 100%);
  color: #ffffff;
  transform: scale(1.05);
}

.job-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.job-title {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.job-card:hover .job-title {
  color: #1769ff;
}

.job-skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.job-skill-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* Middle Meta: Location & Type */
.job-meta-center {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.job-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  background: #f8faff;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.job-meta-item svg {
  color: #1769ff;
  flex-shrink: 0;
}

/* Right Action: Apply Button */
.job-card-action {
  flex-shrink: 0;
}

.job-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(23, 105, 255, 0.08);
  border: 1.5px solid rgba(23, 105, 255, 0.2);
  color: #1769ff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
}

.job-apply-btn svg {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.job-card:hover .job-apply-btn {
  background: #1769ff;
  border-color: #1769ff;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(23, 105, 255, 0.3);
}

.job-card:hover .job-apply-btn svg {
  transform: translateX(4px);
}

/* ==========================================================================
   4. LINKEDIN & PROACTIVE APPLICATION SECTION
   ========================================================================== */
.careers-linkedin-section {
  padding: 70px 0 90px;
  background: #f8faff;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.careers-linkedin-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.linkedin-content-left {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 640px;
}

.linkedin-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0a66c2 0%, #004182 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.28);
}

.linkedin-text h3 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
}

.linkedin-text p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

.linkedin-actions-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.btn-linkedin-follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #0a66c2;
  color: #ffffff !important;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(10, 102, 194, 0.25);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-linkedin-follow:hover {
  background: #004182;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 102, 194, 0.35);
}

.btn-send-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #1769ff !important;
  border: 1.5px solid rgba(23, 105, 255, 0.3);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-send-profile:hover {
  background: #f8faff;
  border-color: #1769ff;
  transform: translateY(-2px);
}

/* ==========================================================================
   5. FINAL CTA SECTION
   ========================================================================== */
.careers-final-cta-section {
  padding: 100px 0 120px;
  background: #ffffff;
}

.careers-cta-card {
  background: linear-gradient(135deg, #1769ff 0%, #004ecc 50%, #4338ca 100%);
  border-radius: 28px;
  padding: 70px 48px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(23, 105, 255, 0.35);
}

.careers-cta-card::before {
  content: '';
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}

.careers-cta-card::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118, 87, 245, 0.3) 0%, transparent 70%);
  bottom: -100px;
  left: -50px;
  pointer-events: none;
}

.careers-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.careers-cta-card h2 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 2.75rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.careers-cta-card p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 36px;
}

.careers-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #1769ff !important;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.careers-cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  background: #f8faff;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .careers-hero-title {
    font-size: 2.85rem;
  }

  .careers-linkedin-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
  }

  .linkedin-actions-right {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .careers-hero-section {
    padding: 140px 20px 70px;
  }

  .careers-hero-title {
    font-size: 2.35rem;
  }

  .job-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
    gap: 18px;
  }

  .job-card-left {
    width: 100%;
  }

  .job-meta-center {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  .job-card-action {
    width: 100%;
  }

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

  .linkedin-content-left {
    flex-direction: column;
    gap: 16px;
  }

  .linkedin-actions-right {
    flex-direction: column;
    width: 100%;
  }

  .btn-linkedin-follow,
  .btn-send-profile {
    width: 100%;
  }

  .careers-cta-card {
    padding: 48px 24px;
  }

  .careers-cta-card h2 {
    font-size: 2rem;
  }
}
