:root {
    --rf-red: #b91414;
    --rf-white: #ffffff;
    --rf-navy: #0b1f3d;
    --rf-navy-light: #142f57;
    --rf-navy-soft: #1d3e6e;
    --rf-slate: #f4f6f9;
    --rf-gray-text: #606f7b;
    --rf-border: #e2e8f0;
    --rf-radius: 12px;
    --rf-transition: all 0.3s ease;
  }

  .rf-careers-page * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  .rf-careers-page {
    font-family: 'Inter', sans-serif;
    color: var(--rf-navy);
    line-height: 1.6;
    background-color: var(--rf-white);
  }

  .rf-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--rf-transition);
    cursor: pointer;
  }

  .rf-btn-primary {
    background-color: var(--rf-red);
    color: var(--rf-white);
    border: 2px solid var(--rf-red);
  }

  .rf-btn-primary:hover {
    background-color: #960f0f;
    border-color: #960f0f;
  }

  .rf-btn-secondary {
    background-color: transparent;
    color: var(--rf-navy);
    border: 2px solid var(--rf-navy);
  }

  .rf-btn-secondary:hover {
    background-color: var(--rf-navy);
    color: var(--rf-white);
  }

  /* SECTION 1: HERO (Light Background) */
  .rf-hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f4f6f9 100%);
    padding: 100px 24px 80px;
    text-align: center;
  }

  .rf-hero-container {
    max-width: 800px;
    margin: 0 auto;
  }

  .rf-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--rf-navy);
    margin-bottom: 16px;
  }

  .rf-hero-title span {
    color: var(--rf-red);
  }

  .rf-hero-subtitle {
    font-size: 16px;
    color: var(--rf-gray-text);
    margin-bottom: 32px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }

  .rf-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  /* SECTION 2: TEAM GROWTH (Dark Navy Background) */
  .rf-growth-section {
    background-color: var(--rf-navy);
    color: var(--rf-white);
    padding: 90px 24px;
  }

  .rf-growth-container {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .rf-growth-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 36px;
  }

  .rf-growth-title span {
    color: var(--rf-red);
  }

  .rf-growth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 36px;
  }

  .rf-growth-card h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--rf-white);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .rf-growth-card h4::before {
    content: "";
    color: var(--rf-red);
  }

  .rf-growth-card p {
    font-size: 13px;
    color: #a0aec0;
    line-height: 1.5;
  }

  .rf-growth-image-card {
    position: relative;
    border-radius: var(--rf-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .rf-growth-image-card img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
  }

  /* SECTION 3: OPEN ROLES (Light Background) */
  .rf-roles-section {
    background-color: var(--rf-white);
    padding: 90px 24px;
  }

  .rf-roles-container {
    max-width: 900px;
    margin: 0 auto;
  }

  .rf-roles-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    color: var(--rf-navy);
    margin-bottom: 48px;
  }

  .rf-roles-title span {
    color: var(--rf-red);
  }

  .rf-role-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
  }

  .rf-role-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    background-color: var(--rf-white);
    border: 1px solid var(--rf-border);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--rf-transition);
  }

  .rf-role-item:hover {
    border-color: var(--rf-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(11, 31, 61, 0.05);
  }

  .rf-role-left {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .rf-role-num {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #cbd5e1;
  }

  .rf-role-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--rf-navy);
    text-transform: uppercase;
  }

  .rf-role-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--rf-slate);
    color: var(--rf-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: var(--rf-transition);
  }

  .rf-role-item:hover .rf-role-arrow {
    background-color: var(--rf-red);
    color: var(--rf-white);
  }

  /* Don't See A Fit Box */
  .rf-fit-box {
    background-color: var(--rf-slate);
    border-radius: var(--rf-radius);
    padding: 36px 24px;
    text-align: center;
    border: 1px dashed #cbd5e1;
  }

  .rf-fit-box h3 {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--rf-navy);
    margin-bottom: 8px;
  }

  .rf-fit-box p {
    font-size: 14px;
    color: var(--rf-gray-text);
    margin-bottom: 20px;
  }

  /* SECTION 4: JOIN OUR TEAM (Dark Navy Outer, Red Inner Accent Box) */
  .rf-join-section {
    background-color: var(--rf-navy);
    padding: 80px 24px;
  }

  .rf-join-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--rf-navy-light) 0%, var(--rf-navy) 100%);
    border: 2px solid var(--rf-red);
    border-radius: 20px;
    padding: 60px 32px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  }

  .rf-join-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--rf-white);
    margin-bottom: 12px;
  }

  .rf-join-title span {
    color: var(--rf-red);
  }

  .rf-join-desc {
    font-size: 15px;
    color: #cbd5e1;
    max-width: 580px;
    margin: 0 auto 28px;
  }

  /* Responsive Breakpoints */
  @media (max-width: 868px) {
    .rf-growth-container {
      grid-template-columns: 1fr;
    }
    .rf-growth-image-card {
      order: -1;
    }
  }

  @media (max-width: 520px) {
    .rf-growth-grid {
      grid-template-columns: 1fr;
    }
    .rf-role-item {
      padding: 16px;
    }
    .rf-role-left {
      gap: 12px;
    }
    .rf-role-num {
      font-size: 18px;
    }
    .rf-role-name {
      font-size: 14px;
    }
  }

 /* ===================== VIDEO TESTIMONIALS SECTION ===================== */

/*
  EASY TUNING:
  --vt-ratio : shape of the video area (width / height).
               The WHOLE video is always shown (object-fit: contain); if a video is a
               different shape than this box, navy bars fill the empty space.
               16 / 9 = wide, 4 / 3 = balanced, 1 / 1 = square, 3 / 4 = tall.
*/
.video-testimonials-section {
  --vt-ratio: 4 / 3;

  background-color: #ffffff;
  padding: 100px clamp(16px, 4vw, 40px) 110px;
  width: 100%;
  overflow: hidden;
}

