/* ==========================================================================
   careers.css — Reneta Cleaning · Careers/Jobs Page
   BEM prefix: cr-
   ========================================================================== */


/* --------------------------------------------------------------------------
   UTILITY
   -------------------------------------------------------------------------- */
.text-green {
  color: var(--rc-green);
}


/* ==========================================================================
   SECTION 1 · HERO
   ========================================================================== */

.cr-hero {
  position: relative;
  min-height: 90vh;
  padding: 140px 0 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background image wrapper */
.cr-hero__bg {

  inset: 0;
  z-index: 0;
}

.cr-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.65;
}

/* Dark gradient overlay */
.cr-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 16, 0.72) 0%, rgba(10, 22, 16, 0.30) 50%, transparent 100%);
}

/* Container sits above overlay */
.cr-hero__container {
  position: relative;
  z-index: 1;
}

/* Label */


/* Heading */
.cr-hero__title {
  font-family: var(--f-viet);
  font-size: var(--fz-h1);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 20px;
}

/* Subtitle */
.cr-hero__subtitle {
  font-family: var(--f-viet);
  font-size: 1.1rem;
  color: #ffffff;
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 36px;
}

/* CTA button */
.cr-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #00A650;
  color: #ffffff;
  font-family: var(--f-viet);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 50px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 18px rgba(46, 204, 113, 0.35);
}

.cr-hero__btn i {
  transition: transform 0.2s ease;
  background: white;
  color: #00A650;
  padding: 8px;
  border-radius: 50%;
}

.cr-hero__btn:hover {
  background: var(--rc-green-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(46, 204, 113, 0.4);
}

.cr-hero__btn:hover svg {
  transform: translateX(4px);
}


/* ==========================================================================
   SECTION 2 · OPEN POSITIONS
   ========================================================================== */

.cr-positions {
  background: #ffffff;
  padding: 80px 0;
}

.cr-positions-box {
  /* max-width: 1400px; */
  padding: 20px 50px;
  margin: 0 auto;
  background: #F8FAFC;
}

/* Section header */
.cr-positions__header {
  text-align: center;
  margin-bottom: 48px;
}



.cr-positions__title {
  font-family: var(--f-viet);
  font-size: var(--fz-h2);
  font-weight: 700;
  color: #1A3C65;
  line-height: 1.15;
  margin-bottom: 14px;
}

.cr-positions__subtitle {
  font-family: var(--f-viet);
  font-size: 1rem;
  color: #45556C;

  margin: 0 auto;
  line-height: 1.6;
}

/* List wrapper */
.cr-positions__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Individual job card */
.cr-positions__card {


  border-radius: 18.484px;
  border: 1.155px solid rgba(0, 0, 0, 0.00);
  background: #FFF;
  box-shadow: 0 1.155px 3.466px 0 rgba(0, 0, 0, 0.10), 0 1.155px 2.31px -1.155px rgba(0, 0, 0, 0.10);



  padding: 32px;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.cr-positions__card:hover {
  box-shadow: 0 8px 32px rgba(33, 46, 59, 0.1);
  transform: translateY(-2px);
}

/* Card body: flex row */
.cr-positions__card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cr-positions__card-left {
  flex: 1;
  min-width: 0;
}

.cr-positions__card-right {
  flex-shrink: 0;
}

/* Title + badge row */
.cr-positions__card-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.cr-positions__card-title {
  font-family: var(--f-viet);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: #1A3C65;
  margin: 0;
  line-height: 1.3;
}

/* URGENT badge */
.cr-positions__badge {
  display: inline-flex;
  align-items: center;

  background: rgba(232, 135, 49, 0.10);
  color: #E88731;

  font-family: var(--f-viet);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

/* Meta row */
.cr-positions__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 12px;
}

.cr-positions__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-viet);
  font-size: 0.82rem;
  color: #62748E;
  white-space: nowrap;
}

.cr-positions__meta-item svg {
  color: var(--rc-green);
  flex-shrink: 0;
}

/* Card description */
.cr-positions__card-desc {
  font-family: var(--f-viet);
  font-size: 0.88rem;
  color: #45556C;
  line-height: 1.6;
  margin: 0;
}

