/* === Bhoomi Infosolutions — modern UI overlay ===
   Loaded after Bootstrap + the inline scoped styles, so plain-class selectors
   here override the [_ngcontent-*]-scoped variants by cascade order. */


:root {
  --bi-primary: #73b800;
  --bi-primary-dark: #5a9300;
  --bi-primary-soft: #f0f7e2;
  --bi-navy: #1e3a5f;
  --bi-navy-dark: #0f172a;
  --bi-navy-soft: #e2e8f0;
  --bi-red: #e74c3c;
  --bi-red-dark: #c0392b;
  --bi-text: #1a202c;
  --bi-muted: #64748b;
  --bi-light: #f8f9fc;
  --bi-dark: #0f172a;
  --bi-border: #e2e8f0;
  --bi-radius: 14px;
  --bi-shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --bi-shadow-md: 0 4px 16px rgba(15, 23, 42, .08);
  --bi-shadow-lg: 0 12px 32px rgba(15, 23, 42, .12);
  --bi-transition: all .25s ease;
}

/* ---------- Base typography ---------- */
body {
  font-family: 'Plus Jakarta Sans', 'Lato', system-ui, -apple-system, sans-serif !important;
  color: var(--bi-text);
  font-size: 16px;
  line-height: 1.65;
  background: #fff;
  padding-top: 80px !important;
}

/* Custom Angular elements default to display:inline, which leaves whitespace
   gaps between them in the body (visible as a thin strip below the fixed
   navbar). Force them to behave like blocks. */
app-root,
app-menu,
app-footer,
app-home,
app-about-us-widget,
app-product-widget,
app-contactus,
router-outlet,
ng-component {
  display: block;
}
router-outlet { display: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--bi-text);
  letter-spacing: -.015em;
  font-weight: 700;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
@media (max-width: 768px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
}
p { color: var(--bi-text); }
img { max-width: 100%; height: auto; }
html { scroll-behavior: smooth; }

/* ---------- Navbar ---------- */
.navbar.navbar-light.bg-light {
  background: linear-gradient(135deg, var(--bi-navy) 0%, var(--bi-navy-dark) 100%) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, .25), 0 2px 4px rgba(0, 0, 0, .08);
  padding: .75rem 2rem;
  border: 0;
}
.navbar.navbar-light.bg-light::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bi-navy) 0%, var(--bi-primary) 50%, var(--bi-navy) 100%);
  background-size: 200% 100%;
  animation: bi-navbar-shimmer 6s linear infinite;
  pointer-events: none;
}
@keyframes bi-navbar-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.navbar .navbar-brand {
  background: #fff;
  padding: 6px 14px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  margin-right: 1rem;
  transition: var(--bi-transition);
}
.navbar .navbar-brand:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
  transform: translateY(-1px);
}
.navbar .navbar-brand img {
  height: 40px;
  width: auto;
  display: block;
}
.navbar .nav-link {
  color: #fff !important;
  font-weight: 600;
  padding: .5rem 1.1rem !important;
  border-radius: 8px;
  transition: var(--bi-transition);
}
.navbar .nav-link:hover {
  color: var(--bi-navy-dark) !important;
  background-color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.navbar .nav-link.call-for-demo {
  background-color: var(--bi-primary) !important;
  color: #fff !important;
  white-space: nowrap;
}
.navbar .nav-link.call-for-demo:hover {
  background-color: var(--bi-primary-dark) !important;
  color: #fff !important;
}
.navbar .dropdown-toggle::after { margin-left: .35em; }
.navbar .dropdown-menu {
  border: 0;
  border-radius: var(--bi-radius);
  box-shadow: var(--bi-shadow-lg);
  padding: .5rem;
  margin-top: .5rem;
  min-width: 280px;
}
.navbar .dropdown-item {
  border-radius: 8px;
  padding: .6rem 1rem;
  color: var(--bi-text);
  transition: var(--bi-transition);
  font-weight: 500;
  white-space: normal;
}
.navbar .dropdown-item:hover {
  background-color: var(--bi-primary-soft);
  color: var(--bi-primary-dark);
}
.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}
.custom-toggler {
  border: 1px solid rgba(255, 255, 255, .4) !important;
  border-radius: 8px;
  padding: .35rem .6rem !important;
}

