/* ========================================
   RUBIS ENERGY KENYA — CAREERS STYLESHEET
   Aesthetic: Industrial bold | Red · Green · Dark
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --red:          #E31C25;
  --red-dark:     #b81520;
  --red-light:    #fdeaea;
  --green:        #008000;
  --green-mid:    #009a00;
  --green-light:  #e6f4e6;
  --dark:         #333333;
  --dark-2:       #2a2a2a;
  --dark-3:       #3d3d3d;
  --white:        #ffffff;
  --off-white:    #f8f9fa;
  --gray-100:     #f2f3f5;
  --gray-200:     #e0e2e6;
  --gray-400:     #999faa;
  --gray-600:     #555e6a;
  --text:         #333333;
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body:    'Outfit', 'Segoe UI', sans-serif;
  --radius:       10px;
  --radius-lg:    18px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.18);
  --transition:   0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.section-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
  background: var(--red-light); padding: 0.3em 0.9em;
  border-radius: 4px; margin-bottom: 0.85rem;
}
.section-title { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 400; letter-spacing: 0.02em; line-height: 1.05; color: var(--dark); }
.section-title em { font-style: normal; color: var(--red); }
.section-desc { color: var(--gray-600); max-width: 520px; line-height: 1.7; margin: 0.75rem auto 0; font-size: 0.97rem; }
.section-header { text-align: center; margin-bottom: 1.5rem; }
.section { padding: 6rem 0; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85em 2em; border-radius: 4px; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; transition: var(--transition); cursor: pointer; letter-spacing: 0.03em; }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 4px 16px rgba(200,16,46,0.3); border: none; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,16,46,0.4); }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 4px 16px rgba(200,16,46,0.3); border: none; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid rgba(255,255,255,0.6); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-outline-red { border: 2px solid var(--red); color: var(--red); background: transparent; padding: 0.85em 2em; border-radius: 4px; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.5rem; transition: var(--transition); cursor: pointer; }
.btn-outline-red:hover { background: var(--red); color: var(--white); }
.btn-full { width: 100%; justify-content: center; }
.btn-red-sm { background: var(--red); color: var(--white); border: none; padding: 0.5em 1.2em; border-radius: 4px; font-size: 0.85rem; font-weight: 600; cursor: pointer; font-family: var(--font-body); transition: var(--transition); }
.btn-red-sm:hover { background: var(--red-dark); }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 0; transition: background var(--transition), box-shadow var(--transition); }
.navbar.scrolled { background: rgba(0, 73, 37, 0.8);  box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-img { height: 45px; width: auto;  }
.logo-fallback { display: flex; align-items: center; gap: 0.75rem; }
.logo-circle { width: 36px; height: 36px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.3rem; color: var(--white); letter-spacing: 0; }
.logo-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); letter-spacing: 0.06em; }
.logo-sub { font-family: var(--font-body); font-size: 0.7rem; font-weight: 400; color: rgb(251, 51, 51); display: block; letter-spacing: 0.1em; text-transform: uppercase; margin-top: -4px; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-link { color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.9rem; letter-spacing: 0.04em; position: relative; transition: color var(--transition); text-transform: uppercase; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--red); border-radius: 1px; transition: width var(--transition); }
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--white); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* HERO */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; overflow: hidden;   /* BACKGROUND IMAGE */
  background-image: url("assets/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;}
.hero-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 73, 37, 0.8); /* green overlay with transparency */
  z-index: 1;
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 8% 90%, rgba(227,28,37,0.28) 0%, transparent 42%),
    radial-gradient(circle at 92% 15%, rgba(0,128,0,0.35) 0%, transparent 40%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 60px);
}
.hero-stripe {
  position: absolute; top: 0; right: 0; width: 42%; height: 100%;
  background: linear-gradient(160deg, rgba(227,28,37,0.15) 0%, rgba(0,64,0,0.25) 100%);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
  border-left: 1px solid rgba(227,28,37,0.25);
}

