/* ===============================
   NexTA - Careers Section
   Pure White Marble (Shiny Slab Look)
=============================== */

.careers-section {
  padding: clamp(60px, 8vw, 80px) 20px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;

  /* White marble texture + shine */
  background-image: 
    url("https://www.transparenttextures.com/patterns/marble.png"),
    linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,1));
  background-blend-mode: overlay;
  background-size: cover;
}

/* Remove gradients — just subtle glow accents */
.careers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), transparent 70%),
              radial-gradient(circle at 70% 70%, rgba(255,255,255,0.4), transparent 60%);
  z-index: 0;
  mix-blend-mode: screen;
}

/* Elegant bottom shine divider */
.careers-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 80px;
  background: linear-gradient(to top, rgba(255,255,255,0.9), transparent);
  z-index: 1;
}

/* Section title */
.careers-section .section-title {
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 800;
  background: linear-gradient(90deg, #6a4ee6, #af2cee, #03bb7c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  letter-spacing: 0.6px;
  text-shadow: 0 3px 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
}

.careers-section .section-subtitle {
  font-size: 17px;
  max-width: 720px;
  margin: 0 auto 60px;
  color: #333;
  line-height: 1.7;
  position: relative;
  z-index: 2;
  font-weight: 400;
}

/* Careers grid */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

/* Career cards — white marble shiny */
.career-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(22px) saturate(180%) brightness(1.05);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 24px;
  padding: 28px 22px;
  min-height: 240px;
  box-shadow:
    inset 0 1px 6px rgba(255,255,255,0.8),
    0 10px 28px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border 0.35s ease;
  text-align: left;

  /* White marble veins overlay */
  background-image:
    url("https://www.transparenttextures.com/patterns/marble.png"),
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(250,250,250,0.9));
  background-blend-mode: overlay;
  background-size: cover;
}

.career-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 20px 44px rgba(0,0,0,0.18),
    0 0 22px rgba(175,44,238,0.25);
  border: 1px solid rgba(175,44,238,0.4);
  background-image:
    url("https://www.transparenttextures.com/patterns/marble.png"),
    linear-gradient(180deg, rgba(255,255,255,1), rgba(250,250,250,0.95));
}

/* Card heading + text */
.career-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #6a4ee6, #af2cee, #03bb7c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.career-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

/* CTA button */
.careers-cta {
  margin-top: 20px;
  position: relative;
  z-index: 2;
}
.careers-button {
  display: inline-block;
  padding: 14px 38px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #03bb7c, #6a4ee6, #af2cee);
  background-size: 200% 200%;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.6);
  transition: all 0.4s ease;
  letter-spacing: 0.6px;
  position: relative;
  overflow: hidden;
}

/* Shine streak */
.careers-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -30%;
  width: 55px;
  height: 200%;
  background: rgba(255,255,255,0.7);
  transform: rotate(25deg);
  opacity: 0;
  transition: all 0.6s ease;
}
.careers-button:hover::before {
  left: 130%;
  opacity: 1;
}

/* Glow pulse */
.careers-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.careers-button:hover::after {
  opacity: 1;
  animation: pulseGlow 1.2s ease-out forwards;
}
@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Hover gradient */
.careers-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
  background: linear-gradient(135deg, #af2cee, #6a4ee6, #03bb7c);
}

/* Responsive */
@media (max-width: 1024px) {
  .careers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .careers-grid {
    grid-template-columns: 1fr;
  }
}
/* ===============================
   Mobile Performance Optimizations
   =============================== */
@media (max-width: 768px) {
  .career-card {
    backdrop-filter: none;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .career-card:hover {
    transform: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  }
}

