/* ====== GENERAL/BODY STYLES ====== */
html, body {
  overflow-x: hidden;
  width: 100%;
  margin: 0 !important;
    padding: 0 !important;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background: #F8F9FA;
  color: #1e2833;
  overflow-x: hidden;
}

/* Main links */
.navbar-toggler {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.navbar-brand img {
  height: 32px;
  margin-right: 8px;
}
.nav-brand-name {
  font-size: 16px;
  color: #0272cb;
  font-weight: 600;
  margin-left: 8px;
  padding-bottom: 8px;
  white-space: nowrap;
}

/* Custom Hamburger Icon */
.navbar-toggler .bi-list {
  color: #647CFF;
  transition: color 0.16s;
}
.navbar-toggler:active .bi-list,
.navbar-toggler:focus .bi-list {
  color: #0015ff;
}

/* Center nav and gap on desktop */
@media (min-width: 992px) {
  .navbar-nav {
    justify-content: center;
    width: 100%;
    gap: 24px;
  }
  .navbar-collapse {
    justify-content: center;
  }
}
@media (max-width:991px) {
  .navbar-nav {
    gap: 0;
  }
  .demo-btn { width: 100%; margin-top: 1rem; }
}

/* Nav link styling */
.navbar-nav .nav-link {
  padding-right: 1rem;
  color: #333;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link.active, .nav-link:active {
  color: #0272cb !important;   /* Use your brand blue */
  font-weight: bold;
}

/* Dropdown styling */
.dropdown-menu {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(100,124,255,0.07);
  border: 1px solid #e5e5e5;
  min-width: 230px;
}
.dropdown-item {
  font-size: 0.98rem;
  transition: background 0.1s, color 0.2s;
}
.dropdown-item:hover {
  background: #647CFF;
  color: #fff;
}

/* CTA Button */
.demo-btn {
  white-space: nowrap;
  background: #ff8800;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  padding: 0.7rem 2.1rem;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 6px rgba(255,136,0,0.14);
  letter-spacing: 0.01em;
  display: inline-block;
  vertical-align: middle;
}
.demo-btn:hover, .demo-btn:focus {
  background: #ff7100;
  color: #fff;
  box-shadow: 0 2px 10px rgba(255,136,0,0.18);
}

.navbar {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

@media (max-width:700px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 14px;
  }
}

.nav-links ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

    .navbar-brand img {
      height: 32px;
      margin-right: 8px;
    }
    .btn-primary {
      background: #647CFF;
      border-radius: 32px;
      font-weight: 600;
      border:none;
    }
    .btn-primary:hover {
      background: #57C54C;
      color: #fff;
    }
    @media (max-width: 991px) {
      .btn-primary { width: 100%; margin-top: 1rem; }
    }
    /* Custom menu spacing */
    .navbar-nav .nav-link {
      padding-right: 1rem;
    }
    /* Center nav and set gap on desktop */
@media (min-width: 992px) {
  .navbar-nav {
    justify-content: center;
    width: 100%;
    gap: 24px;
  }
  .navbar-collapse {
    justify-content: center;
  }
}
@media (max-width:991px) {
  .navbar-nav {
    gap: 0;
  }
}
.demo-btn {
  white-space: nowrap;
  background: #ff8800;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
text-decoration: none;
  padding: 0.7rem 2.1rem;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 6px rgba(255,136,0,0.14);
  letter-spacing: 0.01em;
  display: inline-block; /* Prevent block wrapping */
  vertical-align: middle;
}
.demo-btn:hover, .demo-btn:focus {
  background: #ff7100;
  color: #fff;
  box-shadow: 0 2px 10px rgba(255,136,0,0.18);
}

/* Banner Card */
.hmis-banner-card {
    margin: 100px auto 34px auto;
    background: #fff;
    border: 1.5px solid #e6e6e6;
    border-radius: 12px;
    padding: 38px 32px 24px 32px;
    max-width: 95%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    box-sizing: border-box;
}
.hmis-banner-content {
    flex: 1 1 0;
    min-width: 260px;
}
.hmis-banner-content h1 {
    font-size: 2rem;
    color: #1276c1;
    font-weight: bold;
    margin-bottom: 4px;
}

.hmis-banner-subdesc {
    color: #4f4f4f;
    margin-bottom: 22px;
    font-size: 1rem;
    font-weight: 400;
}

.hmis-banner-img{
    width: 300px;
    height: 300px;
}
.hmis-products-heading {
  color: #1283d8;
  font-size: 1.22rem;
  font-weight: 700;
  margin-top: 30px;
  margin-left: 85px;
  margin-right: 85px;
  margin-bottom: 34px;
}
.hmis-products {
  margin-bottom: 40px;

}
.hmis-product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-left: 85px;
  margin-right: 85px;
}

