/* ==========================================================================
   TISHHA CONSULTANTS LLP - HOSPITAL HMIS (SEHATLINK OS) STYLES
   Harmonized with Dark Teal/Cyan Theme (#19272B / #142125 / #43baff / #1bdac3)
   ========================================================================== */

:root {
  --hmis-bg-dark: #142125;
  --hmis-bg-card: rgba(25, 39, 43, 0.75);
  --hmis-bg-card-hover: rgba(30, 48, 54, 0.95);
  --hmis-border: rgba(255, 255, 255, 0.08);
  --hmis-border-glow: rgba(67, 186, 255, 0.35);
  --hmis-teal: #1bdac3;
  --hmis-cyan: #43baff;
  --hmis-primary: #6da4b9;
  --hmis-text-muted: rgba(255, 255, 255, 0.7);
  --cs-stack-card-w: 320px;
  --cs-stack-card-h: 440px;
}

/* Global Section Wrapper */
.hmis-page-wrapper {
  background-color: var(--hmis-bg-dark);
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.hmis-section {
  padding: 80px 0;
  position: relative;
}

.hmis-section-alt {
  background-color: #111b1e;
}

/* Section Header Typography */
.hmis-heading-wrap {
  margin-bottom: 50px;
}

.hmis-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(27, 218, 195, 0.1);
  border: 1px solid rgba(27, 218, 195, 0.25);
  color: var(--hmis-teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hmis-section-title {
  color: #ffffff;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 18px;
}

.hmis-section-subtitle {
  color: var(--hmis-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto;
}

/* Buttons */
.hmis-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #1bdac3 0%, #43baff 100%);
  color: #0b1517 !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(27, 218, 195, 0.3);
  text-decoration: none;
}

.hmis-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(67, 186, 255, 0.45);
  color: #060c0e !important;
}

.hmis-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  text-decoration: none;
}

.hmis-btn-secondary:hover {
  background: rgba(27, 218, 195, 0.12);
  border-color: var(--hmis-teal);
  color: var(--hmis-teal) !important;
  transform: translateY(-2px);
}

.hmis-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3);
  text-decoration: none;
}

.hmis-btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hmis-hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(27, 218, 195, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(67, 186, 255, 0.06) 0%, transparent 50%),
              var(--hmis-bg-dark);
  padding: 80px 0 100px;
  overflow: hidden;
}

.hmis-hero__content-wrapper {
  max-width: 620px;
}

.hmis-hero__subheading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(27, 218, 195, 0.12);
  border: 1px solid rgba(27, 218, 195, 0.25);
  color: var(--hmis-teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hmis-hero__title {
  color: #ffffff;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 20px 0 22px;
}

.hmis-hero__title-highlight {
  background: linear-gradient(135deg, #1bdac3 0%, #43baff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hmis-hero__description {
  color: var(--hmis-text-muted);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.hmis-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hmis-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.hmis-badge-item i {
  color: var(--hmis-teal);
  font-size: 15px;
}

/* ==========================================================================
   HERO 3D CARD STACK
   ========================================================================== */
.hmis-hero__image-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}

.cs-stack-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  width: 100%;
}

.cs-stack-wrapper {
  position: relative;
  width: var(--cs-stack-card-w);
  height: var(--cs-stack-card-h);
  perspective: 1200px;
  cursor: pointer;
}

.cs-stack-card {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: #19272b;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(27, 218, 195, 0.1);
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.5s ease, 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
  height: 420px;
  padding: 12px;
  box-sizing: border-box;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform, opacity;
}

.cs-stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: #111b1e;
  pointer-events: none;
}

/* Relative position classes */
.cs-stack-pos-front {
  z-index: 10;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  opacity: 1;
  border-color: rgba(27, 218, 195, 0.45);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55), 0 0 35px rgba(27, 218, 195, 0.15);
  pointer-events: auto;
  visibility: visible;
}

.cs-stack-pos-mid {
  z-index: 8;
  transform: translate3d(16px, -16px, -20px) rotate(2.5deg) scale(0.97);
  opacity: 0.88;
  border-color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
  visibility: visible;
}

.cs-stack-pos-back {
  z-index: 6;
  transform: translate3d(32px, -32px, -40px) rotate(5deg) scale(0.94);
  opacity: 0.62;
  border-color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  visibility: visible;
}

