/* ═══════════════════════════════════════════════════════════════
   TALENTIBEX CAREERS PLUGIN — MASTER STYLESHEET
   Design System: Kinetic Architect — Amber / White / Obsidian
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts are loaded via wp_enqueue_style ─────────────── */

/* ── CSS Variables ────────────────────────────────────────────── */
/* CSS Variables — scoped to #tibex-root AND Elementor wrapper variants */
#tibex-root,
.elementor-widget-container #tibex-root,
.elementor-section #tibex-root,
.e-container #tibex-root,
.e-con #tibex-root,
.e-con-inner #tibex-root {
    --tibex-primary:     #FFA305;
    --tibex-primary-dk:  #e08c00;
    --tibex-black:       #000000;
    --tibex-white:       #ffffff;
    --tibex-bg:          #ffffff;
    --tibex-surface:     #f9f9f9;
    --tibex-surface-md:  #f5f5f5;
    --tibex-on-surface:  #171717;
    --tibex-muted:       #525252;
    --tibex-border:      #e5e5e5;
    --tibex-border-lt:   #f5f5f5;
    --tibex-font-head:   'Space Grotesk', sans-serif;
    --tibex-font-body:   'Inter', sans-serif;
    --tibex-radius:      4px;
    --tibex-radius-sm:   2px;
    --tibex-shadow:      0 2px 12px rgba(0,0,0,0.07);
    --tibex-shadow-lg:   0 20px 40px rgba(0,0,0,0.10);
    --tibex-transition:  all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ── Reset within plugin ──────────────────────────────────────── */
#tibex-root *,
#tibex-root *::before,
#tibex-root *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
#tibex-root {
    font-family: var(--tibex-font-body);
    color: var(--tibex-on-surface);
    background: var(--tibex-bg);
    line-height: 1.6;
    overflow-x: hidden;
}
#tibex-root a {
    text-decoration: none;
    color: inherit;
}
#tibex-root ul { list-style: none; }
#tibex-root img { display: block; max-width: 100%; }
#tibex-root button { cursor: pointer; border: none; background: none; font-family: inherit; }
#tibex-root input, #tibex-root select, #tibex-root textarea {
    font-family: var(--tibex-font-body);
    font-size: 14px;
}

  #tibex-root .material-symbols-outlined{
    font-variation-settings: 'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

/* ── Container ────────────────────────────────────────────────── */
  #tibex-root .tibex-container{
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ════════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════════ */
  #tibex-root .tibex-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--tibex-radius-sm);
    transition: var(--tibex-transition);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}
  #tibex-root .tibex-btn--primary{
    background: var(--tibex-primary);
    color: var(--tibex-black);
    padding: 14px 28px;
}
  #tibex-root .tibex-btn--primary:hover{
    background: var(--tibex-black);
    color: var(--tibex-white);
    transform: translateY(-1px);
}
  #tibex-root .tibex-btn--primary:active{ transform: scale(0.97); }
  #tibex-root .tibex-btn--outline{
    background: transparent;
    color: var(--tibex-primary);
    border: 2px solid var(--tibex-primary);
    padding: 12px 28px;
}
  #tibex-root .tibex-btn--outline:hover{
    background: var(--tibex-primary);
    color: var(--tibex-black);
}
  #tibex-root .tibex-btn--ghost{
    background: transparent;
    color: var(--tibex-muted);
    border: 1px solid var(--tibex-border);
    padding: 14px 24px;
}
  #tibex-root .tibex-btn--ghost:hover{ border-color: var(--tibex-on-surface); color: var(--tibex-on-surface); }
  #tibex-root .tibex-btn--sm{ padding: 8px 20px; font-size: 13px; }
  #tibex-root .tibex-btn--lg{ padding: 18px 40px; font-size: 15px; }
  #tibex-root .tibex-btn--full{ width: 100%; justify-content: center; }
  #tibex-root .tibex-btn--submit{ position: relative; }

/* ── Chips ────────────────────────────────────────────────────── */
  #tibex-root .tibex-chip{
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid var(--tibex-border);
    color: var(--tibex-muted);
    font-size: 10px;
    font-family: var(--tibex-font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: var(--tibex-surface);
    border-radius: var(--tibex-radius-sm);
}
  #tibex-root .tibex-chip--dept{
    border-color: rgba(255,163,5,0.4);
    background: rgba(255,163,5,0.08);
    color: #9A3412;
}
  #tibex-root .tibex-chip--type{ border-color: #bfdbfe; background: #eff6ff; color: #1e40af; }