/* Animated fuel-drop particles */
.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.particle { position: absolute; border-radius: 50%; opacity: 0.12; animation: floatParticle 8s ease-in-out infinite; }
.p1 { width: 130px; height: 130px; background: #E31C25; top: 18%; right: 14%; animation-delay: 0s; opacity: 0.18; }
.p2 { width: 65px; height: 65px; background: #ffffff; top: 58%; right: 33%; animation-delay: 2s; opacity: 0.08; }
.p3 { width: 85px; height: 85px; background: #E31C25; bottom: 14%; right: 7%; animation-delay: 4s; opacity: 0.12; }
.p4 { width: 42px; height: 42px; background: #ffffff; top: 33%; right: 54%; animation-delay: 1s; opacity: 0.06; }
@keyframes floatParticle { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }

.hero-content {
  
  position: relative; z-index: 2; 
  padding: 8rem 1.5rem 5rem;
   max-width: 640px; 
   padding-left: 8vw; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(227,28,37,0.18); color: #ffaaae;
  border: 1px solid rgba(227,28,37,0.4); padding: 0.4em 1em; border-radius: 3px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 1.5rem; animation: fadeUp 0.7s ease both;
}
.tag-dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.4; transform:scale(1.6); } }
.hero-title {
  font-family: var(--font-display); font-size: clamp(3.8rem, 9vw, 7rem); font-weight: 400;
  color: var(--white); line-height: 0.95; margin-bottom: 1.25rem;
  letter-spacing: 0.02em; animation: fadeUp 0.7s 0.15s ease both;
}
.hero-title em { color: var(--red); font-style: normal; display: block; }
.hero-sub { color: rgba(255,255,255,0.7); font-size: 1.05rem; line-height: 1.75; max-width: 460px; margin-bottom: 1.75rem; animation: fadeUp 0.7s 0.3s ease both; }
.hero-badges { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 2.25rem; animation: fadeUp 0.7s 0.4s ease both; }
.hero-badge { display: flex; align-items: center; gap: 0.4rem; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); border-radius: 3px; padding: 0.35em 0.85em; font-size: 0.78rem; font-weight: 500; color: rgba(255,255,255,0.8); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.7s 0.5s ease both; }

.hero-badge-float {
  position: absolute; right: 6%; bottom: 12%; z-index: 3;
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--red); display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(200,16,46,0.2), 0 0 0 16px rgba(200,16,46,0.08);
  animation: fadeUp 0.7s 0.6s ease both;
}
.hbf-num { font-family: var(--font-display); font-size: 3.2rem; color: var(--white); line-height: 1; letter-spacing: 0; }
.hbf-text { font-size: 0.72rem; color: rgba(255,255,255,0.8); text-align: center; line-height: 1.4; margin-top: 2px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }

/* =========================
   ABOUT SECTION (MODERN)
   ========================= */

.about {
  background: linear-gradient(180deg, #f6fff9 0%, #e8f5ee 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* GRID */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* VISUAL */
.about-visual {
  position: relative;
  height: 420px;
}

/* IMAGE */
.about-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BACKGROUND SHAPE */
.about-photo-bg {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 75%;
  height: 75%;
  border-radius: 16px;

  background: linear-gradient(135deg, #004925, #008000);

  opacity: 0.9;
}

/* BIG STAT */
.about-card-big {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  z-index: 3;

  background: #004925;
  color: #fff;
  padding: 1.2rem 1.8rem;
  border-radius: 12px;

  box-shadow: 0 15px 30px rgba(0, 73, 37, 0.25);
}

/* SMALL STAT */
.about-card-small {
  position: absolute;
  top: 1rem;
  right: -1rem;
  z-index: 3;

  background: #fff;
  padding: 1rem 1.5rem;
  border-radius: 12px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* STAT TEXT */
.stat-num {
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.75rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* TEXT */
.about-text {
  max-width: 520px;
}

.section-title {
  font-size: 2.2rem;
  margin: 0.5rem 0 1rem;
}

.section-title em {
  color: #008000;
  font-style: normal;
}

.about-text p {
  color: #4b5a52;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* FEATURES */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
  margin: 1.5rem 0;
}

.feature {
  font-size: 0.9rem;
  color: #1f2a24;
  background: #ffffff;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 73, 37, 0.08);
}

/* BUTTON */
.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #004925;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 1rem;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: #006b36;
}

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

/* TABLET */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-visual {
    height: 380px;
  }

  .about-text {
    max-width: 100%;
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}

/* MOBILE */
@media (max-width: 576px) {
  .about {
    padding: 3rem 0;
  }

  .about-visual {
    height: 300px;
  }

  .about-image {
    width: 85%;
  }

  .about-photo-bg {
    width: 85%;
    height: 70%;
  }

  .about-card-big,
  .about-card-small {
    transform: scale(0.9);
  }

  .section-title {
    font-size: 1.6rem;
  }
}
/* =========================
   SERVICES (RUBIS PREMIUM)
   ========================= */

.services {
  background: linear-gradient(135deg, #004925 0%, #006b36 60%, #008000 100%);
  position: relative;
}

/* subtle glow */
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(227,28,37,0.12), transparent 60%);
  pointer-events: none;
}

/* HEADER */
.services .section-tag {
  background: rgba(227, 28, 37, 0.15);
  color: #ffccd1;
}

.services .section-title {
  color: #ffffff;
}

.services .section-title em {
  color: #ff3b30;
  font-style: normal;
}

.services .section-desc {
  color: rgba(255,255,255,0.75);
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* CARD */
.service-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition: all 0.35s ease;
}

/* HOVER */
.service-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(227,28,37,0.6);

  box-shadow:
    0 20px 50px rgba(0,0,0,0.35),
    0 0 0 1px rgba(227,28,37,0.25);
}

/* TEXT */
.service-card h3 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1rem 0 0.6rem;
}

.service-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ICON WRAP BASE */
.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255,255,255,0.15);
}

