/* ===================== HRM Mitra page (scoped .hm-) ===================== */
:root {
  --hm-navy: #14334f;
  --hm-blue: #ed2024;
  --hm-blue-2: #f2545a;
  --hm-sky: #fdecec;
  --hm-sky-2: #fff6f6;
  --hm-ink: #14334f;
  --hm-muted: #3b3939;
  --hm-line: #f1e2e3;
  --hm-gold: #f8b400;
  --hm-green: #22a06b;
  --theme-color: #c7232b !important;
}
.hm-phone{
  display: none;
}
.main-menu > ul > li {
    margin: 0 4px;
}
.main-menu > ul > li > a {
    padding: 2px 6px;
  }
    nav.main-menu.d-none.d-lg-inline-block {
    margin-left: -25px;
}
.header-logo {
    min-width: 230px;
  }
  .header-logo::after {
    height: calc(100% - 18px);
    width: calc(100% - 10px);
  }
  .modal-header {
    background: var(--hm-grad-main);
}
.btn-loginn {
    display: block;
}
.main-menu > ul > li > a:hover {
    color: #c7232b;
}
.about-all-prdt h1 {
    color: var(--hm-ink);
    font-size: clamp(22px, 2.3vw, 30px);
}

.hm-page {
  color: var(--hm-ink);
  overflow-x: hidden;
}
.hm-page img {
  max-width: 100%;
}
.hm-page a:focus-visible,
.hm-page button:focus-visible {
  outline: 3px solid var(--hm-gold);
  outline-offset: 2px;
}
.hm-blue {
  color: var(--hm-blue);
}
.hm-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--hm-sky);
  color: var(--hm-blue);
  border: 1px solid #f6cfd0;
  border-radius: 30px;
  padding: 5px 14px;
  
  font-weight: 600;
}
.hm-pill i {
  font-size: 11px;
}
.hm-h2 {
  font-size: clamp(22px, 2.3vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  color: #111111;
  margin: 12px 0 0;
}
.hm-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 26px;
}
.hm-center p {
  color: var(--hm-muted);
  margin: 12px 0 0;
}
.hm-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--hm-blue);
  color: #fff !important;
  border: 0;
  border-radius: 8px;
  padding: 8px 20px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.footer-top {
    background: linear-gradient(rgb(237, 32, 36) 0%, rgb(20, 51, 79) 100%);
}
.hm-btn:hover {
  background: #c4171b;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -12px rgba(237, 32, 36, 0.6);
}
.hm-btn i {
  transition: transform 0.25s;
}
.hm-btn:hover i {
  transform: translateX(4px);
}
.hm-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hm-checklist li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding:3px 0;
  color: var(--hm-ink);
}
.hm-checklist li i {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--hm-blue);
  color: #fff;
  font-size: 10px;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

/* reveal */
.hm-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hm-reveal.from-left {
  transform: translateX(-36px);
}
.hm-reveal.from-right {
  transform: translateX(36px);
}
.hm-reveal.in {
  opacity: 1;
  transform: none;
}
@keyframes hmUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hmBob {
  50% {
    transform: translateY(-10px);
  }
}
@keyframes hmPing {
  from {
    transform: scale(0.85);
    opacity: 1;
  }
  to {
    transform: scale(1.4);
    opacity: 0;
  }
}
@keyframes hmSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ===================== HERO ===================== */
.hm-hero {
  position: relative;
  padding: 36px 0 56px;
  background: linear-gradient(180deg, #fff6f6 0%, #fdecec 70%, #fff 100%);
  overflow: hidden;
}

.hm-hero .container {
  position: relative;
  z-index: 1;
}
.hm-slides {
  display: grid;
  margin-top: 14px;
}
.hm-slide {
  grid-area: 1/1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s, visibility 0.7s;
}
.hm-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.hm-slide.is-active h1 {
  animation: hmUp 0.8s both;
}
.hm-slide.is-active p {
  animation: hmUp 0.8s 0.15s both;
}
.hm-hero h1 {
  font-size: clamp(26px, 2.7vw, 38px);
  font-weight: 700;
  line-height: 1.22;
  color: var(--hm-ink);
  margin: 0 0 16px;
}
.hm-hero h1 strong {
  color: var(--hm-blue);
  font-weight: 700;
}
.hm-hero p.lead-txt {
  color: var(--hm-muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}
.hm-dots {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}
.hm-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #e9c6c8;
  cursor: pointer;
  transition: width 0.35s, background 0.35s;
}
.hm-dots button.is-active {
  width: 28px;
  background: var(--hm-blue);
}
.hm-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.hm-rating .stars {
  color: var(--hm-gold);
  font-size: 18px;
  letter-spacing: 2px;
}
.hm-rating span.txt {
  color: var(--hm-muted);

}
.hm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hm-watch{
  z-index: 99999 !important;
}

.hm-store {
  transition: transform 0.25s, box-shadow 0.25s;
}
.hm-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -12px rgba(20, 51, 79, 0.4);
}
.hm-store img {
  height:44px;
  width: auto;
}

/* hero visual */
.hm-visual {
  position: relative;
  height: 460px;
  max-width: 420px;
  margin: 0 auto;
}
.hm-ring {
  position: absolute;
  left: 8%;
  bottom: 6%;
  width: 120px;
  height: 120px;
  border: 2px dashed rgba(237, 32, 36, 0.25);
  border-radius: 50%;
  animation: hmSpin 30s linear infinite;
}
.hm-dotgrid {
  position: absolute;
  right: 2%;
  top: 6%;
  width: 90px;
  height: 90px;
  background-image: radial-gradient(
    rgba(237, 32, 36, 0.35) 1.6px,
    transparent 1.6px
  );
  background-size: 12px 12px;
}
.hm-person-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 86%;
  height: 94%;
  background: linear-gradient(160deg, #ed2024 0%, #14334f 100%);
  border-radius: 48% 52% 14px 14px/42% 42% 14px 14px;
  overflow: visible;
  box-shadow: 0 30px 60px -30px rgba(237, 32, 36, 0.7);
  animation: hmMorph 10s ease-in-out infinite;
}
@keyframes hmMorph {
  50% {
    border-radius: 56% 44% 14px 14px/48% 38% 14px 14px;
  }
}
.hm-person-wrap::before {
  content: "";
  position: absolute;
  width: 55%;
  height: 45%;
  right: 6%;
  top: 8%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.hm-person {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: 0 !important;
  transform: translateX(-50%);
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 110% !important;
  object-fit: contain;
  margin: 0 !important;
  display: block;
  z-index: 1;
  border-radius: 0 0 14px 14px;
}
.hm-float {
  position: absolute;
  z-index: 2;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 34px -14px rgba(20, 51, 79, 0.35);
  animation: hmBob 4.5s ease-in-out infinite;
}
.hm-float b {
  display: block;
  
  color: var(--hm-ink);
  line-height: 1.2;
}
.hm-float small {
  font-size: 11px;
  color: var(--hm-muted);
}
.hm-float .ic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  
  flex: none;
}
.hm-float.f1 {
  top: 9%;
  left: 0;
}
.hm-float.f1 .ic {
  background: #e3f6ec;
  color: var(--hm-green);
}
.hm-float.f2 {
  top: 28%;
  left: 2%;
  animation-delay: -1.5s;
}
.hm-float.f2 .ic {
  background: var(--hm-sky);
  color: var(--hm-blue);
}
.hm-bar {
  display: block;
  width: 90px;
  height: 5px;
  border-radius: 5px;
  background: #f1e2e3;
  margin-top: 5px;
  overflow: hidden;
}
.hm-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 72%;
  background: var(--hm-blue);
  border-radius: 5px;
  animation: hmFill 2.5s ease-in-out infinite alternate;
}
@keyframes hmFill {
  from {
    width: 30%;
  }
  to {
    width: 85%;
  }
}
.hm-float.f3 {
  bottom: 12%;
  left: 4%;
  padding: 10px;
  animation-delay: -3s;
}
.hm-float.f3 .ic {
  background: var(--hm-blue);
  color: #fff;
  border-radius: 8px;
}

/* form */
.hm-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px 24px 20px;
  box-shadow: 0 30px 60px -28px rgba(20, 51, 79, 0.35);
  border: 1px solid var(--hm-line);
  animation: hmUp 0.9s 0.2s both;
}
.hm-form-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--hm-ink);
  margin: 0 0 4px;
}
.hm-form-sub {
  color: var(--hm-muted);

  margin: 0 0 18px;
}
.hm-field {
  position: relative;
  margin-bottom: 12px;
}
.hm-field i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aabbf;
  
  pointer-events: none;
  transition: color 0.25s;
  z-index: 1;
}
.hm-field input,
.hm-field select {
  width: 100%;
  border: 1px solid #d9e3ef;
  border-radius: 8px;
  background: #fff;
  padding: 0 14px 0 40px;

  color: var(--hm-ink);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.hm-field select {
  cursor: pointer;
  color: var(--hm-muted);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233b3939' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.hm-field select:valid {
  color: var(--hm-ink);
}
.hm-field input::placeholder {
  color: #8796a8;
}
.hm-field input:focus,
.hm-field select:focus {
  border-color: var(--hm-blue);
  box-shadow: 0 0 0 4px rgba(237, 32, 36, 0.12);
}
.hm-field:focus-within i {
  color: var(--hm-blue);
}
.hm-field.is-invalid input,
.hm-field.is-invalid select {
  border-color: #d9534f;
  background: #fff8f8;
}
.hm-submit {
  width: 100%;
  justify-content: center;
  height: 46px;
  margin-top: 4px;
}
.hm-form-note {
  text-align: center;
  
  color: var(--hm-blue);
  margin: 14px 0 0;
}

/* ===================== ABOUT ===================== */
.hm-about {
  padding: 56px 0 40px;
}
.hm-about-media {
  position: relative;
  padding-bottom: 34px;
}
.hm-about-media .frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 26px 50px -28px rgba(20, 51, 79, 0.5);
}
.hm-about-media .frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.hm-about-media::before {
  content: "";
  position: absolute;
  left: -14px;
  top: -14px;
  width: 60%;
  height: 70%;
  border-radius: 16px;
  background: var(--hm-sky);
  z-index: -1;
}
.hm-about-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--hm-blue);
  color: #fff !important;
  display: grid;
  place-items: center;
  font-size: 16px;
  text-decoration: none;
}
.hm-about-play::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: hmPing 1.8s infinite;
}
.hm-exp {
  position: absolute;
  left: 12px;
  bottom: 56px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 36px -16px rgba(20, 51, 79, 0.4);
  animation: hmBob 4s ease-in-out infinite;
}
.hm-exp b {
  font-size: 30px;
  color: var(--hm-blue);
  line-height: 1;
}
.hm-exp span {
  
  color: var(--hm-muted);
  line-height: 1.3;
}
.hm-about-text p {
  color: var(--hm-muted);
  line-height: 1.8;
  margin: 16px 0 24px;
}
.hm-feat-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hm-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--hm-line);
    border-radius: 10px;
    padding: 5px 10px;
    font-weight: 500;
    box-shadow: 0 8px 20px -16px rgba(20, 51, 79, 0.35);
    transition: transform 0.25s, border-color 0.25s;
    line-height: 20px;
}
.hm-feat:hover {
  transform: translateX(-6px);
  border-color: #f2b8ba;
}
.hm-feat i {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--hm-sky);
  color: var(--hm-blue);
  display: grid;
  place-items: center;
  
}

/* ===================== PLATFORM ===================== */
.hm-platform {
  padding: 50px 0 56px;
  background: linear-gradient(180deg, var(--hm-sky-2) 0%, #fff 100%);
}
.hm-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  border: 0;
  padding: 0;
  margin: 0 auto 26px;
  list-style: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 30px -22px rgba(20, 51, 79, 0.45);
  width: max-content;
  max-width: 100%;
  overflow: hidden;
}
.hm-tabs li {
  border-right: 1px solid var(--hm-line);
}
.hm-tabs li:last-child {
  border-right: 0;
}
.hm-tabs .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff;
  color: var(--hm-ink);

  font-weight: 600;
  padding: 8px 15px;
  transition: background 0.25s, color 0.25s;
}
.hm-tabs .nav-link i {
  color: var(--hm-blue);
  font-size: 16px;
  transition: transform 0.3s;
}
.hm-tabs .nav-link:hover i {
  transform: scale(1.2);
}
.hm-tabs .nav-link.active {
  background: var(--hm-blue);
  color: #fff;
  border-radius: 10px !important;
}
.hm-tabs .nav-link.active i {
  color: #fff;
}
.hm-subtabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0 0 26px;
  list-style: none;
}
.hm-subtabs .nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--hm-line) !important;
  border-radius: 30px !important;
  background: #fff;
  color: var(--hm-muted);
  
  font-weight: 600;
  padding: 5px 10px;
  white-space: nowrap;
  transition: 0.25s;
}
.hm-subtabs .nav-link i {
  color: var(--hm-blue);
 
}
.hm-subtabs .nav-link:hover {
  border-color: #f2b8ba !important;
  color: var(--hm-ink);
}
.hm-subtabs .nav-link.active {
  background: var(--hm-sky);
  border-color: var(--hm-blue) !important;
  color: var(--hm-navy);
}
.tab-pane.show .hm-device {
  animation: hmUp 0.7s both;
}
.tab-pane.show .hm-prod-text {
  animation: hmUp 0.7s 0.15s both;
}
.hm-device {
  position: relative;
  padding: 0 56px 24px 0;
}
.hm-device::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 20%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(rgba(237, 32, 36, 0.15), transparent 70%);
  z-index: 0;
}
.hm-browser {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 30px 60px -30px rgba(20, 51, 79, 0.55);
  border: 1px solid var(--hm-line);
  overflow: hidden;
}
.hm-browser .bar {
  height: 28px;
  background: #f1f5fb;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}
.hm-browser .bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d3dceb;
}
.hm-browser img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top;
}
.hm-phone {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 150px;
  padding: 8px;
  background: #14202e;
  border-radius: 26px;
  box-shadow: 0 26px 40px -18px rgba(20, 51, 79, 0.6);
  animation: hmBob 5s ease-in-out infinite;
}
.hm-phone img {
  display: block;
  width: 100%;
  aspect-ratio: 9/18;
  object-fit: cover;
  object-position: top;
  border-radius: 19px;
  background: #fff;
}
.hm-prod-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--hm-ink);
  margin: 0 0 10px;
}
.hm-prod-text p {
  color: var(--hm-muted);
  line-height: 1.75;
  margin: 0 0 16px;
}
.hm-prod-text .hm-checklist {
  margin-bottom: 24px;
}