/* ── Accent helpers ───────────────────────────────────────────── */
  #tibex-root .tibex-accent{ color: var(--tibex-primary); }
  #tibex-root .tibex-bold{ font-weight: 700; }
  #tibex-root .tibex-link{ color: var(--tibex-primary); text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════════════ */
  #tibex-root .tibex-nav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229,229,229,0.5);
}
  #tibex-root .tibex-nav__inner{
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
  #tibex-root .tibex-nav__logo{
    font-family: var(--tibex-font-head);
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    color: var(--tibex-primary);
    flex-shrink: 0;
}
  #tibex-root .tibex-nav__links{
    display: flex;
    align-items: center;
    gap: 40px;
}
  #tibex-root .tibex-nav__link{
    font-family: var(--tibex-font-head);
    font-weight: 600;
    font-size: 14px;
    color: var(--tibex-muted);
    letter-spacing: -0.01em;
    transition: color 0.2s;
    position: relative;
    padding-bottom: 4px;
}
  #tibex-root .tibex-nav__link:hover{ color: var(--tibex-primary); }
  #tibex-root .tibex-nav__link--active{
    color: #d97706;
}
  #tibex-root .tibex-nav__link--active::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--tibex-primary);
    border-radius: 1px;
}

/* Mobile hamburger */
  #tibex-root .tibex-hamburger{
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
}
  #tibex-root .tibex-hamburger span{
    display: block;
    width: 22px;
    height: 2px;
    background: var(--tibex-on-surface);
    border-radius: 2px;
    transition: var(--tibex-transition);
}
  #tibex-root .tibex-mobile-drawer{
    display: none;
    flex-direction: column;
    padding: 12px 32px 20px;
    border-top: 1px solid var(--tibex-border);
    gap: 16px;
}
  #tibex-root .tibex-mobile-drawer a{
    font-family: var(--tibex-font-head);
    font-weight: 600;
    font-size: 16px;
    color: var(--tibex-on-surface);
}
  #tibex-root .tibex-mobile-drawer.open{ display: flex; }

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
  #tibex-root .tibex-hero{
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
  #tibex-root .tibex-hero__bg{
    position: absolute;
    inset: 0;
    z-index: 0;
}
  #tibex-root .tibex-hero__bg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) grayscale(0.1);
}
  #tibex-root .tibex-hero__overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.5) 55%, transparent 100%);
}
  #tibex-root .tibex-hero__content{
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
    padding-top: 68px;
}
  #tibex-root .tibex-hero__accent{
    width: 48px;
    height: 4px;
    background: var(--tibex-primary);
    margin-bottom: 32px;
}
  #tibex-root .tibex-hero__headline{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: clamp(48px, 7vw, 88px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
    margin-bottom: 28px;
    max-width: 720px;
}
  #tibex-root .tibex-hero__sub{
    font-size: clamp(16px, 2vw, 22px);
    color: #404040;
    font-weight: 400;
    margin-bottom: 44px;
    max-width: 480px;
    line-height: 1.55;
}

/* ════════════════════════════════════════════════════════════════
   VIDEO SECTION
   ════════════════════════════════════════════════════════════════ */
  #tibex-root .tibex-video-section{
    padding: 100px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}
  #tibex-root .tibex-video-frame{
    border: 1px solid var(--tibex-border);
    background: var(--tibex-surface);
    padding: 8px;
    max-width: 1000px;
    margin: 0 auto;
}
  #tibex-root .tibex-video-thumb{
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: var(--tibex-surface-md);
}
  #tibex-root .tibex-video-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) grayscale(0.3);
    transition: transform 0.8s ease;
}
  #tibex-root .tibex-video-thumb:hover img{ transform: scale(1.03); }
  #tibex-root .tibex-play-btn{
    position: absolute;
    inset: 0;
    margin: auto;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tibex-primary);
    color: var(--tibex-black);
    border-radius: var(--tibex-radius-sm);
    box-shadow: 0 8px 32px rgba(255,163,5,0.4);
    transition: var(--tibex-transition);
    z-index: 1;
}
  #tibex-root .tibex-play-btn .material-symbols-outlined{ font-size: 48px; }
  #tibex-root .tibex-play-btn:hover{ transform: scale(1.08); background: var(--tibex-black); color: var(--tibex-white); }
  #tibex-root .tibex-grid-dots{
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.08;
    background-image: radial-gradient(#000 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ════════════════════════════════════════════════════════════════
   JOBS SECTION
   ════════════════════════════════════════════════════════════════ */
  #tibex-root .tibex-jobs-section{
    padding: 100px 0;
    background: var(--tibex-surface);
}
  #tibex-root .tibex-section-header{
    display: flex;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 72px;
}
  #tibex-root .tibex-section-title{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: clamp(32px, 4.5vw, 60px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
    flex-shrink: 0;
}
  #tibex-root .tibex-divider-line{
    flex-grow: 1;
    height: 2px;
    background: var(--tibex-border);
    display: none;
    margin-bottom: 12px;
}

  #tibex-root .tibex-jobs-layout{
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 56px;
    align-items: start;
}