.hmis-description {
    margin-left: 85px;
    margin-right: 85px;
    margin-bottom: 24px;
}

.hmis-product {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(36, 72, 97, 0.06);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 95px;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 500;
}
.hmis-product img {
  height: 32px;
  margin-bottom: 8px;
}

@media (max-width: 700px) {
  .hmis-product-grid {
    grid-template-columns: 1fr 1fr !important; /* Two columns on mobile */
    gap: 10px;
  }
  .hmis-banner-card{
     display: flex;
    flex-direction: column;
  }
}
.footer-before {
  margin: 28px 0 0 0;
  background: #0065A8;
  color: #fff;
  border-radius: 7px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 24px;
  font-size: 1rem;
  font-weight: 500;
  box-sizing: border-box;
  margin-left: 85px;
  margin-right: 85px;
  margin-bottom: 48px;
}

/* Responsive: on small screens, stack vertically */
@media (max-width: 700px) {
  .footer-before {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    margin-left: 20px;
    margin-right: 20px;
  }

.hmis-description{
  margin-right: 20px;
  margin-left: 20px;
}

.hmis-product-grid{
    margin-left: 20px;
    margin-right: 20px;
}

}

.features-benefits {
  background: #fff;
  width: 100%;                      /* Use % not vw to fit parent/container */
  max-width: 100%;
  margin: 38px auto;
  padding: 32px 44px 24px 44px;     /* Add left/right padding for desktop */
  box-sizing: border-box;
  border-radius: 7px;
  box-shadow: 0 2px 7px rgba(0,0,0,0.07);
}

.fb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 42px;
}

.fb-col h3 {
  color: #1869ea;
  font-size: 1.20rem;
  font-weight: bold;
  margin-bottom: 14px;
}

.fb-col ul {
  list-style: disc inside;
  margin: 0;
  padding: 0;
}

.fb-col li {
  font-size: 1rem;
  color: #232323;
  margin-bottom: 11px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .features-benefits {
    padding: 18px 12vw;             /* More breathing room on tablets/small screens */
  }
  .fb-grid {
    grid-template-columns: 1fr;
    gap: 24px 0;
  }
}

@media (max-width: 570px) {
  .features-benefits {
    padding: 10px 3vw;              /* Small padding for very small devices */
  }
  .fb-col h3,
  .key-benefits h3 {
    font-size: 1.09rem;
  }
  .benefit-point {
    font-size: 1rem;
    gap: 10px;
  }
}

.key-benefits h3 {
  color: #1869ea;
  font-size: 1.30rem;
  font-weight: bold;
  margin-bottom: 14px;
}

.benefit-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 1.09rem;
  color: #202
}

.custom-app-highlight {
  margin: 28px 0 0 0;
  background: #0065A8;
  color: #fff;
  border-radius: 7px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 24px;
  font-size: 1rem;
  font-weight: 500;
  box-sizing: border-box;
  margin-left: 85px;
  margin-right: 85px;
  margin-bottom: 48px;
}

/* Responsive: on small screens, stack vertically */
@media (max-width: 700px) {
  .custom-app-highlight {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 22px;
  }
}

