/* C:\xampp\htdocs\techsolution\css\careers.css */
/* Dark theme – white text, red accents, images: object-fit cover to avoid blank spaces on mobile */
/* All cards now use the same semi-transparent background as the contact section */

:root {
  --red       : #D0021B;
  --red-dark  : #a80015;
  --red-mid   : #790202;
  --red-soft  : rgba(208,2,27,0.15);
  --black     : #0d0d0d;
  --white     : #ffffff;
  --bg-main   : #130508;
  --bg-card   : rgba(255,255,255,0.15);   /* ← updated to match contact card style */
  --muted     : #cbd5e1;
  --gray-bg   : #1a1a1f;
  --font-main : 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Force dark background */
body.page-careers {
    background: #0d0d0d !important;
}

/* ── HERO ─────────────────────────────────────────────────── */
.cr-hero {
  position: relative;
  background: #0d0d0d;
  padding: 110px 0 0; overflow: hidden;
}
.cr-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(208,2,27,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208,2,27,0.06) 1px, transparent 1px);
  background-size: 52px 52px; z-index: 0;
}
.cr-glow {
  position: absolute; top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(208,2,27,0.16) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.cr-hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: end;
}
.cr-hero-text { padding-bottom: 70px; }
.cr-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(208,2,27,0.15);
  border: 1px solid rgba(208,2,27,0.28);
  color: #74020d;
  font-family: 'Sora', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase;
  padding: 5px 16px; border-radius: 50px; margin-bottom: 1.5rem;
}
.cr-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800; color: #fff;
  line-height: 1.12; margin-bottom: 1.2rem; letter-spacing: -.5px;
}
.cr-hero h1 span { color: #D0021B; }
.cr-hero p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.08rem; color: rgba(255,255,255,0.55);
  line-height: 1.82; max-width: 480px; margin: 0;
}

/* Hero image – cover to avoid blank spaces */
.cr-hero-img {
  position: relative; align-self: stretch;
  min-height: 340px; border-radius: 16px 16px 0 0; overflow: hidden;
  background: #1a1a1e;
}
.cr-hero-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;   /* prevents blank spaces */
  object-position: center;
  display: block; filter: brightness(.75);
}
.cr-hero-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, #0d0d0d 100%);
  pointer-events: none;
}
.cr-img-ph {
  width: 100%; height: 100%; min-height: 340px;
  background: linear-gradient(135deg,#1a1a1e,#111114);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: rgba(255,255,255,0.12);
}
.cr-img-ph i { font-size: 44px; }
.cr-img-ph span {
  font-family: 'Sora', sans-serif;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
}

/* ── BREADCRUMB (dark) ───────────────────────────────────────────── */
.cr-bc {
  background: var(--gray-bg);
  border-bottom: 1px solid rgba(255,255,255,0.08); padding: 13px 0;
}
.cr-bc-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; gap: 8px;
  font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 500; color: #ddd0d4;
}
.cr-bc-inner a { color: #ddd0d4; text-decoration: none; transition: color .18s; }
.cr-bc-inner a:hover { color: var(--red-mid); }
.cr-bc-inner i { font-size: 9px; opacity: .6; }
.cr-bc-inner span { color: var(--red-mid); font-weight: 600; }

/* ── SECTIONS ─────────────────────────────────────────────── */
.cr-section { padding: 90px 0; }
.cr-section-alt { background: var(--gray-bg); }
.cr-section-dark { background: #0d0d0d; }
.cr-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.cr-label {
  display: block; font-family: 'Sora', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--red-mid); margin-bottom: .5rem;
}
.cr-label-lt { color: rgba(255,255,255,0.7); }
.cr-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2; margin-bottom: .9rem; letter-spacing: -.3px;
}
.cr-title-lt { color: #fff; }
.cr-title span { color: var(--red-mid); }
.cr-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.02rem;
  color: #ddd0d4;
  line-height: 1.82; max-width: 560px;
}
.cr-desc-lt { color: rgba(255,255,255,.55); }

/* ── WHY JOIN — perks (semi-transparent cards) ─────────────────────────────────────── */
.cr-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem; margin-top: 3rem;
}
.cr-perk {
  background: var(--bg-card);               /* rgba(255,255,255,0.15) */
  border: 1px solid rgba(208,2,27,0.2);
  border-radius: 16px; padding: 1.8rem 1.7rem;
  transition: transform .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.cr-perk::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.cr-perk:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(0,0,0,0.3); border-color: var(--red); background: rgba(255,255,255,0.2); }