/* Filter Sidebar */
  #tibex-root .tibex-filter-sidebar{
    position: sticky;
    top: 90px;
}
  #tibex-root .tibex-filter-panel{
    background: #fff;
    border: 1px solid var(--tibex-border);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--tibex-shadow);
}
  #tibex-root .tibex-input-wrap{
    position: relative;
}
  #tibex-root .tibex-input-icon{
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #a3a3a3;
    font-size: 20px;
    pointer-events: none;
    z-index: 1;
}
  #tibex-root .tibex-input{
    width: 100%;
    padding: 14px 14px 14px 44px;
    background: var(--tibex-surface);
    border: 1px solid var(--tibex-border);
    border-radius: var(--tibex-radius-sm);
    color: var(--tibex-on-surface);
    font-size: 13px;
    font-family: var(--tibex-font-head);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: border-color 0.2s;
    outline: none;
    appearance: none;
}
  #tibex-root .tibex-input:focus{ border-color: var(--tibex-primary); }
  #tibex-root .tibex-input::placeholder{ color: #a3a3a3; font-weight: 600; }
  #tibex-root .tibex-select{ cursor: pointer; }

  #tibex-root .tibex-stats-panel{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 8px;
    background: var(--tibex-border);
    border: 1px solid var(--tibex-border);
}
  #tibex-root .tibex-stat{
    background: #fff;
    padding: 20px 16px;
    text-align: center;
}
  #tibex-root .tibex-stat__num{
    font-family: var(--tibex-font-head);
    font-size: 32px;
    font-weight: 700;
    color: var(--tibex-primary);
    line-height: 1;
}
  #tibex-root .tibex-stat__label{
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tibex-muted);
    margin-top: 6px;
}

/* Job Cards Grid */
  #tibex-root .tibex-jobs-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
  #tibex-root .tibex-job-card{
    background: #fff;
    border: 1px solid var(--tibex-border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
    cursor: pointer;
    transition: var(--tibex-transition);
    position: relative;
    box-shadow: var(--tibex-shadow);
}
  #tibex-root .tibex-job-card::after{
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 5px;
    height: 5px;
    background: var(--tibex-primary);
    opacity: 0;
    transition: opacity 0.2s;
}
  #tibex-root .tibex-job-card:hover{
    border-color: var(--tibex-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,163,5,0.12);
}
  #tibex-root .tibex-job-card:hover::after{ opacity: 1; }
  #tibex-root .tibex-job-card__title{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
    margin-bottom: 8px;
    transition: color 0.2s;
    line-height: 1.3;
}
  #tibex-root .tibex-job-card:hover .tibex-job-card__title{ color: var(--tibex-primary); }
  #tibex-root .tibex-job-card__location{
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--tibex-muted);
    font-size: 13px;
}
  #tibex-root .tibex-job-card__location .material-symbols-outlined{ font-size: 15px; }
  #tibex-root .tibex-job-card__bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}
  #tibex-root .tibex-job-card__meta{
    display: flex;
    align-items: center;
    gap: 8px;
}
  #tibex-root .tibex-job-card__arrow{
    color: var(--tibex-primary);
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 20px;
}
  #tibex-root .tibex-job-card:hover .tibex-job-card__arrow{ opacity: 1; }
  #tibex-root .tibex-no-results{
    grid-column: 1/-1;
    text-align: center;
    padding: 80px 32px;
    color: var(--tibex-muted);
}
  #tibex-root .tibex-no-results .material-symbols-outlined{ font-size: 48px; opacity: 0.3; display: block; margin-bottom: 12px; }
  #tibex-root .tibex-load-more-wrap{ grid-column: 1/-1; }