/* ---------- Section widgets ---------- */
.widget {
  padding: 5rem 1rem !important;
}
.widget.aboutus-widget {
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%) !important;
  color: var(--bi-text) !important;
}
.widget.product-widget {
  background: #fff !important;
  color: var(--bi-text) !important;
}
.widget.contactus-widget {
  background: var(--bi-light) !important;
  color: var(--bi-text) !important;
}
.widget > .row { max-width: 1200px; margin: 0 auto !important; justify-content: center; }
.widget .header { margin-bottom: 3rem; }
.widget .header h1,
.widget .header h2 {
  text-align: center;
  font-size: 2.5rem;
  margin: 0;
  position: relative;
  padding-bottom: 1rem;
}
.widget .header h1::after,
.widget .header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--bi-primary);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* About-us widget on home */
.widget.aboutus-widget .companyheader h1 {
  text-align: left;
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0;
}
.widget.aboutus-widget .companyheader h1::after { display: none; }
.widget.aboutus-widget .companyheader h2 { font-size: 2.25rem; margin-bottom: 1.5rem; }
.widget.aboutus-widget p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--bi-text);
}
.widget.aboutus-widget .emphasis {
  color: var(--bi-primary-dark);
  font-weight: 600;
}
.widget.aboutus-widget img {
  max-width: 100%;
  height: auto;
  border-radius: var(--bi-radius);
  box-shadow: var(--bi-shadow-md);
}
.widget.aboutus-widget a > img { transition: var(--bi-transition); }
.widget.aboutus-widget a:hover > img { transform: scale(1.02); box-shadow: var(--bi-shadow-lg); }
.widget.aboutus-widget .align-center { text-align: left; margin-top: 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  border-radius: 8px !important;
  font-weight: 600;
  padding: .65rem 1.5rem !important;
  transition: var(--bi-transition) !important;
  border: 0 !important;
  cursor: pointer;
}
.widget.aboutus-widget .btn,
.btn.btn-primary {
  background-color: var(--bi-primary) !important;
  color: #fff !important;
}
.widget.aboutus-widget .btn:hover,
.btn.btn-primary:hover {
  background-color: var(--bi-primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--bi-shadow-md);
  color: #fff !important;
}
.btn.btn-form,
.btn.btn-secondary {
  background-color: var(--bi-primary) !important;
  color: #fff !important;
  padding: .9rem 2rem !important;
  font-size: 1rem !important;
  letter-spacing: .02em;
  width: auto;
}
.btn.btn-form:hover,
.btn.btn-secondary:hover {
  background-color: var(--bi-primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--bi-shadow-md);
  color: #fff !important;
}

/* ---------- Product cards ---------- */
.product-widget .row { margin-bottom: 0; }
.productCard {
  border: 0 !important;
  border-radius: var(--bi-radius) !important;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--bi-shadow-sm);
  transition: var(--bi-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.75rem;
}
.productCard:hover {
  transform: translateY(-4px);
  box-shadow: var(--bi-shadow-lg);
}
.productCard .card-img-top {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  display: block;
}
.productCard .card-body {
  padding: 1.5rem !important;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.productCard .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bi-text);
  margin-bottom: .75rem;
}
.productCard .card-text {
  font-size: .95rem;
  color: var(--bi-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}
.productCard .btn { align-self: flex-start; }

/* ---------- Contact widget ---------- */
.widget.contactus-widget iframe {
  width: 100% !important;
  height: 360px !important;
  border-radius: var(--bi-radius);
  box-shadow: var(--bi-shadow-md);
  border: 0 !important;
}
.widget.contactus-widget h4 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.widget.contactus-widget .form-control {
  border: 1px solid var(--bi-border) !important;
  border-radius: 8px !important;
  padding: .85rem 1rem !important;
  font-size: 1rem !important;
  margin-bottom: 1rem;
  background: #fff;
  transition: var(--bi-transition);
  height: auto;
}
.widget.contactus-widget .form-control:focus {
  border-color: var(--bi-primary) !important;
  box-shadow: 0 0 0 3px var(--bi-primary-soft) !important;
  outline: 0;
}
.widget.contactus-widget textarea.form-control { min-height: 130px; }
.widget.contactus-widget .form-group { margin-bottom: .5rem; }

/* ---------- Footer ---------- */
.footer {
  background-color: var(--bi-dark) !important;
  color: #cbd5e1 !important;
  padding: 4rem 1rem 2rem !important;
}
.footer > .row { max-width: 1200px; margin: 0 auto !important; }
.footer .heading {
  color: #fff !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1.5rem !important;
  padding-bottom: .75rem !important;
  position: relative;
}
.footer .heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--bi-primary);
  border-radius: 2px;
}
.footer p {
  color: #94a3b8 !important;
  font-size: .92rem;
  line-height: 1.75;
}
.footer a {
  color: #cbd5e1 !important;
  font-weight: 500 !important;
  font-size: .92rem;
  display: block;
  width: fit-content;
  padding: .25rem 0;
  transition: var(--bi-transition);
  text-decoration: none !important;
}
.footer a:hover {
  color: var(--bi-primary) !important;
  transform: translateX(2px);
}
.footer br { display: none; }
.footer .social_icon {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .5rem;
}
.footer .social_icon a {
  width: 42px;
  height: 42px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #334155;
  background: transparent;
  transition: var(--bi-transition);
  padding: 0 !important;
  transform: none;
}
.footer .social_icon a:hover {
  background: var(--bi-primary);
  border-color: var(--bi-primary);
  transform: translateY(-2px);
}
.footer .social_icon a fa-icon {
  font-size: 16px !important;
  color: #fff !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}
.footer .social_icon a fa-icon svg { width: 18px; height: 18px; }

/* ---------- Inner pages (about, careers, contact, products/*, privacy) ---------- */
.page {
  padding: 0 0 4rem !important;
}
/* Kill the original .page .header rule from styles.cb*.css which forces
   background:#000 + color:#fff on the col, making our H1 invisible and
   trapping the hero image inside a black box. */
.page .header,
.page > .row > .col-md-12.header {
  background-color: transparent !important;
  color: var(--bi-text) !important;
  padding: 0 !important;
  max-width: 100%;
}

/* Heading row: clean light gradient banner with the H1 centered. */
.page > .row:first-of-type {
  background: linear-gradient(135deg, var(--bi-primary-soft) 0%, #e8f5d0 100%);
  margin: 0 0 3rem !important;
  padding: 3rem 0 0 !important;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page > .row:first-of-type h1 {
  margin: 0;
  padding: 0 1rem 1.25rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bi-text) !important;
  position: relative;
}
.page > .row:first-of-type h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--bi-primary);
  margin: 1.25rem auto 0;
  border-radius: 2px;
}