/* Apply button */
.cr-positions__apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #178D71;
  color: #ffffff;
  font-family: var(--f-viet);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 16.173px;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.2s ease;
}

.cr-positions__apply-btn:hover {
  background: var(--rc-dark);
  color: #ffffff;
  transform: translateY(-1px);
}


/* ==========================================================================
   SECTION 3 · APPLY
   ========================================================================== */

.cr-apply {
  background: #ffffff;
  padding: 80px 0;
}

.cr-apply-child-box {
  max-width: 1400px;
  margin: 0 auto;
}

/* Label */
.cr-apply__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2ECC71;
  font-family: var(--f-viet);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.cr-apply__label img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(72%) saturate(436%) hue-rotate(95deg) brightness(95%) contrast(86%);
}

/* Heading */
.cr-apply__title {
  font-family: var(--f-viet);
  font-size: var(--fz-h2);
  font-weight: 600;
  color: #1F4E79;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

/* Subtitle */
.cr-apply__subtitle {
  font-family: var(--f-viet);
  font-size: 18px;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Bullet list */
.cr-apply__bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cr-apply__bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-viet);
  font-size: 18px;
  font-weight: 500;
  color: #6B7280;
}

/* Green checkmark via pseudo-element */
.cr-apply__bullet-item i {
  color: #2ECC7180;
  font-size: 20px;
}

/* Contact card */
.cr-apply__contact-card {
  background: var(--rc-navy);
  color: #ffffff;
  padding: 20px 24px;
  border-radius: 19px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cr-apply__contact-label {
  font-family: var(--f-viet);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 2px;
}

.cr-apply__contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-viet);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.40);

}

.cr-apply__contact-row svg {
  color: var(--rc-green);
  flex-shrink: 0;
}

/* Form card */
.cr-apply__form-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 48px rgba(33, 46, 59, 0.1);
  padding: 32px 28px;
  margin-left: 100px;
  height: 100%;
}

/* Step indicator */
.cr-apply__steps {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 0;
}

.cr-apply__step {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cr-apply__step-circle {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-viet);
  font-size: 0.82rem;
  font-weight: 700;
  background: #E5E7EB4D;
  color: #a0aec0;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.cr-apply__step-circle--active {
  background: var(--rc-navy);
  color: #ffffff;
}

.cr-apply__step-label {
  font-family: var(--f-viet);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--rc-navy);
  white-space: nowrap;
}

.cr-apply__step-label--inactive {
  color: #6B72804D;
  font-weight: 500;
}

/* Connecting line between steps */
.cr-apply__step-line {
  flex: 1;
  height: 1.5px;
  background: #E5E7EB4D;
  margin: 0 10px;
}

/* Progress bar below steps */
.cr-apply__progress-wrap {
  height: 3px;
  background: #E5E7EB4D;
  border-radius: 3px;
  margin-bottom: 35px;
  overflow: hidden;
}

.cr-apply__progress-fill {
  height: 100%;
  background: var(--rc-green);
  border-radius: 3px;
  transition: width 0.4s ease;
}

/* Form labels */
.cr-apply__form-label {
  display: block;
  font-family: var(--f-viet);
  font-size: 14px;
  font-weight: 600;
  color: #6B7280;
  margin-bottom: 6px;
}

.cr-apply__required {
  color: var(--rc-green);
}

/* Inputs */
.cr-apply__input {
  display: block;
  width: 100%;
  border-radius: 19.667px;
  border: 1.229px solid rgba(229, 231, 235, 0.30);
  background: #FAFBFC;
  padding: 17.209px 19.667px;
  font-family: var(--f-viet);
  font-size: 0.92rem;
  color: var(--rc-dark);
height: fit-content;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s;
  -webkit-appearance: none;
}

.cr-apply__input::placeholder {
  color: #b0b8c1;
}

.cr-apply__input:focus {
  border-color: var(--rc-green);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.12);
}

/* Error messages */
.cr-apply__error {
  display: block;
  font-family: var(--f-viet);
  font-size: 0.78rem;
  color: #e53e3e;
  margin-top: 4px;
  min-height: 18px;
}

.cr-apply__input--error {
  border-color: #e53e3e !important;
}

/* Optional label */
.cr-apply__optional {
  font-weight: 400;
  color: #a0aec0;
  font-size: 0.78rem;
}