/* RUBIS COLOR SYSTEM */

/* PRIMARY RED (ACCENT) */
.service-icon-wrap.red {
  background: linear-gradient(135deg, rgba(227,28,37,0.25), rgba(255,59,48,0.15));
  color: #ff4d4f;
}

/* BRAND GREEN */
.service-icon-wrap.green {
  background: linear-gradient(135deg, rgba(0,128,0,0.25), rgba(0,180,90,0.15));
  color: #4ade80;
}

/* NEUTRAL DARK */
.service-icon-wrap.dark {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
}

/* AVIATION (SUBTLE BLUE-TINTED GREEN) */
.service-icon-wrap.blue {
  background: linear-gradient(135deg, rgba(0,107,54,0.25), rgba(59,130,246,0.15));
  color: #7dd3fc;
}

/* LUBRICANTS (WARM INDUSTRIAL) */
.service-icon-wrap.amber {
  background: linear-gradient(135deg, rgba(227,28,37,0.25), rgba(245,158,11,0.15));
  color: #fbbf24;
}

/* COMMERCIAL (TEAL GREEN) */
.service-icon-wrap.teal {
  background: linear-gradient(135deg, rgba(0,128,0,0.25), rgba(20,184,166,0.15));
  color: #2dd4bf;
}

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

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
/* TRUST STRIP */
.trust-strip { background: #006600; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 0; overflow: hidden; }
.trust-track-wrap { overflow: hidden; position: relative; }
.trust-track-wrap::before,
.trust-track-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; }
.trust-track-wrap::before { left: 0; background: linear-gradient(to right, #006600, transparent); }
.trust-track-wrap::after { right: 0; background: linear-gradient(to left, #006600, transparent); }
.trust-track { display: flex; gap: 1rem; animation: scrollTrack 28s linear infinite; width: max-content; }
.trust-badge { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 3px; padding: 0.5em 1.2em; font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.65); white-space: nowrap; }
@keyframes scrollTrack { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* CAREERS */
.careers { background: var(--off-white); }
.careers-stats { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.career-stat-pill { display: flex; align-items: center; gap: 0.85rem; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1rem 1.5rem; box-shadow: var(--shadow-sm); min-width: 160px; }
.csp-icon-wrap { width: 38px; height: 38px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.csp-icon-wrap.red { background: var(--red-light); color: var(--red); }
.csp-icon-wrap.green { background: var(--green-light); color: var(--green); }
.csp-icon-wrap.amber { background: #fef3c7; color: #b45309; }
.csp-icon-wrap.teal { background: #ccfbf1; color: #0f766e; }
.csp-num { font-family: var(--font-display); font-size: 1.7rem; color: var(--dark); line-height: 1; letter-spacing: 0.01em; }
.csp-label { font-size: 0.75rem; color: var(--gray-400); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }

/* PERKS */
.careers-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2.5rem; }
.perk-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.25rem; display: flex; align-items: center; gap: 1rem; box-shadow: var(--shadow-sm); }
.perk-icon { font-size: 1.5rem; }
.perk-text { display: flex; flex-direction: column; gap: 0.15rem; }
.perk-text strong { font-size: 0.88rem; font-weight: 600; color: var(--dark); }
.perk-text span { font-size: 0.78rem; color: var(--gray-400); line-height: 1.4; }

/* FILTER TABS */
.jobs-filter {
  display: flex;
  gap: 0.6rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-bottom: 2rem;

  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* smooth on iOS */
}

/* Hide scrollbar (optional) */
.jobs-filter::-webkit-scrollbar {
  display: none;
}
.jobs-filter {
  scrollbar-width: none; /* Firefox */
}
.filter-tab { padding: 0.55em 1.2em; border-radius: 3px; font-size: 0.82rem; font-weight: 600; background: var(--white); border: 1.5px solid var(--gray-200); color: var(--gray-600); cursor: pointer; transition: var(--transition); text-transform: uppercase; letter-spacing: 0.05em; }
.filter-tab.active, .filter-tab:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* JOBS GRID */
.jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.job-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 1.75rem; display: flex; flex-direction: column; gap: 0.85rem;
  transition: var(--transition); box-shadow: var(--shadow-sm);
  border-top: 3px solid transparent;
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-top-color: var(--red); }
.job-card.hidden { display: none; }
.job-header { display: flex; align-items: flex-start; gap: 0.85rem; }
.job-icon-wrap {
  width: 46px; height: 46px; background: var(--dark); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--white);
}
.job-info { flex: 1; }
.job-info h3 { font-size: 1rem; font-weight: 700; color: var(--dark); line-height: 1.3; }
.job-type { display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); background: var(--green-light); padding: 0.2em 0.7em; border-radius: 3px; margin-top: 0.3rem; }
.job-desc { font-size: 0.875rem; color: var(--gray-600); line-height: 1.7; flex: 1; }
.job-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--gray-100); }
.job-location { font-size: 0.8rem; color: var(--gray-400); font-weight: 500; display: flex; align-items: center; gap: 0.35rem; }
.btn-apply {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55em 1.2em;
  background: var(--red); color: var(--white); border-radius: 3px; font-size: 0.82rem;
  font-weight: 600; border: none; cursor: pointer; transition: var(--transition); font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.btn-apply:hover { background: var(--red-dark); transform: translateX(3px); }

/* MODAL OVERLAY */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; backdrop-filter: blur(4px); }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal { background: var(--white); border-radius: var(--radius-lg); width: 100%; max-width: 580px; max-height: 90vh; overflow-y: auto; padding: 2.25rem 2rem; position: relative; box-shadow: 0 40px 80px rgba(0,0,0,0.4); animation: slideUp 0.3s ease; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close { position: absolute; top: 1.25rem; right: 1.25rem; width: 32px; height: 32px; border-radius: 50%; background: var(--gray-100); color: var(--gray-600); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); border: none; cursor: pointer; font-family: inherit; }
.modal-close:hover { background: var(--red); color: var(--white); }
.modal-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--gray-200); }
.modal-logo-circle { width: 44px; height: 44px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.6rem; color: var(--white); flex-shrink: 0; letter-spacing: 0; }
.modal-sub { font-size: 0.78rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.modal-title { font-family: var(--font-display); font-size: 1.6rem; color: var(--dark); letter-spacing: 0.02em; line-height: 1.1; margin-top: 2px; }

/* FORM STEPS */
.form-steps { display: flex; align-items: center; gap: 0; margin-bottom: 1.75rem; background: var(--gray-100); border-radius: var(--radius); padding: 0.5rem; }
.form-step { display: flex; align-items: center; gap: 0.5rem; padding: 0.55em 1em; border-radius: 8px; font-size: 0.78rem; font-weight: 600; color: var(--gray-400); flex: 1; justify-content: center; transition: var(--transition); text-transform: uppercase; letter-spacing: 0.06em; }
.form-step.active { background: var(--red); color: var(--white); box-shadow: 0 4px 12px rgba(200,16,46,0.3); }
.form-step.done { background: var(--green-light); color: var(--green); }
.step-connector { width: 16px; height: 2px; background: var(--gray-200); flex-shrink: 0; }
.step-num { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 700; }
.form-step.active .step-num { background: rgba(255,255,255,0.3); }
.form-step.done .step-num { background: var(--green); color: var(--white); }

/* APPLY FORM */
.apply-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--dark); text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input, .form-group select { padding: 0.8em 1em; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem; color: var(--text); background: var(--white); transition: border-color var(--transition), box-shadow var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,0.1); }
.form-group input.error, .form-group select.error { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,0.12); }
.file-drop { position: relative; border: 2px dashed var(--gray-200); border-radius: var(--radius); transition: var(--transition); overflow: hidden; }
.file-drop:hover { border-color: var(--red); background: var(--red-light); }
.file-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
.file-drop-inner { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding: 2rem; text-align: center; pointer-events: none; }
.file-icon-svg { color: var(--gray-400); margin-bottom: 0.25rem; }
.file-text { font-size: 0.88rem; color: var(--gray-600); font-weight: 500; }
.file-hint { font-size: 0.78rem; color: var(--gray-400); }
.form-actions { margin-top: 0.5rem; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.4); border-top-color: var(--white); border-radius: 50%; animation: spin 0.7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* SUCCESS */
.success-msg { display: none; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; padding: 2rem 1rem; animation: fadeUp 0.5s ease both; }
.success-icon { width: 72px; height: 72px; background: var(--green-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--green); animation: bounceIn 0.6s cubic-bezier(0.34,1.56,0.64,1) both; }
@keyframes bounceIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-title { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; color: var(--dark); letter-spacing: 0.03em; }
.success-body { color: var(--gray-600); font-size: 0.92rem; line-height: 1.75; max-width: 400px; }
.success-email-hl { display: inline-block; background: var(--red-light); color: var(--red); font-weight: 700; padding: 0.1em 0.5em; border-radius: 4px; font-size: 0.9rem; }
.success-timeline { display: flex; flex-direction: column; gap: 0; width: 100%; max-width: 340px; text-align: left; }
.tl-item { display: flex; gap: 1rem; align-items: flex-start; }
.tl-dot-wrap { display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.tl-dot.red { background: var(--red); }
.tl-dot.amber { background: #f59e0b; }
.tl-dot.gray { background: var(--gray-200); }
.tl-line { width: 2px; flex: 1; background: var(--gray-200); min-height: 24px; }
.tl-content { padding-bottom: 1.25rem; }
.tl-content strong { font-size: 0.88rem; font-weight: 600; color: var(--dark); display: block; }
.tl-content span { font-size: 0.78rem; color: var(--gray-400); }
.success-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
/* =========================
   FOOTER (RUBIS PREMIUM)
   ========================= */

.footer {
  background: linear-gradient(135deg, #003d1f 0%, #004925 50%, #006b36 100%);
  color: rgba(255,255,255,0.75);
  position: relative;
}

/* subtle red glow */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at bottom left, rgba(227,28,37,0.12), transparent 60%);
  pointer-events: none;
}

.footer-top {
  padding: 4.5rem 0 3rem;
}

/* GRID */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

/* LOGO */
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.footer-logo-circle {
  width: 44px;
  height: 44px;

  background: linear-gradient(135deg, #e31c25, #ff3b30);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.6rem;
  color: #fff;

  box-shadow: 0 6px 15px rgba(227,28,37,0.4);
}

.footer-logo-name {
  font-size: 1.6rem;
  color: #ffffff;
  letter-spacing: 0.06em;
}

.footer-logo-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* TEXT */
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 280px;
}

/* SOCIAL */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 38px;
  height: 38px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);

  border-radius: 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);

  transition: all 0.3s ease;
}