/* Hero image: short full-width banner sitting flush below the heading. */
.page-hero-image {
  display: block;
  width: 100%;
  height: 220px;
  margin: 2rem 0 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: hidden;
}
.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
@media (max-width: 768px) {
  .page > .row:first-of-type { padding-top: 2rem !important; }
  .page > .row:first-of-type h1 { font-size: 1.75rem; }
  .page-hero-image { height: 150px; margin-top: 1.5rem; }
}
.page > .row:not(:first-of-type) {
  max-width: 1100px;
  margin: 0 auto !important;
  padding: 0 1rem;
}
.page .content { padding: 0; }
.page h2, .page h3, .page h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--bi-text);
}
.page h2 { font-size: 1.875rem; }
.page h3 { font-size: 1.375rem; color: var(--bi-primary-dark); }
.page p, .page li {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--bi-text);
}
.page ul, .page ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.page img {
  max-width: 100%;
  height: auto;
  border-radius: var(--bi-radius);
  box-shadow: var(--bi-shadow-sm);
  margin: 1rem 0;
}
.page a { color: var(--bi-primary-dark); font-weight: 600; }
.page a:hover { color: var(--bi-primary); text-decoration: underline; }

/* Product/module cards reused inside inner pages: undo .page img margin
   and the underline-on-hover that would otherwise leak into the button. */
.page .productCard .card-img-top {
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.page .productCard .btn,
.page .productCard .btn:hover { text-decoration: none !important; color: #fff !important; }
.page .module-cards { margin-top: 1rem; }
.page .module-cards .productCard { margin-bottom: 0; }

/* ---------- BhoomiHMS page: stats / modules grid / feature cards / CTA ---------- */
.hp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 2rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, var(--bi-primary-soft) 0%, #e8f5d0 100%);
  border-radius: var(--bi-radius);
  box-shadow: var(--bi-shadow-sm);
}
.hp-stat { text-align: center; padding: 0 .5rem; }
.hp-stat-num {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--bi-primary-dark);
  line-height: 1;
  letter-spacing: -.02em;
}
.hp-stat-num span { font-size: 1.5rem; vertical-align: top; margin-left: 2px; }
.hp-stat-label {
  font-size: .9rem;
  color: var(--bi-text);
  margin-top: .6rem;
  font-weight: 600;
  line-height: 1.45;
}
@media (max-width: 768px) {
  .hp-stats { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; padding: 1.5rem 1rem; }
  .hp-stat-num { font-size: 2.25rem; }
}

.hp-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin: 1.5rem 0 2.5rem;
}
.hp-module-chip {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1rem;
  background: #fff;
  border: 1px solid var(--bi-border);
  border-radius: 10px;
  transition: var(--bi-transition);
  font-size: .95rem;
  font-weight: 500;
  color: var(--bi-text);
}
.hp-module-chip:hover {
  border-color: var(--bi-primary);
  box-shadow: var(--bi-shadow-sm);
  transform: translateY(-1px);
}
.hp-module-chip svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--bi-primary);
}
@media (max-width: 992px) { .hp-modules-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .hp-modules-grid { grid-template-columns: repeat(2, 1fr); } }

.hp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.hp-feature {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--bi-radius);
  box-shadow: var(--bi-shadow-sm);
  border: 1px solid var(--bi-border);
  transition: var(--bi-transition);
}
.hp-feature:hover {
  box-shadow: var(--bi-shadow-md);
  transform: translateY(-2px);
  border-color: var(--bi-primary);
}
.hp-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bi-primary-soft);
  color: var(--bi-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.hp-feature-icon svg { width: 28px; height: 28px; }
.hp-feature h3 {
  font-size: 1.2rem;
  margin: 0 0 .75rem;
  color: var(--bi-text);
}
.hp-feature p {
  font-size: .98rem;
  line-height: 1.7;
  color: var(--bi-muted);
  margin: 0;
}
@media (max-width: 768px) { .hp-features-grid { grid-template-columns: 1fr; } }

/* ---------- BhoomiHR page: module cards ---------- */
.hp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
  margin: 1.5rem 0 2.5rem;
}
.hp-card {
  background: #fff;
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius);
  padding: 1.5rem;
  box-shadow: var(--bi-shadow-sm);
  transition: var(--bi-transition);
}
.hp-card:hover {
  box-shadow: var(--bi-shadow-md);
  transform: translateY(-3px);
  border-color: var(--bi-primary);
}
.hp-card-head {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.1rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--bi-border);
}
.hp-card-ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bi-primary-soft);
  color: var(--bi-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-card-ico svg { width: 22px; height: 22px; }
.page .hp-card h3 {
  margin: 0 !important;
  font-size: 1.15rem;
  color: var(--bi-text);
}
.page .hp-card > p {
  color: var(--bi-muted);
  font-size: .95rem;
  line-height: 1.6;
  margin: 0 0 .9rem;
}
.hp-card ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}
.page .hp-card li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .6rem;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--bi-text);
}
.page .hp-card li:last-child { margin-bottom: 0; }
.hp-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .18rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bi-primary) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
@media (max-width: 992px) { .hp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hp-cards { grid-template-columns: 1fr; } }