.cr-perk:hover::before { transform: scaleX(1); }
.cr-perk-icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: rgba(208,2,27,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--red-mid); margin-bottom: 1.1rem;
  transition: background .2s, color .2s;
}
.cr-perk:hover .cr-perk-icon { background: var(--red); color: #fff; }
.cr-perk h3 {
  font-family: 'Sora', sans-serif;
  font-size: .98rem; font-weight: 700;
  color: #fff; margin-bottom: .4rem;
}
.cr-perk p {
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem; color: #ddd0d4;
  line-height: 1.72; margin: 0;
}

/* ── WHO WE'RE LOOKING FOR (semi-transparent traits) ────────────────────────────────── */
.cr-looking-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.cr-looking-img {
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3); position: relative;
  background: #1a1a1e;
}
.cr-looking-img img {
  width: 100%; height: 420px;
  object-fit: cover;   /* prevents blank spaces */
  object-position: center;
  display: block;
}
.cr-looking-img-ph {
  width: 100%; height: 420px;
  background: linear-gradient(135deg,#1a1a1e,#111114);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: rgba(255,255,255,0.2);
}
.cr-looking-img-ph i { font-size: 44px; }
.cr-looking-img-ph span {
  font-family: 'Sora', sans-serif; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
}
.cr-looking-img::before {
  content: '';
  position: absolute; bottom: -10px; right: -10px;
  width: 80px; height: 80px;
  background: var(--red); border-radius: 14px; z-index: -1;
}
.cr-traits { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 1rem; }
.cr-trait {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: var(--bg-card);               /* rgba(255,255,255,0.15) */
  border: 1px solid rgba(208,2,27,0.2);
  border-radius: 12px;
  transition: border-color .2s, background .2s;
}
.cr-trait:hover { border-color: var(--red); background: rgba(255,255,255,0.2); }
.cr-trait-icon {
  width: 38px; height: 38px; min-width: 38px;
  border-radius: 10px; background: rgba(208,2,27,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--red-mid);
}
.cr-trait h4 {
  font-family: 'Sora', sans-serif;
  font-size: .9rem; font-weight: 700;
  color: #fff; margin-bottom: .2rem;
}
.cr-trait p {
  font-family: 'DM Sans', sans-serif;
  font-size: .86rem; color: #ddd0d4;
  margin: 0; line-height: 1.6;
}

/* ── OPEN ROLES (semi-transparent cards) ───────────────────────────────────────────── */
.cr-roles { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 3rem; }
.cr-role-card {
  background: var(--bg-card);               /* rgba(255,255,255,0.15) */
  border: 1px solid rgba(208,2,27,0.2);
  border-radius: 16px; padding: 1.8rem 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cr-role-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  border-color: var(--red);
  background: rgba(255,255,255,0.2);
}
.cr-role-left { display: flex; align-items: center; gap: 1.2rem; flex: 1; }
.cr-role-icon {
  width: 50px; height: 50px; min-width: 50px;
  border-radius: 13px; background: rgba(208,2,27,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--red-mid);
  transition: background .2s, color .2s;
}
.cr-role-card:hover .cr-role-icon { background: var(--red); color: #fff; }
.cr-role-info h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: #fff; margin-bottom: .3rem;
}
.cr-role-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.cr-tag {
  font-family: 'Sora', sans-serif;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .6px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 50px;
}
.cr-tag-red { background: rgba(208,2,27,0.2); color: var(--red-mid); }
.cr-tag-gray { background: rgba(255,255,255,0.1); color: #ddd0d4; }
.cr-role-apply {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Sora', sans-serif;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .4px;
  color: var(--red-mid); text-decoration: none;
  padding: 9px 20px; border-radius: 50px;
  border: 2px solid var(--red);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.cr-role-apply:hover { background: var(--red); color: #fff; text-decoration: none; }

/* ── OPEN APPLICATION CARD (semi-transparent) ────────────────────────────────── */
.cr-open-app {
  background: var(--bg-card);               /* rgba(255,255,255,0.15) */
  border: 1px solid rgba(208,2,27,0.2);
  border-radius: 20px; padding: 3rem;
  margin-top: 2rem; position: relative; overflow: hidden;
}
.cr-open-app:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--red);
}
.cr-open-app::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(208,2,27,0.2), transparent 70%);
  pointer-events: none;
}
.cr-open-app-inner { position: relative; z-index: 1; }
.cr-open-app h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem; font-weight: 800;
  color: #fff; margin-bottom: .6rem;
}
.cr-open-app p {
  font-family: 'DM Sans', sans-serif;
  font-size: .97rem; color: #ddd0d4;
  line-height: 1.75; margin-bottom: 1.5rem; max-width: 560px;
}
.cr-apply-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .4px;
  padding: 13px 28px; border-radius: 50px;
  text-decoration: none;
  transition: box-shadow .2s, transform .15s;
}
.cr-apply-btn:hover { box-shadow: 0 8px 24px rgba(208,2,27,.35); transform: translateY(-2px); color: #fff; text-decoration: none; }

/* ── CULTURE STRIP (semi-transparent) ────────────────────────────────────── */
.cr-culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem; margin-top: 3rem;
}
.cr-culture-item {
  text-align: center; padding: 2rem 1.4rem;
  background: var(--bg-card);               /* rgba(255,255,255,0.15) */
  border: 1px solid rgba(208,2,27,0.2);
  border-radius: 16px;
  transition: border-color .2s, background .2s;
}
.cr-culture-item:hover {
  border-color: var(--red);
  background: rgba(255,255,255,0.2);
}
.cr-culture-item i { font-size: 28px; color: var(--red-mid); margin-bottom: 1rem; display: block; }
.cr-culture-item h4 {
  font-family: 'Sora', sans-serif;
  font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: .4rem;
}
.cr-culture-item p {
  font-family: 'DM Sans', sans-serif;
  font-size: .84rem; color: #ddd0d4;
  margin: 0; line-height: 1.65;
}