/* --- Header --- */
.vt-header {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}

.vt-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #c5142a;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.vt-heading {
  font-weight: 900;
  line-height: 1.2;
  color: #00205B;
  margin: 0 0 20px;
}

.vt-line {
  display: block;
}

/* Line 1: "Don't Just Believe Our Words" with a red strike-through drawn on scroll */
.vt-strike-wrap {
  position: relative;
  display: inline-block;
  font-size: clamp(26px, 4vw, 46px);
  color: #6b7a99;
  opacity: 0.75;
}

.vt-strike-text {
  position: relative;
  z-index: 1;
}

.vt-strike-svg {
  position: absolute;
  left: -2%;
  top: -18%;
  width: 104%;
  height: 136%;
  overflow: visible;
  pointer-events: none;
}

.vt-strike-path {
  fill: none;
  stroke: #c5142a;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 700; /* animated to 0 via JS/GSAP */
}

/* Line 2: "Hear It From Our Clients" */
.vt-accent-line {
  font-size: clamp(32px, 5.4vw, 62px);
  text-transform: uppercase;
  margin-top: 10px;
}

.vt-highlight {
  position: relative;
  color: #c5142a;
  white-space: nowrap;
}

.vt-underline {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 6px;
  background: #c5142a;
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left center;
}

.vt-sub {
  font-size: 17px;
  line-height: 1.7;
  color: #4b5f84;
  margin-top: 22px;
}

/* --- Grid of video cards --- */
.vt-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.vt-card {
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 32, 91, 0.06);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.vt-card:hover {
  box-shadow: 0 20px 44px rgba(197, 20, 42, 0.14);
  border-color: #c5142a;
}

/* --- Video area --- */
.vt-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: var(--vt-ratio);
  background: #00205B;
  overflow: hidden;
}

.vt-video {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* show the whole video, nothing is cropped */
  object-position: center;
  display: block;
  background: #00205B;
}

/* Play/Pause button */
.vt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, background 0.25s ease;
  z-index: 2;
}

.vt-play-btn::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: vtPulse 2.2s ease-out infinite;
}

@keyframes vtPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

.vt-play-btn:hover {
  background: #c5142a;
  transform: translate(-50%, -50%) scale(1.08);
}

.vt-play-icon,
.vt-pause-icon {
  width: 28px;
  height: 28px;
  fill: #00205B;
  transition: fill 0.25s ease;
}

.vt-play-btn:hover .vt-play-icon,
.vt-play-btn:hover .vt-pause-icon {
  fill: #ffffff;
}

.vt-pause-icon {
  display: none;
}

/* Playing state: swap icon, fade the button, hide the pulse ring */
.vt-card.is-playing .vt-play-icon { display: none; }
.vt-card.is-playing .vt-pause-icon { display: block; }
.vt-card.is-playing .vt-play-btn { opacity: 0; }
.vt-card.is-playing .vt-play-btn::after { animation: none; }
.vt-card.is-playing .vt-video-wrap:hover .vt-play-btn { opacity: 1; }

/* Progress bar */
.vt-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 2;
}

.vt-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: #c5142a;
}

/* --- Meta row --- */
.vt-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}

.vt-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: #e2e8f0;
  flex-shrink: 0;
}

.vt-meta-text {
  flex: 1;
  min-width: 0;
}

.vt-name {
  font-size: 17px;
  font-weight: 800;
  color: #00205B;
  line-height: 1.3;
}

.vt-role {
  font-size: 14px;
  color: #4b5f84;
  display: block;
}

.vt-rating {
  font-size: 14px;
  color: #c5142a;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* --- Responsive --- */

/* Very large screens: let the section grow a little more */
@media (min-width: 1600px) {
  .vt-grid {
    max-width: 1560px;
    gap: 40px;
  }
}

/* Laptops / small desktops: slightly tighter */
@media (max-width: 1200px) {
  .vt-grid {
    gap: 28px;
  }

  .vt-play-btn {
    width: 64px;
    height: 64px;
  }

  .vt-play-icon,
  .vt-pause-icon {
    width: 24px;
    height: 24px;
  }
}

/* Tablets: 2 columns */
@media (max-width: 992px) {
  .vt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
}

/* Phones: 1 column, taller video area so faces are not cut off */
@media (max-width: 768px) {
  .video-testimonials-section {
    --vt-ratio: 4 / 3;
    padding: 64px 16px 72px;
  }

  .vt-header {
    margin-bottom: 40px;
  }

  .vt-strike-wrap {
    font-size: clamp(18px, 5.5vw, 26px);
  }

  .vt-accent-line {
    font-size: clamp(26px, 8vw, 36px);
  }

  .vt-sub {
    font-size: 15px;
  }

  .vt-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 480px;
  }

  .vt-play-btn {
    width: 60px;
    height: 60px;
  }

  .vt-play-icon,
  .vt-pause-icon {
    width: 22px;
    height: 22px;
  }

  .vt-meta {
    padding: 16px 18px;
  }

  .vt-avatar {
    width: 48px;
    height: 48px;
  }

  .vt-name {
    font-size: 16px;
  }

  .vt-role {
    font-size: 13px;
  }
}

/* Small phones */
@media (max-width: 420px) {
  .video-testimonials-section {
    padding: 56px 12px 64px;
  }

  .vt-meta {
    padding: 14px 16px;
    gap: 12px;
  }

  .vt-avatar {
    width: 42px;
    height: 42px;
  }

  .vt-rating {
    font-size: 12px;
    letter-spacing: 0.5px;
  }
}
/* =================== END VIDEO TESTIMONIALS SECTION =================== */