.hp-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #fff;
  padding: 2.25rem 2.5rem;
  border-radius: var(--bi-radius);
  margin: 3rem 0 2rem;
  box-shadow: var(--bi-shadow-md);
}
.page .hp-cta-banner h3 {
  color: #fff !important;
  margin: 0 0 .35rem;
  font-size: 1.5rem;
}
.page .hp-cta-banner p {
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 1.02rem;
  line-height: 1.5;
}
.page .hp-cta-banner .btn-cta {
  background: var(--bi-primary);
  color: #fff !important;
  padding: .85rem 2rem;
  font-weight: 700;
  border-radius: 10px;
  white-space: nowrap;
  font-size: 1rem;
  flex-shrink: 0;
  text-decoration: none !important;
  transition: var(--bi-transition);
  display: inline-block;
}
.page .hp-cta-banner .btn-cta:hover {
  background: #fff;
  color: var(--bi-primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: var(--bi-shadow-md);
}
@media (max-width: 768px) {
  .hp-cta-banner { flex-direction: column; align-items: flex-start; padding: 1.75rem; }
  .page .hp-cta-banner h3 { font-size: 1.25rem; }
}

/* The contact page reuses the inner-page layout but also embeds a map + form */
.page.contactus iframe {
  width: 100% !important;
  border-radius: var(--bi-radius);
  box-shadow: var(--bi-shadow-md);
  border: 0 !important;
}
.page.contactus .form-control {
  border: 1px solid var(--bi-border) !important;
  border-radius: 8px !important;
  padding: .85rem 1rem !important;
  font-size: 1rem !important;
  margin-bottom: 1rem;
  background: #fff;
  transition: var(--bi-transition);
  height: auto;
}
.page.contactus .form-control:focus {
  border-color: var(--bi-primary) !important;
  box-shadow: 0 0 0 3px var(--bi-primary-soft) !important;
  outline: 0;
}

/* Hide empty col-md-1 spacers — modern grid handles centering with max-width */
@media (min-width: 768px) {
  .widget > .row > .col-md-1:empty,
  .page > .row > .col-md-1:empty,
  .footer > .row > .col-md-1:empty,
  .widget .row .col-md-1:empty,
  .page .row .col-md-1:empty {
    display: none !important;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
  body { padding-top: 70px !important; }
  .navbar { padding: .5rem 1rem; }
  .navbar .navbar-brand img { height: 40px; }
  .navbar-collapse {
    background: #fff;
    padding: 1rem;
    border-radius: var(--bi-radius);
    box-shadow: var(--bi-shadow-md);
    margin-top: .75rem;
  }
  .navbar .nav-link {
    padding: .75rem 1rem !important;
    color: var(--bi-text) !important;
  }
  .navbar .nav-link:hover {
    background-color: var(--bi-navy-soft);
    color: var(--bi-navy-dark) !important;
    transform: none;
    box-shadow: none;
  }
  .navbar .dropdown-menu {
    box-shadow: none;
    padding: 0 0 0 1rem;
    min-width: auto;
  }
  .widget { padding: 3rem 1rem !important; }
  .widget .header { margin-bottom: 2rem; }
  .widget .header h1 { font-size: 1.875rem; }
  .widget.aboutus-widget .companyheader h1 { font-size: 1.75rem; }
  .widget.contactus-widget iframe { height: 280px !important; }
  .footer { padding: 3rem 1rem 1.5rem !important; }
  .footer .col-md-4, .footer .col-md-3 { margin-bottom: 2rem; }
}

/* Container utility tweaks */
.container-fluid.widget,
.container-fluid.page {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* =========================================================
   Credit Society product landing page (modern SaaS blend)
   ========================================================= */

/* ---- Hero (inside .page > .row:first-of-type) ---- */
.credit-society .header .cs-breadcrumb {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bi-primary-dark);
  margin-bottom: 1rem;
}
.credit-society .header .cs-hero-sub {
  max-width: 760px;
  margin: 0 auto 1.75rem;
  padding: 0 1rem;
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--bi-text);
}
.cs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: center;
  margin: 0 0 .5rem;
}
.cs-btn-primary,
.cs-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .9rem 1.9rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  transition: var(--bi-transition);
}
.cs-btn-primary {
  background: var(--bi-primary);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(115, 184, 0, .35);
}
.cs-btn-primary:hover {
  background: var(--bi-primary-dark);
  color: #fff !important;
  transform: translateY(-2px);
}
.cs-btn-ghost {
  background: #fff;
  color: var(--bi-navy-dark) !important;
  border: 2px solid var(--bi-navy-soft);
}
.cs-btn-ghost:hover {
  border-color: var(--bi-navy);
  color: var(--bi-navy) !important;
  transform: translateY(-2px);
}

/* ---- Section heads & eyebrows ---- */
.cs-section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.75rem;
}
.cs-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--bi-primary-dark);
  background: var(--bi-primary-soft);
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.page .cs-section-head h2 { margin: 0 0 .85rem; font-size: 2rem; text-align: center; }
.cs-section-head p { color: var(--bi-muted); font-size: 1.08rem; margin: 0; }

