/* =============================================================
   SITE STYLES — GROUPED BY SECTION (CLEANED)
   - Kept original rules and behavior; fixed minor syntax issue.
   - WARNING: .btn-primary rules below are GLOBAL overrides (Bootstrap).
     If you want them only in the hero, scope to .hero-section .btn-primary {}
   ============================================================= */

/* =============================================================
   ADCHOR CAREERS PAGE - SECTIONS 1 & 2 ONLY WITH ANIMATIONS
   ============================================================= */

/* =================================================================
   SECTION 1 — HERO (video header)
   ================================================================= */
.hero-section{
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}

.hero-video{
  position: absolute; 
  inset: 0;
  width: 100%; 
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.1);
  transition: transform 2s ease-out;
}

.overlay{
  position: absolute; 
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

.hero-content{
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(50px);
  animation: heroReveal 1.2s ease-out 0.5s forwards;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1{
  font-size: clamp(1.8rem, 2.5vw + 1.1rem, 3rem);
  line-height: 1.25;
}

.hero-content strong{ 
  font-weight: 700; 
}

.btn-primary{
  background-color: #021de0;
  border: none;
  padding: clamp(0.6rem, 1.2vw, 0.85rem) clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

@media (max-width: 576px){
  .hero-content h1{ 
    margin-bottom: 0.75rem; 
  }
}

@supports(padding: max(0px)){
  .hero-section{
    padding-top: max(0px, env(safe-area-inset-top));
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }
}

/* =================================================================
   SECTION 2 — HOTSPOT
   ================================================================= */
.hotspot-section {
  position: relative;
  width: 100%;
  min-height: clamp(380px, 56.25vw, 92vh);
  overflow: hidden;
  display: block;
  background: none !important;
}

.hotspot-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://adchor.com/wp-content/uploads/2025/08/Banner-Careers-01-scaled.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hotspot-vignette {
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.65) 90%);
  z-index: 1;
  pointer-events: none;
}

.hotspot-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(1.25rem, 5vw, 6rem);
  padding-left: clamp(0.75rem, 3vw, 2rem);
  padding-right: clamp(0.75rem, 3vw, 2rem);
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.hotspot-content.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.hotspot-content h2,
.hotspot-content h3 {
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.hotspot-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  outline: none;
  pointer-events: auto;
  z-index: 10;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.6s ease-out;
}

.hotspot.animate-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hotspot:hover {
  transform: translate(-50%, -50%) scale(1.15) !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.hotspot:hover,
.hotspot:focus-within,
.hotspot:focus-visible,
.hotspot:active {
  z-index: 100000;
}

.hotspot1 { left: 18%; top: 56%; }
.hotspot2 { left: 39%; top: 40%; }
.hotspot3 { left: 62%; top: 36%; }
.hotspot4 { left: 75%; top: 65%; }

.hotspot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  transform: scale(1.8);
  z-index: -1;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1.8);
    opacity: 0.7;
  }
  50% {
    transform: scale(2.0);
    opacity: 0.3;
  }
}

.hotspot-tooltip {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  margin-bottom: 0.75rem;
  min-width: 20.625rem;
  max-width: clamp(20.625rem, 35vw, 28.75rem);
  padding: 1.125rem 1.375rem;
  border-radius: 1.25rem;
  background: rgba(0, 0, 0, 0.50);
  backdrop-filter: blur(17.5px);
  color: #f2f2f2;
  line-height: 1.5;
  font-size: 1rem;
  text-align: left;
  box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,.35);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
  z-index: 25000;
}

.hotspot-tooltip br {
  display: none;
}

.hotspot-tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) rotate(45deg);
  width: 1rem;
  height: 1rem;
  background: inherit;
  border-radius: 0.1875rem;
}

.hotspot:hover .hotspot-tooltip,
.hotspot:focus-visible .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
}

.hotspot[data-align="left"] .hotspot-tooltip {
  left: 50%;
  transform: translateX(-50%);
  max-width: 18rem;
}