/* ── CTA (unchanged) ──────────────────────────────────────────────────── */
.cr-cta {
  text-align: center; padding: 80px 2rem;
  background: var(--red); position: relative; overflow: hidden;
}
.cr-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cr-cta-inner { position: relative; z-index: 1; }
.cr-cta h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; color: #fff; margin-bottom: .9rem;
}
.cr-cta p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.02rem; color: rgba(255,255,255,.72);
  max-width: 480px; margin: 0 auto 2.2rem; line-height: 1.75;
}
.cr-cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cr-btn-w {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--red);
  font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .4px;
  padding: 13px 28px; border-radius: 50px; text-decoration: none;
  transition: box-shadow .2s, transform .15s;
}
.cr-btn-w:hover { box-shadow: 0 8px 24px rgba(0,0,0,.18); transform: translateY(-2px); color: var(--red); text-decoration: none; }
.cr-btn-o {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.45);
  font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .4px;
  padding: 13px 28px; border-radius: 50px; text-decoration: none;
  transition: border-color .2s, background .2s, transform .15s;
}
.cr-btn-o:hover { border-color: #fff; background: rgba(255,255,255,.10); transform: translateY(-2px); color: #fff; text-decoration: none; }

/* ── REVEAL ───────────────────────────────────────────────── */
.cr-reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.cr-reveal.visible { opacity: 1; transform: translateY(0); }
.cr-reveal-d { transition-delay: .15s; }

/* ── RESPONSIVE (no blank spaces on mobile) ────────────────────────────── */
@media (max-width: 900px) {
  .cr-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cr-hero-text { padding-bottom: 0; }
  .cr-hero-img { min-height: 260px; border-radius: 16px; }
  .cr-looking-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cr-role-card { flex-direction: column; align-items: flex-start; }
  .cr-hero { padding-top: 70px; }
  
  /* Ensure images cover on mobile */
  .cr-hero-img img,
  .cr-looking-img img {
    object-fit: cover;
    height: 100%;
  }
}
@media (max-width: 580px) {
  .cr-section { padding: 60px 0; }
  .cr-open-app { padding: 2rem 1.5rem; }
  .cr-looking-img img,
  .cr-looking-img-ph {
    height: 280px;
  }
  .cr-hero-img {
    min-height: 220px;
  }
}