/* ---- Alternating feature rows ---- */
.cs-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 2.5rem 0;
}
.cs-feature-row.reverse .cs-feature-media { order: 2; }
.cs-feature-media {
  border-radius: 18px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bi-primary-soft) 0%, #e8f5d0 100%);
}
.cs-feature-media.blue {
  background: linear-gradient(135deg, var(--bi-navy-soft) 0%, #cbd5e1 100%);
}
.cs-feature-media svg {
  width: 116px;
  height: 116px;
  color: var(--bi-primary-dark);
  opacity: .92;
}
.cs-feature-media.blue svg { color: var(--bi-navy-dark); }
.page .cs-feature-body h3 { margin: 0 0 1rem; font-size: 1.55rem; color: var(--bi-text); }
.cs-feature-body > p { color: var(--bi-muted); font-size: 1.02rem; margin: 0 0 1.25rem; }
.cs-check-list { list-style: none !important; padding-left: 0 !important; margin: 0 !important; }
.page .cs-check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .7rem;
  font-size: 1rem;
  color: var(--bi-text);
  line-height: 1.55;
}
.cs-check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .18rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bi-primary) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---- Customer mobile app banner ---- */
.cs-app {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 2rem;
  align-items: center;
  margin: 2.5rem 0;
  padding: 1.75rem clamp(1.25rem, 3vw, 2.5rem);
  border-radius: 18px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #1a365d 100%);
  color: #fff;
  overflow: hidden;
}
.cs-app .cs-eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .15);
  margin-bottom: .6rem;
}
.page .cs-app h2 { color: #fff; font-size: 1.45rem; margin: 0 0 .6rem; }
.cs-app .cs-app-text > p { color: rgba(255, 255, 255, .85); font-size: .98rem; margin: 0 0 1rem; }
.cs-app-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 0 1.2rem !important;
  display: grid;
  gap: .4rem;
}
.page .cs-app-list li {
  position: relative;
  padding-left: 1.8rem;
  color: #fff;
  font-size: .95rem;
  line-height: 1.45;
}
.cs-app-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .12rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.cs-app-stores { display: flex; flex-wrap: wrap; gap: .9rem; }
.cs-store-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #000;
  color: #fff !important;
  padding: .45rem 1rem;
  border-radius: 10px;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, .25);
  transition: var(--bi-transition);
}
.cs-store-btn:hover { background: #111; transform: translateY(-2px); }
.cs-store-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.cs-store-btn span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; font-size: .92rem; }
.cs-store-btn small { font-weight: 400; font-size: .6rem; opacity: .8; text-transform: uppercase; letter-spacing: .04em; }
.cs-app-phone { display: flex; justify-content: center; }
.cs-app-phone svg { width: 165px; height: auto; filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .4)); }

@media (max-width: 768px) {
  .cs-app { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.75rem 1.25rem; text-align: center; }
  .page .cs-app-list { text-align: left; max-width: 340px; margin-left: auto !important; margin-right: auto !important; }
  .cs-app-stores { justify-content: center; }
  .cs-app-phone { order: -1; }
  .cs-app-phone svg { width: 150px; }
}

