/* why-choose.css
   Premium Why-Choose section: glassmorphism + slider + funnel + timeline + counters
*/

/* Section base */
.why-choose-section {
  position: relative;
  padding: 60px 0 70px;
  overflow: visible;
  color: #fff;
  background: linear-gradient(180deg,#071430 0%, #0b2b4a 100%);
}

/* subtle background illustrations (left & right shapes) */
.why-bg-left, .why-bg-right {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}
.why-bg-left { left:0; width:46%; background-image: url('/img/illustrations/warehouse-bg.svg'); background-position:left center; }
.why-bg-right { right:0; width:48%; background-image: url('/img/illustrations/airport-bg.svg'); background-position:right center; }

/* header */
.why-header { text-align:center; margin-bottom:28px; z-index:3; position:relative; }
.why-title { font-size:34px; font-weight:900; letter-spacing: -0.5px; margin-bottom:6px; color:#fff; }
.why-sub { color: rgba(255,255,255,0.9); max-width:900px; margin: 0 auto 18px; font-size:16px; }

/* grid layout */
.why-grid { display:flex; gap:28px; align-items:flex-start; position:relative; z-index:3; }
.why-left, .why-right { flex:1; min-width:0; }

/* USPs grid */
.usps-grid {
  display:grid;
  grid-template-columns: repeat(2,1fr);
  gap:16px;
  margin-bottom:20px;
}
.usp-card {
  background: rgba(255,255,255,0.04);
  border-radius:14px;
  padding:40px 0px 5px 0px ;
  text-align:center;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .28s ease, box-shadow .28s ease;
  position:relative;
  overflow:hidden;
}
.usp-card:hover { transform: translateY(-6px); box-shadow: 0 24px 70px rgba(2,8,30,0.45); }

/* icon at top centre */
.usp-icon { width:70px; height:70px; margin: -38px auto 10px; background: rgba(255,255,255,0.06); border-radius:50%; display:flex; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,0.04); }
.usp-icon img { width:42px; height:42px; object-fit:contain; filter: invert(1) brightness(3) saturate(0.1); /* white SVG */ }

/* Allow opt-out: if you add class .icon-noinvert on img we don't invert */
.usp-icon img.icon-noinvert { filter: none; }

/* USP text */
.usp-card h4 { margin:4px 0 6px; font-size:16px; font-weight:800; color:#fff; }
.usp-card p { margin:0; font-size:13px; color: rgba(255,255,255,0.86); line-height:1.45; }

/* Funnel */
.funnel-wrap { margin-top:10px; }
.funnel-title { font-weight:800; margin-bottom:10px; color:#fff; font-size:16px; }
.funnel { display:flex; flex-direction:column; gap:8px; max-width:420px; }
.funnel-stage {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border-radius:12px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,0.04);
  color:#eaf6ff;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.funnel-stage strong { font-size:14px; font-weight:800; color:#fff; }
.funnel-stage span { font-size:13px; color:rgba(255,255,255,0.9); }

/* Timeline */
.timeline-wrap { margin-top:18px; }
.timeline-title { font-weight:800; margin-bottom:8px; color:#fff; font-size:16px; }
.timeline { counter-reset: step; list-style: none; padding:0; margin:0; display:flex; gap:12px; flex-wrap:wrap; }
.timeline li {
  background: rgba(255,255,255,0.03); padding:10px 12px; border-radius:10px; min-width:170px;
  border:1px solid rgba(255,255,255,0.04); color:#e9f5ff; font-size:13px;
  transform: translateY(20px); opacity:0; transition: all 500ms ease;
}
.timeline li.revealed { transform:none; opacity:1; }

/* RIGHT column: slider */
.student-slider { position:relative; margin-bottom:18px; border-radius:12px; overflow:hidden; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border:1px solid rgba(255,255,255,0.04); }
.slider-track { display:flex; transition: transform .45s cubic-bezier(.22,.9,.3,1); }
.slide { min-width:100%; display:flex; flex-direction:column; align-items:center; padding:18px; gap:8px; }
.slide img { width:100%; height:220px; object-fit:cover; border-radius:8px; display:block; }
.slide figcaption { color:#fff; font-weight:700; margin-top:6px; }

/* slider controls */
.slider-prev, .slider-next {
  position:absolute; top:50%; transform:translateY(-50%); background: rgba(0,0,0,0.35); border:none; color:#fff; font-size:28px;
  width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.slider-prev { left:10px; } .slider-next { right:10px; }

/* stats */
.why-stats { display:flex; gap:12px; margin-top:8px; flex-wrap:wrap; }
.stat { background: rgba(255,255,255,0.03); padding:12px 14px; border-radius:10px; border:1px solid rgba(255,255,255,0.04); flex:1; min-width:160px; text-align:center; }
.stat-num { font-weight:900; font-size:28px; color:#8fd6ff; margin-bottom:6px; }
.stat-label { color: rgba(255,255,255,0.88); font-size:13px; }

/* CTA */
.why-cta {
    margin-top: 50px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center; /* Centers the buttons horizontally */
}

/* Reveal animation helper */
[data-reveal] { transform: translateY(18px); opacity:0; transition: all 520ms cubic-bezier(.2,.9,.2,1); will-change: transform, opacity; }
[data-reveal].revealed { transform:none; opacity:1; }

/* small screens */
@media (max-width: 992px) {
  .why-grid { flex-direction:column-reverse; gap:20px; }
  .usps-grid { grid-template-columns: 1fr; }
  .why-title { font-size:28px; }
  .slide img { height:180px; }
  .stat-num { font-size:22px; }
  .usp-icon { width:60px; height:60px; margin:-30px auto 10px; }
  .usp-icon img { width:36px; height:36px; }
}
/* ------------------------------------------
   RECRUITER LOGO CLOUD
-------------------------------------------*/
.recruiter-cloud {
    margin-top: 25px;
    text-align: center;
    padding: 18px 0;
}

.recruiter-cloud-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.recruiter-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    justify-content: center;
    align-items: center;
    opacity: 0.85;
}

.recruiter-logos img {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.recruiter-logos img:hover {
    transform: scale(1.12);
    opacity: 1;
}
.no-invert {
    filter: none !important;
}
.emdash {
    font-family: Arial, sans-serif !important;   /* fallback font */
    font-weight: 700;
    display: inline-block;
    padding: 0 6px;
}



/* Mobile tweaks */
@media (max-width: 768px) {
    .recruiter-logos img {
        height: 50px;
    }
}