.cs-stack-pos-deep {
  z-index: 4;
  transform: translate3d(46px, -46px, -60px) rotate(7.5deg) scale(0.91);
  opacity: 0.32;
  border-color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  visibility: visible;
}

.cs-stack-pos-hidden {
  z-index: 1;
  transform: translate3d(50px, -50px, -80px) rotate(9deg) scale(0.88);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.cs-stack-card-info {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 12px 16px;
  background: rgba(14, 25, 28, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(27, 218, 195, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 15;
  pointer-events: none;
}

.cs-stack-card-info p {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cs-stack-card-info p i {
  color: var(--hmis-teal);
  flex-shrink: 0;
}

.cs-stack-card-info .badge {
  flex-shrink: 0;
}
}

.cs-stack-exit-anim {
  z-index: 25 !important;
  pointer-events: none !important;
  visibility: visible !important;
  animation: csStackThrowOut 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes csStackThrowOut {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate3d(140%, 30px, 30px) rotate(18deg) scale(0.92);
    opacity: 0;
  }
}

/* 7 Circular Pagination Dots Centered Under Card Stack */
.cs-stack-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  z-index: 10;
  position: relative;
}

.cs-stack-dot {
  display: inline-block;
  padding: 0;
  margin: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  box-shadow: none;
}

.cs-stack-dot:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.2);
}

.cs-stack-dot.active {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.95), 0 0 10px rgba(27, 218, 195, 0.4);
  transform: none;
}

/* Hero Trust Float Badges */
.hmis-floating-badge {
  position: absolute;
  background: rgba(19, 32, 36, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(67, 186, 255, 0.3);
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  animation: hmisFloat 4s ease-in-out infinite;
}

.hmis-floating-badge-1 {
  top: 15px;
  right: -15px;
}

.hmis-floating-badge-2 {
  top: 46%;
  bottom: auto;
  left: -25px;
  animation-delay: 2s;
}

.hmis-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(27, 218, 195, 0.2), rgba(67, 186, 255, 0.2));
  color: var(--hmis-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hmis-badge-text strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
}

.hmis-badge-text span {
  font-size: 12px;
  color: var(--hmis-text-muted);
}

@keyframes hmisFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   2. TRUSTED PARTNERS / HOSPITALS SECTION
   ========================================================================== */
.hmis-partners {
  background-color: #101a1c;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 45px 0;
}

.hmis-partners-track {
  display: flex;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  position: relative;
}

.hmis-partner-item {
  flex-shrink: 0;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 75px;
  min-width: 170px;
}

.hmis-partner-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(27, 218, 195, 0.3);
  transform: translateY(-3px);
}

.hmis-partner-item img {
  max-height: 48px;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0.9) contrast(1.1);
  transition: filter 0.3s;
}

.hmis-partner-item:hover img {
  filter: brightness(1);
}

/* ==========================================================================
   3. FEATURES / WHY CHOOSE US SECTION
   ========================================================================== */
.hmis-features {
  background: var(--hmis-bg-dark);
}

.hmis-feature-card {
  background: var(--hmis-bg-card);
  border: 1px solid var(--hmis-border);
  border-radius: 16px;
  padding: 34px 28px;
  height: 100%;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.hmis-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hmis-teal), var(--hmis-cyan));
  opacity: 0;
  transition: opacity 0.3s;
}

.hmis-feature-card:hover {
  transform: translateY(-6px);
  background: var(--hmis-bg-card-hover);
  border-color: var(--hmis-border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(67, 186, 255, 0.1);
}

.hmis-feature-card:hover::before {
  opacity: 1;
}

.hmis-feature-icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(27, 218, 195, 0.15), rgba(67, 186, 255, 0.15));
  border: 1px solid rgba(27, 218, 195, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--hmis-teal);
  margin-bottom: 22px;
  transition: transform 0.3s;
}

.hmis-feature-card:hover .hmis-feature-icon {
  transform: scale(1.08) rotate(3deg);
  background: linear-gradient(135deg, var(--hmis-teal), var(--hmis-cyan));
  color: #0c181b;
}