/* ---- Security / compliance grid ---- */
.cs-secure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.cs-secure-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius);
  padding: 1.5rem;
  box-shadow: var(--bi-shadow-sm);
  transition: var(--bi-transition);
}
.cs-secure-card:hover { box-shadow: var(--bi-shadow-md); border-color: var(--bi-navy); }
.cs-secure-ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--bi-navy-soft);
  color: var(--bi-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-secure-ico svg { width: 22px; height: 22px; }
.page .cs-secure-card h3 { margin: 0 0 .35rem; font-size: 1.08rem; color: var(--bi-text); }
.cs-secure-card p { margin: 0; font-size: .92rem; color: var(--bi-muted); line-height: 1.55; }

/* ---- Accordion (native details/summary) ---- */
.cs-accordion { max-width: 980px; margin: 0 auto; }
.cs-accordion details {
  background: #fff;
  border: 1px solid var(--bi-border);
  border-radius: 12px;
  margin-bottom: .85rem;
  overflow: hidden;
  transition: var(--bi-transition);
}
.cs-accordion details[open] { border-color: var(--bi-primary); box-shadow: var(--bi-shadow-md); }
.cs-accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--bi-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cs-accordion summary::-webkit-details-marker { display: none; }
.cs-accordion summary::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--bi-primary-dark);
  flex-shrink: 0;
}
.cs-accordion details[open] summary::after { content: '\2212'; }
.cs-accordion summary:hover { color: var(--bi-primary-dark); }
.cs-acc-body { padding: .25rem 1.5rem 1.25rem; }
.cs-acc-body > .row { margin-left: 0; margin-right: 0; }
.page .cs-acc-body h2 {
  margin: 1.25rem 0 .6rem;
  font-size: 1.1rem;
  color: var(--bi-primary-dark);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.page .cs-acc-body ul,
.page .cs-acc-body ol { margin: 0 0 .5rem; padding-left: 1.25rem; }
.page .cs-acc-body li { font-size: .95rem; line-height: 1.6; margin-bottom: .25rem; }

/* ---- FAQ ---- */
.cs-faq { max-width: 840px; margin: 0 auto; }
.cs-faq details { border-bottom: 1px solid var(--bi-border); }
.cs-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem .5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--bi-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.cs-faq summary::-webkit-details-marker { display: none; }
.cs-faq summary::after { content: '+'; font-size: 1.5rem; color: var(--bi-primary-dark); flex-shrink: 0; }
.cs-faq details[open] summary::after { content: '\2212'; }
.cs-faq summary:hover { color: var(--bi-primary-dark); }
.page .cs-faq .cs-faq-a {
  padding: 0 .5rem 1.3rem;
  margin: 0;
  color: var(--bi-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---- Module cards: reuse .hp-cards but center the grid as a block ---- */
.credit-society .hp-cards {
  grid-template-columns: repeat(3, minmax(0, 340px));
  justify-content: center;
}
.credit-society .hp-card ol {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}
@media (max-width: 992px) {
  .credit-society .hp-cards { grid-template-columns: repeat(2, minmax(0, 340px)); }
}
@media (max-width: 600px) {
  .credit-society .hp-cards { grid-template-columns: minmax(0, 420px); }
}

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .cs-secure-grid { grid-template-columns: 1fr; }
  .cs-feature-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .cs-feature-row.reverse .cs-feature-media { order: 0; }
  .cs-feature-media { min-height: 200px; }
  .cs-feature-media svg { width: 88px; height: 88px; }
  .page .cs-section-head h2 { font-size: 1.6rem; }
}

/* =========================================================
   City / location landing pages (local-SEO template)
   Reused by every products/<product>/<city>/ page.
   ========================================================= */

/* ---- Areas we serve: pill list ---- */
.city-areas {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.25rem 0 .5rem;
  padding-left: 0 !important;
  list-style: none !important;
}
.page .city-areas li {
  margin: 0;
  padding: .5rem 1.1rem;
  background: var(--bi-primary-soft);
  color: var(--bi-primary-dark);
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ---- Local office: NAP card + embedded map ---- */
.city-local {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.75rem;
  align-items: stretch;
  margin: 1.5rem 0 2rem;
}
.city-office-card {
  background: #fff;
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius);
  padding: 1.75rem;
  box-shadow: var(--bi-shadow-sm);
}
.page .city-office-card h3 { margin: 0 0 1rem; font-size: 1.25rem; color: var(--bi-text); }
.city-office-card .city-nap {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.city-office-card .city-nap:last-of-type { margin-bottom: 1.25rem; }
.city-office-card .city-nap svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--bi-primary-dark);
  margin-top: .2rem;
}
.page .city-office-card .city-nap p { margin: 0; font-size: .98rem; line-height: 1.55; }
.city-office-card .city-nap a { color: var(--bi-primary-dark); font-weight: 700; }
.city-map {
  border-radius: var(--bi-radius);
  overflow: hidden;
  box-shadow: var(--bi-shadow-sm);
  border: 1px solid var(--bi-border);
  min-height: 300px;
}
.city-map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
@media (max-width: 880px) {
  .city-local { grid-template-columns: 1fr; }
  .city-map { min-height: 260px; }
}

/* ---- Testimonials ---- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 1rem;
}
.testi {
  background: #fff;
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--bi-shadow-sm);
  display: flex;
  flex-direction: column;
}
.testi-stars { color: #f5a623; letter-spacing: 2px; font-size: 1rem; margin-bottom: .75rem; }
.page .testi p {
  font-size: .98rem;
  line-height: 1.65;
  color: var(--bi-text);
  margin: 0 0 1.1rem;
  flex: 1;
}
.testi-author { font-weight: 700; color: var(--bi-text); font-size: .98rem; }
.testi-role { font-size: .85rem; color: var(--bi-muted); margin-top: .15rem; }
@media (max-width: 880px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---- "We also serve" cross-links ---- */
.also-serve {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1rem 0 .5rem;
}
.page .also-serve a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.2rem;
  background: #fff;
  border: 1px solid var(--bi-border);
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--bi-text);
  text-decoration: none !important;
  transition: var(--bi-transition);
}
.page .also-serve a:hover {
  border-color: var(--bi-primary);
  color: var(--bi-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--bi-shadow-sm);
}
.page .also-serve a svg { width: 16px; height: 16px; color: var(--bi-primary-dark); }

/* ---------- Homepage hero ---------- */
.hp-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 1rem 4rem;
  background: linear-gradient(135deg, var(--bi-primary-soft) 0%, #ffffff 55%, #f8f9fc 100%);
}
.hp-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hp-hero .cs-eyebrow { margin-bottom: 1.25rem; }
.hp-hero h1 {
  font-size: 3rem;
  line-height: 1.12;
  margin: 0 0 1.1rem;
  letter-spacing: -.02em;
}
.hp-hero h1 em { font-style: normal; color: var(--bi-primary-dark); }
.hp-hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--bi-muted);
  max-width: 560px;
  margin: 0 0 1.75rem;
}
.hp-hero .cs-hero-actions { justify-content: flex-start; margin-bottom: 1.5rem; }
.hp-hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}
.hp-hero-points li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--bi-text);
}
.hp-hero-points li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bi-primary-dark);
  font-weight: 800;
}
.hp-hero-media { position: relative; }
.hp-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--bi-shadow-lg);
}
.hp-hero-badge {
  position: absolute;
  left: -1.25rem;
  bottom: 1.5rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--bi-shadow-lg);
  padding: .9rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.hp-hero-badge strong { font-size: 1.75rem; line-height: 1; color: var(--bi-primary-dark); }
.hp-hero-badge span { font-size: .85rem; color: var(--bi-muted); }
@media (max-width: 991.98px) {
  .hp-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hp-hero h1 { font-size: 2.25rem; }
  .hp-hero-badge { left: 1rem; }
}
@media (max-width: 767.98px) {
  .hp-hero { padding: 2.5rem 1rem 2.5rem; }
  .hp-hero h1 { font-size: 1.9rem; }
  .hp-hero p { font-size: 1.02rem; }
}