/* ════════════════════════════════════════════════════════════════
   PROGRAMS SECTION
   ════════════════════════════════════════════════════════════════ */
  #tibex-root .tibex-programs-section{
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
    border-top: 1px solid var(--tibex-border-lt);
    position: relative;
}
  #tibex-root .tibex-marquee-bg{
    font-family: var(--tibex-font-head);
    font-size: 100px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    color: var(--tibex-black);
    opacity: 0.03;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    line-height: 1;
}
  #tibex-root .tibex-programs-layout{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}
  #tibex-root .tibex-label-row{
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
  #tibex-root .tibex-label-line{
    width: 48px;
    height: 2px;
    background: var(--tibex-primary);
    flex-shrink: 0;
}
  #tibex-root .tibex-label-text{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tibex-primary);
}
  #tibex-root .tibex-programs-title{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
    line-height: 1.1;
    margin-bottom: 28px;
}
  #tibex-root .tibex-programs-sub{
    font-size: 22px;
    font-weight: 300;
    color: #525252;
    line-height: 1.55;
    margin-bottom: 48px;
}
  #tibex-root .tibex-program-list{
    border-top: 1px solid var(--tibex-border-lt);
}
  #tibex-root .tibex-program-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    border-bottom: 1px solid var(--tibex-border-lt);
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
    transition: var(--tibex-transition);
}
  #tibex-root .tibex-program-item .material-symbols-outlined{
    opacity: 0;
    color: var(--tibex-primary);
    font-size: 24px;
    transform: translateX(-8px);
    transition: var(--tibex-transition);
}
  #tibex-root .tibex-program-item:hover{
    color: var(--tibex-primary);
    padding-left: 12px;
}
  #tibex-root .tibex-program-item:hover .material-symbols-outlined{
    opacity: 1;
    transform: translateX(0);
}
  #tibex-root .tibex-programs-image{
    position: relative;
    height: 640px;
    border: 1px solid var(--tibex-border);
    padding: 10px;
    background: var(--tibex-surface);
    overflow: hidden;
}
  #tibex-root .tibex-programs-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2);
    transition: transform 1s ease;
}
  #tibex-root .tibex-programs-image:hover img{ transform: scale(1.05); }
  #tibex-root .tibex-programs-badge{
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: #fff;
    border: 1px solid var(--tibex-primary);
    padding: 20px 24px;
    box-shadow: var(--tibex-shadow-lg);
    transform: translateY(8px);
    transition: transform 0.5s ease;
}
  #tibex-root .tibex-programs-image:hover .tibex-programs-badge{ transform: translateY(0); }
  #tibex-root .tibex-programs-badge__label{
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--tibex-primary);
    margin-bottom: 6px;
}
  #tibex-root .tibex-programs-badge__title{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
}

/* ════════════════════════════════════════════════════════════════
   COMMUNITY SECTION
   ════════════════════════════════════════════════════════════════ */
  #tibex-root .tibex-community-section{
    padding: 100px 0;
    background: var(--tibex-surface);
    overflow: hidden;
}
  #tibex-root .tibex-community-header{ margin-bottom: 56px; }
  #tibex-root .tibex-community-title{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: clamp(40px, 6vw, 72px);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
    margin-bottom: 16px;
}
  #tibex-root .tibex-community-subrow{
    display: flex;
    align-items: center;
    gap: 24px;
}
  #tibex-root .tibex-accent-bar{
    width: 96px;
    height: 2px;
    background: var(--tibex-primary);
}
  #tibex-root .tibex-community-sub{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #d97706;
}
  #tibex-root .tibex-community-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
  #tibex-root .tibex-community-card{
    position: relative;
    height: 520px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--tibex-border);
    border-radius: var(--tibex-radius-sm);
}
  #tibex-root .tibex-community-card img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.3);
    transition: transform 0.7s ease, filter 0.5s ease;
}
  #tibex-root .tibex-community-card:hover img{
    transform: scale(1.06);
    filter: grayscale(0);
}
  #tibex-root .tibex-community-card__overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
}
  #tibex-root .tibex-community-card__content{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px;
    transform: translateY(32px);
    transition: transform 0.5s ease;
}
  #tibex-root .tibex-community-card:hover .tibex-community-card__content{ transform: translateY(0); }
  #tibex-root .tibex-community-card__content h4{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 36px;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
    margin-bottom: 20px;
}
  #tibex-root .tibex-community-card__arrow{
    width: 48px;
    height: 48px;
    background: var(--tibex-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
  #tibex-root .tibex-community-card:hover .tibex-community-card__arrow{ opacity: 1; }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
  #tibex-root .tibex-footer{
    background: var(--tibex-surface);
    border-top: 1px solid var(--tibex-border);
}
  #tibex-root .tibex-footer__inner{
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 32px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 48px;
}
  #tibex-root .tibex-footer__logo{
    font-family: var(--tibex-font-head);
    font-weight: 900;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    color: var(--tibex-on-surface);
    margin-bottom: 16px;
}
  #tibex-root .tibex-footer__brand p{
    font-size: 14px;
    color: var(--tibex-muted);
    max-width: 260px;
    line-height: 1.7;
    margin-bottom: 20px;
}
  #tibex-root .tibex-footer__social{ display: flex; gap: 10px; }
  #tibex-root .tibex-social-icon{
    width: 40px;
    height: 40px;
    border: 1px solid var(--tibex-border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--tibex-muted);
    transition: var(--tibex-transition);
}
  #tibex-root .tibex-social-icon:hover{ border-color: var(--tibex-primary); color: var(--tibex-primary); }
  #tibex-root .tibex-footer__col h5{
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
    margin-bottom: 20px;
}
  #tibex-root .tibex-footer__col ul{ display: flex; flex-direction: column; gap: 12px; }
  #tibex-root .tibex-footer__col li a{
    font-size: 14px;
    color: var(--tibex-muted);
    transition: color 0.2s;
}
  #tibex-root .tibex-footer__col li a:hover{ color: #d97706; }
  #tibex-root .tibex-newsletter{
    display: flex;
    border: 1px solid var(--tibex-border);
    background: #fff;
    overflow: hidden;
    margin-bottom: 16px;
}
  #tibex-root .tibex-newsletter__input{
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
    color: var(--tibex-on-surface);
}
  #tibex-root .tibex-newsletter__btn{
    background: var(--tibex-primary);
    color: var(--tibex-black);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}
  #tibex-root .tibex-newsletter__btn:hover{ background: var(--tibex-black); color: #fff; }
  #tibex-root .tibex-footer__copy{ font-size: 11px; color: #a3a3a3; }

