/* ============================================================
   HAYTHAM TECH SOLUTIONS — Design System
   Hybrid theme: 80% light / 20% dark. Teal brand, no purple/neon.
   ============================================================ */

:root {
  --teal: #25b7a5;
  --teal-rgb: 37, 183, 165;
  --teal-deep: #0f766e;
  --anchor: #0b1a17;
  --anchor-rgb: 11, 26, 23;
  --warm-white: #f8fafc;
  --ink: #0f172a;
  --slate: #64748b;
  --border: #e2e8f0;
  --soft-grey: #f1f5f4;

  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Bootstrap 5 theme remap */
  --bs-primary: #25b7a5;
  --bs-primary-rgb: 37, 183, 165;
  --bs-dark: #0b1a17;
  --bs-dark-rgb: 11, 26, 23;
  --bs-body-bg: #f8fafc;
  --bs-body-color: #0f172a;
  --bs-body-font-family: "Inter", sans-serif;
  --bs-link-color: #0f766e;
  --bs-link-hover-color: #25b7a5;
  --bs-border-color: #e2e8f0;
  --bs-secondary-color: #64748b;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

/* Bootstrap's .container steps to 1140px between 1200-1400px viewports,
   leaving large empty side margins on common laptop screens. Widen it. */
.container {
  width: 100%;
  max-width: 1280px;
}
@media (min-width: 1400px) {
  .container {
    max-width: 1360px;
  }
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
p {
  color: var(--slate);
}
.lead {
  font-size: 1.05rem;
  font-weight: 400;
}

/* Toned-down heading scale (Bootstrap's display-* defaults run large for a content-dense enterprise site) */
.display-4 {
  font-size: 2.25rem;
}
.display-5 {
  font-size: 1.95rem;
}
.display-6 {
  font-size: 1.6rem;
}
@media (min-width: 768px) {
  .display-4 {
    font-size: 2.75rem;
  }
  .display-5 {
    font-size: 2.35rem;
  }
  .display-6 {
    font-size: 1.85rem;
  }
}
a {
  text-decoration: none;
}
::selection {
  background: rgba(var(--teal-rgb), 0.25);
}

.text-teal {
  color: var(--teal) !important;
}
.text-teal-deep {
  color: var(--teal-deep) !important;
}
.text-slate {
  color: var(--slate) !important;
}
.bg-anchor {
  background: var(--anchor) !important;
}
.bg-soft {
  background: var(--soft-grey) !important;
}
.bg-warm {
  background: var(--warm-white) !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--teal);
  display: inline-block;
}
.section-dark .eyebrow {
  color: var(--teal);
}
.section-dark .eyebrow::before {
  background: var(--teal);
}

/* ===== Buttons ===== */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  padding: 0.55rem 1.15rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.btn-sm {
  font-size: 0.82rem;
  padding: 0.4rem 0.85rem;
}
.btn-lg {
  font-size: 0.98rem;
  padding: 0.7rem 1.5rem;
}
.btn-primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(var(--teal-rgb), 0.5);
}
.btn-outline-primary {
  color: var(--teal-deep);
  border-color: var(--border);
}
.btn-outline-primary:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}
.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-light:hover {
  background: var(--warm-white);
  color: var(--ink);
  transform: translateY(-2px);
}
.btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: rgba(var(--teal-rgb), 0.12);
  color: var(--teal-deep);
  border-color: rgba(var(--teal-rgb), 0.3);
}
.btn-whatsapp:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}
.section-dark .btn-whatsapp {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* ===== Nav ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.site-nav.is-scrolled {
  box-shadow: 0 4px 24px -8px rgba(15, 23, 42, 0.1);
  border-bottom-color: var(--border);
}
.site-nav .navbar-brand {
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}
.site-nav .navbar-brand img {
  /* height: 36px !important;
  width: auto !important;
  max-width: none !important; */
}
.site-nav .navbar-toggler {
  flex-shrink: 0;
  margin-left: auto;
}
@media (max-width: 400px) {
  .site-nav .navbar-brand img {
    /*  height: 30px !important; */
    width: 70% !important;
  }
}
.site-nav .nav-link {
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--ink);
  padding: 0.5rem 0.9rem !important;
  position: relative;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--teal-deep);
}
.site-nav .dropdown-menu {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.5rem;
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.15);
}
.site-nav .dropdown-item {
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-weight: 500;
  font-size: 0.9rem;
}
.site-nav .dropdown-item:hover {
  background: var(--soft-grey);
  color: var(--teal-deep);
}