/* ---------- Footer bottom bar ---------- */
.footer .footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 2.5rem !important;
  padding-top: 1.5rem;
}
.footer .footer-bottom p {
  margin: 0;
  text-align: center;
  font-size: .85rem;
  color: #64748b !important;
}

/* ---------- Navbar: tablet widths (768-991px) ---------- */
@media (min-width: 768px) and (max-width: 991.98px) {
  .navbar.navbar-light.bg-light { padding: .6rem 1rem; }
  .navbar .navbar-brand { flex: 0 0 auto; margin-right: .5rem; padding: 5px 10px; }
  .navbar .navbar-brand img { height: 34px; }
  .navbar .nav-link { padding: .45rem .6rem !important; font-size: .9rem; white-space: nowrap; }
  .navbar .nav-link.call-for-demo { font-size: .85rem; }
}

/* ---------- Homepage content sections (Sept 2026) ---------- */
.hp-section-sub {
  max-width: 720px;
  margin: .75rem auto 0;
  text-align: center;
  color: var(--bi-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}
.hp-who .cs-eyebrow { margin-bottom: 1rem; }
.hp-who h2 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 1.25rem; }
.hp-who p strong { color: var(--bi-primary-dark); font-weight: 600; }
.hp-who .col-md-4 img { aspect-ratio: 4 / 3; object-fit: cover; }
.hp-group-title {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bi-primary-dark);
  margin: 2.25rem 0 1rem;
  padding-left: .25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hp-group-title::after { content: ''; flex: 1; height: 1px; background: var(--bi-border); }