/* WhatsApp FAB */
  #tibex-root .tibex-fab{
    position: fixed;
    bottom: 36px;
    right: 36px;
    width: 60px;
    height: 60px;
    background: var(--tibex-primary);
    color: var(--tibex-black);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: var(--tibex-radius-sm);
    box-shadow: 0 8px 24px rgba(255,163,5,0.4);
    transition: width 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
    overflow: hidden;
    z-index: 9999;
    text-decoration: none;
    padding: 0 18px;
}
  #tibex-root .tibex-fab:hover{
    width: 160px;
}
  #tibex-root .tibex-fab__label{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s 0.1s;
}
  #tibex-root .tibex-fab:hover .tibex-fab__label{ opacity: 1; }

/* ════════════════════════════════════════════════════════════════
   JOB DETAIL PAGE
   ════════════════════════════════════════════════════════════════ */
  #tibex-root .tibex-back-link{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tibex-muted);
    margin-bottom: 32px;
    transition: color 0.2s;
    margin-top: 24px;
}
  #tibex-root .tibex-back-link:hover{ color: var(--tibex-primary); }
  #tibex-root .tibex-back-link .material-symbols-outlined{ font-size: 18px; }

  #tibex-root .tibex-job-hero{
    padding: 100px 0 64px;
    background: #fff;
}
  #tibex-root .tibex-job-hero__grid{
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 64px;
    align-items: start;
}
  #tibex-root .tibex-job-hero__content .tibex-chip{ margin-bottom: 20px; }
  #tibex-root .tibex-job-title{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: clamp(36px, 4.5vw, 56px);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
    line-height: 1.1;
    margin-bottom: 24px;
}
  #tibex-root .tibex-job-meta{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
  #tibex-root .tibex-job-meta__item{
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--tibex-muted);
}
  #tibex-root .tibex-job-meta__item .material-symbols-outlined{ font-size: 18px; color: var(--tibex-primary); }

  #tibex-root .tibex-cta-card{
    background: var(--tibex-surface);
    border: 1px solid var(--tibex-border);
    padding: 32px;
    position: sticky;
    top: 88px;
}
  #tibex-root .tibex-cta-card__title{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}
  #tibex-root .tibex-cta-card__sub{
    font-size: 14px;
    color: var(--tibex-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}
  #tibex-root .tibex-cta-card__divider{
    height: 1px;
    background: var(--tibex-border);
    margin: 24px 0 16px;
}
  #tibex-root .tibex-cta-card__share{
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tibex-muted);
    margin-bottom: 12px;
}
  #tibex-root .tibex-share-btns{ display: flex; gap: 8px; }
  #tibex-root .tibex-share-btn{
    width: 36px;
    height: 36px;
    border: 1px solid var(--tibex-border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tibex-muted);
    cursor: pointer;
    transition: var(--tibex-transition);
    border-radius: var(--tibex-radius-sm);
    font-size: 14px;
}
  #tibex-root .tibex-share-btn:hover{ border-color: var(--tibex-primary); color: var(--tibex-primary); }

  #tibex-root .tibex-job-body{
    padding: 64px 0 100px;
    background: var(--tibex-surface);
}
  #tibex-root .tibex-job-body__grid{
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    align-items: start;
}
  #tibex-root .tibex-job-description{
    background: #fff;
    border: 1px solid var(--tibex-border);
    padding: 48px;
}
  #tibex-root .tibex-job-description h3{
    font-family: var(--tibex-font-head);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 32px 0 16px;
    color: var(--tibex-on-surface);
}
  #tibex-root .tibex-job-description h3:first-child{ margin-top: 0; }
  #tibex-root .tibex-job-description p{ color: var(--tibex-muted); line-height: 1.8; margin-bottom: 16px; font-size: 15px; }
  #tibex-root .tibex-job-description ul{ margin: 16px 0 24px 20px; list-style: disc; }
  #tibex-root .tibex-job-description li{ color: var(--tibex-muted); line-height: 1.8; font-size: 15px; margin-bottom: 6px; }
  #tibex-root .tibex-job-requirements{
    background: rgba(255,163,5,0.05);
    border: 1px solid rgba(255,163,5,0.2);
    padding: 32px 48px;
    margin-top: 2px;
}
  #tibex-root .tibex-job-requirements h3{
    font-family: var(--tibex-font-head);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #9a3412;
}
  #tibex-root .tibex-job-requirements p{ color: var(--tibex-muted); font-size: 14px; line-height: 1.7; }
  #tibex-root .tibex-job-apply-cta{
    background: var(--tibex-on-surface);
    padding: 48px;
    margin-top: 2px;
    text-align: center;
}
  #tibex-root .tibex-job-apply-cta h3{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 26px;
    color: #fff;
    margin-bottom: 12px;
}
  #tibex-root .tibex-job-apply-cta p{
    color: #a3a3a3;
    margin-bottom: 32px;
    font-size: 15px;
}

  #tibex-root .tibex-job-info-card{
    background: #fff;
    border: 1px solid var(--tibex-border);
    padding: 28px;
    position: sticky;
    top: 88px;
}
  #tibex-root .tibex-job-info-card h4{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tibex-muted);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tibex-border);
}
  #tibex-root .tibex-info-list{ display: flex; flex-direction: column; gap: 16px; }
  #tibex-root .tibex-info-list li{
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
  #tibex-root .tibex-info-list li > .material-symbols-outlined{ color: var(--tibex-primary); font-size: 20px; flex-shrink: 0; margin-top: 2px; }
  #tibex-root .tibex-info-list div{ display: flex; flex-direction: column; gap: 2px; }
  #tibex-root .tibex-info-list strong{ font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tibex-muted); }
  #tibex-root .tibex-info-list span{ font-size: 14px; color: var(--tibex-on-surface); }