.hotspot[data-align="left"] .hotspot-tooltip::before {
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

/* Responsive hotspot styles */
@media (max-width: 992px) {
  .hotspot { width: 18px; height: 18px; }
  .hotspot-tooltip { font-size: 0.95rem; max-width: 320px; padding: 1rem 1.25rem; }
  .hotspot[data-align="left"] .hotspot-tooltip { left: 2rem; right: auto; max-width: calc(100vw - 4rem); }
  .hotspot[data-align="left"] .hotspot-tooltip::before { left: -0.5rem; right: auto; }
  .hotspot-tooltip1 { z-index: 30000 !important; position: absolute !important; left: calc(50% - 1rem) !important; top: auto !important; bottom: 15% !important; transform: translateX(-10%) !important; max-width: min(85vw, 320px) !important; z-index: 10000 !important; }
  .hotspot-tooltip2 { position: absolute !important; left: 50% !important; top: auto !important; bottom: 25% !important; transform: translateX(-50%) !important; max-width: min(85vw, 320px) !important; z-index: 10000 !important; }
  .hotspot-tooltip3 { position: absolute !important; left: 50% !important; top: auto !important; bottom: 35% !important; transform: translateX(-50%) !important; max-width: min(85vw, 320px) !important; z-index: 10000 !important; }
  .hotspot-tooltip4 { position: absolute !important; left: calc(50% + 1rem) !important; top: auto !important; bottom: 45% !important; transform: translateX(-90%) !important; max-width: min(85vw, 320px) !important; z-index: 10000 !important; }
}

@media (max-width: 850px) {
  .hotspot { width: 17px; height: 17px; }
  .hotspot-tooltip { font-size: 0.92rem; max-width: 300px; padding: 0.95rem 1.2rem; }
  .hotspot-tooltip1, .hotspot-tooltip2, .hotspot-tooltip3, .hotspot-tooltip4 { max-width: min(85vw, 300px) !important; }
}

@media (max-width: 768px) {
  .hotspot { width: 16px; height: 16px; }
  .hotspot-tooltip { font-size: 0.9rem; max-width: 280px; padding: 0.9rem 1.1rem; }
  .hotspot1 { left: 16%; top: 54%; }
  .hotspot2 { left: 37%; top: 38%; }
  .hotspot3 { left: 63%; top: 33%; }
  .hotspot4 { left: 78%; top: 62%; }
  .hotspot-tooltip1, .hotspot-tooltip2, .hotspot-tooltip3, .hotspot-tooltip4 { max-width: min(85vw, 280px) !important; }
}

@media (max-width: 720px) {
  .hotspot { width: 15px; height: 15px; }
  .hotspot-tooltip { font-size: 0.87rem; max-width: 260px; padding: 0.85rem 1rem; }
  .hotspot1 { left: 15.5%; top: 53%; }
  .hotspot2 { left: 36%; top: 37%; }
  .hotspot3 { left: 64%; top: 32%; }
  .hotspot4 { left: 79%; top: 61%; }
  .hotspot-tooltip1, .hotspot-tooltip2, .hotspot-tooltip3, .hotspot-tooltip4 { max-width: min(85vw, 260px) !important; }
}

@media (max-width: 675px) {
  .hotspot { width: 14px; height: 14px; }
  .hotspot-tooltip { font-size: 0.85rem; max-width: 240px; padding: 0.8rem 0.95rem; }
  .hotspot1 { left: 15.5%; top: 52%; }
  .hotspot4 { left: 80%; }
  .hotspot-tooltip1, .hotspot-tooltip2, .hotspot-tooltip3, .hotspot-tooltip4 { max-width: min(85vw, 240px) !important; }
}

@media (max-width: 650px) {
  .hotspot { width: 16px; height: 16px; }
  .hotspot-tooltip { font-size: 0.85rem; max-width: 260px; padding: 0.8rem 1rem; }
}

@media (max-width: 576px) {
  .hotspot1 { left: 15%; top: 50%; }
  .hotspot2 { left: 35%; top: 35%; }
  .hotspot3 { left: 65%; top: 30%; }
  .hotspot4 { left: 85%; top: 60%; }
  .hotspot-tooltip { max-width: min(90vw, 380px); }
}

@media (max-width: 576px) and (orientation: portrait) {
  .hotspot-tooltip::before { display: none !important; }
  .hotspot-tooltip1 { position: absolute !important; left: calc(50% - 1rem) !important; top: auto !important; bottom: 15% !important; transform: translateX(-10%) !important; max-width: min(85vw, 320px) !important; z-index: 10000 !important; }
  .hotspot-tooltip2 { position: absolute !important; left: 50% !important; top: auto !important; bottom: 25% !important; transform: translateX(-50%) !important; max-width: min(85vw, 320px) !important; z-index: 10000 !important; }
  .hotspot-tooltip3 { position: absolute !important; left: 50% !important; top: auto !important; bottom: 35% !important; transform: translateX(-50%) !important; max-width: min(85vw, 320px) !important; z-index: 10000 !important; }
  .hotspot-tooltip4 { position: absolute !important; left: calc(50% + 1rem) !important; top: auto !important; bottom: 45% !important; transform: translateX(-90%) !important; max-width: min(85vw, 320px) !important; z-index: 10000 !important; }
}

@media (max-width: 576px) and (orientation: landscape) {
  .hotspot-tooltip::before { display: none !important; }
  .hotspot-tooltip1 { position: absolute !important; left: calc(50% - 1rem) !important; top: auto !important; bottom: 15% !important; transform: translateX(-10%) !important; max-width: min(85vw, 320px) !important; z-index: 10000 !important; }
  .hotspot-tooltip2 { position: absolute !important; left: 50% !important; top: auto !important; bottom: 25% !important; transform: translateX(-50%) !important; max-width: min(85vw, 320px) !important; z-index: 10000 !important; }
  .hotspot-tooltip3 { position: absolute !important; left: 50% !important; top: auto !important; bottom: 35% !important; transform: translateX(-50%) !important; max-width: min(85vw, 320px) !important; z-index: 10000 !important; }
  .hotspot-tooltip4 { position: absolute !important; left: calc(50% + 1rem) !important; top: auto !important; bottom: 45% !important; transform: translateX(-90%) !important; max-width: min(85vw, 320px) !important; z-index: 10000 !important; }
}

.hotspot.is-open { z-index: 100000; }

/* =================================================================
   ACCESSIBILITY & PERFORMANCE
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-video, .hero-content, .hotspot-content, .hotspot { 
    transition-duration: 0.01s !important; 
    animation-duration: 0.01s !important; 
  }
  .hotspot::before { animation: none !important; }
  @keyframes pulse { 0%, 100% { opacity: 1; } }
  @keyframes heroReveal { 0%, 100% { opacity: 1; transform: translateY(0); } }
}

@media (prefers-contrast: high) {
  .hotspot { border-width: 3px !important; background: rgba(255, 255, 255, 0.95) !important; }
  .hotspot-tooltip { background: rgba(0, 0, 0, 0.95) !important; border: 2px solid #fff !important; }
}

@media (hover: none) and (pointer: coarse) {
  .hotspot:active { transform: translate(-50%, -50%) scale(1.1) !important; }
  .btn-primary:active { transform: translateY(-1px) scale(1.02) !important; }
}



/* ============================== Careers Section 3 (namespaced) ================================
========================================================================================= */
/* ============================== Careers Section 3 ============================== */
.careers3-section{
  position: relative;
  width: 100%;
  min-height: clamp(420px, 56.25vw, 92vh);
  overflow: hidden;
  isolation: isolate;
}

/* Fondo como background + img "probe" para leer dimensiones reales */
.careers3-section::before{
  content:"";
  position:absolute; inset:0;
  background-image:url('https://adchor.com/wp-content/uploads/2025/08/Banner-Careers-02-scaled.jpg');
  background-size: cover;
  background-position: center;
  z-index:-2;
}
.careers3-bg-probe{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:0; pointer-events:none; z-index:-3; /* invisible pero cargada */
}

/* Vignette inferior */
.careers3-vignette{
  position:absolute; inset:auto 0 0 0;
  height:35%;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.7) 90%);
  z-index:-1; pointer-events:none;
}

/* Logo y título */
.careers3-logo {
	position: absolute;
	top: clamp(1rem,3vw,1rem);
	left: clamp(3.5rem,3vw,3.5rem);
	width: clamp(140px,20vw,260px);
	height: auto;
	z-index: 1;
}


.careers3-heading{
  padding-top:clamp(1.5rem,4vw,3rem);
  margin:0;
  padding-left: clamp(1rem,3vw,2rem); /* Align with logo */
  padding-right: clamp(1rem,3vw,2rem);
  padding-bottom: clamp(1.25rem,3vw,2rem);
}

/* Override Bootstrap container-fluid padding */
.careers3-heading.container-fluid {
  padding-left: clamp(1rem,3vw,2rem) !important;
  padding-right: clamp(1rem,3vw,2rem) !important;
  padding-top: clamp(1.5rem,4vw,3rem) !important;
  padding-bottom: clamp(1.25rem,3vw,2rem) !important;
  margin: 0 !important;
}