.hp-group-title:first-of-type { margin-top: 0; }
.hp-product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
}
.hp-product-grid .productCard {
  flex: 0 1 calc((100% - 3.5rem) / 3);
  margin-bottom: 0;
  height: auto;
}
.hp-card-kicker {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bi-muted);
  margin-bottom: .35rem;
}
.productCard h4.card-title { font-size: 1.3rem; margin-bottom: .6rem; }
.hp-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  gap: .4rem;
}
.hp-card-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--bi-text);
}
.hp-card-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bi-primary-dark);
  font-weight: 800;
}
.hp-product-grid .productCard .btn { margin-top: auto; }
.hp-all-link { text-align: center; margin: 2.5rem 0 0; }
.hp-why { background: var(--bi-light) !important; }
.hp-features-grid.hp-four { grid-template-columns: repeat(4, 1fr); }
.hp-apps { padding-top: 0 !important; background: #fff !important; }
.hp-apps .cs-app { margin: 0; }
.hp-apps .cs-app h2 { color: #fff; font-size: 1.6rem; margin: 0 0 .6rem; }
.hp-apps .cs-app-list li { color: #fff; position: relative; padding-left: 1.8rem; font-size: .95rem; line-height: 1.45; }
.hp-apps .cs-app-list li strong { color: #d9f0b5; }
.hp-apps .cs-hero-actions { justify-content: flex-start; margin: 0; }
.hp-app-cards { display: grid; gap: .75rem; }
.hp-app-card {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  padding: .9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.hp-app-card strong { color: #fff; font-size: 1rem; }
.hp-app-card span { color: rgba(255, 255, 255, .8); font-size: .85rem; }
.hp-contact-card {
  background: #fff;
  border-radius: var(--bi-radius);
  box-shadow: var(--bi-shadow-sm);
  border: 1px solid var(--bi-border);
  padding: 1.75rem;
  height: 100%;
}
.hp-contact-card h4 { margin-bottom: 1.25rem; }
.hp-contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .9rem; }
.hp-contact-list li { font-size: .95rem; line-height: 1.55; color: var(--bi-text); }
.hp-contact-list li span {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bi-muted);
  margin-bottom: .1rem;
}
.hp-contact-list a { color: var(--bi-navy-dark); font-weight: 600; text-decoration: none; }
.hp-contact-list a:hover { color: var(--bi-navy); }
.hp-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #25d366;
  color: #fff !important;
  font-weight: 700;
  padding: .75rem 1.25rem;
  border-radius: 10px;
  text-decoration: none !important;
  transition: var(--bi-transition);
}
.hp-wa-btn:hover { background: #1ebe5a; transform: translateY(-1px); }
.widget.contactus-widget select.form-control { appearance: auto; color: var(--bi-text); }
.hp-map { margin-top: 1.5rem; }
.widget.contactus-widget .hp-map iframe { height: 220px !important; }
@media (max-width: 991.98px) {
  .hp-product-grid .productCard { flex-basis: calc((100% - 1.75rem) / 2); }
  .hp-features-grid.hp-four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
  .hp-section-sub { font-size: 1rem; }
  .hp-who h2 { font-size: 1.6rem; }
  .hp-who .col-md-4 { margin-top: 1.5rem; }
  .hp-product-grid .productCard { flex-basis: 100%; }
  .hp-features-grid.hp-four { grid-template-columns: 1fr; }
  .hp-apps .cs-hero-actions { justify-content: center; }
  .hp-contact-card { margin-bottom: 1.5rem; height: auto; }
}

/* ---------- Biometric attendance page ---------- */
.bio-page .cs-section-head { margin-top: 2.5rem; }
.page .bio-h3 { font-size: 1.25rem; margin: 2rem 0 .5rem; }
.bio-note { color: var(--bi-muted); font-size: .95rem; margin: 0 0 1rem; }
.bio-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 1rem;
  counter-reset: biostep;
}
.bio-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius);
  padding: 1.75rem 1.25rem 1.25rem;
  box-shadow: var(--bi-shadow-sm);
}
.bio-step::before {
  counter-increment: biostep;
  content: counter(biostep);
  position: absolute;
  top: -14px;
  left: 1.25rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bi-primary);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bio-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.05rem;
  top: 50%;
  width: .7rem;
  height: .7rem;
  border-top: 2px solid var(--bi-primary);
  border-right: 2px solid var(--bi-primary);
  transform: translateY(-50%) rotate(45deg);
}
.bio-step-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bi-primary-soft);
  color: var(--bi-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
}
.bio-step-ico svg { width: 22px; height: 22px; }
.page .bio-step h3 { font-size: 1.05rem; margin: 0 0 .5rem; color: var(--bi-text); }
.bio-step p { font-size: .92rem; color: var(--bi-muted); margin: 0; line-height: 1.55; }
.bio-devices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0 1rem; }
.bio-device {
  background: #fff;
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius);
  box-shadow: var(--bi-shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bio-device-art {
  background: linear-gradient(135deg, var(--bi-primary-soft) 0%, #e8f5d0 100%);
  padding: 1.5rem;
  display: flex;
  justify-content: center;
}
.bio-device-art.blue { background: linear-gradient(135deg, var(--bi-navy-soft) 0%, #cbd5e1 100%); }
.bio-device-art svg { width: 100%; max-width: 320px; height: auto; filter: drop-shadow(0 12px 24px rgba(15, 23, 42, .2)); }
.bio-device-art.single { border-radius: 18px; margin: 0 0 1.5rem; }
.bio-device-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.bio-device-body .cs-eyebrow { margin-bottom: .6rem; align-self: flex-start; }
.page .bio-device-body h3 { margin: 0 0 .5rem; font-size: 1.35rem; }
.bio-device-body > p { color: var(--bi-muted); font-size: .95rem; margin: 0 0 1rem; line-height: 1.6; }
.bio-spec-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 1.25rem !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem 1rem;
}
.page .bio-spec-list li { font-size: .92rem; color: var(--bi-text); padding-left: 0; line-height: 1.4; }
.bio-spec-list li strong { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--bi-muted); margin-bottom: .1rem; }
.bio-device-body .cs-btn-ghost { margin-top: auto; align-self: flex-start; }
.bio-table-wrap { overflow-x: auto; margin: .5rem 0 1rem; border: 1px solid var(--bi-border); border-radius: 12px; }
.bio-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 640px; }
.bio-table th, .bio-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--bi-border); text-align: left; vertical-align: top; }
.bio-table tbody tr:last-child td { border-bottom: 0; }
.bio-table th { background: var(--bi-light); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--bi-muted); }
.bio-table td:first-child { font-weight: 700; color: var(--bi-text); white-space: nowrap; }
.cs-feature-media.photo { padding: 0; overflow: hidden; background: none; min-height: 0; }
.cs-feature-media.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; aspect-ratio: 4 / 3; display: block; box-shadow: var(--bi-shadow-md); }
.bio-app .cs-app { margin: 2.5rem 0; }
.bio-page .hp-modules-grid { margin-top: 1.5rem; }
.bio-page .cs-secure-grid { margin-top: 1.5rem; }
.bio-page .cs-faq { margin-top: 1rem; }
@media (max-width: 991.98px) {
  .bio-flow { grid-template-columns: 1fr 1fr; }
  .bio-step:nth-child(2)::after { display: none; }
  .bio-devices { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .bio-flow { grid-template-columns: 1fr; }
  .bio-step::after { display: none !important; }
  .bio-spec-list { grid-template-columns: 1fr; }
}
.bio-page .page-hero-image { height: 320px; }
.bio-page .page-hero-image img { object-position: center 52%; }
@media (max-width: 768px) { .bio-page .page-hero-image { height: 200px; } }

/* Hero banner images: win over the generic .page img reset so object-fit crops the middle, not the top */
.page .page-hero-image img { height: 100% !important; width: 100% !important; object-fit: cover; }

/* ---------- Biometric page: device range ---------- */
.bio-devices.four { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.bio-devices.four .bio-device-art { padding: 1.1rem; }
.bio-devices.four .bio-device-body { padding: 1.25rem; }
.page .bio-devices.four .bio-device-body h3 { font-size: 1.2rem; }
.bio-devices .bio-device-body > p { flex: 1; }
.hp-modules-grid.bio-models .hp-module-chip.hl { border-color: var(--bi-primary); background: var(--bi-primary-soft); font-weight: 700; }
.hp-modules-grid.bio-models .hp-module-chip.hl svg { color: var(--bi-primary-dark); }
@media (max-width: 1199.98px) { .bio-devices.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767.98px) { .bio-devices.four { grid-template-columns: 1fr; } }

/* ---------- Footer contact block ---------- */
.footer .footer-contact p { margin: 0 0 1rem; }
.footer .footer-contact strong { display: block; color: #e2e8f0; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .15rem; }
.footer .footer-contact span { display: block; }
.footer .footer-contact a { display: inline; padding: 0; width: auto; }
.footer .footer-contact a:hover { transform: none; }