/* Textarea */
.cr-apply__textarea {
  resize: vertical;
  min-height: 100px;
  height: auto;
  border-radius: 12px !important;
}

/* File input */
.cr-apply__file {
  padding: 10px 16px;
  cursor: pointer;
}

/* Select */
.cr-apply__select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a0aec0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* Button row */
.cr-apply__btn-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;

  
}

.cr-apply__btn-row--two {
  justify-content: space-between;
  gap: 12px;
}

/* Back button */
.cr-apply__back-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--rc-navy);
  font-family: var(--f-viet);
  font-size: 1rem;
  font-weight: 600;
  border: 1.5px solid #e2e8f0;
  border-radius: 50px;
  padding: 16px 28px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  height: fit-content;
  margin-top:8px ;
}

.cr-apply__back-btn:hover {
  border-color: var(--rc-navy);
  background: #f8fafc;
}

/* Step circle done state */
.cr-apply__step-circle--done {
  background: var(--rc-green) !important;
  color: #ffffff !important;
}

/* Green submit button variant */
.cr-apply__continue-btn--green {
  background: var(--rc-green) !important;
}

.cr-apply__continue-btn--green:hover {
  background: var(--rc-green-dark) !important;
  box-shadow: 0 8px 24px rgba(46, 204, 113, 0.3) !important;
}

/* Success message */
.cr-apply__success {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #eef9f5;
  border: 1.5px solid var(--rc-green);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
  font-family: var(--f-viet);
  font-size: 0.95rem;
  color: var(--rc-green-dark);
  font-weight: 600;
}

.cr-apply__success i {
  font-size: 1.6rem;
  color: var(--rc-green);
  flex-shrink: 0;
}

.cr-apply__success p {
  margin: 0;
}

/* Continue button — pill shaped, dark navy */
.cr-apply__continue-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--rc-navy);
  color: #ffffff;
  font-family: var(--f-viet);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  padding: 16px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  margin-top: 8px;
}

.cr-apply__continue-btn:hover {
  background: #152f50;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 60, 101, 0.25);
}

.cr-apply__continue-btn:active {
  transform: translateY(0);
}


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

/* Large tablet */
@media (max-width: 1199.98px) {
  .cr-positions-box {
    padding: 20px 24px;
  }
}

/* Tablet */
@media (max-width: 991.98px) {

  .cr-hero {
    min-height: 70vh;
    padding: 120px 0 70px;
  }

  .cr-hero__title {
    font-size: clamp(2.2rem, 7vw, 3.6rem);
  }

  .cr-apply__form-card {
    padding: 28px 20px;
  }

  .cr-apply {
    padding: 60px 0;
  }

  .cr-positions {
    padding: 60px 0;
  }

  .cr-apply__form-card{
    margin-left: auto;
    margin-top: 35px;
  }
}

/* Mobile */
@media (max-width: 767.98px) {

  .cr-hero {
    min-height: 60vh;
    padding: 100px 0 60px;
  }

  .cr-hero__title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .cr-hero__subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .cr-positions-box {
    padding: 16px;
  }

  /* Job card: switch to column on mobile */
  .cr-positions__card-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cr-positions__card-right {
    width: 100%;
  }

  .cr-positions__apply-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

  .cr-positions__card {
    padding: 18px;
  }

  .cr-apply__form-card {
    padding: 22px 16px;
  }

  /* Step indicator: hide labels on very small, keep circles */
  .cr-apply__step-label {
    font-size: 0.78rem;
  }

  .cr-apply__step-circle {
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
  }

  .cr-apply__step-line {
    margin: 0 6px;
  }
}

/* Small mobile */
@media (max-width: 575.98px) {

  .cr-hero {
    min-height: 50vh;
    padding: 95px 0 50px;
  }

  .cr-hero__btn {
    width: 100%;
    justify-content: center;
  }

  .cr-positions__meta {
    gap: 6px 10px;
  }

  .cr-apply__contact-card {
    padding: 16px 18px;
  }

  /* Hide step labels, just show circles */
  .cr-apply__step-label {
    display: none;
  }

  .cr-apply__step-circle {
    width: 30px;
    height: 30px;
  }
}