/* ════════════════════════════════════════════════════════════════
   APPLY FORM PAGE
   ════════════════════════════════════════════════════════════════ */
  #tibex-root .tibex-apply-hero{
    padding: 100px 0 56px;
    background: #fff;
}
  #tibex-root .tibex-apply-hero__content{ max-width: 640px; }
  #tibex-root .tibex-apply-hero__accent{
    width: 48px;
    height: 4px;
    background: var(--tibex-primary);
    margin-bottom: 20px;
}
  #tibex-root .tibex-apply-hero__title{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: clamp(36px, 4.5vw, 56px);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
    line-height: 1.1;
    margin: 12px 0 0;
}

  #tibex-root .tibex-apply-section{
    padding: 56px 0 100px;
    background: var(--tibex-surface);
}
  #tibex-root .tibex-apply-layout{
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 56px;
    align-items: start;
}

/* Progress Steps */
  #tibex-root .tibex-apply-steps{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 0;
}
  #tibex-root .tibex-step{
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.35;
    transition: opacity 0.3s;
}
  #tibex-root .tibex-step--active{ opacity: 1; }
  #tibex-root .tibex-step__num{
    width: 36px;
    height: 36px;
    border: 2px solid var(--tibex-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 13px;
    color: var(--tibex-muted);
    background: #fff;
    transition: all 0.3s;
    flex-shrink: 0;
}
  #tibex-root .tibex-step--active .tibex-step__num{
    border-color: var(--tibex-primary);
    background: var(--tibex-primary);
    color: var(--tibex-black);
}
  #tibex-root .tibex-step__label{
    font-family: var(--tibex-font-head);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
  #tibex-root .tibex-step-line{
    flex: 1;
    height: 2px;
    background: var(--tibex-border);
    margin: 0 16px;
}