.careers3-title{
  color:#FFF; 
  font-size:clamp(28px,5vw,50px);
  font-weight:700; letter-spacing:-0.5px; margin:0;
  text-shadow:0 2px 10px rgba(0,0,0,.35);
}

/* ===== Capa de anclajes ===== */
.careers3-anchors{
  position:absolute; inset:0;
  pointer-events:auto; /* dejar interactivos los hijos */

  /* Desplazamientos globales */
  --shift-x: -2rem;
  --shift-y: calc(-12pt - 4.5rem); /* valor actual acordado */

  /* Distancias de párrafos respecto al dot */
  --gap-left:  clamp(24px, 3vw, 48px);
  --gap-right: clamp(24px, 3.5vw, 52px);

  /* Offset vertical del párrafo relativo al dot */
  --offset: 1rem;
  --offset-adjust: 0rem;

  z-index:2;
}

/* Dots */
.careers3-dot{
  position:absolute;
  left: calc(var(--x) + var(--shift-x));  /* --x lo setea JS en px */
  top:  calc(var(--y) + var(--shift-y));  /* --y lo setea JS en px */
  transform:translate(-50%, -50%);
  width:24px; height:24px; border-radius:50%;
  background:#021de0;
  pointer-events:auto; cursor:pointer; z-index:4;
  transition: box-shadow .25s ease, transform .25s ease;
}
.careers3-dot::after{
  content:""; position:absolute; left:50%; top:50%;
  transform:translate(-50%, -50%);
  width:14px; height:14px; border-radius:50%;
  background:#fff; z-index:1;
}

/* Líneas (solo desktop) */
.diagonal-line, .horizontal-line {
  position: absolute;
  background: #021de0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.careers3-dot:hover .diagonal-line,
.careers3-dot:hover .horizontal-line { opacity: 1; }

/* ===================== DERECHA (keys 2 y 4) ===================== */
.careers3-dot[data-key="2"] .diagonal-line,
.careers3-dot[data-key="4"] .diagonal-line{
  top: 50%; left: 12px; width: 152px;
  transform: translateY(-50%) rotate(70deg);
  transform-origin: left center;
}
.careers3-dot[data-key="2"] .horizontal-line,
.careers3-dot[data-key="4"] .horizontal-line{
  top: calc(50% + 143px); left: 64px; width: 240px;
  transform: translateY(-50%);
}

/* ===================== IZQUIERDA (keys 1 y 3) ====================== */
.careers3-dot[data-key="1"] .diagonal-line,
.careers3-dot[data-key="3"] .diagonal-line{
  top: 50%; right: 12px; width: 152px;
  transform: translateY(-50%) rotate(-70deg);
  transform-origin: right center;
}
.careers3-dot[data-key="1"] .horizontal-line,
.careers3-dot[data-key="3"] .horizontal-line{
  top: calc(50% + 143px); right: 64px; width: 240px;
  transform: translateY(-50%);
}

/* Callouts (desktop) */
.careers3-callout{
  position:absolute;
  left: calc(var(--x) + var(--shift-x));
  top:  calc(var(--y) + var(--shift-y));
  max-width:560px; color:#FFF;
  font-family:Poppins, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size:1rem; font-weight:400; letter-spacing:-0.24px;
  text-shadow:0 2px 8px rgba(0,0,0,.35);
  pointer-events:auto; cursor:pointer; z-index:4;
}
.careers3-callout[data-side="left"]{
  transform: translate(calc(-100% - var(--gap-left)), calc(var(--offset) + var(--offset-adjust)));
  text-align:right;
}
.careers3-callout[data-side="right"]{
  transform: translate(var(--gap-right), calc(var(--offset) + var(--offset-adjust)));
  text-align:left;
}

/* Botón - positioned in middle left */
.explore-btn {
  position: absolute; 
  top: 90%; 
  left: clamp(1rem,3vw,2rem);
  transform: translateY(-50%);
  background: transparent; border: 2px solid #FFF; color: #FFF;
  padding: 1rem 2rem; border-radius: 8px; 
  font-size: 16px; font-weight: 600;
  cursor: pointer; text-decoration: none; z-index: 10; transition: all 0.3s ease;
}
.explore-btn:hover { background:#FFF; color:#000; }

/* Mobile message */
.careers3-mobile-msg { 
  display: none; /* Hidden by default - only show on small screens */
  position:absolute; left:0; right:0; bottom:0;
  padding: clamp(12px, 3.5vw, 18px) clamp(16px, 4vw, 24px);
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0.75) 100%);
  color:#fff; 
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(16px, 4.4vw, 20px);
  font-weight: 500;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
  z-index: 6;
  min-height: 90px;
  flex-direction: column;
}

.careers3-mobile-msg .kicker{
  opacity:.85; font-weight:600; 
  font-size: .9em; margin-bottom:.25em;
  display: none; /* Commented out for now */
}
.careers3-mobile-msg .text{ 
  font-weight:400; 
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 40px;
}

/* Mobile indicator dots */
.mobile-indicators {
  display: none;
  justify-content: center;
  gap: 8px;
  padding: 8px clamp(16px, 4vw, 24px) 0;
  position: relative;
  z-index: 7;
  flex-shrink: 0;
}

.mobile-indicator-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #021de0;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

.mobile-indicator-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #fff;
  transition: all 0.3s ease;
}