/* ===================== ROLES ===================== */
.hm-roles {
  padding: 50px 0 56px;
}
.hm-role-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  border: 0;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}
.hm-role-tabs .nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--hm-line) !important;
  border-radius: 10px !important;
  color: var(--hm-muted);

  font-weight: 600;
  padding: 10px 20px;
  transition: 0.25s;
}
.hm-role-tabs .nav-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: 0.25s;
}
.hm-role-tabs .nav-link:hover {
  border-color: #f2b8ba !important;
  color: var(--hm-ink);
}
.hm-role-tabs .nav-link.active {
  background: var(--hm-sky);
  border-color: var(--hm-blue) !important;
  color: var(--hm-navy);
}
.hm-role-tabs .nav-link.active img {
  filter: none;
  opacity: 1;
}
.hm-role-card {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hm-line);
  box-shadow: 0 30px 60px -36px rgba(20, 51, 79, 0.5);
  min-height: 300px;
}
.hm-role-a {
  padding: 30px 28px;
}
.hm-role-a h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--hm-ink);
}
.hm-role-a .sub {
  
  color: var(--hm-muted);
  margin: 0 0 16px;
}
.hm-role-a .hm-checklist li {

  padding: 6px 0;
}
.hm-role-b {
  background: var(--hm-navy);
  color: #fff;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.hm-role-b::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(rgba(242, 84, 90, 0.4), transparent 70%);
}
.hm-role-b .q {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hm-blue);
  display: grid;
  place-items: center;

  margin-bottom: 16px;
}
.hm-role-b p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
  margin: 0 0 20px;
  flex: 1;
  position: relative;
  z-index: 1;
}
.hm-role-b .who {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.hm-role-b .who img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}
.hm-role-b .who b {
  display: block;
  
}
.hm-role-b .who span {
 
  color: rgba(255, 255, 255, 0.65);
}
.hm-role-c {
  position: relative;
  background: linear-gradient(160deg, var(--hm-sky), #fff);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px 20px 0;
  overflow: hidden;
}
.hm-role-c::before {
  content: "";
  position: absolute;
  right: 16px;
  top: 16px;
  width: 70px;
  height: 70px;
  background-image: radial-gradient(
    rgba(237, 32, 36, 0.35) 1.5px,
    transparent 1.5px
  );
  background-size: 10px 10px;
}
.hm-role-c > img {
  position: relative;
  max-height: 280px;
  width: auto;
  object-fit: contain;
}
.hm-chip {
  position: absolute;
  left: 14px;
  background: #fff;
  border-radius: 10px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 26px -12px rgba(20, 51, 79, 0.4);
 
  line-height: 1.2;
  animation: hmBob 4.5s ease-in-out infinite;
  z-index: 2;
}
.hm-chip i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--hm-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  flex: none;
}
.hm-chip b {
  display: block;
  color: var(--hm-ink);
 
}
.hm-chip small {
  color: var(--hm-blue);
  font-weight: 600;
}
.hm-chip.c1 {
  top: 30px;
}
.hm-chip.c2 {
  top: 100px;
  left: 6px;
  animation-delay: -1.5s;
}
.hm-chip.c3 {
  top: 170px;
  animation-delay: -3s;
}
.tab-pane.show .hm-role-card > div {
  animation: hmUp 0.6s both;
}
.tab-pane.show .hm-role-b {
  animation-delay: 0.1s !important;
}
.tab-pane.show .hm-role-c {
  animation-delay: 0.2s !important;
}
.hm-role-nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.hm-role-dots {
  display: flex;
  gap: 8px;
}
.hm-role-nav .dot {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: #e9c6c8;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}
.hm-role-nav .dot.is-active {
  width: 24px;
  background: var(--hm-blue);
}

/* ===================== TESTIMONIALS ===================== */
.hm-testi {
  position: relative;
  padding: 50px 0 56px;
  background: #fff;
  overflow: hidden;
}
.hm-testi::before {
  content: "";
  position: absolute;
  left: -120px;
  top: 40px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(rgba(242, 84, 90, 0.14), transparent 70%);
}
.hm-testi .container {
  position: relative;
}
.hm-testi {
  background: linear-gradient(180deg, #fff 0%, var(--hm-sky-2) 100%);
}
.hm-testi::before {
  display: none;
}
.hm-tbg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hm-testi .container {
  z-index: 1;
}
.hm-tbg .w1 {
  animation: hmWave 12s ease-in-out infinite;
}
.hm-tbg .w2 {
  animation: hmWave 9s ease-in-out infinite reverse;
}
@keyframes hmWave {
  50% {
    transform: translateX(-30px);
  }
}
.hm-tbg .ln {
  stroke-dasharray: 14 10;
  animation: hmDash 18s linear infinite;
}
.hm-tbg .l2 {
  animation-duration: 24s;
  animation-direction: reverse;
}
@keyframes hmDash {
  to {
    stroke-dashoffset: -480;
  }
}
.hm-tbg .b1 {
  animation: hmBob 7s ease-in-out infinite;
}
.hm-tbg .r1 {
  transform-origin: 1330px 110px;
  animation: hmSpin 28s linear infinite;
}
.hm-tbg .tri {
  transform-origin: 640px 76px;
  animation: hmSpin 16s linear infinite;
}
.hm-tbg .plus {
  transform-origin: 960px 99px;
  animation: hmSpin 12s linear infinite reverse;
}
.hm-tbg .sp {
  animation: hmBob 4s ease-in-out infinite;
}
.hm-tbg .s2 {
  animation-delay: -2s;
}

.hm-tslider {
  overflow: hidden;
  padding: 10px 4px 16px;
  margin: -10px -4px 0;
  touch-action: pan-y;
}
.hm-ttrack {
  display: flex;
  gap: 16px;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
.hm-tcard {
  position: relative;
  flex: 0 0 calc((100% - 32px) / 3);
  background: #fff;
  border: 1px solid var(--hm-line);
  border-radius: 16px;
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 40px -30px rgba(20, 51, 79, 0.45);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
  overflow: hidden;
}
.hm-tcard::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--hm-blue-2), var(--hm-blue));
  transition: width 0.5s;
}
.hm-tcard:hover {
  transform: translateY(-6px);
  border-color: #f2b8ba;
  box-shadow: 0 26px 46px -28px rgba(237, 32, 36, 0.55);
}
.hm-tcard:hover::before {
  width: 100%;
}
.hm-tcard .qmark {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 34px;
  color: var(--hm-sky);
  transition: color 0.35s, transform 0.35s;
}
.hm-tcard:hover .qmark {
  color: #f6cfd0;
  transform: rotate(-8deg) scale(1.08);
}
.hm-tcard p {
  color: var(--hm-ink);
  
  line-height: 1.65;
  margin: 14px 0 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hm-tauthor {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px dashed var(--hm-line);
    line-height: 18px;
}
.hm-tauthor .av {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(140deg, var(--hm-blue-2), var(--hm-navy));
}
.hm-tauthor .av img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}
.hm-tauthor b {
  display: block;
  
  color: var(--hm-ink);
}
.hm-tauthor span {
  
  color: var(--hm-muted);
}
.hm-tnav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.hm-tnav button {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  border: 0;
  padding: 0;
  background: #e9c6c8;
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}
.hm-tnav button.is-active {
  width: 26px;
  background: var(--hm-blue);
}
@media (max-width: 991px) {
  .hm-tcard {
    flex-basis: calc((100% - 16px) / 2);
  }
}
@media (max-width: 767px) {
  .hm-tcard {
    flex-basis: 100%;
  }
  .hm-testi {
    padding: 40px 0 44px;
  }
  .header-button .btn-loginn {
    display: none !important;
}
}

/* ===================== AWARDS (light) ===================== */
.hm-awards {
  position: relative;
  padding: 50px 0 56px;
  background: linear-gradient(180deg, var(--hm-sky-2) 0%, var(--hm-sky) 100%);
  color: var(--hm-ink);
  overflow: hidden;
}
.hm-awards::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      420px 260px at 6% 0%,
      rgba(242, 84, 90, 0.18),
      transparent 70%
    ),
    radial-gradient(
      420px 260px at 94% 100%,
      rgba(242, 84, 90, 0.14),
      transparent 70%
    );
  pointer-events: none;
}
.hm-awards::after {
  content: "";
  position: absolute;
  right: 3%;
  top: 24px;
  width: 110px;
  height: 80px;
  background-image: radial-gradient(
    rgba(237, 32, 36, 0.25) 1.5px,
    transparent 1.5px
  );
  background-size: 12px 12px;
  pointer-events: none;
}
.hm-awards .container {
  position: relative;
  z-index: 1;
}
.hm-sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hm-blue-2);
  opacity: 0;
  animation: hmTwinkle 3.5s ease-in-out infinite;
}
@keyframes hmTwinkle {
  50% {
    opacity: 0.6;
    transform: scale(1.6);
  }
}
.hm-awards .hm-h2 {
  font-size: clamp(22px, 2.2vw, 26px);
  color: #111111;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.hm-awards .hm-h2 i {
  font-size: 0.85em;
  color: var(--hm-gold);
  animation: hmBob 3s ease-in-out infinite;
}
.hm-awards p {
  color: var(--hm-muted);
  line-height: 1.7;
  
}
.hm-award-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.hm-award {
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(
    140deg,
    #fff,
    var(--hm-line) 45%,
    rgba(237, 32, 36, 0.45)
  );
  box-shadow: 0 14px 30px -20px rgba(20, 51, 79, 0.35);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s;
}
.hm-award-in {
  position: relative;
  border-radius: 13px;
  background: #fff;
  padding: 10px;
  overflow: hidden;
}
.hm-award-in::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.8s;
  z-index: 2;
}
.hm-award img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 9px;
  transition: transform 0.5s;
}
.hm-award:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 40px -20px rgba(237, 32, 36, 0.55);
}
.hm-award:hover .hm-award-in::before {
  left: 140%;
}
.hm-award:hover img {
  transform: scale(1.05);
}
.hm-award-float {
  animation: hmBob 5s ease-in-out infinite;
}

/* hero column widths: wider form */
@media (min-width: 1200px) {
  .hm-hero .hm-c1 {
    width: 39%;
  }
  .hm-hero .hm-c2 {
    width: 28%;
  }
  .hm-hero .hm-c3 {
    width: 33%;
  }
  .hm-hero h1 {
    font-size: clamp(28px, 2.5vw, 36px);
  }
}
.hm-form-card {
  padding: 28px 28px 22px;
}
.hm-form-title {
  font-size: 24px;
  white-space: nowrap;
}

