.retl {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 60%,
      #fff 100%
    ),
    url('../assets/images/careers-bg.svg');
  background-size: cover;
  background-position: top;
  height: 50vh;
  padding: 14rem 0;
  background-repeat: no-repeat;
}

.process-timeline .timeline-wrapper {
  background: #ffffff;
  border-radius: 20px;
  padding: 50px 40px;
  position: relative;
}

/* central line */
.process-timeline .timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 60px;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  background: #dde3f3;
  z-index: 1;
}

.timeline-step {
  margin-bottom: 40px;
}

.timeline-step:last-of-type {
  margin-bottom: 0;
}

.timeline-content h5 {
  font-weight: 600;
  color: #22315a;
  margin-bottom: 6px;
}

.timeline-content p {
  margin: 0;
  font-size: 0.94rem;
  color: #6d78a0;
}

/* number circles */
.timeline-number {
  position: relative;
  z-index: 2; /* keep above line */
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #dde3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: #253a86;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.timeline-number.active {
  border-color: #2f6bff;
  box-shadow: 0 0 0 6px rgba(47, 107, 255, 0.18);
}

/* bottom icon (handshake) */
.timeline-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffe9a6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}


.careers-hero-section {
  background-image: url('../assets/images/886863.svg');
  padding: 7rem 0;
}

.app-card {
  background: #fff;
  border-radius: 24px;
  padding: 45px 50px;
  max-width: 1000px;
  margin: 70px auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
  transform: translateY(-110px);
}

.form-control {
  height: 56px;
  border-radius: 10px;
  border-color: #e1e5f0;
  box-shadow: none !important;
}

.form-control:focus {
  border-color: #1b63ff;
}

/* Upload Box */
.upload-dropzone {
  border: 2px dashed #569ba4;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 30px;
  cursor: pointer;
  transition: 0.3s;
}
.upload-dropzone:hover {
  background: #f4fafb;
  border-color: #2a8b9b;
}

.upload-icon {
  font-size: 2.3rem;
  color: #2356d4;
  margin-bottom: 10px;
}
.upload-main-text {
  font-size: 0.98rem;
  color: #333;
  font-weight: 500;
}
.upload-small-text {
  font-size: 0.8rem;
  color: #8a93af;
  margin-top: 5px;
}

.btn-submit {
  background: #0f3b3c;
  color: #fff;
  padding: 12px 36px;
  border-radius: 10px;
  font-size: 1rem;
  border: none;
}
.btn-submit:hover {
  background: #0c2d2e;
  color: #fff;
}

.btn-submit .spinner-border {
  vertical-align: -0.125rem;
  margin-right: 0.5rem;
}

/* Visual cue when a file is selected */
.upload-dropzone.selected {
  border: 2px dashed #2356d4;
  background-color: rgba(35, 86, 212, 0.03);
  border-radius: 8px;
  padding: 1rem;
}

/* small 'change' link style inside the upload-main-text when file chosen */
.upload-main-text .change-link {
  margin-left: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  color: #2356d4;
}

/* optional dragover hint */
.upload-dropzone.dragover {
  border-color: #1b4fcc;
  background-color: rgba(35, 86, 212, 0.05);
}

/* ensure upload area visuals don't break layout */
.upload-dropzone .upload-icon {
  font-size: 28px;
  margin-bottom: 8px;
}


/* small screens */
@media (max-width: 767.98px) {
  .process-timeline .timeline-wrapper::before {
    left: 50%;
  }

  .timeline-content {
    text-align: center !important;
    margin-top: 10px;
  }

  .timeline-step {
    text-align: center;
  }

  .timeline-step .col-md-5 {
    margin-bottom: 15px;
  }
  .retl {
  height: 65vh;
}
}

@media (max-width: 450px){
   .app-card {
    margin: auto;
    transform: translateY(0);
  }

  .careers-hero-section {
    background-image: url(../assets/images/886863.svg);
    padding: 4rem 0;
}
}

/* Mobile Timeline Fix */
@media (max-width: 767px) {

  .timeline-step {
    position: relative;
    text-align: center;
    padding-top: 40px;
  }

  /* Force full width */
  .timeline-step > div {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* Hide empty spacer columns */
  .timeline-step .d-none.d-md-block {
    display: none !important;
  }

  /* Center number */
  .timeline-number {
    margin: 0 auto 20px auto;
  }

  /* Center text */
  .timeline-content {
    text-align: center !important;
  }

  /* Vertical line in center */
  .timeline-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #e5e9f2;
    transform: translateX(-50%);
  }

  /* Push content above line */
  .timeline-content,
  .timeline-number {
    position: relative;
    z-index: 2;
    background: #fff;
  }

}

@media (max-width: 825px) {
 .retl {
   
    height: 40vh;
  
}
}