/* Form */
  #tibex-root .tibex-apply-form-wrap{
    background: #fff;
    border: 1px solid var(--tibex-border);
    padding: 48px;
    box-shadow: var(--tibex-shadow);
}
  #tibex-root .tibex-form-step__title{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--tibex-on-surface);
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--tibex-border-lt);
}
  #tibex-root .tibex-form-step--hidden{ display: none; }
  #tibex-root .tibex-form-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
  #tibex-root .tibex-form-group{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
  #tibex-root .tibex-form-group:last-child{ margin-bottom: 0; }
  #tibex-root .tibex-label{
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tibex-muted);
}
  #tibex-root .tibex-required{ color: var(--tibex-primary); }
  #tibex-root .tibex-field{
    padding: 14px 16px;
    background: var(--tibex-surface);
    border: 1px solid var(--tibex-border);
    border-radius: var(--tibex-radius-sm);
    border-bottom: 2px solid var(--tibex-border);
    color: var(--tibex-on-surface);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}
  #tibex-root .tibex-field:focus{
    border-bottom-color: var(--tibex-primary);
    background: #fff;
}
  #tibex-root .tibex-field.error{ border-bottom-color: #ef4444; }
  #tibex-root .tibex-textarea{ resize: vertical; min-height: 160px; }
  #tibex-root .tibex-form-actions{
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--tibex-border-lt);
}
  #tibex-root .tibex-form-actions--split{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* File Upload Drop Zone */
  #tibex-root .tibex-upload-zone{
    position: relative;
    border: 2px dashed var(--tibex-border);
    background: var(--tibex-surface);
    border-radius: var(--tibex-radius);
    padding: 40px 32px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    overflow: hidden;
}
  #tibex-root .tibex-upload-zone:hover,
  #tibex-root .tibex-upload-zone.drag-over{
    border-color: var(--tibex-primary);
    background: rgba(255,163,5,0.04);
}
  #tibex-root .tibex-upload-input{
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 1;
}
  #tibex-root .tibex-upload-icon{
    font-size: 40px;
    color: var(--tibex-primary);
    display: block;
    margin-bottom: 12px;
}
  #tibex-root .tibex-upload-text{
    font-size: 15px;
    color: var(--tibex-muted);
    margin-bottom: 6px;
}
  #tibex-root .tibex-upload-hint{
    font-size: 12px;
    color: #a3a3a3;
}

/* Review Panel */
  #tibex-root .tibex-review-panel{
    background: var(--tibex-surface);
    border: 1px solid var(--tibex-border);
    padding: 28px;
    border-radius: var(--tibex-radius);
}
  #tibex-root .tibex-review-row{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--tibex-border-lt);
    font-size: 14px;
    gap: 16px;
}
  #tibex-root .tibex-review-row:last-child{ border-bottom: none; }
  #tibex-root .tibex-review-label{
    font-weight: 600;
    color: var(--tibex-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    min-width: 120px;
    flex-shrink: 0;
}
  #tibex-root .tibex-review-value{ color: var(--tibex-on-surface); word-break: break-all; }

/* Custom Checkbox */
  #tibex-root .tibex-checkbox-wrap{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--tibex-muted);
    cursor: pointer;
    line-height: 1.6;
}
  #tibex-root .tibex-checkbox-wrap input[type="checkbox"]{ display: none; }
  #tibex-root .tibex-checkbox-custom{
    width: 20px;
    height: 20px;
    border: 2px solid var(--tibex-border);
    background: #fff;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    border-radius: 3px;
    transition: all 0.2s;
}
  #tibex-root .tibex-checkbox-wrap input:checked ~ .tibex-checkbox-custom{
    background: var(--tibex-primary);
    border-color: var(--tibex-primary);
}
  #tibex-root .tibex-checkbox-wrap input:checked ~ .tibex-checkbox-custom::after{
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: 2px solid var(--tibex-black);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Spinner */
  #tibex-root .tibex-spinner{
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0,0,0,0.2);
    border-top-color: var(--tibex-black);
    border-radius: 50%;
    animation: tibex-spin 0.6s linear infinite;
}
@keyframes tibex-spin { to { transform: rotate(360deg); } }