/* ===== Hero (dark, contained) ===== */
.hero-dark {
  position: relative;
  background: linear-gradient(135deg, #0b1a17 0%, #0f2620 45%, #0b1a17 100%);
  background-size: 200% 200%;
  animation: gradientDrift 18s ease infinite;
  border-radius: 0 0 32px 32px;
  color: #fff;
  overflow: hidden;
}
.hero-dark.section-py {
  padding-top: 1.5rem;
  padding-bottom: 1.75rem;
}
.page-hero.section-py {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .hero-dark.section-py {
    padding-top: 1.75rem;
    padding-bottom: 2rem;
  }
  .page-hero.section-py {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
@keyframes gradientDrift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 0
  );
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
}
.hero-dark h1,
.hero-dark h2,
.hero-dark h3,
.hero-dark h4,
.bg-anchor h1,
.bg-anchor h2,
.bg-anchor h3,
.bg-anchor h4,
.bg-anchor h5,
.bg-anchor h6,
.cta-dark h1,
.cta-dark h2,
.cta-dark h3,
.cta-dark h4,
.page-hero h1,
.page-hero h2,
.page-hero h3,
.page-hero h4 {
  color: #fff;
}
.hero-dark p,
.bg-anchor p,
.cta-dark p,
.page-hero p {
  color: rgba(255, 255, 255, 0.7);
}
.hero-dark .lead {
  color: rgba(255, 255, 255, 0.72);
}
.hero-stat {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 1.25rem !important;
  margin-right: 1.25rem !important;
}
.hero-stat:last-child {
  border-right: none;
}
.hero-stat .num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
}
.hero-stat .lbl {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Ecosystem illustration */
.ecosystem {
  position: relative;
  height: 450px;
}
.eco-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px -12px rgba(var(--teal-rgb), 0.6);
  z-index: 3;
}
.eco-hub img {
  width: 40px;
}
.eco-node {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.4rem;
  animation: floatY 6s ease-in-out infinite;
  z-index: 2;
}
.eco-node i {
  color: #fff;
}
.eco-n1 {
  top: 6%;
  left: 18%;
  animation-delay: 0s;
}
.eco-n2 {
  top: 6%;
  right: 14%;
  animation-delay: 0.6s;
}
.eco-n3 {
  top: 46%;
  left: 2%;
  animation-delay: 1.2s;
}
.eco-n4 {
  top: 46%;
  right: 0%;
  animation-delay: 1.8s;
}
.eco-n5 {
  bottom: 8%;
  left: 20%;
  animation-delay: 2.4s;
}
.eco-n6 {
  bottom: 8%;
  right: 16%;
  animation-delay: 3s;
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.eco-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.eco-svg line {
  stroke: rgba(37, 183, 165, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
}

.eco-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: floatY 7s ease-in-out infinite;
}
.eco-float .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
}
.eco-float small {
  color: var(--slate);
  font-weight: 500;
  display: block;
  font-size: 0.68rem;
}
.eco-f1 {
  top: 2%;
  right: 8%;
  animation-delay: 0.3s;
}
.eco-f2 {
  bottom: 22%;
  left: 0%;
  animation-delay: 1.4s;
}
.eco-f3 {
  bottom: 0%;
  right: 20%;
  animation-delay: 2.2s;
}

/* ===== Trust strip ===== */
.trust-strip {
  border-bottom: 1px solid var(--border);
}
.trust-logo {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--slate);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.trust-logo .badge-ic {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--soft-grey);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--teal-deep);
}
.flag-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}
.flag-pill .cc {
  font-size: 0.68rem;
  color: var(--slate);
  font-weight: 700;
}
.marquee-track {
  display: flex;
  gap: 1rem;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== Cards ===== */
.card-hover {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.16);
}