.mobile-indicator-dot.active::after {
  width: 8px;
  height: 8px;
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */

/* Large Desktop - maintain full experience, show callouts and dots */
@media (min-width: 1400px) {
  .careers3-callout {
    font-size: 1.4rem !important;
    max-width: clamp(560px, 40vw, 640px);
    display: block !important;
  }
  .careers3-dot {
    display: block !important;
  }
  .careers3-mobile-msg { display: none !important; }
  .mobile-indicators { display: none !important; }
}

/* Desktop - standard experience with intelligent scaling, show callouts and dots */
@media (min-width: 1025px) and (max-width: 1399px) {
  .careers3-callout{
    font-size: clamp(16px, 2.0vw, 20px);
    max-width: clamp(420px, 32vw, 480px);
    display: block !important;
  }
  .careers3-dot {
    display: block !important;
  }
  .careers3-anchors{
    --gap-left:  clamp(24px, 2.8vw, 48px);
    --gap-right: clamp(24px, 3.2vw, 52px);
  }
  .careers3-mobile-msg { display: none !important; }
  .mobile-indicators { display: none !important; }
}

/* Tablet/iPad - Hide dots and lines, show mobile message */
@media (min-width: 769px) and (max-width: 1024px) {
  .careers3-callout { display: none !important; }
  .careers3-dot { display: none !important; }
  .diagonal-line, .horizontal-line { display: none !important; }
  
  .careers3-mobile-msg { 
    display: flex !important;
    font-size: clamp(11px, 3.0vw, 15px);
    line-height: 1.4;
    min-height: 90px;
  }
  .mobile-indicators { display: flex !important; }
}

/* Large Mobile Landscape - NO DOTS, show mobile message */
@media (min-width: 481px) and (max-width: 768px) {
  .careers3-dot { display: none !important; }
  .diagonal-line, .horizontal-line { display: none !important; }
  .careers3-callout { display: none !important; }
  
  .careers3-mobile-msg { 
    display: flex !important;
    font-size: clamp(10px, 3.0vw, 13px);
    line-height: 1.3;
    min-height: 85px;
  }
  .mobile-indicators { display: flex !important; }
}

/* Mobile Portrait - NO DOTS, show mobile message */
@media (max-width: 480px) {
  .careers3-dot { display: none !important; }
  .diagonal-line, .horizontal-line { display: none !important; }
  .careers3-callout { display: none !important; }
  
  .careers3-mobile-msg { 
    display: flex !important;
    font-size: clamp(9px, 3.5vw, 12px);
    line-height: 2;
    min-height: 80px;
  }
  .mobile-indicators { display: flex !important; }

  .careers3-logo {
    position: relative !important; /* Change from absolute to relative */
    top: auto !important;          /* Reset top positioning */
    left: auto !important;         /* Reset left positioning */
    margin-top: 3rem !important;
    margin-bottom: 1rem !important;
    display: block;                /* Ensure it's a block element */
    margin-left: auto;             /* Center horizontally */
    margin-right: auto;            /* Center horizontally */
  }

  /* Make button smaller for mobile */
  .explore-btn {
    padding: 0.7rem 1.4rem !important;  /* 30% smaller padding */
    font-size: 11px !important;         /* Smaller font size */
    border-radius: 6px !important;      /* Smaller border radius */
    border-width: 1.5px !important;     /* Thinner border */
  }

}


/* =============================CAREERS3 ANIMATIONS ONLY ==============================================
Add these animation rules to your existing CSS
=======================================================================================*/

/* LOGO ENTRANCE ANIMATION */
.careers3-logo {
  opacity: 0;
  transform: translateY(-20px) scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.careers3-logo.animate {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.1s;
}

/* TITLE ENTRANCE ANIMATION */
.careers3-title {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.careers3-title.animate {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* VIGNETTE ENTRANCE */
.careers3-vignette {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.careers3-vignette.animate {
  opacity: 1;
  transition-delay: 0.4s;
}

/* DOTS ENTRANCE ANIMATION - STAGGERED */
.careers3-dot {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.careers3-dot.animate {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Staggered delays for each dot */
.careers3-dot[data-key="1"].animate {
  transition-delay: 0.5s;
}

.careers3-dot[data-key="2"].animate {
  transition-delay: 0.6s;
}

.careers3-dot[data-key="3"].animate {
  transition-delay: 0.7s;
}

.careers3-dot[data-key="4"].animate {
  transition-delay: 0.8s;
}

/* CALLOUTS ENTRANCE ANIMATION */
.careers3-callout {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.careers3-callout[data-side="left"].animate {
  opacity: 1;
  transform: translate(calc(-100% - var(--gap-left)), calc(var(--offset) + var(--offset-adjust)));
  transition-delay: 0.7s;
}

.careers3-callout[data-side="right"].animate {
  opacity: 1;
  transform: translate(var(--gap-right), calc(var(--offset) + var(--offset-adjust)));
  transition-delay: 0.7s;
}

/* EXPLORE BUTTON ENTRANCE */
.explore-btn {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.explore-btn.animate {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.9s;
}

/* MOBILE MESSAGE ENTRANCE */
.careers3-mobile-msg {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.careers3-mobile-msg.animate {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

/* MOBILE INDICATORS ENTRANCE */
.mobile-indicators {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.mobile-indicators.animate {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

/* Individual indicator dots animation */
.mobile-indicator-dot {
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-indicators.animate .mobile-indicator-dot {
  opacity: 1;
  transform: scale(1);
}

.mobile-indicators.animate .mobile-indicator-dot:nth-child(1) {
  transition-delay: 0.8s;
}

.mobile-indicators.animate .mobile-indicator-dot:nth-child(2) {
  transition-delay: 0.85s;
}

.mobile-indicators.animate .mobile-indicator-dot:nth-child(3) {
  transition-delay: 0.9s;
}

.mobile-indicators.animate .mobile-indicator-dot:nth-child(4) {
  transition-delay: 0.95s;
}

/* ===== ACCESSIBILITY & PERFORMANCE ===== */

/* RESPECT MOTION PREFERENCES */
@media (prefers-reduced-motion: reduce) {
  .careers3-logo,
  .careers3-title,
  .careers3-vignette,
  .careers3-dot,
  .careers3-callout,
  .explore-btn,
  .careers3-mobile-msg,
  .mobile-indicators,
  .mobile-indicator-dot {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* MOBILE PERFORMANCE OPTIMIZATION */
@media (max-width: 768px) {
  .careers3-logo,
  .careers3-title,
  .careers3-mobile-msg,
  .mobile-indicators {
    transition-duration: 0.6s;
  }
}








/* =============================SECTION 4 ==============================================
=======================================================================================*/

.job-director-section {
  background: #000;
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4rem) 0;
}

.job-logo-container {
  width: clamp(120px, 18vw, 207px);
  height: clamp(86px, 12vw, 149px);
  border-radius: clamp(8px, 1.5vw, 15px);
  border: clamp(1.5px, 0.2vw, 2px) solid #fff; /* white frame */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: absolute;
  top: clamp(2rem, 8vw, 6rem);
  left: 0;
  z-index: 10;
  background: transparent;
  overflow: hidden;
}

/* ↓↓↓ smaller logo inside the box ↓↓↓ */
.job-logo-image {
  width: 40%;          /* was 70%, now smaller */
  height: auto;        /* preserve proportions */
  object-fit: contain; /* prevent distortion */
  display: block;
  transition: transform 0.3s ease;
}

/* Optional: add a subtle hover effect */
.job-logo-container:hover .job-logo-image {
  transform: scale(1.05);
}

.job-left-column {
  position: relative;
  height: 100%;
  min-height: clamp(350px, 50vw, 600px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.job-team-image-container {
  position: relative;
  border-radius: clamp(12px, 2.5vw, 20px);
  overflow: hidden;
  max-width: 100%;
  margin-top: clamp(40px, 10vw, 80px);
}

.job-team-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: clamp(12px, 2.5vw, 20px);
}

.job-bubble-image {
  height: auto;
  max-width: clamp(200px, 20vw, 280px);
  display: block;
  pointer-events: auto;
}

.job-right-column {
  padding-left: clamp(1.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  gap: clamp(0.8rem, 2.5vw, 1.5rem);
}

.job-title {
  font-size: clamp(1.8rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: clamp(1.05, 0.02vw + 1, 1.1);
  margin-bottom: clamp(0.8rem, 2.5vw, 1.5rem);
  color: white;
  word-wrap: break-word;
  hyphens: auto;
}

.job-subtitle {
  font-size: clamp(1rem, 2.8vw, 1.4rem);
  font-weight: 400;
  margin-bottom: clamp(1.2rem, 3.5vw, 2rem);
  color: white;
  line-height: clamp(1.2, 0.02vw + 1.15, 1.3);
}

.job-description {
  color: #fff;
  text-align: center;
  font-family: Poppins, system-ui, -apple-system, sans-serif;
  font-size: clamp(14px, 2vw, 18px);
  font-style: normal;
  font-weight: 400;
  line-height: clamp(1.4, 0.03vw + 1.3, 1.6);
  letter-spacing: clamp(-0.1px, -0.005em, -0.2px);
  margin-bottom: clamp(0.8rem, 2.5vw, 1.2rem);
  word-wrap: break-word;
  hyphens: auto;
  white-space: normal;
  overflow-wrap: break-word;
}

.job-details {
  color: #fff;
  text-align: center;
  font-family: Poppins, system-ui, -apple-system, sans-serif;
  font-size: clamp(14px, 2vw, 18px);
  font-style: normal;
  font-weight: 400;
  line-height: clamp(1.4, 0.03vw + 1.3, 1.6);
  letter-spacing: clamp(-0.1px, -0.005em, -0.2px);
  margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
  word-wrap: break-word;
  hyphens: auto;
  white-space: normal;
  overflow-wrap: break-word;
}

.job-apply-btn {
  display: inline-flex;
padding: 15px 30px;
justify-content: center;
align-items: center;
gap: 10px;
border-radius: 5px;
background: #021de0;
color:white;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem) !important;
  font-weight: 500 !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-block;
  width: fit-content;
  white-space: nowrap;
  min-height: clamp(40px, 6vw, 52px);
}

.job-apply-btn:hover {
  background: white !important;
  color: black !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* ===== ALL BUBBLE POSITIONING RULES ORGANIZED TOGETHER ===== */

/* BASE RULE */
.job-join-overlay {
  position: absolute;
  top: calc(clamp(38%, 5vw + 35%, 45%) + 2rem);
  left: clamp(40%, 6vw + 35%, 47%);
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  padding: 0;
  text-align: center;
  z-index: 20;
  pointer-events: none;
}

/* EXTRA LARGE SCREENS (1400px+) */
@media (min-width: 1400px) {
  .job-join-overlay {
    left: 46%;
    top: calc(42% + 2rem);
  }
}

/* LARGE DESKTOP (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .job-join-overlay {
    left: 44%;
    top: calc(41% + 2rem);
  }
}

/* MEDIUM DESKTOP (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .job-join-overlay {
    left: 42% !important;
    top: calc(43% + 2rem) !important;
  }
}

/* TABLET LANDSCAPE (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .job-join-overlay {
    top: calc(30% + 2rem) !important;
    left: 75% !important;
    transform: translate(-50%, -50%);
  }
}

/* MOBILE (max 767px) */
@media (max-width: 767px) {
  .job-director-section .job-join-overlay {
    position: absolute !important;
    top: 30% !important;
    left: 80% !important;
    transform: translate(-70%, -180%) !important;
    z-index: 20;
  }
}

/* ULTRA SMALL (max 360px) */
@media (max-width: 360px) {
  .job-director-section .job-join-overlay {
    left: 78% !important;
  }
}

/* EXTRA SMALL (max 320px) */
@media (max-width: 320px) {
  .job-director-section .job-join-overlay,
  .job-director-section .col-lg-6 .job-join-overlay,
  .job-director-section .row .col-lg-6 .job-join-overlay,
  .job-director-section .containerd .row .col-lg-6 .job-join-overlay {
    top: var(--mobile-bubble-top) !important;
    left: var(--mobile-bubble-left) !important;
    position: absolute !important;
    transform: translate(-50%, -50%) !important;
    z-index: 9999 !important;
  }
}

/* ===== END ALL BUBBLE POSITIONING RULES ===== */

/* ===== BULLETPROOF MOBILE OVERRIDE USING CSS GRID ===== */
@media (max-width: 767px) {
  
  /* Convert Bootstrap row to CSS Grid */
  .job-director-section .row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Force columns to be grid items */
  .job-director-section .col-lg-6,
  .job-director-section .col-md-6,
  .job-director-section .col-sm-6,
  .job-director-section .col-6,
  .job-director-section [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: none !important;
    float: none !important;
  }
  
  /* Image section - Grid item 1 */
  .job-director-section .col-lg-6:first-child {
    grid-row: 1 !important;
    grid-column: 1 !important;
    margin-bottom: 2rem !important;
    padding: 0 1rem !important;
  }
  
  /* Text section - Grid item 2 */
  .job-director-section .col-lg-6:last-child {
    grid-row: 2 !important;
    grid-column: 1 !important;
    padding: 0 1rem !important;
  }
  
  /* Section adjustments */
  .job-director-section {
    min-height: auto !important;
    padding: 2rem 0 !important;
    align-items: stretch !important;
  }
  
  /* Container adjustments */
  .job-director-section .containerd,
  .job-director-section .container,
  .job-director-section .container-fluid {
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* ===== ENHANCED RESPONSIVE BREAKPOINTS ===== */

/* Extra Large Screens (1400px+) */
@media (min-width: 1400px) {
  .job-director-section {
    padding: 5rem 0;
  }
  
  .job-right-column {
    padding-left: 5rem;
    gap: 2rem;
  }
  
  .job-bubble-image {
    max-width: 240px;
  }
  
  .job-title {
    font-size: 3.8rem;
  }
  
  .job-description,
  .job-details {
    font-size: 18px;
  }
}

/* Large Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .job-bubble-image {
    max-width: 200px;
  }
  
  .job-logo-container {
    top: 4rem;
  }
  
  .job-title {
    font-size: 3.2rem;
  }
}

/* Medium Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .job-bubble-image {
    max-width: 160px !important;
  }
  
  .job-right-column {
    padding-left: 2.5rem;
    gap: 1rem;
  }
  
  .job-logo-container {
    top: 3rem;
    width: 160px;
    height: 115px;
  }
  
  .job-title {
    font-size: 2.4rem !important;
  }
  
  .job-description,
  .job-details {
    font-size: 15px !important;
  }
}

/* Tablet Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {

    .explore-btn {
    top:50% !important;
  }

 


  .job-director-section {
    min-height: auto;
    padding: 3rem 0;
  }

  .job-left-column {
    min-height: 400px;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
  }

  .job-logo-container {
    position: absolute !important;
    top: 3rem !important;
    left: 1rem !important;
    margin: 0 !important;
    width: 196px; /* 140px + 40% */
    height: 140px; /* 100px + 40% */
    z-index: 15;
  }

  .job-team-image-container {
    margin-top: 0;
    position: relative;
  }

  .job-bubble-image {
    max-width: 196px !important; /* 140px + 40% */
  }

  .job-right-column {
    padding-left: 0;
    text-align: center;
    gap: 1.2rem;
  }
  
  .job-title {
    font-size: 2rem !important;
    line-height: 1.1 !important;
  }

  .job-subtitle {
    font-size: 1.1rem !important;
    line-height: 1.2 !important;
  }

  .job-description,
  .job-details {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
}

/* Mobile Portrait and Landscape (max 767px) - STACKED LAYOUT */
@media (max-width: 767px) {
  
  .explore-btn {
    top:50% !important;
  }

  /* Image section */
  .job-director-section .job-left-column {
    min-height: 280px;
    margin-bottom: 0;
    text-align: center;
    position: relative;
    width: 100%;
  }

  /* Logo positioned at upper left corner of image */
  .job-director-section .job-logo-container {
    position: absolute !important;
    top: 0.8rem !important;
    left: 0.8rem !important;
    margin: 0 !important;
    width: 80px;
    height: 57px;
    z-index: 15;
  }

  .job-director-section .job-logo {
    width: 19px;
    height: 15px;
  }

  /* Full width image container */
  .job-director-section .job-team-image-container {
    margin-top: 0;
    position: relative;
    width: 100%;
  }

  .job-director-section .job-team-image {
    width: 100%;
    height: auto;
    display: block;
  }

  .job-director-section .job-bubble-image {
   
  }

  /* Text section */
  .job-director-section .job-right-column {
    padding: 0 !important;
    text-align: center;
    gap: 1rem;
    width: 100%;
  }

  .job-director-section .job-title {
    font-size: 1.6rem !important;
    margin-bottom: 0.8rem;
  }

  .job-director-section .job-subtitle {
    font-size: 0.95rem !important;
    margin-bottom: 1rem;
  }

  .job-director-section .job-description,
  .job-director-section .job-details {
    font-size: 12px !important;
    padding: 0;
    margin-bottom: 1rem;
  }

  .job-director-section .job-apply-btn {
    padding: 0.6rem 1.2rem !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
    min-height: 38px;
    align-content: center;
  }
}

/* Ultra Small Screens (max 360px) */
@media (max-width: 360px) {
  .job-director-section {
    padding: 1rem 0;
  }

  .job-director-section .job-left-column {
    min-height: 240px;
    margin-bottom: 0;
  }

  .job-director-section .job-logo-container {
    top: 0.6rem !important;
    left: 0.6rem !important;
    width: 70px;
    height: 50px;
  }

  .job-director-section .job-logo {
    width: 17px;
    height: 13px;
  }

  .job-director-section .job-bubble-image {
    max-width: 80px !important;
  }

  .job-director-section .job-right-column {
    gap: 0.8rem;
  }

  .job-director-section .job-title {
    font-size: 1.4rem !important;
    line-height: 1.1;
  }

  .job-director-section .job-subtitle {
    font-size: 0.9rem !important;
  }

  .job-director-section .job-description,
  .job-director-section .job-details {
    font-size: 11px !important;
    margin-bottom: 0.8rem;
  }

  .job-director-section .job-apply-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
    min-height: 36px;
  }
}

/* BULLETPROOF Extra Small Screens (max 320px) */
@media (max-width: 320px) {
  .job-director-section {
    padding: 0.5rem 0;
  }

  .job-director-section .job-left-column {
    min-height: 200px;
  }

  .job-director-section .job-logo-container {
    top: 0.5rem !important;
    left: 0.5rem !important;
    width: 60px;
    height: 43px;
  }

  .job-director-section .job-logo {
    width: 15px;
    height: 12px;
  }

  .job-director-section .job-bubble-image,
  .job-director-section .col-lg-6 .job-bubble-image,
  .job-director-section .row .col-lg-6 .job-bubble-image,
  .job-director-section .containerd .row .col-lg-6 .job-bubble-image {
    max-width: var(--mobile-bubble-size-320) !important;
    width: var(--mobile-bubble-size-320) !important;
    height: auto !important;
    display: block !important;
    transform: scale(1) !important;
  }

  .job-director-section .job-title {
    font-size: 1.2rem !important;
  }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 600px) and (max-width: 767px) {
  .job-director-section {
    min-height: 95vh;
    padding: 1rem 0;
  }
  
  .job-director-section .job-left-column {
    min-height: 200px;
  }
}

/* Additional fixes for WordPress/CMS issues */
.job-description br,
.job-details br {
  display: none !important;
}

.job-description p,
.job-details p {
  margin: 0;
  display: inline;
}

/* High DPI / Retina Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .job-team-image,
  .job-bubble-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Accessibility and Performance */
@media (prefers-reduced-motion: reduce) {
  .job-apply-btn {
    transition: none !important;
  }
  
  .job-apply-btn:hover {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .job-logo-container {
    border-width: 3px;
    background: rgba(0, 0, 0, 0.1);
  }
  
  .job-apply-btn {
    border-width: 3px !important;
    background: rgba(0, 0, 0, 0.1) !important;
  }
}

/* Print styles */
@media print {
  .job-director-section {
    background: white !important;
    color: black !important;
    min-height: auto;
    padding: 1rem;
  }
  
  .job-bubble-image {
    display: none;
  }
  
  .job-apply-btn {
    border: 2px solid black !important;
    color: black !important;
  }
}




/* =============================ANIMATIONS ONLY ==============================================
Add these animation rules to your existing CSS - Safari Compatible Version
=======================================================================================*/

/* NATURAL FLOATING BUBBLE EFFECT - ONLY WHEN IN VIEW */
.job-bubble-image {
  -webkit-transform-origin: center;
  -moz-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
  will-change: transform;
  opacity: 0;
  -webkit-transform: translateY(20px);
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  transform: translateY(20px);
  -webkit-transition: opacity 0.6s ease, -webkit-transform 0.6s ease;
  -moz-transition: opacity 0.6s ease, -moz-transform 0.6s ease;
  -ms-transition: opacity 0.6s ease, -ms-transform 0.6s ease;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.job-bubble-image.animate {
  -webkit-animation: spaceFloat 12s ease-in-out infinite;
  -moz-animation: spaceFloat 12s ease-in-out infinite;
  -ms-animation: spaceFloat 12s ease-in-out infinite;
  animation: spaceFloat 12s ease-in-out infinite;
  opacity: 1;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

/* NATURAL FLOATING OVERLAY SYNC */
.job-join-overlay {
  opacity: 0;
  -webkit-transform: translate(-50%, -50%) translateY(20px);
  -moz-transform: translate(-50%, -50%) translateY(20px);
  -ms-transform: translate(-50%, -50%) translateY(20px);
  transform: translate(-50%, -50%) translateY(20px);
  -webkit-transition: opacity 0.6s ease, -webkit-transform 0.6s ease;
  -moz-transition: opacity 0.6s ease, -moz-transform 0.6s ease;
  -ms-transition: opacity 0.6s ease, -ms-transform 0.6s ease;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.job-join-overlay.animate {
  -webkit-animation: spaceOverlayFloat 12s ease-in-out infinite;
  -moz-animation: spaceOverlayFloat 12s ease-in-out infinite;
  -ms-animation: spaceOverlayFloat 12s ease-in-out infinite;
  animation: spaceOverlayFloat 12s ease-in-out infinite;
  opacity: 1;
  -webkit-transform: translate(-50%, -50%) translateY(0);
  -moz-transform: translate(-50%, -50%) translateY(0);
  -ms-transform: translate(-50%, -50%) translateY(0);
  transform: translate(-50%, -50%) translateY(0);
}

/* CONTENT SCROLL-TRIGGERED ANIMATIONS */
.job-title {
  opacity: 0;
  -webkit-transform: translateY(30px);
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  transform: translateY(30px);
  -webkit-transition: opacity 0.8s ease, -webkit-transform 0.8s ease;
  -moz-transition: opacity 0.8s ease, -moz-transform 0.8s ease;
  -ms-transition: opacity 0.8s ease, -ms-transform 0.8s ease;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.job-title.animate {
  opacity: 1;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition-delay: 0.1s;
  -moz-transition-delay: 0.1s;
  -ms-transition-delay: 0.1s;
  transition-delay: 0.1s;
}

.job-subtitle {
  opacity: 0;
  -webkit-transform: translateY(30px);
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  transform: translateY(30px);
  -webkit-transition: opacity 0.8s ease, -webkit-transform 0.8s ease;
  -moz-transition: opacity 0.8s ease, -moz-transform 0.8s ease;
  -ms-transition: opacity 0.8s ease, -ms-transform 0.8s ease;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.job-subtitle.animate {
  opacity: 1;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition-delay: 0.2s;
  -moz-transition-delay: 0.2s;
  -ms-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

.job-description {
  opacity: 0;
  -webkit-transform: translateY(30px);
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  transform: translateY(30px);
  -webkit-transition: opacity 0.8s ease, -webkit-transform 0.8s ease;
  -moz-transition: opacity 0.8s ease, -moz-transform 0.8s ease;
  -ms-transition: opacity 0.8s ease, -ms-transform 0.8s ease;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.job-description.animate {
  opacity: 1;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition-delay: 0.3s;
  -moz-transition-delay: 0.3s;
  -ms-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

.job-details {
  opacity: 0;
  -webkit-transform: translateY(30px);
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  transform: translateY(30px);
  -webkit-transition: opacity 0.8s ease, -webkit-transform 0.8s ease;
  -moz-transition: opacity 0.8s ease, -moz-transform 0.8s ease;
  -ms-transition: opacity 0.8s ease, -ms-transform 0.8s ease;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.job-details.animate {
  opacity: 1;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition-delay: 0.4s;
  -moz-transition-delay: 0.4s;
  -ms-transition-delay: 0.4s;
  transition-delay: 0.4s;
}



/* ===== KEYFRAME ANIMATIONS ===== */

/* SHIMMER EFFECT KEYFRAMES */
@-webkit-keyframes shimmer {
  0% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

@-moz-keyframes shimmer {
  0% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

@-ms-keyframes shimmer {
  0% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

@keyframes shimmer {
  0% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

/* SPACE-LIKE FLOATING BUBBLE ANIMATION - VERY SUBTLE */
@-webkit-keyframes spaceFloat {
  0% {
    -webkit-transform: translateY(0) translateX(0) rotate(0deg);
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  25% {
    -webkit-transform: translateY(-2px) translateX(1px) rotate(0.1deg);
    transform: translateY(-2px) translateX(1px) rotate(0.1deg);
  }
  50% {
    -webkit-transform: translateY(-3px) translateX(0px) rotate(0deg);
    transform: translateY(-3px) translateX(0px) rotate(0deg);
  }
  75% {
    -webkit-transform: translateY(-1px) translateX(-1px) rotate(-0.1deg);
    transform: translateY(-1px) translateX(-1px) rotate(-0.1deg);
  }
  100% {
    -webkit-transform: translateY(0) translateX(0) rotate(0deg);
    transform: translateY(0) translateX(0) rotate(0deg);
  }
}

@-moz-keyframes spaceFloat {
  0% {
    -moz-transform: translateY(0) translateX(0) rotate(0deg);
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  25% {
    -moz-transform: translateY(-2px) translateX(1px) rotate(0.1deg);
    transform: translateY(-2px) translateX(1px) rotate(0.1deg);
  }
  50% {
    -moz-transform: translateY(-3px) translateX(0px) rotate(0deg);
    transform: translateY(-3px) translateX(0px) rotate(0deg);
  }
  75% {
    -moz-transform: translateY(-1px) translateX(-1px) rotate(-0.1deg);
    transform: translateY(-1px) translateX(-1px) rotate(-0.1deg);
  }
  100% {
    -moz-transform: translateY(0) translateX(0) rotate(0deg);
    transform: translateY(0) translateX(0) rotate(0deg);
  }
}

@-ms-keyframes spaceFloat {
  0% {
    -ms-transform: translateY(0) translateX(0) rotate(0deg);
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  25% {
    -ms-transform: translateY(-2px) translateX(1px) rotate(0.1deg);
    transform: translateY(-2px) translateX(1px) rotate(0.1deg);
  }
  50% {
    -ms-transform: translateY(-3px) translateX(0px) rotate(0deg);
    transform: translateY(-3px) translateX(0px) rotate(0deg);
  }
  75% {
    -ms-transform: translateY(-1px) translateX(-1px) rotate(-0.1deg);
    transform: translateY(-1px) translateX(-1px) rotate(-0.1deg);
  }
  100% {
    -ms-transform: translateY(0) translateX(0) rotate(0deg);
    transform: translateY(0) translateX(0) rotate(0deg);
  }
}

@keyframes spaceFloat {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  25% {
    transform: translateY(-2px) translateX(1px) rotate(0.1deg);
  }
  50% {
    transform: translateY(-3px) translateX(0px) rotate(0deg);
  }
  75% {
    transform: translateY(-1px) translateX(-1px) rotate(-0.1deg);
  }
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
}

/* SPACE-LIKE FLOATING OVERLAY ANIMATION */
@-webkit-keyframes spaceOverlayFloat {
  0% {
    -webkit-transform: translate(-50%, -50%) translateY(0) translateX(0);
    transform: translate(-50%, -50%) translateY(0) translateX(0);
  }
  25% {
    -webkit-transform: translate(-50%, -50%) translateY(-1px) translateX(0.5px);
    transform: translate(-50%, -50%) translateY(-1px) translateX(0.5px);
  }
  50% {
    -webkit-transform: translate(-50%, -50%) translateY(-2px) translateX(0px);
    transform: translate(-50%, -50%) translateY(-2px) translateX(0px);
  }
  75% {
    -webkit-transform: translate(-50%, -50%) translateY(-1px) translateX(-0.5px);
    transform: translate(-50%, -50%) translateY(-1px) translateX(-0.5px);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) translateY(0) translateX(0);
    transform: translate(-50%, -50%) translateY(0) translateX(0);
  }
}

@-moz-keyframes spaceOverlayFloat {
  0% {
    -moz-transform: translate(-50%, -50%) translateY(0) translateX(0);
    transform: translate(-50%, -50%) translateY(0) translateX(0);
  }
  25% {
    -moz-transform: translate(-50%, -50%) translateY(-1px) translateX(0.5px);
    transform: translate(-50%, -50%) translateY(-1px) translateX(0.5px);
  }
  50% {
    -moz-transform: translate(-50%, -50%) translateY(-2px) translateX(0px);
    transform: translate(-50%, -50%) translateY(-2px) translateX(0px);
  }
  75% {
    -moz-transform: translate(-50%, -50%) translateY(-1px) translateX(-0.5px);
    transform: translate(-50%, -50%) translateY(-1px) translateX(-0.5px);
  }
  100% {
    -moz-transform: translate(-50%, -50%) translateY(0) translateX(0);
    transform: translate(-50%, -50%) translateY(0) translateX(0);
  }
}

@-ms-keyframes spaceOverlayFloat {
  0% {
    -ms-transform: translate(-50%, -50%) translateY(0) translateX(0);
    transform: translate(-50%, -50%) translateY(0) translateX(0);
  }
  25% {
    -ms-transform: translate(-50%, -50%) translateY(-1px) translateX(0.5px);
    transform: translate(-50%, -50%) translateY(-1px) translateX(0.5px);
  }
  50% {
    -ms-transform: translate(-50%, -50%) translateY(-2px) translateX(0px);
    transform: translate(-50%, -50%) translateY(-2px) translateX(0px);
  }
  75% {
    -ms-transform: translate(-50%, -50%) translateY(-1px) translateX(-0.5px);
    transform: translate(-50%, -50%) translateY(-1px) translateX(-0.5px);
  }
  100% {
    -ms-transform: translate(-50%, -50%) translateY(0) translateX(0);
    transform: translate(-50%, -50%) translateY(0) translateX(0);
  }
}

@keyframes spaceOverlayFloat {
  0% {
    transform: translate(-50%, -50%) translateY(0) translateX(0);
  }
  25% {
    transform: translate(-50%, -50%) translateY(-1px) translateX(0.5px);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-2px) translateX(0px);
  }
  75% {
    transform: translate(-50%, -50%) translateY(-1px) translateX(-0.5px);
  }
  100% {
    transform: translate(-50%, -50%) translateY(0) translateX(0);
  }
}

/* GENTLE PULSING GLOW */
@-webkit-keyframes gentlePulse {
  0%, 100% {
    -webkit-box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
  }
  50% {
    -webkit-box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  }
}

@-moz-keyframes gentlePulse {
  0%, 100% {
    -moz-box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
  }
  50% {
    -moz-box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  }
}

@-ms-keyframes gentlePulse {
  0%, 100% {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  }
}

@keyframes gentlePulse {
  0%, 100% {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  }
}

/* ===== ACCESSIBILITY & PERFORMANCE ===== */

/* RESPECT MOTION PREFERENCES */
@media (prefers-reduced-motion: reduce) {
  .job-bubble-image,
  .job-join-overlay,
  .job-apply-btn {
    -webkit-animation: none !important;
    -moz-animation: none !important;
    -ms-animation: none !important;
    animation: none !important;
  }
  
  .job-title,
  .job-subtitle,
  .job-description,
  .job-details,
  .job-apply-btn {
    opacity: 1 !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
    -webkit-transition: color 0.2s ease, background 0.2s ease !important;
    -moz-transition: color 0.2s ease, background 0.2s ease !important;
    -ms-transition: color 0.2s ease, background 0.2s ease !important;
    transition: color 0.2s ease, background 0.2s ease !important;
  }
  
  .job-apply-btn:hover {
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    transform: none;
  }
}

/* MOBILE PERFORMANCE OPTIMIZATION */
@media (max-width: 767px) {
  .job-bubble-image.animate {
    -webkit-animation-duration: 8s; /* Slower on mobile for better performance */
    -moz-animation-duration: 8s;
    -ms-animation-duration: 8s;
    animation-duration: 8s;
  }
}