/* ========== FOOTER ============ */
.footer-new {
  background: linear-gradient(180deg, #3A5F79 0%, #233441 100%);
  font-size: 15px;
  padding: 0;
  margin: 0;
  border: none;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}

/* Layout main row */
.footer-new-main {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 34px 26px 10px 26px;
  justify-content: space-between;
  align-items: flex-start;
}

/* Brand, left column */
.footer-brand {
  min-width: 240px;
  flex: 1.7 1 300px;
  margin-right: 44px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo-img {
  height: 36px;
  width: auto;
  vertical-align: middle;
}
.footer-brand-name {
  font-size: 2.1rem;
  color: #b8dafd;
  font-weight: bold;
  letter-spacing: 0.03em;
}
.footer-brand-desc {
  font-size: 1.09rem;
  color: #e6f8ff;
  margin: 14px 0 2px 0;
  line-height: 1.6;
}
.footer-contact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.09rem;
  color: #fff;
  font-weight: 500;
}
.footer-contact-item svg { flex-shrink: 0; }

/* Footer links */
.footer-links-row {
  display: flex;
  flex: 4 1 0%;
  gap: 44px;
  justify-content: flex-start;
  align-items: flex-start;
  width: auto;
}
.footer-links-col {
  min-width: 150px;
  flex: 1 1 0;
}
.footer-links-col h4 {
  color: #fff;
  font-size: 1.13rem;
  font-weight: bold;
  margin-bottom: 16px;
}
.footer-links-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links-col ul li {
  margin-bottom: 8px;
}
.footer-links-col ul li a {
  color: #d7e8f7;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
.footer-links-col ul li a:hover {
  color: #ff7700;
  text-decoration: underline;
}

/* Divider line */
.footer-divider {
  width: 100vw;
  height: 1.5px;
  background: #959595;
  margin-top: 16px;
  border: none;
  display: block;
  position: relative;
}

/* Address bar */
.footer-addresses-row {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  padding: 30px 0;
  background: transparent;
}
.footer-address-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-width: 180px;
  max-width: 300px;
  margin: 0 22px;
  font-size: 1rem;
}
.footer-address-title {
  color: #ff7700;
  font-weight: bold;
  font-size: 1.06rem;
  margin-bottom: 2px;
}
.footer-address-info {
  color: #fff;
  line-height: 1.5;
  font-size: 0.97rem;
}
.footer-address-divider {
  display: inline-block;
  height: 90px;
  width: 1.7px;
  background: #f9f9f9;
  margin: 0 24px;
  align-self: center;
  border-radius: 2px;
}

/* Footer bar bottom */
.footer-new-bar {
  width: 100%;
  background: none;
  color: #d7e8f7;
  font-size: 15px;
  padding: 18px 0 10px 0;
  letter-spacing: 0.01em;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
    gap: 4px;
}
.footer-brand-highlight {
  color: #ff7700;
  font-weight: bold;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1100px) {
  .footer-new-main {
    flex-direction: column;
    gap: 24px;
    padding: 34px 20px 0 20px;
    align-items: flex-start;
  }
  .footer-brand {
    margin-right: 0;
  }
  .footer-links-row {
    flex-direction: column;
    gap: 22px;
    width: 100%;
    margin-top: 20px;
  }
}
@media (max-width: 800px) {
  .footer-brand-name { font-size: 1.25rem; }
  .footer-new-main { padding: 22px 0 0 0; }
  .footer-links-col h4 { font-size: 15px; margin-bottom: 10px; }
  .footer-address-title { font-size: 1rem; }
  .footer-address-info { font-size: 0.97rem; }
  .footer-brand-desc { font-size: 0.94rem; }
  .footer-new-bar { font-size: 15px; }
}
@media (max-width: 700px) {
  .footer-new {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .footer-new-main {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 16px 0 0 0 !important;
    padding-bottom: 0 !important;
  }
  .footer-brand {
    margin-bottom: 0 !important;
    padding-bottom: 24px !important;
    flex: initial !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .footer-links-row {
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    margin-top: 0 !important;
  }
  .footer-addresses-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 17px !important;
    padding: 18px 0 8px 0 !important;
  }
  .footer-address-divider {
    display: none !important;
  }
  .footer-address-block {
    margin: 5px 0 !important;
    max-width: 95vw !important;
  }
}
