/* =========================
   MAIN WRAPPER
========================= */
#eem-application-bph {
  padding: 0px 0;
}

#eem-application-bph .process-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* =========================
   TOP & BOTTOM ROWS
========================= */
#eem-application-bph .process-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

#eem-application-bph .top-row {
  margin-bottom: 0px;
}

#eem-application-bph .bottom-row {
  margin-top: 258px;
}

/* =========================
   PROCESS CARDS
========================= */
/* STEP 3 card (middle) */
#eem-application-bph .top-row .process-card:nth-child(2) {
  transform: translatex(-145px);
}

/* STEP 5 card (right) */
#eem-application-bph .top-row .process-card:nth-child(3) {
  transform: translatex(-310px);
}
/* STEP 3 card (middle) */
#eem-application-bph .bottom-row .process-card2:nth-child(2) {
  transform: translatex(-145px);
}

/* STEP 5 card (right) */
#eem-application-bph .bottom-row .process-card2:nth-child(3) {
  transform: translatex(-310px);
}

/* Card */
#eem-application-bph .process-card {
  position: relative;
  overflow: hidden;
  left: 44px;
  bottom: -110px;
  background: #fff;
  height: 285px !important;
  width: 269px !important;
}
#eem-application-bph .process-card2 {
  position: relative;
  overflow: hidden;
  left: 245px;
  bottom: -10px;
  background: #fff;
  height: 285px !important;
  width: 269px !important;
}

/* Image box */
#eem-application-bph .process-card .img-box {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

/* Image */
#eem-application-bph .process-card .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Overlay */
#eem-application-bph .process-card .img-overlay {
  position: absolute;
  inset: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  display: block !important;
  padding-top: 20px;
}

/* Description */
#eem-application-bph .process-card .img-desc {
  list-style: disc;
  padding-left: 20px;
  margin: 50px 5px 0px 5px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;

  opacity: 0;
  transition: all 0.4s ease;
  transition-delay: 0.1s;
}

/* Hover effects */
#eem-application-bph .process-card:hover .img-overlay {
  opacity: 1;
  background: rgba(247, 130, 33, 0.8);
}

#eem-application-bph .process-card:hover .img-desc {
  opacity: 1;
}

#eem-application-bph .process-card:hover img {
  transform: scale(1.05);
}


/* Image box */
#eem-application-bph .process-card2 .img-box {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

/* Image */
#eem-application-bph .process-card2 .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Overlay */
#eem-application-bph .process-card2 .img-overlay {
  position: absolute;
  inset: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  display: block !important;
  padding-top: 20px;
}

/* Description */
#eem-application-bph .process-card2 .img-desc {
  list-style: disc;
  padding-left: 20px;
  margin: 50px 5px 0px 5px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;

  opacity: 0;
  transition: all 0.4s ease;
  transition-delay: 0.1s;
}

/* Hover effects */
#eem-application-bph .process-card2:hover .img-overlay {
  opacity: 1;
  background: rgba(247, 130, 33, 0.8);
}

#eem-application-bph .process-card2:hover .img-desc {
  opacity: 1;
}

#eem-application-bph .process-card2:hover img {
  transform: scale(1.05);
}

/* =========================
   HEADINGS
========================= */
#eem-application-bph h3 {
  color: #222;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
  text-align: center;
  position: relative;
  bottom: 70px;
}
#eem-application-bph .title {
  bottom: 278px !important;
}
#eem-application-bph .process-card h3 {
  transition: transform 0.4s ease, color 0.4s ease;
}
#eem-application-bph .process-card2 .title {
  transition: transform 0.4s ease, color 0.4s ease;
}
#eem-application-bph .process-card:hover h3 {
  transform: translateY(-212px);
  z-index: 1;
  color: #fff;
}
#eem-application-bph .process-card2:hover .title {
  z-index: 1;
  color: #fff !important;
  transform: translateY(0px) !important;
}

/* =========================
   HIGHLIGHT CARD (STEP 03)
========================= */
#eem-application-bph .process-card.highlight {
  background: #f7943c;
  color: #ffffff;
}

#eem-application-bph .process-card.highlight h3,
#eem-application-bph .process-card.highlight li {
  color: #ffffff;
}

#eem-application-bph .process-card.highlight ul {
  margin-top: 15px;
  padding-left: 18px;
  text-align: left;
}

/* =========================
   PROCESS LINE & STEPS
========================= */
#eem-application-bph .process-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

#eem-application-bph .step span {
  display: block;
  font-size: 20px;
  line-height: 1;
}
#eem-application-bph .process-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 120px;

  background-image: url("https://www.yltech.com.my/wp-content/uploads/2026/01/solution-line.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

/* =========================
   STEP BASE STYLE
========================= */
#eem-application-bph .step {
  width: 80px;
  height: 100%;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  text-indent: -9999px; /* hide text STEP 01 */
}

/* =========================
   STEP IMAGES
========================= */
#eem-application-bph .s1 {
  background-image: url("https://www.yltech.com.my/wp-content/uploads/2026/02/solution-num-1-2.png");
  position: relative;
  bottom: 25px;
  left: 130px;
}

#eem-application-bph .s2 {
  background-image: url("https://www.yltech.com.my/wp-content/uploads/2026/01/solution-num-2.png");
  position: relative;
  top: 25px;
  left: 70px;
}

#eem-application-bph .s3 {
  background-image: url("https://www.yltech.com.my/wp-content/uploads/2026/01/solution-num-3.png");
  position: relative;
  bottom: 25px;
  left: 20px;
}

#eem-application-bph .s4 {
  background-image: url("https://www.yltech.com.my/wp-content/uploads/2026/01/solution-num-4.png");
  position: relative;
  top: 25px;
  left: -50px;
}

#eem-application-bph .s5 {
  background-image: url("https://www.yltech.com.my/wp-content/uploads/2026/01/solution-num-5.png");
  position: relative;
  bottom: 25px;
  left: -110px;
}

#eem-application-bph .s6 {
  background-image: url("https://www.yltech.com.my/wp-content/uploads/2026/01/solution-num-6.png");
  position: relative;
  top: 25px;
  left: -175px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  #eem-application-bph .process-row {
    flex-direction: column;
  }

  #eem-application-bph .process-card {
    width: 100%;
  }

  #eem-application-bph .process-line {
    display: none;
  }
}