.product-showcase {
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
.browser-frame {
  background: #0f1f1b;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(11, 26, 23, 0.45);
}
.browser-bar {
  background: #132824;
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.browser-url {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 0.15rem 0.7rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 0.5rem;
  flex: 1;
  font-family: monospace;
}
.browser-body {
  padding: 1.1rem;
  color: #fff;
}
.browser-body .live-badge {
  background: rgba(var(--teal-rgb), 0.18);
  color: var(--teal);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.browser-body .live-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}
.metric-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
}
.metric-chip .v {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.metric-chip .k {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}
.module-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
}
.module-list li {
  padding: 0.25rem 0;
  color: rgba(255, 255, 255, 0.75);
}
.module-list li i {
  color: var(--teal);
  margin-right: 0.4rem;
  font-size: 0.75rem;
}

.feature-check {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-check li {
  padding: 0.4rem 0;
  font-weight: 500;
  color: var(--ink);
  font-size: 0.92rem;
}
.feature-check li i {
  color: var(--teal);
  margin-right: 0.55rem;
}

.stat-trio .num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal-deep);
}
.stat-trio .lbl {
  font-size: 0.78rem;
  color: var(--slate);
}

.case-card-wrap {
  position: relative;
}
.case-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  color: #fff;
  display: block;
}
.case-live-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(11, 26, 23, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.case-card-wrap:hover .case-live-badge {
  opacity: 1;
  transform: translateY(0);
}
.case-live-badge:hover {
  background: var(--teal-deep, #0b5d52);
  color: #fff;
  border-color: transparent;
}
@media (hover: none) {
  .case-live-badge {
    opacity: 1;
    transform: none;
  }
}
.case-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.case-card:hover img {
  transform: scale(1.06);
}
.case-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 26, 23, 0) 30%,
    rgba(11, 26, 23, 0.92) 100%
  );
}
.case-card .content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.3rem;
}
.case-tag {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
}
.tech-pill {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
}

.industry-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  height: 280px;
}
.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.industry-card:hover img {
  transform: scale(1.08);
}
.industry-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 26, 23, 0) 40%,
    rgba(11, 26, 23, 0.85) 100%
  );
}
.industry-card .label {
  position: absolute;
  left: 1.2rem;
  bottom: 1.1rem;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
}

/* ===== Solutions tabs ===== */
.solution-tab {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
}
.solution-tab:hover {
  border-color: var(--teal);
}
.solution-tab.active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.solution-tab .icon-box {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--soft-grey);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.6rem;
  font-size: 0.85rem;
  color: var(--teal-deep);
}
.solution-tab.active .icon-box {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.solution-detail-panel {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  background: var(--soft-grey);
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--slate);
  flex: none;
}
.step-num.active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

/* ===== Process timeline ===== */
.process-step {
  text-align: center;
  position: relative;
}
.process-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--soft-grey);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--teal-deep);
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}
.process-step:hover .process-circle {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  transform: scale(1.08);
}
.process-line {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--border) 0 8px,
    transparent 8px 14px
  );
  z-index: 1;
}

/* ===== Tech stack (dark) ===== */
.tech-group {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.4rem;
  height: 100%;
}
.tech-group h6 {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
}
.tech-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  font-size: 0.85rem;
  color: #fff;
  font-weight: 500;
  display: inline-block;
  margin: 0.2rem 0.3rem 0.2rem 0;
  transition: all 0.2s ease;
}
.tech-tag:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-2px);
}

/* ===== Comparison table ===== */
.compare-table {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.compare-table .row-item {
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1.2rem;
}
.compare-table .row-item:last-child {
  border-bottom: none;
}
.compare-x {
  color: #dc2626;
}
.compare-check {
  color: var(--teal-deep);
}

/* ===== Testimonials ===== */
.testimonial-card {
  border-radius: 20px;
  padding: 2.2rem;
  background: #fff;
  border: 1px solid var(--border);
}
.quote-mark {
  font-family: var(--font-head);
  font-size: 3.5rem;
  color: rgba(var(--teal-rgb), 0.25);
  line-height: 1;
}
.avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-head);
}
.result-pill {
  background: rgba(var(--teal-rgb), 0.12);
  color: var(--teal-deep);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-body p {
  color: var(--ink);
  margin-bottom: 1.3rem;
}
.blog-body h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
}

