/* ════════════════════════════
   HERO SLIDER
════════════════════════════ */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
  line-height: 0;
}
.slider-track {
  display: flex;
  width: 100%;
}
.slide {
  min-width: 100%;
  display: none;
}
.slide.active {
  display: block;
}
.slide img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}
/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.18);
  border: none;
  color: #fff;
  font-size: 2.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 10;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: rgba(255,255,255,0.34); }
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }
/* Dots */
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.dot.active {
  background: #fff;
  transform: scale(1.25);
}
/* Responsive */
@media (max-width: 768px) {
  .slide img { max-height: 260px; }
  .slider-arrow { width: 36px; height: 36px; font-size: 1.8rem; }
}
/* ════════════════════════════
   JMCH FEATURE STRIP
════════════════════════════ */
.jmch-fs-strip {
  background: transparent;
  border-bottom: 1px solid #dce3ee;
}
.jmch-fs-grid {
  /* max-width: 1280px; */
  margin: 0 auto;
  /* padding: 0 24px; */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* border-radius: 12px; */
  overflow: hidden;
  /* border: 1px solid rgba(0,0,0,0.08); */
}
.jmch-fs-item {
  padding: 22px 18px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.jmch-fs-item:last-child {
  border-right: none;
}
.jmch-fs-navy    { background: #0B2A5A; }
.jmch-fs-green   { background: #1B5E3B; }
.jmch-fs-crimson { background: #7B1C1C; }
.jmch-fs-steel   { background: #1A3A5C; }
.jmch-fs-num {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 5px;
  letter-spacing: -0.5px;
}
.jmch-fs-navy    .jmch-fs-num { color: #FFD700; }
.jmch-fs-green   .jmch-fs-num { color: #B9F0D1; }
.jmch-fs-crimson .jmch-fs-num { color: #FFCDD2; }
.jmch-fs-steel   .jmch-fs-num { color: #A8D8FF; }
.jmch-fs-title {
  font-size: .68rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.jmch-fs-desc {
  font-size: .72rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}
/* ── Mobile: 2-column ── */
@media (max-width: 767px) {
  .jmch-fs-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
    border-radius: 0px;
    border: 1px solid rgba(0,0,0,0.1);
  }
  .jmch-fs-item {
    padding: 14px 12px;
    border-right: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .jmch-fs-item:nth-child(2),
  .jmch-fs-item:nth-child(4) {
    border-right: none;
  }
  .jmch-fs-item:nth-child(3),
  .jmch-fs-item:nth-child(4) {
    border-bottom: none;
  }
  .jmch-fs-num {
    font-size: 1.05rem;
    margin-bottom: 3px;
  }
  .jmch-fs-title {
    font-size: .58rem;
    letter-spacing: .07em;
    margin-bottom: 4px;
  }
  .jmch-fs-desc {
    display: none;
    font-size: .62rem;
    line-height: 1.45;
  }
}
/* ════════════════════════════
   ABOUT
════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-box {
  height: 520px;
  background: linear-gradient(140deg, var(--navy) 0%, var(--blue) 60%, var(--sky) 100%);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-img-box::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,.03) 0px, rgba(255,255,255,.03) 1px,
    transparent 1px, transparent 24px
  );
}
.about-img-icon { font-size: 5rem; position: relative; z-index: 1; }
.about-body { font-size: 1.02rem; color: var(--mid); line-height: 1.85; margin: 16px 0 26px; }
.pillars { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.pillar  { display: flex; gap: 14px; align-items: flex-start; }
.pillar-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sky); flex-shrink: 0; margin-top: 10px;
}
.pillar h4 { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.pillar p  { font-size: .88rem; color: var(--muted); line-height: 1.65; }
/* ════════════════════════════
   DEPARTMENTS
════════════════════════════ */
.sec-header-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 36px; flex-wrap: wrap; gap: 14px;
}
.see-all {
  font-size: .87rem; font-weight: 700; color: var(--blue);
  border-bottom: 2px solid var(--sky); padding-bottom: 2px; transition: color .2s;
}
.see-all:hover { color: var(--navy); }
.dept-tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.dtab {
  padding: 8px 20px; border-radius: 100px;
  font-size: .85rem; font-weight: 700;
  border: 2px solid var(--border); color: var(--mid);
  background: var(--white); transition: all .2s; cursor: pointer;
}
.dtab:hover { border-color: var(--blue); color: var(--blue); }
.dtab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dept-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: 10px; padding: 22px 18px; text-align: center;
  transition: all .22s; cursor: pointer; position: relative; overflow: hidden;
}
.dept-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  transform: scaleX(0); transition: transform .22s;
}
.dept-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow); }
.dept-card:hover::after { transform: scaleX(1); }
.dept-card:hover .dc-name { color: var(--blue); }
/* ── Icon wrap ── */
.dc-icon-wrap {
  width: 64px; height: 64px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; flex-shrink: 0;
}
.dc-icon-wrap svg { width: 30px; height: 30px; }
.dc-icon-wrap.pre  { background: #eff6ff; color: #1d4ed8; }
.dc-icon-wrap.para { background: #fef3c7; color: #b45309; }
.dc-icon-wrap.clin { background: #ecfdf5; color: #065f46; }
/* card is now text-center */
.dept-card { text-align: center; }
.dc-body { text-align: center; }
.dc-link-badge { display: block; margin: 10px auto 0; width: fit-content; }
.dc-name { font-size: .9rem; font-weight: 700; color: var(--ink); line-height: 1.35; margin-bottom: 5px; }
.dc-tag  { font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
/* ── Card link behaviour ── */
.dept-card { cursor: default; }
.dept-card[data-link]:not([data-link=""]) { cursor: pointer; }
.dept-card[data-link]:not([data-link=""]):hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.dept-card[data-link]:not([data-link=""]):hover .dc-name { color: var(--blue); }
.dept-card[data-link]:not([data-link=""]):hover::after { transform: scaleX(1); }
/* disable hover lift on empty-link cards */
.dept-card[data-link=""] { cursor: default; }
.dept-card[data-link=""]:hover {
  border-color: var(--border);
  transform: none;
  box-shadow: none;
}
.dept-card[data-link=""]:hover .dc-name { color: var(--ink); }
.dept-card[data-link=""]:hover::after { transform: scaleX(0); }
/* ── Badge ── */
.dc-link-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: .68rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
  background: #dbeafe; color: #1e40af;
  transition: background .2s, color .2s;
}
.dc-link-badge.disabled {
  background: var(--offwhite); color: var(--muted);
  opacity: .7;
}
/* ════════════════════════════
   CAREERS (index preview)
════════════════════════════ */
.careers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.job-list { display: flex; flex-direction: column; gap: 10px; }
.job-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px; padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; transition: all .2s; cursor: default;
}
.job-card:hover { background: rgba(0,159,212,.13); border-color: rgba(0,159,212,.3); }
.job-title { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.job-sub   { font-size: .8rem; color: rgba(255,255,255,.45); }
.job-tag {
  flex-shrink: 0;
  font-size: .7rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--sky);
  background: rgba(0,159,212,.13);
  border: 1px solid rgba(0,159,212,.28);
  padding: 4px 12px; border-radius: 100px;
}
.careers-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
/* ════════════════════════════
   WHY
════════════════════════════ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.why-card {
  background: var(--white); border-radius: 10px;
  padding: 32px 26px; border: 1.5px solid var(--border);
  position: relative; overflow: hidden; transition: all .22s;
}
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--blue); }
.wc-index {
  font-family: 'Sora', serif;
  font-size: 3.4rem; font-weight: 700;
  color: var(--navy); opacity: .06; line-height: 1; margin-bottom: -8px;
}
.wc-title { font-family: 'Sora', serif; font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.wc-body  { font-size: .88rem; color: var(--mid); line-height: 1.75; }
.wc-accent {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  transform: scaleX(0); transition: transform .28s;
}
.why-card:hover .wc-accent { transform: scaleX(1); }
/* ════════════════════════════
   CONTACT
════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 48px; }
.contact-list { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon {
  width: 46px; height: 46px; border-radius: 9px;
  background: var(--sky-lt); color: var(--blue);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ci-label { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ci-value { font-size: .97rem; color: var(--ink); line-height: 1.55; }
.ci-value a { color: var(--blue); }
.ci-value a:hover { text-decoration: underline; }
/* ════════════════════════════
   JMCH CONTACT NOTE
════════════════════════════ */
.jmch-cn-wrap {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}
.jmch-cn-heading {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.jmch-cn-text {
  font-size: .88rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 20px;
}
.jmch-cn-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}
/* contact rows */
.jmch-cn-contacts {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 16px;
  margin-bottom: 20px;
}
.jmch-cn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}
.jmch-cn-divider {
  height: 1px;
  background: var(--border);
}
.jmch-cn-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: .05em;
  flex: 1;
}
.jmch-cn-number {
  font-family: 'Sora', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.jmch-cn-number:hover {
  color: var(--blue);
}
/* buttons */
.jmch-cn-btns {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat-item:nth-child(2) { border-right: none; }
  .feat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .feat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .about-grid   { grid-template-columns: 1fr; gap: 36px; }
  .about-img-box { height: 280px; }
  .dept-grid    { grid-template-columns: repeat(3, 1fr); }
  .careers-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-grid     { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .trust-divider { display: none; }
  .about-img-box { display: none; }
  .dept-grid  { grid-template-columns: 1fr 1fr; }
  .why-grid   { grid-template-columns: 1fr; gap: 12px; }
  .sec-header-row { flex-direction: column; align-items: flex-start; }
  .careers-btns { flex-direction: column; }
  .btn-sky, .btn-white-ghost { justify-content: center; }
  #about{ padding-top:10px !important;}
}
@media (max-width: 480px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .feat-item:last-child { border-bottom: none; }
  .dept-tabs { gap: 5px; }
  .dtab { padding: 7px 14px; font-size: .78rem; }
}