.hmis-feature-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hmis-feature-desc {
  color: var(--hmis-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   4. STATISTICS COUNTER SECTION
   ========================================================================== */
.hmis-stats {
  background: linear-gradient(135deg, #101c20 0%, #17272b 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 70px 0;
  position: relative;
}

.hmis-stat-card {
  text-align: center;
  padding: 20px 15px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.hmis-stat-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(27, 218, 195, 0.3);
  transform: translateY(-4px);
}

.hmis-stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1bdac3 0%, #43baff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hmis-stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.hmis-stat-sublabel {
  color: var(--hmis-text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* ==========================================================================
   5. TRANSFORM WORKFLOW SECTION
   ========================================================================== */
.hmis-transform {
  background: var(--hmis-bg-dark);
}

.hmis-workflow-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.hmis-workflow-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(27, 218, 195, 0.12);
  border: 1px solid rgba(27, 218, 195, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hmis-teal);
  font-size: 1.3rem;
}

.hmis-workflow-text h5 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.hmis-workflow-text p {
  color: var(--hmis-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.hmis-preview-box {
  background: rgba(19, 32, 36, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(67, 186, 255, 0.1);
}

.hmis-preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hmis-preview-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.hmis-preview-title {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin-left: 10px;
}

.hmis-preview-img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* ==========================================================================
   6. MODULES SECTION (8 CORE MODULES)
   ========================================================================== */
.hmis-modules-section {
  background-color: #101c20;
}

.hmis-module-card {
  background: var(--hmis-bg-card);
  border: 1px solid var(--hmis-border);
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hmis-module-card:hover {
  transform: translateY(-8px);
  background: var(--hmis-bg-card-hover);
  border-color: var(--hmis-border-glow);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(27, 218, 195, 0.15);
}

.hmis-module-img-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.hmis-module-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  display: block;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hmis-module-card:hover .hmis-module-img-wrap img {
  transform: scale(1.06);
}

.hmis-module-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(25, 39, 43, 0.95) 0%,
    rgba(25, 39, 43, 0.55) 35%,
    rgba(25, 39, 43, 0.12) 70%,
    transparent 100%
  );
  transition: background 0.35s ease, opacity 0.35s ease;
  will-change: opacity;
}

.hmis-module-card:hover .hmis-module-overlay {
  background: linear-gradient(
    to top,
    rgba(30, 48, 54, 0.95) 0%,
    rgba(30, 48, 54, 0.45) 35%,
    rgba(30, 48, 54, 0.08) 70%,
    transparent 100%
  );
}

.hmis-module-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  pointer-events: none;
  background: rgba(14, 25, 28, 0.85);
  backdrop-filter: blur(8px);
  color: var(--hmis-teal);
  border: 1px solid rgba(27, 218, 195, 0.3);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 50px;
}

.hmis-module-body {
  padding: 24px 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 3;
}

.hmis-module-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--hmis-teal), var(--hmis-cyan));
  color: #091316;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-top: -46px;
  margin-bottom: 16px;
  position: relative;
  z-index: 4;
  box-shadow: 0 8px 20px rgba(27, 218, 195, 0.35);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.hmis-module-card:hover .hmis-module-icon-badge {
  transform: scale(1.1) rotate(5deg);
}

.hmis-module-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hmis-module-desc {
  color: var(--hmis-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.hmis-module-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.hmis-module-feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
}

.hmis-module-feature-list li i {
  color: var(--hmis-teal);
  font-size: 12px;
}

/* ==========================================================================
   7. SOLUTIONS & ABDM ECOSYSTEM
   ========================================================================== */
.hmis-solutions {
  background: var(--hmis-bg-dark);
}

.hmis-architecture-diagram {
  background: rgba(19, 32, 36, 0.9);
  border: 1px solid rgba(27, 218, 195, 0.2);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease;
}

.hmis-architecture-diagram:hover {
  transform: scale(1.02);
  border-color: rgba(67, 186, 255, 0.4);
}

.hmis-architecture-diagram img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.hmis-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 25px;
}

.hmis-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.hmis-check-item i {
  color: var(--hmis-teal);
  font-size: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   8. BENEFITS SECTION
   ========================================================================== */
.hmis-benefits {
  background: #101c20;
}

.hmis-benefit-card {
  padding: 18px 22px;
  background: var(--hmis-bg-card);
  border: 1px solid var(--hmis-border);
  border-radius: 14px;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}

.hmis-benefit-card:hover {
  border-color: var(--hmis-border-glow);
  transform: translateX(6px);
  background: var(--hmis-bg-card-hover);
}

.hmis-benefit-card h5 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hmis-benefit-card h5 i {
  color: var(--hmis-teal);
  font-size: 1.1rem;
}

.hmis-benefit-card p {
  color: var(--hmis-text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

/* Dashboard Mockup Display */
.hmis-dashboard-mockup-wrap {
  position: relative;
  padding: 25px 15px;
}

.hmis-dashboard-mockup-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  height: 85%;
  background: radial-gradient(circle, rgba(27, 218, 195, 0.15) 0%, rgba(67, 186, 255, 0.08) 50%, transparent 75%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.hmis-dashboard-mockup {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  background: #0d171a;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.75), 0 0 50px rgba(27, 218, 195, 0.18);
  border: 1px solid rgba(67, 186, 255, 0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hmis-dashboard-mockup:hover {
  transform: translateY(-4px);
  box-shadow: 0 45px 95px rgba(0, 0, 0, 0.85), 0 0 65px rgba(27, 218, 195, 0.28);
}

.hmis-mockup-chrome {
  background: #142226;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
}

.hmis-mockup-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.hmis-mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.hmis-mockup-dots .dot-red { background: #ff5f56; }
.hmis-mockup-dots .dot-yellow { background: #ffbd2e; }
.hmis-mockup-dots .dot-green { background: #27c93f; }

.hmis-mockup-address-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  font-family: monospace;
  max-width: 320px;
  flex-grow: 1;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hmis-mockup-address-bar i {
  color: var(--hmis-teal);
  font-size: 10px;
}

.hmis-mockup-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--hmis-teal);
  background: rgba(27, 218, 195, 0.12);
  border: 1px solid rgba(27, 218, 195, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.hmis-mockup-status-pill .pulse-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hmis-teal);
  box-shadow: 0 0 8px var(--hmis-teal);
}

.hmis-mockup-screen {
  position: relative;
  overflow: hidden;
}

.hmis-mockup-screen img {
  width: 100%;
  height: auto;
  display: block;
  background: #ffffff;
}

.hmis-mockup-footer {
  background: #142226;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 10px;
}

.hmis-mockup-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.hmis-mockup-pill-item i {
  color: var(--hmis-teal);
  font-size: 13px;
}

.hmis-mockup-badge {
  position: absolute;
  bottom: 0px;
  right: -5px;
  background: rgba(14, 25, 28, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(27, 218, 195, 0.4);
  padding: 14px 20px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
  animation: hmisFloat 4s ease-in-out infinite;
  z-index: 3;
}

.hmis-mockup-badge strong {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--hmis-teal);
  display: block;
  line-height: 1;
}

.hmis-mockup-badge span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.hmis-mockup-badge-top {
  position: absolute;
  top: 10px;
  left: 0px;
  background: rgba(14, 25, 28, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(67, 186, 255, 0.4);
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
  animation: hmisFloat 4s ease-in-out infinite;
  animation-delay: 2s;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.hmis-mockup-badge-top i {
  color: var(--hmis-cyan);
  font-size: 1.4rem;
}

.hmis-mockup-badge-top strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.hmis-mockup-badge-top span {
  font-size: 11px;
  color: var(--hmis-text-muted);
}

/* ==========================================================================
   9. IMPLEMENTATION TIMELINE / ROADMAP
   ========================================================================== */
.hmis-timeline {
  background: var(--hmis-bg-dark);
}

.hmis-timeline-card {
  background: var(--hmis-bg-card);
  border: 1px solid var(--hmis-border);
  border-radius: 18px;
  padding: 34px 24px;
  text-align: center;
  height: 100%;
  transition: all 0.35s ease;
  position: relative;
}

.hmis-timeline-card:hover {
  transform: translateY(-6px);
  background: var(--hmis-bg-card-hover);
  border-color: var(--hmis-border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.hmis-timeline-step-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hmis-teal), var(--hmis-cyan));
  color: #0b1517;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(27, 218, 195, 0.35);
}

.hmis-timeline-card-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hmis-timeline-card-text {
  color: var(--hmis-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   10. TESTIMONIALS SECTION
   ========================================================================== */
.hmis-testimonials {
  background: #101c20;
}

.hmis-testimonial-slider {
  padding-bottom: 50px;
}

.hmis-testimonial-card {
  background: var(--hmis-bg-card);
  border: 1px solid var(--hmis-border);
  border-radius: 20px;
  padding: 36px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  position: relative;
}

.hmis-testimonial-card:hover {
  border-color: var(--hmis-border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.hmis-quote-icon {
  font-size: 2.5rem;
  color: var(--hmis-teal);
  opacity: 0.6;
  margin-bottom: 15px;
}

.hmis-quote-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 25px;
  flex-grow: 1;
}

.hmis-client-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

.hmis-avatar-box {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hmis-client-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid var(--hmis-teal);
  background: #ffffff;
  padding: 4px;
  display: block;
  box-shadow: 0 4px 14px rgba(27, 218, 195, 0.25);
}

.hmis-client-avatar-initials {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(27, 218, 195, 0.35), rgba(67, 186, 255, 0.45));
  border: 2px solid var(--hmis-teal);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(27, 218, 195, 0.25);
}

.hmis-client-info h5 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 3px;
}

.hmis-client-info span {
  color: var(--hmis-teal);
  font-size: 0.85rem;
}

/* ==========================================================================
   11. FAQ ACCORDION SECTION
   ========================================================================== */
.hmis-faq {
  background: var(--hmis-bg-dark);
}

.hmis-faq-container {
  max-width: 880px;
  margin: 0 auto;
}

.hmis-faq-item {
  background: var(--hmis-bg-card);
  border: 1px solid var(--hmis-border);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.hmis-faq-item.active,
.hmis-faq-item[open] {
  border-color: var(--hmis-border-glow);
  background: var(--hmis-bg-card-hover);
}

.hmis-faq-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  transition: color 0.3s;
}

.hmis-faq-header:hover {
  color: var(--hmis-teal);
}

.hmis-faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--hmis-teal);
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.hmis-faq-item.active .hmis-faq-toggle-icon,
.hmis-faq-item[open] .hmis-faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--hmis-teal);
  color: #0b1517;
}

.hmis-faq-body {
  padding: 0 24px 22px;
  color: var(--hmis-text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ==========================================================================
   12. CALL TO ACTION BANNER (BOTTOM)
   ========================================================================== */
.hmis-cta-banner {
  background: radial-gradient(circle at 50% 50%, rgba(27, 218, 195, 0.15) 0%, transparent 70%),
              #0c1518;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 85px 0;
  text-align: center;
  position: relative;
}

.hmis-cta-banner-content {
  max-width: 800px;
  margin: 0 auto;
}

.hmis-cta-banner h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
}

.hmis-cta-banner p {
  font-size: 1.1rem;
  color: var(--hmis-text-muted);
  line-height: 1.7;
  margin-bottom: 35px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
  .hmis-hero__title {
    font-size: 2.8rem;
  }
  .hmis-section-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 991px) {
  .hmis-hero {
    padding: 60px 0 80px;
  }
  .hmis-hero__content-wrapper {
    max-width: 100%;
    text-align: center;
    margin-bottom: 50px;
  }
  .hmis-hero__badges {
    justify-content: center;
  }
  .hmis-hero__cta-group {
    justify-content: center;
  }
  .hmis-checklist-grid {
    grid-template-columns: 1fr;
  }
  .hmis-floating-badge {
    position: static;
    margin-top: 20px;
  }
  .hmis-section {
    padding: 60px 0;
  }
  .hmis-hero__title {
    font-size: 2.4rem;
  }
  .hmis-section-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 767px) {
  .hmis-hero__title {
    font-size: 2rem;
  }
  .hmis-section-title {
    font-size: 1.8rem;
  }
  .hmis-stat-number {
    font-size: 2.5rem;
  }
  .cs-stack-wrapper {
    width: 280px;
    height: 380px;
  }
  .cs-stack-card {
    height: 370px;
  }
  .hmis-hero__cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hmis-btn-primary, .hmis-btn-secondary, .hmis-btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
}