/* ===== Blog ===== */
.blog-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  height: 100%;
}
.blog-cat {
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  display: inline-block;
}
.blog-cat.ai {
  background: rgba(var(--teal-rgb), 0.12);
  color: var(--teal-deep);
}
.blog-cat.erp {
  background: #ede9fe;
  color: #6d28d9;
}
.blog-cat.cloud {
  background: #e0f2fe;
  color: #0369a1;
}
.blog-cat.data {
  background: #d1fae5;
  color: #047857;
}
.blog-cat.health {
  background: #ffe4e6;
  color: #be123c;
}
.blog-cat.hrtech {
  background: #e0e7ff;
  color: #4338ca;
}
.blog-cat.mobile {
  background: #fef3c7;
  color: #b45309;
}
.blog-cat.pos {
  background: #ffedd5;
  color: #c2410c;
}
.blog-cat.facilities {
  background: #f1f5f9;
  color: #334155;
}
.blog-cat.default {
  background: #f1f5f9;
  color: #334155;
}

/* ===== FAQ ===== */
.accordion-item {
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 0.7rem;
}
.accordion-button {
  font-weight: 600;
  font-family: var(--font-body);
  padding: 1.1rem 1.3rem;
}
.accordion-button:not(.collapsed) {
  background: rgba(var(--teal-rgb), 0.08);
  color: var(--teal-deep);
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: none;
  border-color: var(--border);
}
.accordion-button::after {
  filter: none;
}

/* ===== Final CTA ===== */
.cta-dark {
  background: linear-gradient(135deg, #0b1a17 0%, #0f2620 50%, #0b1a17 100%);
  background-size: 200% 200%;
  animation: gradientDrift 18s ease infinite;
  border-radius: 32px;
  color: #fff;
}

/* ===== Footer ===== */
.site-footer {
  background: #081210;
  color: rgba(255, 255, 255, 0.65);
}
.site-footer h6 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-body);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.55);
}
.site-footer a:hover {
  color: var(--teal);
}
.site-footer .social-ic {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s ease;
}
.site-footer .social-ic:hover {
  background: var(--teal);
}
.site-footer ul li a {
  display: inline-block;
  line-height: 1.5;
}
.footer-locations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 1.5rem;
  row-gap: 0.6rem;
}
.footer-locations-grid a {
  line-height: 1.4;
}
@media (max-width: 991.98px) {
  .footer-locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .footer-locations-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Page hero (interior pages, contained dark) ===== */
.page-hero {
  background: linear-gradient(135deg, #0b1a17 0%, #0f2620 50%, #0b1a17 100%);
  border-radius: 0 0 28px 28px;
  color: #fff;
}

/* ===== Counters / reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ===== Utility ===== */
.section-py {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
@media (max-width: 768px) {
  .section-py {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }
}
.rounded-24 {
  border-radius: 24px;
}
.shadow-soft {
  box-shadow: 0 20px 45px -20px rgba(15, 23, 42, 0.18);
}
.divider-teal {
  width: 40px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
}
.badge-soft {
  background: rgba(var(--teal-rgb), 0.12);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.form-control,
.form-select {
  border-color: var(--border);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.2rem rgba(var(--teal-rgb), 0.15);
}
.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .hero-dark,
  .cta-dark,
  .eco-node,
  .eco-float,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Bootstrap's g-4/g-5 gutters apply negative side margins wider than the
   container's 12px mobile padding, pushing the page 12px past the viewport.
   Narrow the horizontal gutter on small screens; vertical spacing is untouched. */
@media (max-width: 767.98px) {
  .row.g-5,
  .row.gx-5 {
    --bs-gutter-x: 1.5rem;
  }
  .row.g-4,
  .row.gx-4 {
    --bs-gutter-x: 1.5rem;
  }
}