.hm-submit {
  height: 48px;
}
.hm-form {
  position: relative;
}
.hm-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.hm-err {
  display: none;
 
  color: #d9534f;
  margin: 4px 0 0 2px;
}
.hm-field.show-err .hm-err {
  display: block;
}
.hm-form-msg {
  display: none;
  margin-top: 10px;
  
  border-radius: 8px;
  padding: 9px 12px;
  background: #fdecec;
  color: #b33a36;
}
.hm-form-msg.on {
  display: block;
}
.hm-submit[disabled] {
  opacity: 0.75;
  pointer-events: none;
}
.hm-submit .fa-spinner {
  animation: hmSpin 0.8s linear infinite;
}
/* ===================== THANK-YOU POPUP ===================== */
.hm-ty {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
}
.hm-ty.open {
  visibility: visible;
  pointer-events: auto;
}
.hm-ty-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 51, 79, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s;
}
.hm-ty.open .hm-ty-backdrop {
  opacity: 1;
}
.hm-ty-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  background: #fff;
  border-radius: 22px;
  padding: 42px 32px 30px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(20, 51, 79, 0.6);
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  transition: opacity 0.35s, transform 0.55s cubic-bezier(0.2, 1.3, 0.4, 1);
}
.hm-ty.open .hm-ty-box {
  opacity: 1;
  transform: none;
}
.hm-ty-box::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  background: linear-gradient(160deg, var(--hm-sky), #fff);
  z-index: 0;
}
.hm-ty-box > * {
  position: relative;
  z-index: 1;
}
.hm-ty-x {
  position: absolute !important;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--hm-muted);
  cursor: pointer;
  box-shadow: 0 4px 12px -4px rgba(20, 51, 79, 0.3);
  z-index: 3 !important;
  transition: 0.25s;
}
.hm-ty-x:hover {
  color: var(--hm-ink);
  transform: rotate(90deg);
}
.hm-ty-check {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -10px rgba(34, 160, 107, 0.55);
}
.hm-ty-check::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(34, 160, 107, 0.35);
  opacity: 0;
}
.hm-ty.open .hm-ty-check::after {
  animation: hmPing 1.6s 0.9s infinite;
}
.hm-ty-check svg {
  width: 80px;
  height: 80px;
}
.hm-ty-check .c {
  fill: #e3f6ec;
  stroke: var(--hm-green);
  stroke-width: 3;
  stroke-dasharray: 227;
  stroke-dashoffset: 227;
}
.hm-ty-check .t {
  fill: none;
  stroke: var(--hm-green);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
}
.hm-ty.open .hm-ty-check .c {
  animation: hmDraw 0.6s 0.25s ease-out forwards;
}
.hm-ty.open .hm-ty-check .t {
  animation: hmDraw 0.4s 0.75s ease-out forwards;
}
@keyframes hmDraw {
  to {
    stroke-dashoffset: 0;
  }
}
.hm-ty h3 {
  font-size: 26px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 8px;
}
.hm-ty h3 .hm-ty-name {
  color: var(--hm-blue);
}
.hm-ty p {
  color: var(--hm-muted);
  
  line-height: 1.6;
  margin: 0 auto 22px;
  max-width: 340px;
}
.hm-ty-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hm-ty-steps li {
  background: var(--hm-sky-2);
  border: 1px solid var(--hm-line);
  border-radius: 14px;
  padding: 14px 8px;
 
  color: var(--hm-muted);
  line-height: 1.4;
  opacity: 0;
  transform: translateY(14px);
}
.hm-ty.open .hm-ty-steps li {
  animation: hmUp 0.5s forwards;
}
.hm-ty.open .hm-ty-steps li:nth-child(1) {
  animation-delay: 1s;
}
.hm-ty.open .hm-ty-steps li:nth-child(2) {
  animation-delay: 1.12s;
}
.hm-ty.open .hm-ty-steps li:nth-child(3) {
  animation-delay: 1.24s;
}
.hm-ty-steps i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #fff;
  color: var(--hm-blue);

  box-shadow: 0 6px 14px -8px rgba(237, 32, 36, 0.6);
}
.hm-ty-steps b {
  color: var(--hm-ink);
  word-break: break-word;
}
.hm-ty-ok {
  min-width: 160px;
  justify-content: center;
}
.hm-ty-timer {
  position: absolute !important;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--hm-blue-2), var(--hm-blue));
  transform-origin: left;
}
.hm-ty.open .hm-ty-timer {
  animation: hmTimer 12s linear forwards;
}
.hm-ty-box:hover .hm-ty-timer {
  animation-play-state: paused;
}
@keyframes hmTimer {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}
.hm-ty-confetti {
  position: absolute !important;
  inset: 0;
  pointer-events: none;
  z-index: 2 !important;
}
.hm-ty-confetti i {
  position: absolute;
  top: -12px;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  opacity: 0;
  animation: hmConf 2.2s cubic-bezier(0.2, 0.6, 0.4, 1) forwards;
}
@keyframes hmConf {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) rotate(var(--r));
  }
}
body.hm-ty-lock {
  overflow: hidden;
}
@media (max-width: 480px) {
  .hm-ty-box {
    padding: 36px 20px 26px;
    border-radius: 18px;
  }
  .hm-ty h3 {
    font-size: 22px;
  }
  .hm-ty-steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hm-ty-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 10px 12px;
  }
  .hm-ty-steps li br {
    display: none;
  }
  .hm-ty-steps i {
    margin: 0;
    flex: none;
  }
}
/* ===================== RESPONSIVE ===================== */
@media (min-width: 1200px) and (max-width: 1399px) {
  .hm-visual {
    height: 420px;
  }
  .hm-form-card {
    padding: 24px 22px 18px;
  }
  .hm-form-title {
    font-size: 21px;
  }
}
@media (max-width: 1199px) {
  .hm-hero {
    padding-bottom: 50px;
  }
  .hm-hero .row {
    row-gap: 30px;
  }
  .hm-visual {
    height: 420px;
  }
  .hm-tabs {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }
  .hm-tabs::-webkit-scrollbar {
    display: none;
  }
  .hm-tabs li {
    flex: 1 0 auto;
  }
  .hm-tabs .nav-link {
    justify-content: center;
    width: 100%;
    white-space: nowrap;
  }
  .hm-award-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 991px) {
  .hm-hero {
    text-align: center;
  }
  .hm-hero .hm-pill,
  .hm-actions,
  .hm-rating,
  .hm-dots {
    justify-content: center;
  }
  .hm-hero p.lead-txt {
    margin: 0 auto;
  }
  .hm-visual {
    height: 380px;
    max-width: 380px;
  }
  .hm-about-media {
    max-width: 520px;
    margin: 0 auto 10px;
  }
  .hm-about-text {
    text-align: center;
  }
  .hm-subtabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .hm-subtabs::-webkit-scrollbar {
    display: none;
  }
  .hm-device {
    max-width: 620px;
    margin: 0 auto 10px;
  }
  .hm-prod-text {
    text-align: center;
  }
  .hm-prod-text .hm-checklist {
    display: inline-block;
    text-align: left;
  }
  .hm-role-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .hm-role-tabs::-webkit-scrollbar {
    display: none;
  }
  .hm-role-tabs .nav-link {
    white-space: nowrap;
  }
  .hm-role-card {
    grid-template-columns: 1fr 1fr;
  }
  .hm-role-c {
    grid-column: 1 / -1;
    min-height: 280px;
  }
  .hm-awards .hm-h2 {
    justify-content: flex-start;
  }
}
@media (max-width: 767px) {
  .hm-role-card {
    grid-template-columns: 1fr;
  }
  .hm-about,
  .hm-platform,
  .hm-roles,
  .hm-awards {
    padding-top: 40px;
    padding-bottom: 44px;
  }
}
@media (max-width: 575px) {
  .hm-hero {
    padding-top: 24px;
  }
  .hm-form-title {
    white-space: normal;
  }
  .hm-form-card {
    padding: 22px 18px 18px;
  }
  .hm-visual {
    height: 330px;
    max-width: 320px;
  }
  .hm-float {
    padding: 8px 10px;
  }
  .hm-float b {
   
  }
  .hm-bar {
    width: 70px;
  }
  .hm-watch,
  .hm-store {
    flex: 1 1 auto;
    justify-content: center;
  }
  .hm-exp {
    bottom: 20px;
  }
  .hm-device {
    padding-right: 34px;
  }
  .hm-phone {
    width: 100px;
    border-radius: 20px;
    padding: 6px;
  }
  .hm-phone img {
    border-radius: 15px;
  }
  .hm-award-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .hm-role-a,
  .hm-role-b {
    padding: 24px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hm-page *,
  .hm-page *::before,
  .hm-page *::after {
    animation: none !important;
    transition: none !important;
  }
  .hm-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===================== HERO CREATIVE LAYER (background + content, form untouched) ===================== */

/* ---------- 1. BACKGROUND : "timesheet" grid + soft light ---------- */
.hm-hero {
  background: radial-gradient(
      900px 420px at 0% 0%,
      rgba(242, 84, 90, 0.16),
      transparent 60%
    ),
    radial-gradient(
      700px 380px at 62% 100%,
      rgba(248, 180, 0, 0.08),
      transparent 65%
    ),
    linear-gradient(180deg, #fff7f7 0%, #fdeeee 72%, #fff 100%);
}

/* dots ki jagah hour-grid lines – activity tracking ka feel */
.hm-hero::before {
  background-image: linear-gradient(
      90deg,
      rgba(237, 32, 36, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(180deg, rgba(237, 32, 36, 0.06) 1px, transparent 1px);
  background-size: 96px 100%, 100% 48px;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 80% at 22% 40%,
    #000 20%,
    transparent 75%
  );
  mask-image: radial-gradient(
    ellipse 70% 80% at 22% 40%,
    #000 20%,
    transparent 75%
  );
}

/* dheere ghoomta hua soft glow (content ke peeche) */
.hm-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 520px;
  height: 520px;
  left: -140px;
  top: -160px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(237, 32, 36, 0.18),
    rgba(242, 84, 90, 0.05),
    rgba(248, 180, 0, 0.1),
    rgba(237, 32, 36, 0.18)
  );
  filter: blur(60px);
  animation: hmSpin 40s linear infinite;
}

/* ---------- 2. PILL : live-tracking dot ---------- */
.hm-hero .hm-pill {
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px -14px rgba(237, 32, 36, 0.6);
}
.hm-hero .hm-pill i {
  border-radius: 50%;
  animation: hmLive 2s ease-out infinite;
}
@keyframes hmLive {
  0% {
    box-shadow: 0 0 0 0 rgba(237, 32, 36, 0.45);
  }
  100% {
    box-shadow: 0 0 0 8px rgba(237, 32, 36, 0);
  }
}

/* ---------- 3. HEADLINE : gradient text ---------- */
.hm-hero h1 strong {
  background: linear-gradient(90deg, #ed2024, #f2545a 50%, #ed2024);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .hm-hero::after {
    width: 360px;
    height: 360px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hm-hero::after,
  .hm-hero .hm-pill i {
    animation: none !important;
  }
}

/* =====================================================================
   ACTIVITY MANAGEMENT PAGE (hero features, feature cards, FAQ)
   ===================================================================== */
:root {
  --hm-violet: #14334f;
}

/* colour tokens shared by icons / cards */
.c-red {
  --c: #ef4f5f;
  --cb: #fdecee;
}
.c-blue {
  --c: #ed2024;
  --cb: #fdecec;
}
.c-green {
  --c: #18a874;
  --cb: #e2f6ee;
}
.c-violet {
  --c: #14334f;
  --cb: #e6edf4;
}
.c-orange {
  --c: #f2803a;
  --cb: #fef0e6;
}
.c-pink {
  --c: #e0457b;
  --cb: #fdebf2;
}
.c-teal {
  --c: #2a5d8a;
  --cb: #e5eef6;
}
.c-purple {
  --c: #c4171b;
  --cb: #fbe6e7;
}
.c-amber {
  --c: #d99100;
  --cb: #fdf3dc;
}

/* ---------- hero tweaks ---------- */
.hm-hero {
  padding: 40px 0 40px;
}
.hm-hero h1 strong {
  background: linear-gradient(90deg, var(--hm-blue), var(--hm-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hm-hero .hm-pill i {
 
  animation: none;
  border-radius: 0;
}
.hm-hfeats {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 600px;
}
.hm-hfeats li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 18px;

  font-weight: 600;
  line-height: 1.35;
  color: var(--hm-ink);
  border-left: 1px solid var(--hm-line);
}
.hm-hfeats li:first-child {
  padding-left: 0;
  border-left: 0;
}
.hm-hfeats .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--cb);
  color: var(--c);
  font-size: 17px;
  box-shadow: 0 8px 18px -12px var(--c);
}

/* soft glow behind the form (form itself untouched) */
.hm-form-wrap {
  position: relative;
}

.hm-grad {
  background: linear-gradient(90deg, var(--hm-blue), var(--hm-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- FAQ ---------- */
.hm-afaq {
  padding: 20px 0 64px;
  background: var(--hm-sky-2);
}
.hm-faq-box {
  position: relative;
  border-radius: 24px;
  padding: 36px 34px 30px;
  border: 1px solid #fff;
  overflow: hidden;
  background: radial-gradient(
      500px 220px at 0% 0%,
      rgba(20, 51, 79, 0.1),
      transparent 70%
    ),
    radial-gradient(
      500px 220px at 100% 100%,
      rgba(242, 84, 90, 0.14),
      transparent 70%
    ),
    linear-gradient(180deg, #fff8f8, #fdf0f1);
  box-shadow: 0 30px 60px -44px rgba(20, 51, 79, 0.5);
}
.hm-faq-box .hm-center {
  margin-bottom: 24px;
}
.hm-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  align-items: start;
}
.hm-faq {
  background: #fff;
  border: 1px solid var(--hm-line);
  border-radius: 14px;
  box-shadow: 0 10px 24px -20px rgba(20, 51, 79, 0.45);
  transition: border-color 0.25s;
}
.hm-faq[open] {
  border-color: color-mix(in srgb, var(--c) 35%, #fff);
}
.hm-faq summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  cursor: pointer;
  list-style: none;

  font-weight: 600;
  color: var(--hm-ink);
}
.hm-faq summary::-webkit-details-marker {
  display: none;
}
.hm-faq summary:focus-visible {
  outline: 3px solid var(--hm-gold);
  outline-offset: 2px;
  border-radius: 14px;
}
.hm-faq .q {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--c);
}
.hm-faq summary .fa-chevron-down {
  margin-left: auto;
  font-size: 11px;
  color: var(--hm-muted);
  transition: transform 0.3s;
}
.hm-faq[open] summary .fa-chevron-down {
  transform: rotate(180deg);
  color: var(--c);
}
.hm-faq p {
  margin: 0;
  padding: 0 16px 15px 52px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--hm-muted);
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .hm-hfeats {
    margin: 26px auto 0;
    text-align: left;
  }
  .hm-form-wrap::before {
    inset: -20px;
  }
  .hm-faq-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  .hm-hfeats {
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
  }
  .hm-hfeats li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .hm-faq-box {
    padding: 28px 16px 20px;
    border-radius: 18px;
  }
  .hm-faq p {
    padding-left: 16px;
  }
}

/* ===================== QUICK LIST (feature jump links) ===================== */
html:has(.hm-page) {
  scroll-behavior: smooth;
}
.hm-fcard {
  scroll-margin-top: 110px;
}
.hm-qlist {
  padding: 56px 0 20px;
  background: #fff;
}
.hm-qlist .hm-center {
  max-width: 820px;
  margin-bottom: 30px;
}
.hm-qgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hm-qlink {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--hm-line);
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 10px 24px -22px rgba(20, 51, 79, 0.5);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s,
    background 0.25s;
}
.hm-qlink .ic {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--cb);
  color: var(--c);
  font-size: 16px;
  transition: background 0.25s, color 0.25s;
}
.hm-qlink .tx {
  flex: 1;
  
  font-weight: 600;
  line-height: 1.35;
  color: var(--hm-ink);
}
.hm-qlink .go {
 
  color: #b3c0d1;
  transition: transform 0.25s, color 0.25s;
}
.hm-qlink:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--c) 35%, #fff);
  background: color-mix(in srgb, var(--cb) 35%, #fff);
  box-shadow: 0 18px 32px -24px var(--c);
}
.hm-qlink:hover .ic {
  background: var(--c);
  color: #fff;
}
.hm-qlink:hover .go {
  color: var(--c);
  transform: translateY(3px);
}
.hm-qlink:focus-visible {
  outline: 3px solid var(--hm-gold);
  outline-offset: 2px;
}
.hm-afeat {
  padding-top: 40px;
}
@media (max-width: 991px) {
  .hm-qgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hm-qlist .hm-center {
    text-align: center;
  }
}
@media (max-width: 575px) {
  .hm-qgrid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hm-qlist {
    padding-top: 40px;
  }
}

/* ===================== FEATURE ROWS (zig-zag) ===================== */
.hm-afeat {
  padding: 40px 0 60px;
  background: linear-gradient(180deg, #fff 0%, var(--hm-sky-2) 100%);
}
.hm-afeat .hm-center {
  margin-bottom: 38px;
}
.hm-fgrid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hm-fcard {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--hm-line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 46px -36px rgba(20, 51, 79, 0.5);
  transition: box-shadow 0.35s, border-color 0.35s;
}
.hm-fcard:hover {
  border-color: color-mix(in srgb, var(--c) 28%, #fff);
  box-shadow: 0 30px 56px -34px color-mix(in srgb, var(--c) 55%, transparent);
}
/* colour strip on the text side */
.hm-fcard::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(
    180deg,
    var(--c),
    color-mix(in srgb, var(--c) 30%, #fff)
  );
  left: auto;
  right: 0;
}

/* image side */
.hm-fcard-vis {
  order: -1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 36px;
  overflow: hidden;
  background: radial-gradient(
        color-mix(in srgb, var(--c) 20%, transparent) 1.2px,
        transparent 1.2px
      )
      0 0/16px 16px,
    linear-gradient(150deg, var(--cb), color-mix(in srgb, var(--cb) 35%, #fff));
}
.hm-fcard-vis::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    color-mix(in srgb, var(--c) 28%, transparent),
    transparent 70%
  );
  pointer-events: none;
}
.hm-shot {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 44px -20px rgba(20, 51, 79, 0.45);
  transform: perspective(1200px) rotateY(4deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hm-shot .bar {
  display: flex;
  gap: 5px;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  background: #f2f5fa;
  border-bottom: 1px solid var(--hm-line);
}
.hm-shot .bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d3dceb;
}
.hm-shot .bar i:first-child {
  background: color-mix(in srgb, var(--c) 60%, #fff);
}
.hm-shot img {
  display: block;
  width: 100%;
  /*aspect-ratio: 16/10;
  object-fit: contain;*/
  background: #fff;
}
.hm-fcard:hover .hm-shot {
  transform: perspective(1200px) rotateY(0) translateY(-4px);
}

/* text side */
.hm-fcard-txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 44px;
}
.hm-fcard-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.hm-fcard .ic {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  background: linear-gradient(
    140deg,
    color-mix(in srgb, var(--c) 70%, #fff),
    var(--c)
  );
  box-shadow: 0 12px 22px -10px var(--c);
}
.hm-fcard h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #111111;
  margin: 0;
}
.hm-fcard .sub {
  display: inline-block;
  margin: 8px 0 0;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c);
  background: var(--cb);
}
.hm-fcard ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.hm-fcard li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight:500;
  line-height: 1.55;
  color: var(--hm-muted);
  padding: 6px 0;
}
.inner-ullist ul{
  margin-bottom: 0;
  margin-left: 0;
  padding-left: 0;
}
.inner-ullist li i {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: rgb(255, 255, 255);
    font-size: 9px;
    display: grid;
    flex: 0 0 auto;
    border-radius: 50%;
    background:#ed2024;
    place-items: center;
}
.inner-ullist li {
    display: flex;
    align-items: flex-start;
    line-height: 1.55;
    color: var(--hm-muted);
    gap: 12px;
    padding: 6px 0px;
}
.hm-fcard li i {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-size: 9px;
  display: grid;
  place-items: center;
}
.hm-more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c) !important;
  border: 1px solid color-mix(in srgb, var(--c) 35%, #fff);
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.hm-more i {
  font-size: 11px;
  transition: transform 0.25s;
}
.hm-more:hover {
  background: var(--c);
  border-color: var(--c);
  color: #fff !important;
}
.hm-more:hover i {
  transform: translateX(4px);
}

/* zig-zag: every 2nd row puts the image on the right */
.hm-fgrid > .hm-fcard:nth-child(even) {
  grid-template-columns: 1fr 1.05fr;
}
.hm-fgrid > .hm-fcard:nth-child(even) .hm-fcard-vis {
  order: 2;
}
.hm-fgrid > .hm-fcard:nth-child(even) .hm-shot {
  transform: perspective(1200px) rotateY(-4deg);
}
.hm-fgrid > .hm-fcard:nth-child(even):hover .hm-shot {
  transform: perspective(1200px) rotateY(0) translateY(-4px);
}
.hm-fgrid > .hm-fcard:nth-child(even)::before {
  right: auto;
  left: 0;
}

@media (max-width: 991px) {
  .hm-fcard,
  .hm-fgrid > .hm-fcard:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .hm-fgrid > .hm-fcard:nth-child(even) .hm-fcard-vis {
    order: -1;
  }
  .hm-fcard::before,
  .hm-fgrid > .hm-fcard:nth-child(even)::before {
    display: none;
  }
  .hm-fcard-vis {
    padding: 26px 26px;
  }
  .hm-fcard-txt {
    padding: 26px 28px 30px;
  }
  .hm-afeat .hm-center {
    text-align: center;
  }
  .hm-fgrid {
    max-width: 640px;
  }
}
@media (max-width: 575px) {
  .hm-fcard-vis {
    padding: 18px;
  }
  .hm-fcard-txt {
    padding: 20px 18px 24px;
  }
  .hm-fcard h3 {
    font-size: 19px;
  }
  .hm-fcard li {
  
  }
}


/* =====================================================================
   PLATFORM SECTION v2 — floating tabs, per-tab sliders, gallery,
   floating "Book a Demo" button  (moved here from index.php)
   ===================================================================== */
  /* ===== PLATFORM: floating tab bar + slider inside each tab =====
     Everything is scoped to #hmPlatform so older rules in hrms.css can't override it. */
  #hmPlatform{overflow:visible!important;overflow-x:clip!important}   /* sticky breaks with overflow:hidden */
.is-fixed .nav-link {
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 13px;
}
.is-fixed .hm-tabs .nav-link {
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 14px;
}

  /* ---------- floating tab bar ---------- */
  /* normal place in the page; becomes position:fixed (below the site header) while the section is scrolled */
  #hmPlatform .hm-pnav-spacer{display:none}
  #hmPlatform .hm-pnav-spacer.on{display:block}
  #hmPlatform .hm-pnav.is-fixed{position:fixed!important;top:var(--hm-nav-top,0px)!important;left:0;right:0;width:100%;will-change:transform}
  #hmPlatform .hm-pnav{position:relative;z-index:990;margin:0;padding:12px 0 8px;background:transparent;
    transition:background .3s ease,box-shadow .3s ease,padding .3s ease}
  #hmPlatform .hm-pnav.is-stuck{background:rgba(255,248,248,.95);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
    box-shadow:0 14px 30px -18px rgba(20, 51, 79,.45);padding:8px 0 8px}

  #hmPlatform .hm-pnav .hm-tabs,
  #hmPlatform .hm-pnav .hm-subtabs{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;
    width:-moz-fit-content;width:fit-content;max-width:100%;margin-left:auto!important;margin-right:auto!important;
    overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;position:relative}
  #hmPlatform .hm-pnav .hm-tabs::-webkit-scrollbar,
  #hmPlatform .hm-pnav .hm-subtabs::-webkit-scrollbar{display:none}
  #hmPlatform .hm-pnav .hm-tabs>li,#hmPlatform .hm-pnav .hm-subtabs>li{flex:0 0 auto;margin:0}
  #hmPlatform .hm-pnav .hm-subtabs{gap:8px;padding:2px}
  #hmPlatform .hm-pnav .hm-tabs{margin-bottom:14px!important}
  #hmPlatform .hm-pnav .hm-subtabs{margin-bottom:0!important}
  #hmPlatform .hm-pnav .nav-link{white-space:nowrap;transition:padding .3s ease,font-size .3s ease,background .25s,color .25s}
  /* soft fade on the edges when a row scrolls sideways */
  #hmPlatform .hm-pnav ul.is-scroll{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 18px),transparent);
    mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 18px),transparent)}

  /* compact when stuck */
  #hmPlatform .hm-pnav.is-stuck .hm-tabs{margin-bottom:8px!important}

  /* module row collapses when a non-HRMS product is open */
  #hmPlatform .hm-subwrap{display:grid;grid-template-rows:1fr;opacity:1;transition:grid-template-rows .4s ease,opacity .3s ease}
  #hmPlatform .hm-subwrap>div{min-height:0;overflow:hidden;padding:2px 0}
  #hmPlatform .hm-subwrap.is-hidden{grid-template-rows:0fr;opacity:0;pointer-events:none}

  /* ---------- slider ---------- */
  #hmPlatform .hm-pcontent{padding-top:18px}
  #hmPlatform .hm-pwrap{position:relative;padding:0}
  #hmPlatform .hm-pswiper{padding:8px 4px 12px}
  #hmPlatform .hm-pswiper .swiper-slide{padding:0 12px;box-sizing:border-box}
  #hmPlatform .hm-pswiper .row{--bs-gutter-x:2.5rem;--bs-gutter-y:1.75rem}
  #hmPlatform .hm-prod-text h3{margin-bottom:12px}
  #hmPlatform .hm-prod-text p{margin-bottom:18px}
  #hmPlatform .hm-prod-text .hm-checklist{margin-bottom:0}
  #hmPlatform .hm-pswiper .swiper-slide .hm-prod-text>*{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}
  #hmPlatform .hm-pswiper .swiper-slide-active .hm-prod-text>*{opacity:1;transform:none}
  #hmPlatform .hm-pswiper .swiper-slide-active .hm-prod-text>*:nth-child(2){transition-delay:.08s}
  #hmPlatform .hm-pswiper .swiper-slide-active .hm-prod-text>*:nth-child(3){transition-delay:.16s}
  #hmPlatform .hm-pswiper .swiper-slide-active .hm-prod-text>*:nth-child(4){transition-delay:.24s}

  /* controls under the slide:  ( < )  • ━ •  ( > )  — all on one centre line */
  #hmPlatform .hm-pctrl{display:flex;align-items:center;justify-content:center;gap:16px;margin:12px 0 0;padding:0;
    position:relative;z-index:5;line-height:0;pointer-events:auto}
  #hmPlatform .hm-parrow{position:static!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
    flex:0 0 44px;width:44px;height:44px;min-width:0;padding:0!important;margin:0!important;box-sizing:border-box;
    border-radius:50%;border:1px solid #f3d3d4!important;background:#fff!important;color:#ed2024!important;
    box-shadow:0 8px 20px -10px rgba(20, 51, 79,.35);outline:none;line-height:0;
    display:inline-flex!important;align-items:center;justify-content:center;cursor:pointer;pointer-events:auto!important;
    transition:background .25s,color .25s,border-color .25s,transform .25s;-webkit-tap-highlight-color:transparent}
  #hmPlatform .hm-parrow::after,#hmPlatform .hm-parrow::before{content:none!important}
  #hmPlatform .hm-parrow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;display:block;pointer-events:none}
  #hmPlatform .hm-parrow:focus{outline:none;box-shadow:0 8px 20px -10px rgba(20, 51, 79,.35)}
  #hmPlatform .hm-parrow:focus-visible{outline:3px solid #f5a3a5;outline-offset:2px}
  @media (hover:hover){
    #hmPlatform .hm-parrow:hover{background:#ed2024!important;border-color:#ed2024!important;color:#fff!important;transform:scale(1.06)}
  }
  #hmPlatform .hm-parrow:active{transform:scale(.95)}

  #hmPlatform .hm-ppag{position:static!important;inset:auto!important;width:auto!important;transform:none!important;
    display:flex!important;align-items:center;justify-content:center;gap:8px;margin:0!important;padding:0;height:10px;line-height:0;font-size:0}
  #hmPlatform .hm-ppag .swiper-pagination-bullet{display:block!important;flex:0 0 auto;position:relative;overflow:hidden;box-sizing:border-box;
    width:8px;height:8px;margin:0!important;padding:0;border:0!important;border-radius:999px;background:#ecc9ca;opacity:1;
    box-shadow:none!important;outline:none;vertical-align:middle;cursor:pointer;pointer-events:auto!important;
    transition:width .35s ease,background .25s}
  #hmPlatform .hm-ppag .swiper-pagination-bullet::before{content:none!important}
  #hmPlatform .hm-ppag .swiper-pagination-bullet:focus{outline:none}
  #hmPlatform .hm-ppag .swiper-pagination-bullet:focus-visible{outline:2px solid #f5a3a5;outline-offset:2px}
  @media (hover:hover){ #hmPlatform .hm-ppag .swiper-pagination-bullet:hover{background:#f5a3a5} }
  #hmPlatform .hm-ppag .swiper-pagination-bullet-active{width:32px;background:#ecc9ca}
  #hmPlatform .hm-ppag .swiper-pagination-bullet-active::after{content:"";position:absolute;left:0;top:0;bottom:0;
    width:calc(var(--p,1) * 100%);background:#ed2024;border-radius:inherit}
  #hmPlatform .hm-pwrap.is-single .hm-pctrl{display:none}


  /* ---------- section bottom: less empty space + decorative background ---------- */
  #hmPlatform{position:relative;padding-bottom:clamp(20px,0vw,120px)!important;
    background:linear-gradient(180deg,#fffafa 0%,#fff6f6 55%,#fdeeee 100%)}
  #hmPlatform .hm-pcontent{position:relative;z-index:2}
  #hmPlatform .hm-pnav-spacer{position:relative;z-index:2}
  #hmPlatform .hm-pbg{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
  #hmPlatform .hm-pglow{position:absolute;border-radius:50%;filter:blur(60px);opacity:.55}
  #hmPlatform .hm-pglow.g1{width:420px;height:420px;left:-120px;bottom:40px;background:radial-gradient(circle,#f8c4c6 0%,transparent 70%)}
  #hmPlatform .hm-pglow.g2{width:520px;height:520px;right:-160px;bottom:-60px;background:radial-gradient(circle,#f6d3d4 0%,transparent 70%)}
  #hmPlatform .hm-pdots{position:absolute;width:150px;height:100px;opacity:.6;
    background-image:radial-gradient(#ed2024 1.4px,transparent 1.6px);background-size:16px 16px;
    -webkit-mask-image:linear-gradient(135deg,#000 30%,transparent);mask-image:linear-gradient(135deg,#000 30%,transparent)}
  #hmPlatform .hm-pdots.d1{left:3%;bottom:150px;opacity:.28}
  #hmPlatform .hm-pdots.d2{right:4%;bottom:190px;opacity:.22;transform:scaleX(-1)}

  #hmPlatform .hm-pwave{position:absolute;left:0;bottom:0;width:200%;height:140px;will-change:transform}
  #hmPlatform .hm-pwave svg{display:block;width:100%;height:100%}
  #hmPlatform .hm-pwave.w-back{height:150px;animation:hmPWave 26s linear infinite}
  #hmPlatform .hm-pwave.w-back path{fill:#ed2024;fill-opacity:.07}
  #hmPlatform .hm-pwave.w-mid{height:120px;animation:hmPWave 18s linear infinite reverse}
  #hmPlatform .hm-pwave.w-mid path{fill:#f2545a;fill-opacity:.09}
  #hmPlatform .hm-pwave.w-front{height:90px;animation:hmPWave 12s linear infinite}
  #hmPlatform .hm-pwave.w-front path{fill:#fbe3e4;fill-opacity:.9}
  #hmPlatform .hm-pline{position:absolute;left:0;bottom:70px;width:100%;height:160px;opacity:.9}
  @keyframes hmPWave{from{transform:translateX(0)}to{transform:translateX(-50%)}}

  @media (max-width:767px){
    #hmPlatform{padding-bottom:70px!important}
    #hmPlatform .hm-pwave.w-back{height:90px}
    #hmPlatform .hm-pwave.w-mid{height:72px}
    #hmPlatform .hm-pwave.w-front{height:54px}
    #hmPlatform .hm-pline{bottom:30px;height:90px}
    #hmPlatform .hm-pdots,#hmPlatform .hm-pglow.g1{display:none}
  }
  @media (prefers-reduced-motion:reduce){
    #hmPlatform .hm-pwave{animation:none!important}
  }


  /* ---------- floating Book a Demo button (right edge, pulsing) ---------- */
  .hm-fdemo{position:fixed;right:0;top:50%;z-index:1040;transform:translateY(-50%);
    display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 6px 10px;
    background:linear-gradient(180deg,#f2545a 0%,#ed2024 45%,#14334f 100%);color:#fff!important;text-decoration:none!important;
    border-radius:10px 0 0 10px;box-shadow:-6px 10px 26px -10px rgba(20, 51, 79,.55);overflow:hidden;
    transition:padding .3s ease,box-shadow .3s ease;-webkit-tap-highlight-color:transparent;
    animation:hmFdemoPulse 1.6s ease-in-out infinite}
  .hm-fdemo-txt{writing-mode:vertical-rl;transform:rotate(180deg);font-weight:700;font-size:14px;letter-spacing:.2px;line-height:1;white-space:nowrap;position:relative;z-index:1}
  .hm-fdemo-ic{position:relative;z-index:1;width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.18);
    display:flex;align-items:center;justify-content:center;animation:hmFdemoRing 1.6s ease-out infinite}
  .hm-fdemo-ic svg{width:15px;height:15px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;display:block}
  /* light sweep across the button */
  .hm-fdemo::after{content:"";position:absolute;left:-20%;right:-20%;height:40%;top:-45%;
    background:linear-gradient(180deg,transparent,rgba(255,255,255,.38),transparent);transform:skewY(-18deg);
    animation:hmFdemoShine 3.2s ease-in-out infinite}
  .hm-fdemo:hover,.hm-fdemo:focus-visible{padding-right:10px;box-shadow:-8px 12px 30px -8px rgba(20, 51, 79,.65);animation-play-state:paused}
  .hm-fdemo:focus-visible{outline:3px solid #f5a3a5;outline-offset:2px}

  @keyframes hmFdemoPulse{
    0%,100%{filter:brightness(1);box-shadow:-6px 10px 26px -10px rgba(20, 51, 79,.55),0 0 0 0 rgba(237, 32, 36,.55)}
    50%{filter:brightness(1.18);box-shadow:-6px 10px 26px -10px rgba(20, 51, 79,.55),0 0 0 9px rgba(237, 32, 36,0)}
  }
  @keyframes hmFdemoRing{
    0%{box-shadow:0 0 0 0 rgba(255,255,255,.65)}
    100%{box-shadow:0 0 0 8px rgba(255,255,255,0)}
  }
  @keyframes hmFdemoShine{0%,55%{top:-45%}100%{top:120%}}

  @media (max-width:767px){
    .hm-fdemo{padding:6px 5px 8px;gap:5px;border-radius:8px 0 0 8px;top:58%}
    .hm-fdemo-txt{font-size:12px}
    .hm-fdemo-ic{width:22px;height:22px}
    .hm-fdemo-ic svg{width:13px;height:13px}
  }
  @media (prefers-reduced-motion:reduce){
    .hm-fdemo,.hm-fdemo-ic,.hm-fdemo::after{animation:none!important}
  }


  /* ---------- screenshots: click to open gallery ---------- */
  #hmPlatform .hm-zoomable{position:relative;cursor:zoom-in;outline:none}
  #hmPlatform .hm-zoomable:focus-visible{outline:3px solid #f5a3a5;outline-offset:6px;border-radius:14px}
  #hmPlatform .hm-zoomhint{position:absolute;left:50%;top:50%;z-index:6;display:inline-flex;align-items:center;gap:8px;
    padding:10px 16px;border-radius:999px;background:rgba(20, 51, 79,.82);color:#fff;font-size:14px;line-height:1;white-space:nowrap;
    -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 10px 24px -10px rgba(20, 51, 79,.6);
    opacity:0;transform:translate(-50%,-50%) scale(.9);transition:opacity .25s ease,transform .25s ease;pointer-events:none}
  #hmPlatform .hm-zoomhint b{font-weight:600}
  #hmPlatform .hm-zoomhint svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
  #hmPlatform .hm-zoomable:hover .hm-zoomhint,#hmPlatform .hm-zoomable:focus-visible .hm-zoomhint{opacity:1;transform:translate(-50%,-50%) scale(1)}
  #hmPlatform .hm-zoomable .hm-browser img{transition:filter .25s ease}
  #hmPlatform .hm-zoomable:hover .hm-browser img{filter:brightness(.92)}
  @media (hover:none){
    /* touch screens: small permanent badge in the corner instead of the hover label */
    #hmPlatform .hm-zoomhint{left:auto;top:auto;right:10px;bottom:10px;transform:none;opacity:1;padding:8px;font-size:0;gap:0}
    #hmPlatform .hm-zoomhint b{display:none}
  }

  /* ---------- gallery overlay ---------- */
  html.hm-lb-lock,html.hm-lb-lock body{overflow:hidden!important}
  .hm-lb{position:fixed;inset:0;z-index:99990;display:grid;grid-template-columns:72px 1fr 72px;grid-template-rows:auto 1fr auto;
    background:rgba(14, 34, 54,.92);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;
    opacity:0;transition:opacity .26s ease;padding:env(safe-area-inset-top,0) 0 env(safe-area-inset-bottom,0)}
  .hm-lb[hidden]{display:none}
  .hm-lb.open{opacity:1}
  .hm-lb-top{grid-column:1 / -1;display:flex;align-items:center;gap:14px;padding:14px 16px 10px 22px}
  .hm-lb-count{font-size:13px;font-weight:600;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.12);white-space:nowrap}
  .hm-lb-title{flex:1;min-width:0;font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .hm-lb-btn{width:44px;height:44px;flex:0 0 44px;padding:0;margin:0;border:1px solid rgba(255,255,255,.18);border-radius:50%;
    background:rgba(255,255,255,.08);color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
    transition:background .2s,transform .2s;-webkit-tap-highlight-color:transparent}
  .hm-lb-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;display:block;pointer-events:none}
  .hm-lb-btn:hover{background:#ed2024;border-color:#ed2024}
  .hm-lb-btn:focus{outline:none}
  .hm-lb-btn:focus-visible{outline:3px solid #f5a3a5;outline-offset:2px}
  .hm-lb-nav{align-self:center;justify-self:center;width:50px;height:50px;flex-basis:50px}
  .hm-lb-prev{grid-column:1;grid-row:2}
  .hm-lb-next{grid-column:3;grid-row:2}
  .hm-lb-stage{grid-column:2;grid-row:2;min-height:0;min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:6px}
  .hm-lb-img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:10px;
    box-shadow:0 30px 60px -20px rgba(0,0,0,.6);cursor:zoom-in;user-select:none;-webkit-user-drag:none;
    transform:scale(.96);opacity:0;transition:transform .3s ease,opacity .3s ease}
  .hm-lb.open .hm-lb-img{transform:none;opacity:1}
  .hm-lb .hm-lb-img.is-swap{opacity:.25;transform:scale(.985)}
  /* zoomed: natural size, drag/scroll to look around */
  .hm-lb.is-zoomed .hm-lb-stage{overflow:auto;display:block;cursor:zoom-out}
  .hm-lb.is-zoomed .hm-lb-img{max-width:none;max-height:none;margin:auto;cursor:zoom-out;border-radius:0}
  .hm-lb-thumbs{grid-column:1 / -1;display:flex;gap:10px;justify-content:center;overflow-x:auto;scrollbar-width:none;padding:12px 16px 18px}
  .hm-lb-thumbs::-webkit-scrollbar{display:none}
  .hm-lb-thumb{flex:0 0 auto;width:96px;height:60px;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;
    background:#14334f;opacity:.55;cursor:pointer;transition:opacity .2s,border-color .2s}
  .hm-lb-thumb img{width:100%;height:100%;object-fit:cover;display:block}
  .hm-lb-thumb:hover{opacity:.85}
  .hm-lb-thumb.active{opacity:1;border-color:#f2545a}
  .hm-lb-thumb:focus-visible{outline:3px solid #f5a3a5;outline-offset:2px}
  .hm-lb.is-single .hm-lb-nav,.hm-lb.is-single .hm-lb-thumbs{visibility:hidden}

  @media (max-width:767px){
    .hm-lb{grid-template-columns:0 1fr 0}
    .hm-lb-top{padding:10px 10px 8px 14px;gap:10px}
    .hm-lb-title{font-size:14px}
    .hm-lb-btn{width:40px;height:40px;flex-basis:40px}
    /* arrows float over the image on phones */
    .hm-lb-nav{position:fixed;top:50%;transform:translateY(-50%);z-index:2;background:rgba(14, 34, 54,.55)}
    .hm-lb-prev{left:8px} .hm-lb-next{right:8px}
    .hm-lb-thumb{width:72px;height:46px}
    .hm-lb-thumbs{justify-content:flex-start;padding:10px 12px 14px}
  }
  @media (prefers-reduced-motion:reduce){
    .hm-lb,.hm-lb-img{transition:none!important}
  }

  /* ---------- tablet ---------- */
  @media (max-width:991px){
    #hmPlatform .hm-pnav .hm-tabs .nav-link{padding:10px 16px;font-size:15px}
    #hmPlatform .hm-pnav .hm-subtabs .nav-link{padding:7px 14px;font-size:14px}
    #hmPlatform .hm-pswiper .row{--bs-gutter-y:1.25rem}
    #hmPlatform .hm-prod-text{padding-top:4px}
  }
  /* ---------- mobile ---------- */
  @media (max-width:767px){
    #hmPlatform .hm-pnav{padding:8px 0 6px}
    #hmPlatform .hm-pnav.is-stuck{padding:6px 0}
    #hmPlatform .hm-pnav .container{padding-left:10px;padding-right:10px}
    #hmPlatform .hm-pnav .hm-tabs{margin-bottom:8px!important}
    #hmPlatform .hm-pnav .hm-tabs .nav-link,
    #hmPlatform .hm-pnav.is-stuck .hm-tabs .nav-link{padding:8px 12px;font-size:13px}
    #hmPlatform .hm-pnav .hm-subtabs{gap:6px}
    #hmPlatform .hm-pnav .hm-subtabs .nav-link,
    #hmPlatform .hm-pnav.is-stuck .hm-subtabs .nav-link{padding:5px 11px;font-size:12.5px}
    #hmPlatform .hm-pnav .nav-link i{margin-right:6px}
    #hmPlatform .hm-pcontent{padding-top:10px}
    #hmPlatform .hm-pswiper{padding:6px 0 8px}
    #hmPlatform .hm-pswiper .swiper-slide{padding:0 4px}
    #hmPlatform .hm-pswiper .row{--bs-gutter-x:1rem}
    #hmPlatform .hm-prod-text h3{font-size:22px}
    #hmPlatform .hm-pctrl{gap:12px;margin-top:6px}
    #hmPlatform .hm-parrow{flex-basis:38px;width:38px;height:38px}
    #hmPlatform .hm-parrow svg{width:18px;height:18px}
    #hmPlatform .hm-ppag{gap:6px}
    #hmPlatform .hm-ppag .swiper-pagination-bullet{width:7px;height:7px}
    #hmPlatform .hm-ppag .swiper-pagination-bullet-active{width:24px}
  }
  @media (prefers-reduced-motion:reduce){
    #hmPlatform .hm-pswiper .swiper-slide .hm-prod-text>*{transition:none;opacity:1;transform:none}
  }


/* ===================== VIDEO POPUP (Magnific Popup) ===================== */
.mfp-bg   { z-index: 99998 !important; }
.mfp-wrap { z-index: 99999 !important; }
.mfp-iframe-holder .mfp-content { max-width: 960px; }
.mfp-fade.mfp-bg { opacity: 0; transition: opacity .2s ease-out; }
.mfp-fade.mfp-bg.mfp-ready { opacity: .85; }
.mfp-fade.mfp-bg.mfp-removing { opacity: 0; }
.mfp-fade.mfp-wrap .mfp-content { opacity: 0; transition: opacity .2s ease-out; }
.mfp-fade.mfp-wrap.mfp-ready .mfp-content { opacity: 1; }
.mfp-fade.mfp-wrap.mfp-removing .mfp-content { opacity: 0; }


/* screenshots open the gallery on click */
.hm-shot.hm-zoomable{
  position:relative;
  cursor:zoom-in;
  overflow:hidden;
}
.hm-shot.hm-zoomable img{
  display:block;
  transition:transform .35s ease;
}
.hm-shot.hm-zoomable:hover img{ transform:scale(1.03); }
.hm-shot.hm-zoomable:focus-visible{
  outline:2px solid #ed2024;
  outline-offset:3px;
}

/* "View full size" hint on the screenshot */
.hm-shot .hm-zoomhint{
  position:absolute;
  right:12px;
  bottom:12px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(20, 51, 79,.82);
  color:#fff;
  font-size:12px;
  line-height:1;
  opacity:0;
  transform:translateY(6px);
  transition:opacity .25s ease, transform .25s ease;
  pointer-events:none;
}
.hm-shot .hm-zoomhint svg{
  width:14px;
  height:14px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.hm-shot .hm-zoomhint b{ font-weight:600; }
.hm-shot.hm-zoomable:hover .hm-zoomhint,
.hm-shot.hm-zoomable:focus-visible .hm-zoomhint{
  opacity:1;
  transform:none;
}
/* touch screens have no hover: keep the hint visible */
@media (hover:none){
  .hm-shot .hm-zoomhint{ opacity:1; transform:none; }
}

/* ================= HERO BACKGROUND (Activity page) ================= */
.am-hero{ position:relative; isolation:isolate; overflow:hidden; }
.am-hero > .container{ position:relative; z-index:1; }
.am-hbg{ position:absolute; inset:0; z-index:0; pointer-events:none; }

.am-glow{ position:absolute; border-radius:50%; filter:blur(70px); }
.am-glow.g1{ width:420px; height:420px; left:-140px; bottom:-180px; background:rgba(237, 32, 36,.16); }
.am-glow.g2{ width:360px; height:360px; left:46%; top:-160px; background:rgba(20, 51, 79,.12); }

.am-dots{
  position:absolute; width:150px; height:110px;
  background-image:radial-gradient(rgba(237, 32, 36,.28) 1.6px, transparent 1.7px);
  background-size:16px 16px;
  -webkit-mask-image:radial-gradient(closest-side, #000 55%, transparent);
          mask-image:radial-gradient(closest-side, #000 55%, transparent);
}
.am-dots.d1{ left:36%; top:6%; }
.am-dots.d2{ right:36%; bottom:14%; }

.am-wave{ position:absolute; left:0; right:0; bottom:0; width:100%; height:200px; }
.am-wave .line:not(.ghost){
  stroke-dasharray:2600; stroke-dashoffset:2600;
  animation:amDraw 2.8s .3s ease-out forwards;
}
.am-wave .fill{ opacity:0; animation:amFade 1.2s 1.6s ease forwards; }
@keyframes amDraw{ to{ stroke-dashoffset:0; } }
@keyframes amFade{ to{ opacity:1; } }

@media (max-width:991.98px){
  .am-dots.d2{ display:none; }
}
@media (max-width:575.98px){
  .am-wave{ height:140px; }
}
@media (prefers-reduced-motion:reduce){
  .am-wave .line:not(.ghost), .am-wave .fill{ animation:none; stroke-dashoffset:0; opacity:1; }
}

/* single hero slide on this page: no slider dots needed */


/* demo form: success message (shown if the thank-you popup can't open) */
.hm-form-msg.is-success{ color:#1a7f4b; }

@media (prefers-reduced-motion:reduce){
  .hm-shot.hm-zoomable img,
  .hm-shot .hm-zoomhint{ transition:none; }
  .hm-shot.hm-zoomable:hover img{ transform:none; }
}


/* =====================================================================
   THEME OVERRIDE: linear-gradient(90deg, #ed2024 0%, #14334f 100%)
   ===================================================================== */
:root {
  --hm-grad-main: linear-gradient(90deg, #ed2024 0%, #14334f 100%);
}

/* solid-fill elements -> gradient */
.hm-btn,
.hm-submit,
.hm-tabs .nav-link.active,
.hm-role-b .q,
.hm-about-play,
.hm-chip i,
.hm-checklist li i,
.inner-ullist li i,
.hm-fdemo {
  background: var(--hm-grad-main);
}
.hm-btn:hover {
  background: linear-gradient(90deg, #c4171b 0%, #0d2236 100%);
  box-shadow: 0 14px 26px -12px rgba(237, 32, 36, 0.6);
}
.hm-fdemo {
  background: linear-gradient(180deg, #ed2024 0%, #14334f 100%);
}

/* progress / dots / bars */
.hm-bar::after,
.hm-dots button.is-active,
.hm-tnav button.is-active,
.hm-role-nav .dot.is-active,
.hm-tcard::before,
.hm-ty-timer {
  background: var(--hm-grad-main);
}
#hmPlatform .hm-ppag .swiper-pagination-bullet-active::after {
  background: var(--hm-grad-main);
}

/* gradient text */
.hm-hero h1 strong,
.hm-grad {
  background: var(--hm-grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* hero person shape */
.hm-person-wrap {
  background: linear-gradient(160deg, #ed2024 0%, #14334f 100%);
}

/* hover states that were solid blue */
.hm-watch:hover {
  background: var(--hm-grad-main);
}
.hm-lb-btn:hover {
  background: #ed2024;
  border-color: #ed2024;
}
.header-top:after {
    background: linear-gradient(5deg, #ed2024 0%, #14334f 100%) !important;
}
.header-top {
    background-color: #c8232b !important;
}
.sticky-wrapper::after{
     background: linear-gradient(45deg, #fff, #f2dbd7, #fff, #fcd4d4, #fff, #fff) !important;
}
.main-menu > ul > li > a {
    color: #434040;
}
.main-menu a:hover {
    color: var(--theme-color);
}


/* =====================================================================
   NEW: PRODUCT TABS -> SERVICE BOX CARDS
   (HRM Mitra / Activity / Task / Asset / Field Force / Document)
   Selectors use "ul.hm-tabs" so they win over the inline <style> in index.php
   (same ID, one extra element selector = higher specificity).
   The active / hover red -> navy gradient layer still comes from the
   existing ::before rule in index.php, nothing to change there.
   ===================================================================== */
#hmPlatform .hm-pnav ul.hm-tabs{
  counter-reset:hmtab;
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
  width:100%!important;
  max-width:100%;
  padding:10px 4px 14px;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible;
}
#hmPlatform .hm-pnav ul.hm-tabs>li{
  counter-increment:hmtab;
  border:0!important;
  display:flex;
}

/* the card */
#hmPlatform .hm-pnav ul.hm-tabs .nav-link{
  width:100%;
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:22px 12px 18px;
  text-align:center;
  white-space:normal;
  font-size:15px;
  font-weight:700;
  line-height:1.3;
  color:#14334f;
  background-color:#fff!important;
  border:1px solid #f3d3d4!important;
  border-radius:18px!important;
  box-shadow:0 14px 30px -22px rgba(20,51,79,.55);
  transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease,border-color .3s,color .3s;
}

/* big icon chip */
#hmPlatform .hm-pnav ul.hm-tabs .nav-link i{
  width:54px;height:54px;
  border-radius:16px;
  font-size:21px;
  margin:0;
  background:linear-gradient(145deg,#fff1f1,#fdd9da);
  color:#ed2024;
  box-shadow:0 10px 18px -12px rgba(237,32,36,.7);
  transition:transform .35s ease,background .3s,color .3s;
}

/* corner number: 01 02 03 ... */
#hmPlatform .hm-pnav ul.hm-tabs .nav-link::after{
  position:absolute;
  top:10px;right:14px;
  font-size:12px;font-weight:700;letter-spacing:1px;
  color:#e9b8ba;
  transition:color .3s;
}

/* hover (real mouse only) */
@media (hover:hover){
  #hmPlatform .hm-pnav ul.hm-tabs .nav-link:hover{
    transform:translateY(-6px);
    border-color:#ed2024!important;
    box-shadow:0 26px 40px -22px rgba(237,32,36,.65);
  }
  #hmPlatform .hm-pnav ul.hm-tabs .nav-link:hover i{transform:scale(1.1) rotate(-6deg)}
  #hmPlatform .hm-pnav ul.hm-tabs .nav-link:hover::after{color:rgba(255,255,255,.6)}
}

/* selected */
#hmPlatform .hm-pnav ul.hm-tabs .nav-link.active{
  transform:translateY(-6px);
  border-color:transparent!important;
  box-shadow:0 26px 40px -18px rgba(237,32,36,.7);
}
#hmPlatform .hm-pnav ul.hm-tabs .nav-link.active i{transform:scale(1.08)}
#hmPlatform .hm-pnav ul.hm-tabs .nav-link.active::after{color:rgba(255,255,255,.6)}

/* sticky / fixed bar: cards shrink into compact pills */
#hmPlatform .hm-pnav.is-stuck ul.hm-tabs,
#hmPlatform .hm-pnav.is-fixed ul.hm-tabs{padding:4px;gap:8px}
#hmPlatform .hm-pnav.is-stuck ul.hm-tabs .nav-link,
#hmPlatform .hm-pnav.is-fixed ul.hm-tabs .nav-link{
  flex-direction:row;
  justify-content:flex-start;
  text-align:left;
  gap:8px;
  padding:7px 10px!important;
  font-size:13px!important;
  border-radius:12px!important;
  box-shadow:none;
}
#hmPlatform .hm-pnav.is-stuck ul.hm-tabs .nav-link i,
#hmPlatform .hm-pnav.is-fixed ul.hm-tabs .nav-link i{width:26px;height:26px;font-size:12px;border-radius:8px}
#hmPlatform .hm-pnav.is-stuck ul.hm-tabs .nav-link::after,
#hmPlatform .hm-pnav.is-fixed ul.hm-tabs .nav-link::after{display:none}
#hmPlatform .hm-pnav.is-stuck ul.hm-tabs .nav-link:hover,
#hmPlatform .hm-pnav.is-fixed ul.hm-tabs .nav-link:hover,
#hmPlatform .hm-pnav.is-stuck ul.hm-tabs .nav-link.active,
#hmPlatform .hm-pnav.is-fixed ul.hm-tabs .nav-link.active{transform:none}

/* tablet / mobile: horizontal scrolling cards */
@media (max-width:991px){
  #hmPlatform .hm-pnav ul.hm-tabs{
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:150px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:10px 4px 16px;
  }
  #hmPlatform .hm-pnav ul.hm-tabs .nav-link{padding:20px 10px 16px;font-size:14px}
}
@media (max-width:575px){
  #hmPlatform .hm-pnav ul.hm-tabs{grid-auto-columns:128px;gap:10px}
  #hmPlatform .hm-pnav ul.hm-tabs .nav-link{padding:18px 8px 14px;font-size:13px;border-radius:14px!important}
  #hmPlatform .hm-pnav ul.hm-tabs .nav-link i{width:44px;height:44px;font-size:17px;border-radius:13px}
}
@media (prefers-reduced-motion:reduce){
  #hmPlatform .hm-pnav ul.hm-tabs .nav-link,
  #hmPlatform .hm-pnav ul.hm-tabs .nav-link i{transition:none}
}


/* =====================================================================
   PRODUCT TAB CARDS: 6 different light colours + glow + dot pattern
   --tc = accent, --tb = light background, --tg = corner glow,
   --tbd = border, --ta = shadow tint
   ===================================================================== */
#hmPlatform .hm-pnav ul.hm-tabs>li:nth-child(1){--tc:#ed2024;--tb:#fff0f0;--tg:rgba(237,32,36,.18);--tbd:#f7c9cb;--ta:rgba(237,32,36,.55)}
#hmPlatform .hm-pnav ul.hm-tabs>li:nth-child(2){--tc:#2f7de1;--tb:#eaf3ff;--tg:rgba(47,125,225,.18);--tbd:#c7dcf7;--ta:rgba(47,125,225,.55)}
#hmPlatform .hm-pnav ul.hm-tabs>li:nth-child(3){--tc:#18a874;--tb:#e8f8f1;--tg:rgba(24,168,116,.18);--tbd:#bfe8d6;--ta:rgba(24,168,116,.55)}
#hmPlatform .hm-pnav ul.hm-tabs>li:nth-child(4){--tc:#e08a00;--tb:#fff5e0;--tg:rgba(224,138,0,.20);--tbd:#f6dca6;--ta:rgba(224,138,0,.55)}
#hmPlatform .hm-pnav ul.hm-tabs>li:nth-child(5){--tc:#7c5cdb;--tb:#f1edff;--tg:rgba(124,92,219,.18);--tbd:#d8cdf7;--ta:rgba(124,92,219,.55)}
#hmPlatform .hm-pnav ul.hm-tabs>li:nth-child(6){--tc:#0e9fb5;--tb:#e5f7fa;--tg:rgba(14,159,181,.18);--tbd:#b9e4ec;--ta:rgba(14,159,181,.55)}

/* card: tinted background + corner glow + soft dots + coloured bottom bar */
#hmPlatform .hm-pnav ul.hm-tabs .nav-link{
  background-color:var(--tb)!important;
  background-image:
    radial-gradient(circle at 100% 0,var(--tg) 0,transparent 58%),
    radial-gradient(circle at 0 100%,var(--tg) 0,transparent 42%),
    radial-gradient(color-mix(in srgb,var(--tc) 22%,transparent) 1.1px,transparent 1.3px)!important;
  background-size:auto,auto,14px 14px!important;
  background-repeat:no-repeat,no-repeat,repeat!important;
  border:1px solid var(--tbd)!important;
  box-shadow:0 14px 28px -20px var(--ta),inset 0 -3px 0 var(--tc);
}

/* icon chip takes the card colour */
#hmPlatform .hm-pnav ul.hm-tabs .nav-link i{
  background:linear-gradient(145deg,#fff,color-mix(in srgb,var(--tc) 14%,#fff));
  color:var(--tc);
  box-shadow:0 10px 18px -10px var(--ta),0 0 0 4px color-mix(in srgb,var(--tc) 10%,transparent);
}

/* corner number */
#hmPlatform .hm-pnav ul.hm-tabs .nav-link::after{
  color:color-mix(in srgb,var(--tc) 55%,#fff);
}

/* gentle floating icon on every card */
@keyframes hmTabFloat{50%{transform:translateY(-3px)}}
#hmPlatform .hm-pnav:not(.is-stuck):not(.is-fixed) ul.hm-tabs .nav-link:not(.active) i{
  animation:hmTabFloat 3.6s ease-in-out infinite;
}
#hmPlatform .hm-pnav ul.hm-tabs>li:nth-child(2) .nav-link i{animation-delay:-.6s!important}
#hmPlatform .hm-pnav ul.hm-tabs>li:nth-child(3) .nav-link i{animation-delay:-1.2s!important}
#hmPlatform .hm-pnav ul.hm-tabs>li:nth-child(4) .nav-link i{animation-delay:-1.8s!important}
#hmPlatform .hm-pnav ul.hm-tabs>li:nth-child(5) .nav-link i{animation-delay:-2.4s!important}
#hmPlatform .hm-pnav ul.hm-tabs>li:nth-child(6) .nav-link i{animation-delay:-3s!important}
@media (hover:hover){
  #hmPlatform .hm-pnav ul.hm-tabs .nav-link:hover i{animation:none!important}
}
@media (prefers-reduced-motion:reduce){
  #hmPlatform .hm-pnav ul.hm-tabs .nav-link i{animation:none!important}
}


/*==================================new inner page css start here===============================
===============================================================================================*/
/* =====================================================================
   FEATURE ROWS + TABS  — main class: .hm-afeat
   Works on every page that uses <section class="hm-afeat"> with .hm-fgrid > .hm-fcard rows
   (with or without tabs). Tab-only rules (.tm-nav, .tab-pane) simply do nothing when there are no tabs.
   Paste at the END of assets/css/hrms.css (replace the earlier tm-content version).
   ===================================================================== */
.hm-afeat{position:relative;padding:34px 0 40px;background:linear-gradient(180deg,#fff 0%,var(--hm-sky-2) 100%);overflow:hidden}
.hm-afeat .container{position:relative;z-index:1}
.hm-afeat .hm-center{margin-bottom:20px}

/* tab buttons */
.tm-nav{display:flex;justify-content:center;flex-wrap:nowrap;gap:14px;border:0;margin:0 auto 22px;padding:4px 4px 8px;list-style:none}
.tm-nav .nav-item{flex:1 1 0;max-width:340px}
.tm-nav .nav-link{position:relative;width:100%;height:100%;display:flex;align-items:center;gap:14px;text-align:left;padding:12px 16px;background:#fff;color:var(--hm-ink);border:1px solid #f3d3d4;border-radius:16px;box-shadow:0 14px 28px -22px rgba(20,51,79,.55);overflow:hidden;isolation:isolate;font-weight:700;font-size:16px;line-height:1.25;transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s,border-color .3s,color .3s}
.tm-nav .nav-link::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#ed2024 0%,#14334f 100%);transform:scaleX(0);transform-origin:left;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.tm-nav .nav-link:hover{transform:translateY(-4px);border-color:#ed2024}
.tm-nav .nav-link.active{color:#fff;border-color:transparent;transform:translateY(-4px);box-shadow:0 24px 40px -18px rgba(237,32,36,.65)}
.tm-nav .nav-link.active::before{transform:scaleX(1)}
.tm-nav .nav-link:focus-visible{outline:3px solid var(--hm-gold);outline-offset:2px}
.tm-nav-ic{flex:none;width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-size:19px;background:linear-gradient(145deg,#fff1f1,#fdd9da);color:#ed2024;box-shadow:0 10px 18px -12px rgba(237,32,36,.7);transition:transform .35s,background .3s,color .3s}
.tm-nav .nav-link.active .tm-nav-ic{background:rgba(255,255,255,.2);color:#fff;transform:scale(1.08) rotate(-6deg)}
.tm-nav-tx{display:flex;flex-direction:column;gap:3px}
.tm-nav-tx small{font-size:12.5px;font-weight:600;color:var(--hm-muted);transition:color .3s}
.tm-nav .nav-link.active .tm-nav-tx small{color:rgba(255,255,255,.8)}

/* pane: fade + slide, feature rows stagger in (rows use the existing .hm-fcard style) */
.hm-afeat .tab-pane.fade{transform:translateY(18px);transition:opacity .35s ease,transform .5s cubic-bezier(.2,.7,.2,1)}
.hm-afeat .tab-pane.fade.show{transform:none}
.hm-afeat .hm-fgrid{gap:16px}
.hm-afeat .hm-fcard-top{margin-bottom:10px}
.hm-afeat .hm-fcard ul{margin-bottom:0}
.hm-afeat .hm-fcard li{padding:4px 0}
.hm-afeat .hm-fgrid>.hm-fcard{grid-template-columns:.8fr 1fr!important}
.hm-afeat .hm-fgrid>.hm-fcard:nth-child(even){grid-template-columns:1fr .8fr!important}
.hm-afeat .hm-fcard-txt{padding:18px 30px!important}
/*.hm-afeat .hm-shot img{aspect-ratio:16/9;object-fit:cover;object-position:top}*/
.hm-afeat .hm-shot .bar{height:18px}
@media (max-width:991px){.hm-afeat .hm-fgrid>.hm-fcard,.hm-afeat .hm-fgrid>.hm-fcard:nth-child(even){grid-template-columns:1fr!important}.hm-afeat .hm-fcard-txt{padding:18px 20px 22px!important}.hm-afeat .hm-shot img{aspect-ratio:16/10}}
@keyframes tmRowIn{from{opacity:0;transform:translateY(36px)}to{opacity:1;transform:none}}
.hm-afeat .tab-pane.show .hm-fcard{animation:tmRowIn .7s cubic-bezier(.2,.7,.2,1) both}
.hm-afeat .tab-pane.show .hm-fcard:nth-child(1){animation-delay:.05s}
.hm-afeat .tab-pane.show .hm-fcard:nth-child(2){animation-delay:.18s}
.hm-afeat .tab-pane.show .hm-fcard:nth-child(3){animation-delay:.31s}
.hm-afeat .tab-pane.show .hm-fcard:nth-child(4){animation-delay:.44s}
.hm-afeat .tab-pane.show .hm-fcard:nth-child(5){animation-delay:.57s}

@media (max-width:991px){
  .tm-nav{justify-content:flex-start;overflow-x:auto;scrollbar-width:none;padding-bottom:14px}
  .tm-nav::-webkit-scrollbar{display:none}
  .tm-nav .nav-item{flex:0 0 auto;max-width:none}
  .tm-nav .nav-link{white-space:nowrap}
  .hm-afeat .hm-fgrid{max-width:640px;margin:0 auto}
}
@media (max-width:767px){
  .hm-afeat{padding:28px 0 30px}
  .tm-nav{gap:10px;margin-bottom:18px}
  .tm-nav .nav-link{padding:12px 14px;font-size:14px}
  .tm-nav-ic{width:40px;height:40px;font-size:16px;border-radius:12px}
  .hm-afeat .hm-fgrid{gap:14px}
  .hm-afeat .hm-fcard-txt{padding:18px 16px 20px}
  .hm-afeat .hm-fcard-vis{padding:16px}
}
@media (prefers-reduced-motion:reduce){
  .hm-afeat .tab-pane.show .hm-fcard{animation:none!important}
  .hm-afeat .tab-pane.fade,.tm-nav .nav-link,.tm-nav .nav-link::before{transition:none!important}
}

/* light decoration on the white (text) side of every feature row */
.hm-afeat .hm-fcard-txt{
  position:relative;overflow:hidden;isolation:isolate;
  background:
    radial-gradient(260px 200px at 100% 100%,color-mix(in srgb,var(--c) 11%,transparent),transparent 70%),
    radial-gradient(220px 160px at 0 0,color-mix(in srgb,var(--c) 7%,transparent),transparent 70%),
    linear-gradient(135deg,#fff 45%,color-mix(in srgb,var(--cb) 55%,#fff));
}
.hm-afeat .hm-fcard-txt>*{position:relative;z-index:1}
/* dotted patch + floating ring */
.hm-afeat .hm-fcard-txt::after{
  content:"";position:absolute;z-index:0;right:26px;top:18px;width:96px;height:72px;pointer-events:none;
  background:radial-gradient(color-mix(in srgb,var(--c) 32%,transparent) 1.5px,transparent 1.7px) 0 0/12px 12px;
  -webkit-mask-image:linear-gradient(225deg,#000 20%,transparent 85%);mask-image:linear-gradient(225deg,#000 20%,transparent 85%);
  animation:tmDrift 9s ease-in-out infinite;
}
.hm-afeat .hm-fcard-top::before{
  content:"";position:absolute;z-index:0;left:-46px;bottom:-60px;width:150px;height:150px;border-radius:50%;pointer-events:none;
  border:2px dashed color-mix(in srgb,var(--c) 22%,transparent);
  animation:hmSpin 40s linear infinite;
}
.hm-afeat .hm-fcard-top{position:static}
@keyframes tmDrift{50%{transform:translate(-8px,6px)}}
@media (max-width:767px){
  .hm-afeat .hm-fcard-txt::after{width:70px;height:54px;right:14px;top:12px}
}
@media (prefers-reduced-motion:reduce){.hm-afeat .hm-fcard-txt::after,.hm-afeat .hm-fcard-top::before{animation:none!important}}

/* dashboard screenshot box */
.hm-afeat .hm-fcard-vis{padding:16px 40px 32px 22px}
.hm-afeat .hm-fgrid>.hm-fcard:nth-child(even) .hm-fcard-vis{padding:16px 22px 32px 40px}
.hm-afeat .hm-shot{
  position:relative;
  border:1px solid color-mix(in srgb,var(--c) 22%,#e3e9f2);
  border-radius:14px;
  box-shadow:0 26px 44px -22px rgba(20,51,79,.5),
             12px 12px 0 -1px color-mix(in srgb,var(--c) 15%,#fff),
             22px 22px 0 -2px color-mix(in srgb,var(--c) 8%,#fff);
}
.hm-afeat .hm-fgrid>.hm-fcard:nth-child(even) .hm-shot{
  box-shadow:0 26px 44px -22px rgba(20,51,79,.5),
             -12px 12px 0 -1px color-mix(in srgb,var(--c) 15%,#fff),
             -22px 22px 0 -2px color-mix(in srgb,var(--c) 8%,#fff);
}
/* browser top bar with window dots + address pill */
.hm-afeat .hm-shot .bar{height:26px;padding:0 12px;gap:6px;background:linear-gradient(180deg,#fff,#f3f6fb)}
.hm-afeat .hm-shot .bar i{width:8px;height:8px}
.hm-afeat .hm-shot .bar i:nth-child(1){background:#ff6b6b}
.hm-afeat .hm-shot .bar i:nth-child(2){background:#f8b400}
.hm-afeat .hm-shot .bar i:nth-child(3){background:#22a06b}
.hm-afeat .hm-shot .bar::after{
  content:"https://unistal.com/people-and-workplace-management/";margin-left:10px;flex:0 1 330px;text-overflow:ellipsis;height:15px;line-height:15px;
  padding:0 10px;border-radius:30px;background:#eaf0f8;
  font-size:9.5px;font-weight:600;letter-spacing:.2px;color:#6b7a90;white-space:nowrap;overflow:hidden;
}
/* soft fade at the bottom hints the screen continues */
.hm-afeat .hm-shot::before{
  content:"";position:absolute;left:0;right:0;bottom:0;height:44px;z-index:2;pointer-events:none;
  background:linear-gradient(180deg,transparent,rgba(255,255,255,.92));
}
/* light sweep on hover */
.hm-afeat .hm-shot::after{
  content:"";position:absolute;top:0;left:-70%;width:45%;height:100%;z-index:3;pointer-events:none;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.55),transparent);
  transform:skewX(-20deg);transition:left .9s;
}
.hm-afeat .hm-fcard:hover .hm-shot::after{left:130%}
@media (max-width:991px){
  .hm-afeat .hm-fcard-vis,.hm-afeat .hm-fgrid>.hm-fcard:nth-child(even) .hm-fcard-vis{padding:18px 30px 28px 18px}
  .hm-afeat .hm-fgrid>.hm-fcard:nth-child(even) .hm-shot{box-shadow:0 26px 44px -22px rgba(20,51,79,.5),12px 12px 0 -1px color-mix(in srgb,var(--c) 15%,#fff),22px 22px 0 -2px color-mix(in srgb,var(--c) 8%,#fff)}
}
@media (max-width:575px){.hm-afeat .hm-shot .bar::after{display:none}}


/* =====================================================================
   QUICK LIST BAR (.hm-qgrid)  — one line + sticky (sticky behaviour via hrms-qbar.js)
   Paste at the END of assets/css/hrms.css
   ===================================================================== */
section.hm-qlist{padding:14px 0 6px;background:#fff}
.hm-qbar{position:relative;z-index:990;background:transparent;transition:background .3s,box-shadow .3s,opacity .3s}
.hm-qbar .container{position:relative}

/* one line, scrolls sideways when it does not fit */
nav.hm-qgrid{
  display:flex!important;flex-wrap:nowrap;gap:8px;
  overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;
  padding:6px 2px;margin:0;
}
.hm-qgrid::-webkit-scrollbar{display:none}
.hm-qgrid.is-scroll{
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22px,#000 calc(100% - 22px),transparent);
  mask-image:linear-gradient(90deg,transparent 0,#000 22px,#000 calc(100% - 22px),transparent);
}
.hm-qgrid.at-start{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 22px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 22px),transparent)}
.hm-qgrid.at-end{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22px);mask-image:linear-gradient(90deg,transparent 0,#000 22px)}
.hm-qgrid.at-start.at-end{-webkit-mask-image:none;mask-image:none}

.hm-qgrid .hm-qlink{
  flex:0 0 auto;gap:9px;padding:5px 14px 5px 6px;border-radius:30px;
  white-space:nowrap;box-shadow:0 8px 18px -16px rgba(20,51,79,.5);
}
.hm-qgrid .hm-qlink .ic{width:30px;height:30px;border-radius:50%;font-size:12px}
.hm-qgrid .hm-qlink .tx{flex:none;font-size:13.5px;line-height:1.2}
.hm-qgrid .hm-qlink .go{display:none}
.hm-qgrid .hm-qlink:hover{transform:translateY(-2px)}
.hm-qgrid .hm-qlink.is-active{
  border-color:var(--c);
  background:color-mix(in srgb,var(--cb) 70%,#fff);
  box-shadow:0 12px 22px -14px var(--c);
}
.hm-qgrid .hm-qlink.is-active .ic{background:var(--c);color:#fff}

/* prev / next arrows (added by JS only when the row overflows) */
.hm-qarrow{
  position:absolute;top:50%;transform:translateY(-50%);z-index:3;
  width:30px;height:30px;padding:0;border-radius:50%;border:1px solid #f3d3d4;background:#fff;color:#ed2024;
  display:none;align-items:center;justify-content:center;font-size:11px;cursor:pointer;
  box-shadow:0 8px 18px -10px rgba(20,51,79,.5);transition:background .25s,color .25s;
}
.hm-qarrow svg{width:15px;height:15px;display:block;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.hm-qarrow:hover{background:#ed2024;color:#fff}
.hm-qarrow.prev{left:4px}
.hm-qarrow.next{right:4px}
.hm-qbar.has-scroll nav.hm-qgrid{margin:0 40px}
.hm-qbar.has-scroll .hm-qarrow{display:flex}
.hm-qbar.has-scroll .hm-qarrow.is-off{opacity:.35;pointer-events:none}

/* stuck state (position fixed under the site header, set by JS) */
.hm-qspacer{display:none}
.hm-qspacer.on{display:block}
.hm-qbar.is-fixed{
  position:fixed;left:0;right:0;width:100%;top:var(--hm-qtop,0px);
  padding:6px 0;background:rgba(255,248,248,.95);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  box-shadow:0 14px 28px -20px rgba(20,51,79,.5);
  animation:hmQIn .3s ease both;
}
.hm-qbar.is-fixed .hm-center{display:none}
.hm-qbar.is-hidden{opacity:0;pointer-events:none}
@keyframes hmQIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}

/* jump targets stop below header + bar */
/* margin between the stuck bar and the card you jump to */
.hm-afeat .hm-fcard{scroll-margin-top:170px}

@media (max-width:767px){
  section.hm-qlist{padding:10px 0 4px}
  .hm-qgrid .hm-qlink .tx{font-size:12.5px}
  .hm-qgrid .hm-qlink .ic{width:26px;height:26px;font-size:11px}
  .hm-qarrow{display:none!important}
}
@media (prefers-reduced-motion:reduce){.hm-qbar.is-fixed{animation:none}}


/* =====================================================================
   INNER-PAGE HERO  (all product / module pages)
   Paste at the END of assets/css/hrms.css

   Same look as the homepage hero:
   - one background photo across the whole hero, slightly blurred on the
     text side, stronger blur + white blend towards the form on the right,
     soft white fade at the bottom
   - software name (.hm-pill) shown as the large heading
   - tagline (h1) shown inside the glossy red strip below it

   SCOPE: only a .hm-hero that contains .hm-slider (inner-page hero markup).
   The homepage hero uses .hm-hs instead, so it is never touched.
   No HTML change needed on any page.

   ONE photo for all pages: --hero-photo in the first rule.
   Tune for all pages (first rule):
     --hero-veil       white wash over the photo on the text side (0 = untouched)
     --hero-blur-left  slight blur on the photo
     --hero-blur       strong blur on the right side
   ===================================================================== */

.hm-hero:has(.hm-slider){
  --hero-photo:url("../img/teams1.webp");   /* same photo on every page (path is relative to this css file) */
  --hero-veil:.64;
  --hero-blur-left:5px;
  --hero-blur:20px;
  position:relative;isolation:isolate;
  background:#fff;
}

/* ---------- layer 1: photo + white veil (slight blur) ---------- */
.hm-hero:has(.hm-slider)::before{
  content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;
  width:auto;height:auto;border-radius:0;animation:none;          /* reset older hero ::before */
  -webkit-mask-image:none;mask-image:none;
  background:
    linear-gradient(180deg,rgba(255,255,255,0) 80%,#fff 100%),
    radial-gradient(ellipse 48% 62% at 27% 52%,rgba(255,255,255,.5) 0%,rgba(255,255,255,.32) 45%,rgba(255,255,255,0) 100%),
    linear-gradient(90deg,
      rgba(255,255,255,calc(var(--hero-veil) + .06)) 0%,
      rgba(255,255,255,var(--hero-veil)) 32%,
      rgba(255,255,255,calc(var(--hero-veil) + .1)) 48%,
      rgba(255,255,255,.9) 62%,
      #fff 78%),
    var(--hero-photo) left center/cover no-repeat;
  filter:blur(var(--hero-blur-left)) brightness(1.06) saturate(.88);
  transform-origin:30% 50%;
  animation:hmHeroReveal 1.8s cubic-bezier(.22,.61,.36,1) both;   /* soft zoom-out reveal on page load */
}
@keyframes hmHeroReveal{from{opacity:0;transform:scale(1.08)}to{opacity:1;transform:none}}

/* ---------- layer 2: stronger blur + white, fading in towards the right ---------- */
.hm-hero:has(.hm-slider)::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  width:auto;height:auto;left:0;top:0;border-radius:0;filter:none;animation:none;   /* reset older spinning glow */
  background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.55) 58%,#fff 80%);
  -webkit-backdrop-filter:blur(var(--hero-blur));backdrop-filter:blur(var(--hero-blur));
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 42%,rgba(0,0,0,.6) 55%,#000 68%);
          mask-image:linear-gradient(90deg,transparent 0%,transparent 42%,rgba(0,0,0,.6) 55%,#000 68%);
}

/* ---------- living background (on top of the photo, behind the content) ----------
   two slow-moving light blobs in the theme colours (red + navy) + a drifting dot pattern,
   so the hero never looks like a static, repeated photo. Transform-only animations = light on the GPU. */

/* aurora blobs: drawn by the hero's .container, which every inner page has */
.hm-hero:has(.hm-slider) > .container::before,
.hm-hero:has(.hm-slider) > .container::after{
  content:"";position:absolute;z-index:-1;pointer-events:none;border-radius:50%;
}
.hm-hero:has(.hm-slider) > .container::before{     /* red, top-left */
  width:560px;height:440px;left:-180px;top:-200px;
  background:radial-gradient(closest-side,rgba(237,32,36,.22),rgba(237,32,36,.08) 55%,transparent);
  animation:hmAuroraA 18s ease-in-out infinite alternate;
}
.hm-hero:has(.hm-slider) > .container::after{      /* navy, bottom-centre */
  width:520px;height:420px;left:22%;bottom:-240px;
  background:radial-gradient(closest-side,rgba(20,51,79,.2),rgba(20,51,79,.07) 55%,transparent);
  animation:hmAuroraB 22s ease-in-out infinite alternate;
}
@keyframes hmAuroraA{
  0%{transform:translate(0,0) scale(1)}
  50%{transform:translate(120px,60px) scale(1.12)}
  100%{transform:translate(40px,140px) scale(.95)}
}
@keyframes hmAuroraB{
  0%{transform:translate(0,0) scale(1)}
  50%{transform:translate(-140px,-50px) scale(1.1)}
  100%{transform:translate(90px,-110px) scale(.92)}
}

/* the page's old decoration box (.am-hbg etc.) is reused for a soft dot pattern
   that drifts slowly; its old glows / dots are hidden. Pages without it simply skip this. */
.hm-hero:has(.hm-slider) > [class$="-hbg"]{
  display:block;position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;
}
.hm-hero:has(.hm-slider) > [class$="-hbg"] > *{display:none}
.hm-hero:has(.hm-slider) > [class$="-hbg"]::before{
  content:"";position:absolute;left:-40px;top:-40px;width:calc(62% + 80px);height:calc(100% + 80px);
  background:radial-gradient(rgba(20,51,79,.22) 1.2px,transparent 1.5px) 0 0/22px 22px;
  -webkit-mask-image:radial-gradient(ellipse 60% 55% at 35% 45%,#000 0%,rgba(0,0,0,.35) 55%,transparent 80%);
          mask-image:radial-gradient(ellipse 60% 55% at 35% 45%,#000 0%,rgba(0,0,0,.35) 55%,transparent 80%);
  opacity:.55;
  animation:hmDotsDrift 26s linear infinite;
}
@keyframes hmDotsDrift{from{transform:translate(0,0)}to{transform:translate(22px,22px)}}   /* seamless loop: one dot step */

/* ---------- software name (the .hm-pill) -> large main heading ---------- */
.hm-hero:has(.hm-slider) .hm-pill{
  display:block;position:static;max-width:none;
  margin:0 0 .9rem;padding:0;border:0;border-radius:0;
  background:none;box-shadow:none;-webkit-mask-image:none;mask-image:none;
  -webkit-backdrop-filter:none;backdrop-filter:none;
  font-size:clamp(1.8rem,1.1rem + 2vw,2.6rem);line-height:1.15;letter-spacing:-.012em;
  font-weight:800;color:#0b2440;text-transform:none;text-shadow:none;text-wrap:balance;
}
.hm-hero:has(.hm-slider) .hm-pill::before,
.hm-hero:has(.hm-slider) .hm-pill::after{content:none}
.hm-hero:has(.hm-slider) .hm-pill > i{display:none}

/* animated theme gradient on the heading text:
   mostly deep navy, a soft red band glides slowly across and back.
   Only where background-clip:text works; elsewhere it stays solid navy. */
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .hm-hero:has(.hm-slider) .hm-pill{
    display:inline-block;                  /* gradient follows the text width, not the full row */
    max-width:100%;
    background:linear-gradient(90deg,
      #0b2440 0%,#14334f 28%,#c41f2c 44%,#ed2024 50%,#c41f2c 56%,#14334f 72%,#0b2440 100%) 0 50%/250% 100% no-repeat;
    -webkit-background-clip:text;background-clip:text;
    -webkit-text-fill-color:transparent;color:transparent;
    animation:hmHeadFlow 9s ease-in-out infinite alternate;
    filter:drop-shadow(0 1px 0 rgba(255,255,255,.75)) drop-shadow(0 0 10px rgba(255,255,255,.55));
  }
}
@keyframes hmHeadFlow{
  from{background-position:0% 50%}
  to{background-position:100% 50%}
}

/* ---------- tagline (the h1) -> glossy theme strip, same as the homepage ---------- */
.hm-hero:has(.hm-slider) .hm-slide h1{
  position:relative;isolation:isolate;overflow:hidden;
  display:inline-block;max-width:100%;
  margin:0 0 1.15rem;padding:.5rem 3.5rem .5rem .9rem;border-radius:10px 0 0 10px;
  font-size:clamp(1.02rem,.88rem + .5vw,1.25rem);font-weight:600;line-height:1.4;letter-spacing:0;
  color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.32);text-wrap:balance;
  background:linear-gradient(90deg,rgba(237,32,36,.96) 0%,rgba(216,31,42,.92) 40%,rgba(168,27,44,.86) 75%,rgba(138,26,46,.78) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 -1px 0 rgba(0,0,0,.16),0 6px 16px -10px rgba(138,26,46,.6);
  /* right end turns transparent and merges into the background */
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 calc(100% - 4.25rem),rgba(0,0,0,.5) calc(100% - 2.1rem),transparent 100%);
          mask-image:linear-gradient(90deg,#000 0%,#000 calc(100% - 4.25rem),rgba(0,0,0,.5) calc(100% - 2.1rem),transparent 100%);
}
/* gloss on the top half */
.hm-hero:has(.hm-slider) .hm-slide h1::before{
  content:"";position:absolute;inset:0 0 50% 0;z-index:-1;
  background:linear-gradient(180deg,rgba(255,255,255,.3) 0%,rgba(255,255,255,.06) 100%);
}
.hm-hero:has(.hm-slider) .hm-slide h1::after{
  content:"";position:absolute;top:0;bottom:0;left:0;width:38%;z-index:-1;
  background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,.38) 50%,transparent 100%);
  transform:translateX(-130%) skewX(-18deg);
  animation:hmHeroShine 1.3s cubic-bezier(.4,0,.2,1) .9s 1 both;   /* one light sweep on page load */
}
@keyframes hmHeroShine{to{transform:translateX(340%) skewX(-18deg)}}
/* the highlighted words: plain white inside the strip (no red gradient text) */
.hm-hero:has(.hm-slider) .hm-slide h1 strong{
  display:inline;font-weight:inherit;color:inherit;
  background:none;-webkit-background-clip:border-box;background-clip:border-box;
  -webkit-text-fill-color:currentColor;
}

/* supporting text: darker for contrast on the photo (size / width unchanged) */
.hm-hero:has(.hm-slider) .hm-slide p.lead-txt{color:#1f2a37;font-weight:500}

/* single-slide pages: the dots row is empty, so it takes no space */
.hm-hero:has(.hm-slider) .hm-dots:empty{display:none}

/* form card stays above the background layers */
.hm-hero:has(.hm-slider) .hm-form-wrap{position:relative;z-index:1}

/* browsers without backdrop-filter: layer 1's white blend still does the job */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .hm-hero:has(.hm-slider)::after{background:linear-gradient(90deg,rgba(255,255,255,0) 40%,rgba(255,255,255,.7) 60%,#fff 80%)}
}

/* ---------- laptops ---------- */
@media (max-width:1199.98px){
  .hm-hero:has(.hm-slider)::after{
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 46%,rgba(0,0,0,.6) 58%,#000 72%);
            mask-image:linear-gradient(90deg,transparent 0%,transparent 46%,rgba(0,0,0,.6) 58%,#000 72%);
  }
}

/* ---------- tablets / phones: text on top, form below ->
   photo shows behind the text and blurs into white towards the form ---------- */
@media (max-width:991.98px){
  .hm-hero:has(.hm-slider){--hero-veil:.82}
  .hm-hero:has(.hm-slider)::before{
    background:
      linear-gradient(180deg,
        rgba(255,255,255,var(--hero-veil)) 0%,
        rgba(255,255,255,var(--hero-veil)) 38%,
        rgba(255,255,255,.92) 55%,
        #fff 70%),
      var(--hero-photo) center top/cover no-repeat;
  }
  .hm-hero:has(.hm-slider)::after{
    background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.6) 55%,#fff 72%);
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,transparent 32%,#000 56%);
            mask-image:linear-gradient(180deg,transparent 0%,transparent 32%,#000 56%);
  }
  .hm-hero:has(.hm-slider) .hm-form-wrap{margin-top:1.75rem}
}

@media (max-width:575.98px){
  .hm-hero:has(.hm-slider) > .container::before{width:340px;height:280px;left:-140px;top:-120px}
  .hm-hero:has(.hm-slider) > .container::after{width:320px;height:260px;left:auto;right:-120px;bottom:-140px}
  .hm-hero:has(.hm-slider){--hero-blur:14px;--hero-blur-left:4px}
  .hm-hero:has(.hm-slider) .hm-pill{font-size:clamp(1.55rem,1.05rem + 2.6vw,1.9rem)}
  .hm-hero:has(.hm-slider) .hm-slide h1{display:block;padding:.45rem 2.75rem .45rem .75rem;border-radius:9px 0 0 9px;
    -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 calc(100% - 3.25rem),rgba(0,0,0,.5) calc(100% - 1.6rem),transparent 100%);
            mask-image:linear-gradient(90deg,#000 0%,#000 calc(100% - 3.25rem),rgba(0,0,0,.5) calc(100% - 1.6rem),transparent 100%)}
}

@media (prefers-reduced-motion:reduce){
  .hm-hero:has(.hm-slider) .hm-slide h1::after{animation:none;opacity:0}
  .hm-hero:has(.hm-slider) .hm-pill{animation:none}   /* heading stays still (navy with the red band parked off to the side) */
  .hm-hero:has(.hm-slider)::before,
  .hm-hero:has(.hm-slider) > .container::before,
  .hm-hero:has(.hm-slider) > .container::after,
  .hm-hero:has(.hm-slider) > [class$="-hbg"]::before{animation:none}   /* background stays still */
}
/* ==========================================================
   Hero photo: clearer (less blur / white wash). Text side keeps a soft
   white veil so the heading stays readable.
   ========================================================== */
@media (min-width:992px){
  .hm-hero:has(.hm-slider)::before{
    background:
      linear-gradient(180deg,rgba(255,255,255,0) 86%,#fff 100%),
      linear-gradient(90deg,
        rgba(255,255,255,.80) 0%,
        rgba(255,255,255,.66) 30%,
        rgba(255,255,255,.30) 46%,
        rgba(255,255,255,.08) 58%,
        rgba(255,255,255,0) 70%),
      var(--hero-photo) center center/cover no-repeat !important;
    filter:none !important;
  }
  .hm-hero:has(.hm-slider)::after{
    background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.10) 60%,rgba(255,255,255,.18) 100%) !important;
    -webkit-backdrop-filter:blur(1.5px) !important;backdrop-filter:blur(1.5px) !important;
  }
}
@media (max-width:991.98px){
  .hm-hero:has(.hm-slider)::before{
    background:
      linear-gradient(180deg,
        rgba(255,255,255,.72) 0%,
        rgba(255,255,255,.62) 38%,
        rgba(255,255,255,.72) 60%,
        rgba(255,255,255,.88) 78%,
        #fff 92%),
      var(--hero-photo) center top/cover no-repeat !important;
    filter:none !important;
  }
  .hm-hero:has(.hm-slider)::after{
    -webkit-backdrop-filter:blur(2px) !important;backdrop-filter:blur(2px) !important;
  }
}
/* inner pages: long paragraph sits over the photo – slightly stronger veil on the text side */
@media (min-width:992px){ .hm-hero:has(.hm-slider)::before{ background: linear-gradient(180deg,rgba(255,255,255,0) 86%,#fff 100%), linear-gradient(90deg, rgba(255,255,255,.86) 0%, rgba(255,255,255,.78) 34%, rgba(255,255,255,.5) 52%, rgba(255,255,255,.14) 64%, rgba(255,255,255,0) 74%), var(--hero-photo) center center/cover no-repeat !important; } }

/* ===== HRMS module: inner hero + FAQ in the red theme ===== */
html body .ob2.ob2--hero { --hc: 215, 38, 45; }
html body .ob2.ob2--hero .ob2__crumb a:hover { opacity: .85; }
html:has(.ob2--faq) .faq-section .sub-title { background: #fdecec !important; color: #d7262d !important; }
html:has(.ob2--faq) .faq-section .sec-title::after { background: #d7262d !important; }
html:has(.ob2--faq) #faqAccordion .accordion-card::before { background: #d7262d !important; }
html:has(.ob2--faq) #faqAccordion .accordion-card:hover { border-color: #f4b9bb !important; }
html:has(.ob2--faq) #faqAccordion .accordion-card:has(.accordion-collapse.show) { border-color: #d7262d !important; box-shadow: 0 24px 44px -28px rgba(180, 20, 30, .55) !important; }
html:has(.ob2--faq) #faqAccordion .accordion-button::before { background: #fdecec !important; color: #d7262d !important; }
html:has(.ob2--faq) #faqAccordion .accordion-button:not(.collapsed)::before { background: #d7262d !important; color: #ffffff !important; }
html:has(.ob2--faq) #faqAccordion .accordion-button::after { background: #fff7f7 !important; border-color: #f6d4d5 !important; color: #d7262d !important; }
html:has(.ob2--faq) #faqAccordion .accordion-button:not(.collapsed)::after { background: #d7262d !important; border-color: #d7262d !important; color: #ffffff !important; }
html:has(.ob2--faq) #faqAccordion .accordion-button:hover { color: #d7262d !important; }