/* Success State */
  #tibex-root .tibex-apply-success{
    text-align: center;
    padding: 60px 40px;
}
  #tibex-root .tibex-success-icon .material-symbols-outlined{
    font-size: 80px;
    color: #22c55e;
    display: block;
    margin-bottom: 24px;
}
  #tibex-root .tibex-apply-success h2{
    font-family: var(--tibex-font-head);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}
  #tibex-root .tibex-apply-success p{
    color: var(--tibex-muted);
    font-size: 16px;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}
  #tibex-root .tibex-success-ref{
    display: inline-block;
    background: var(--tibex-surface);
    border: 1px solid var(--tibex-border);
    padding: 8px 20px;
    border-radius: 3px;
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 14px;
    color: var(--tibex-muted);
    margin-top: 20px;
    letter-spacing: 0.05em;
}

/* Apply Sidebar */
  #tibex-root .tibex-apply-info-card{
    background: #fff;
    border: 1px solid var(--tibex-border);
    padding: 28px;
    position: sticky;
    top: 88px;
}
  #tibex-root .tibex-apply-info-card__title{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tibex-muted);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tibex-border);
}
  #tibex-root .tibex-process-list{
    display: flex;
    flex-direction: column;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}
  #tibex-root .tibex-process-list li{
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
  #tibex-root .tibex-process-num{
    width: 32px;
    height: 32px;
    background: rgba(255,163,5,0.1);
    color: var(--tibex-primary);
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: var(--tibex-radius-sm);
}
  #tibex-root .tibex-process-list strong{
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--tibex-on-surface);
}
  #tibex-root .tibex-process-list p{
    font-size: 13px;
    color: var(--tibex-muted);
    line-height: 1.6;
    margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  #tibex-root .tibex-jobs-layout{ grid-template-columns: 1fr; }
  #tibex-root .tibex-filter-sidebar{ position: static; }
  #tibex-root .tibex-filter-panel{ flex-direction: row; flex-wrap: wrap; }
  #tibex-root .tibex-filter-panel .tibex-input-wrap{ flex: 1 1 200px; }
  #tibex-root .tibex-filter-panel .tibex-btn{ flex: 0 0 auto; }
  #tibex-root .tibex-divider-line{ display: block; }
  #tibex-root .tibex-programs-layout{ grid-template-columns: 1fr; }
  #tibex-root .tibex-programs-image{ height: 400px; }
  #tibex-root .tibex-job-hero__grid{ grid-template-columns: 1fr; }
  #tibex-root .tibex-job-body__grid{ grid-template-columns: 1fr; }
  #tibex-root .tibex-apply-layout{ grid-template-columns: 1fr; }
  #tibex-root .tibex-job-info-card{ position: static; }
  #tibex-root .tibex-apply-info-card{ position: static; }
  #tibex-root .tibex-cta-card{ position: static; }
}
@media (max-width: 768px) {
  #tibex-root .tibex-container{ padding: 0 20px; }
  #tibex-root .tibex-nav__links{ display: none; }
  #tibex-root .tibex-nav__inner .tibex-btn{ display: none; }
  #tibex-root .tibex-hamburger{ display: flex; }
  #tibex-root .tibex-community-grid{ grid-template-columns: 1fr; }
  #tibex-root .tibex-community-card{ height: 320px; }
  #tibex-root .tibex-footer__inner{ grid-template-columns: 1fr 1fr; gap: 32px; }
  #tibex-root .tibex-footer__brand{ grid-column: 1/-1; }
  #tibex-root .tibex-jobs-grid{ grid-template-columns: 1fr; }
  #tibex-root .tibex-form-row{ grid-template-columns: 1fr; }
  #tibex-root .tibex-apply-form-wrap{ padding: 28px 20px; }
  #tibex-root .tibex-job-description{ padding: 28px 20px; }
  #tibex-root .tibex-job-apply-cta{ padding: 32px 20px; }
  #tibex-root .tibex-apply-steps{ gap: 0; }
  #tibex-root .tibex-step__label{ display: none; }
  #tibex-root .tibex-hero__headline{ font-size: 40px; }
  #tibex-root .tibex-video-thumb{ height: 280px; }
}
@media (max-width: 480px) {
  #tibex-root .tibex-footer__inner{ grid-template-columns: 1fr; }
  #tibex-root .tibex-form-actions--split{ flex-direction: column; gap: 12px; }
  #tibex-root .tibex-form-actions--split .tibex-btn{ width: 100%; justify-content: center; }
}

/* ── Animation on entrance ────────────────────────────────────── */
@keyframes tibex-fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
  #tibex-root .tibex-hero__content{ animation: tibex-fade-up 0.7s ease both; }
  #tibex-root .tibex-section-title{ animation: tibex-fade-up 0.5s ease both; }
