.eco-stage {
  position: relative;
    width: 100%;
    max-width: 1200px;
    height: 600px;
    margin: 2rem auto 147px;
    overflow: visible;
    margin: 0 auto;
    margin-bottom: 170px;
}
 
.eco-hub {
  position: absolute;
  width: 240px;
  height: 240px;
  left: 53%;
  top: 88%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}
 
.eco-hub::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235,42,68,0.08) 0%, transparent 70%);
}
/*  
.eco-hub-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(235,42,68,0.25);
  border-radius: 50%;
  animation: orbitSpin 8s linear infinite;
}
  */
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
 .eco-hub-ring {
  position: absolute;
  inset: 0;                
  border: 1.5px solid #f3d5d9;
  border-radius: 50%;
  will-change: transform;
}

.eco-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px;             
  background: var(--red);
  border-radius: 50%;
}
.eco-dot {
  position: absolute;
  width: 12px; height: 12px;
  background: #EB2A44;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(235,42,68,0.15);
}
/* .eco-dot-t { top: -6px;   left: 50%;  transform: translateX(-50%); }
.eco-dot-l { left: -6px;  top: 50%;   transform: translateY(-50%); }
.eco-dot-r { right: -6px; top: 50%;   transform: translateY(-50%); } */
 .eco-card-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0.75rem 0;
  display: block;
}
.eco-hub-core {
  position: relative;
  width: 78%; height: 78%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 40px rgba(255,59,71,0.10), 0 2px 12px rgba(0,0,0,0.06);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 1rem; z-index: 2;
}
.eco-hub-core h2 { font-size:1.5rem; font-weight:800; color:#2d3142; }
.eco-hub-core h2 span { color:#EB2A44; }
.eco-hub-core p { font-size:0.75rem; color:#7c8091; margin-top:0.4rem; }
 

.eco-card {
  position: absolute;
  width: 355px;
  background: #fff;
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.07);
  border: 1px solid #f0f0f0;

}
 .eco-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.eco-card-header .eco-icon {
  margin-bottom: 0;  
  flex-shrink: 0;
}

.eco-card-header .eco-badge {
  margin-bottom: 0;
}
.eco-hub-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(235,42,68,0.25);
  border-radius: 50%;
}
.eco-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 0.75rem;
  display: block;
}
.eco-card .eco-icon {
  width: 42px; height: 42px;
  background: rgba(235,42,68,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #EB2A44; font-size: 1rem; margin-bottom: 0.6rem;
}
.eco-card .eco-badge {
  font-size: 0.68rem; font-weight: 700; color: #EB2A44;
  display: block; margin-bottom: 0.2rem;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.eco-card h3 { font-size:1rem; font-weight:700; color:#2d3142; line-height:1.3; margin-bottom:0.8rem; }
.eco-card ul { list-style:none; padding:0; margin:0; }
.eco-card ul li { font-size:0.8rem; color:#7c8091; display:flex; align-items:flex-start; gap:0.45rem; margin-bottom:0.45rem; }
.eco-card ul li i { color:#EB2A44; font-size:0.85rem; margin-top:2px; flex-shrink:0; }

@media (max-width: 900px) {
  .eco-card,
  #ecoCard0, #ecoCard1, #ecoCard2 {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-width: 380px;
    opacity: 1 !important;
    filter: none !important; 
    margin-bottom: -160px;
    
  }
}


/* #ecoCard0 {
  width: 520px !important; 
} */

.eco-card-inner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.eco-card-content {
  flex: 1;
  min-width: 0;
}

.eco-card-image-wrap {
  flex: 0 0 200px;
  border-radius: 10px;
  overflow: hidden;
}

.eco-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* also update top anchor to account for wider card */
/* in getAnchors(), change top card x: */
/* { x: W / 2 - 260, y: 10 }  ← 260 = half of 520px */



.eco-card-img-only {
  padding: 0 !important;
  overflow: hidden;
}

.eco-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.eco-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(235,42,68,0.05);
  color: #EB2A44;
  font-size: 2rem;
}

@media (max-width: 900px) {
  .eco-card-img-only {
    display: none; /* hide image card on mobile, content cards only */
  }
}
.eco-top-arrow {
  position: absolute;
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1.5px solid #EB2A44;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EB2A44;
     font-size: 1.60rem;
  box-shadow: 0 4px 12px rgba(235,42,68,0.15);
  z-index: 6;
}

.eco-img-card {
  padding: 0 !important;
  overflow: hidden;
}

.eco-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.eco-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(235,42,68,0.04);
  color: #EB2A44;
  font-size: 2.5rem;
}

@media (max-width: 900px) {
  .eco-img-card,
  .eco-top-arrow { display: none; }
}

.eco-content-img {
  margin-top: 0.9rem;
  border-radius: 10px;
  overflow: hidden;
}
.eco-content-img img {
  width: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 900px) {

  #hero {
    min-height: auto;
    padding: 100px 5% 40px;
    margin-bottom: 30px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-text { text-align: center; }
  .hero-btns { justify-content: center; }

  .hero-visual {
    max-width: 440px;
    margin: 1.5rem auto 0;
  }

  .hero-main-img { scale: 1.15; }

  .big-bg-text {
    font-size: clamp(4rem, 14vw, 7rem);
    right: 0;
    top: 0;
    opacity: 0.5;
  }

  .eco-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 1rem;
  }

  .eco-hub {
    position: static;
    order: -1;
    width: 200px;
    height: 200px;
    margin: 0 auto 0.5rem;
    transform: translate(0);
  }

  .eco-card {
    position: static !important;
    width: 100% !important;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 1.4rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    border: 1px solid #f0f0f0;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  .eco-img-card {
    height: 220px;
    padding: 0 !important;
    overflow: hidden;
  }

  .eco-top-arrow { display: none !important; }

  #ecoCard1, #ecoCard2 { display: none; }

  .success-section { padding: 30px 16px; }

  .section-header h2 { font-size: 1.8rem; }

  .graphic-container {
    height: auto;
    margin: 50px auto 0;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
  }

  .img-main {
    height: auto;
    width: 80%;
    top: 0;
    mask-image: none;
  }

  .img-float {
    position: static;
    max-width: 85%;
    margin: 0 auto;
  }

  .employer-section img,
  .candidate-section img { top: 0; }

  .candidate-section .float-left,
  .candidate-section .float-right,
  .employer-section .float-right {
    position: static;
    scale: 1;
  }




}


@media (max-width: 640px) {


  #hero {        padding: 39px 4% 30px; }

  .hero h1 { font-size: 2.1rem; }
  .hero-desc { font-size: 0.9rem; }

  .hero-btns { flex-direction: column; gap: 0.75rem; }
  .btn-primary, .btn-outline { width: 100%; }

  .hero-float { display: none; }
  .hero-main-img { scale: 1.25; }
  .big-bg-text { font-size: 4rem; opacity: 0.35; }


  .eco-hub { width: 170px; height: 170px;    transform: translate(-9%, 0%); }
  .eco-hub-core h2 { font-size: 1.1rem; }
  .eco-hub-core p  { font-size: 0.72rem; }

  .eco-card { padding: 1.2rem; }
  .eco-card h3 { font-size: 1rem; }
  .eco-card ul li { font-size: 0.83rem; }
  .eco-img-card { height: 190px; }

  .success-section { padding: 24px 12px; }
  .section-header h2 { font-size: 1.5rem; }
  .img-main { width: 85%; }
  .img-float { max-width: 90%; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

  section { padding: 36px 4%; }
  .section-title { font-size: 1.55rem; }
  .section-sub { font-size: 0.88rem; }


}