.social-btn:hover {
  background: #e31c25;
  color: #fff;
  border-color: #e31c25;

  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(227,28,37,0.4);
}

/* HEADINGS */
.footer-col h4 {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* LINKS */
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  transition: all 0.25s ease;
}

.footer-col a:hover {
  color: #ff4d4f;
  transform: translateX(3px);
}

/* CONTACT */
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.contact-list svg {
  margin-top: 2px;
  flex-shrink: 0;
  color: #ff4d4f;
}

/* NOTE */
.careers-note {
  margin-top: 1.25rem;

  background: rgba(227,28,37,0.12);
  border: 1px solid rgba(227,28,37,0.25);

  border-radius: 8px;
  padding: 0.85rem 1rem;

  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);

  display: flex;
  gap: 0.5rem;
  line-height: 1.5;
}

.careers-note svg {
  color: #ff6b7a;
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 1.5rem 0;

  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;

  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
  transition: 0.25s;
}

.footer-bottom a:hover {
  color: #ff4d4f;
}

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

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .careers-perks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { height: 280px; margin-bottom: 2rem; }
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-badge-float { display: none; }
}
@media (max-width: 640px) {
  .hamburger { display: flex; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; padding: 5rem 2rem 2rem; background: #008000; flex-direction: column; gap: 1.75rem; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.1rem; }
  .hero-content { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .jobs-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 4rem 0; }
  .careers-perks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .job-footer { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .btn-apply { width: 100%; justify-content: center; }
  .modal { padding: 1.75rem 1.25rem; }
  .careers-perks { grid-template-columns: 1fr; }
  .form-steps span { display: none; }
}
/* Hide by default (mobile-first approach) */
.desktop-only {
  display: none;
}

/* Show only on desktop (≥1024px) */
@media (min-width: 1024px) {
  .desktop-only {
    display: block;
  }
}
