/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MDQuality Apps â€” White & Blue Theme
   60% White  |  30% #1C46A8  |  10% Accents
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Reset & Variables â”€â”€ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* â”€â”€ 60% White palette â”€â”€ */
  --white: #ffffff;
  --bg-off: #f4f7ff;
  /* very faint blue-tint white */
  --bg-section: #eef2fb;
  /* alternating section bg */
  --bg-card: #ffffff;
  --bg-input: #f8faff;

  /* â”€â”€ 30% Blue palette â”€â”€ */
  --blue: #1C46A8;
  /* primary brand blue */
  --blue-dark: #14338a;
  /* darker on hover */
  --blue-deep: #0e2565;
  /* hero/footer */
  --blue-mid: #2558cc;
  /* slightly lighter */
  --blue-light: #d6e1f8;
  /* tint for tags/badges */
  --blue-xlight: #eef2fb;
  /* ultra-light background tint */

  /* â”€â”€ 10% Accent palette â”€â”€ */
  --accent-sky: #3b82f6;
  /* interactive highlights */
  --accent-orange: #f97316;
  /* CTA emphasis, star ratings */
  --accent-green: #16a34a;
  /* success states, active badge */
  --accent-gray: #64748b;
  /* secondary text */

  /* â”€â”€ Gradients â”€â”€ */
  --grad-blue: linear-gradient(135deg, #1C46A8, #2558cc);
  --grad-deep: linear-gradient(135deg, #0e2565, #1C46A8);
  --grad-hero: linear-gradient(160deg, #0e2565 0%, #1C46A8 50%, #2558cc 100%);

  /* â”€â”€ Text â”€â”€ */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-on-blue: #ffffff;
  --text-on-blue-soft: rgba(255, 255, 255, 0.75);

  /* â”€â”€ Borders â”€â”€ */
  --border: #dde5f7;
  --border-strong: #b8c9ef;

  /* â”€â”€ Shadows â”€â”€ */
  --shadow-sm: 0 1px 4px rgba(28, 70, 168, 0.08);
  --shadow-md: 0 4px 20px rgba(28, 70, 168, 0.12);
  --shadow-lg: 0 8px 40px rgba(28, 70, 168, 0.18);
  --shadow-xl: 0 20px 60px rgba(28, 70, 168, 0.22);
  --shadow-blue-glow: 0 8px 32px rgba(28, 70, 168, 0.35);

  /* â”€â”€ Radii â”€â”€ */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* â”€â”€ Motion â”€â”€ */
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  /* â”€â”€ Fonts â”€â”€ */
  --font-main: 'Inter', sans-serif;
  --font-head: 'Space Grotesk', 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

/* â”€â”€ Typography â”€â”€ */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(1.4rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.3rem, 4vw, 2.1rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
}

.gradient-text {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* â”€â”€ Layout â”€â”€ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
  background: var(--white);
}

.section-dark {
  background: var(--bg-off);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid #b8c9ef;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-title {
  margin-bottom: 14px;
}

.section-desc {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* â”€â”€ Buttons â”€â”€ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--grad-blue);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-blue-glow);
}

.btn-primary:hover {
  background: var(--grad-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(28, 70, 168, 0.45);
}

.btn-primary:disabled {
  background: #ccc;
  background-image: none;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.7;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  border: 2px solid var(--blue);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-ghost:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-nav {
  padding: 9px 22px;
  background: var(--blue);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(28, 70, 168, 0.3);
}

.btn-nav:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-sm);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• NAVBAR â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 5px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--border);
  padding: 2px 0;
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  /* padding: 5px 0; */
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

/* Base Logo Styling */
.logo-img {
  height: 60px;
  /* Set your ideal default height */
  width: auto;
  /* Maintains aspect ratio */
  transition: all 0.3s ease-in-out;
  display: block;
}

/* Adjusting the logo when the navbar shrinks on scroll */
/* Replace '.navbar-scrolled' with whatever class your JS adds on scroll */
.navbar-scrolled .logo-img {
  height: 45px;
  /* The "shrunk" size - keep this above 40px for legibility */
  min-height: 40px;
  /* The absolute "floor" so it doesn't vanish */
}

/* Ensure the navbar itself doesn't collapse too much */
.navbar.navbar-scrolled {
  padding: 5px 0;
  /* Tighten the padding instead of shrinking the logo too much */
}

.footer .logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-links a:not(.btn-nav):hover {
  color: var(--blue);
}

.nav-links a.nav-active {
  color: var(--blue);
  font-weight: 600;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ════════════════ SERVICES DROPDOWN ════════════════ */

/* ── Trigger button ── */
.svc-menu {
  position: relative;
}

.svc-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s;
}

.svc-menu-btn:hover,
.svc-menu.open .svc-menu-btn {
  color: var(--blue);
}

.svc-menu-btn svg {
  transition: transform 0.25s;
}

.svc-menu.open .svc-menu-btn svg {
  transform: rotate(180deg);
}

/* ── Dropdown panel ── */
.svc-menu-panel {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 540px;
  background: #fff;
  border: 1px solid #dde5f7;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(28, 70, 168, 0.13), 0 2px 8px rgba(0, 0, 0, 0.07);
  padding: 10px;
  z-index: 99999;
}

.svc-menu.open .svc-menu-panel {
  display: block;
}

/* Caret */
.svc-menu-panel::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid #dde5f7;
  border-left: 1px solid #dde5f7;
}

/* ── 2-column grid inside panel ── */
.svc-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

/* ── Each service row ── */
.svc-menu-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.svc-menu-item:hover {
  background: #eef2fb;
  border-color: #d6e1f8;
}

.svc-mi-icon {
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2fb;
  border: 1px solid #d6e1f8;
  border-radius: 8px;
  transition: background 0.2s;
}

.svc-menu-item:hover .svc-mi-icon {
  background: #1C46A8;
}

.svc-mi-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.svc-mi-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.svc-mi-tech {
  font-size: 0.67rem;
  color: #64748b;
  white-space: nowrap;
}

.svc-menu-item:hover .svc-mi-name {
  color: #1C46A8;
}

/* ── Mobile: stack inside hamburger overlay ── */
@media (max-width: 768px) {
  .svc-menu {
    width: 100%;
  }

  .svc-menu-btn {
    font-size: 1.2rem;
    color: var(--text-primary);
    width: 100%;
    justify-content: center;
  }

  .svc-menu-panel {
    position: static;
    display: block;
    /* Ensure it's visible when mobile menu is open */
    width: 100%;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    margin-top: 8px;
    padding: 8px;
    background: #f4f7ff;
  }

  .svc-menu-panel::before {
    display: none;
  }

  .svc-menu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }

  .svc-mi-tech {
    display: none;
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• HERO â€” FULL CAROUSEL â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
}

.orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #fff, transparent);
  top: -200px;
  left: -100px;
  animation: float 10s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #5b8ff9, transparent);
  top: 50px;
  right: -100px;
  animation: float 13s ease-in-out infinite reverse;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #a5bef8, transparent);
  bottom: -80px;
  left: 40%;
  animation: float 15s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(20px, -30px) scale(1.06);
  }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 50%, black 30%, transparent 75%);
}

/* â”€â”€ Clip wrapper â”€â”€ */
.hero-carousel-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* â”€â”€ Track â€” flex row of full-width slides â”€â”€ */
.hc-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.slider-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* â”€â”€ Each slide fills the full viewport height â”€â”€ */
.hc-slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  /* clear fixed navbar */
  box-sizing: border-box;
  overflow: hidden;
  /* Prevents floating elements from bleeding into other slides */
}

/* â”€â”€ Two-column grid inside every slide â”€â”€ */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0 100px;
  width: 100%;
}

/* â”€â”€ Left text column â”€â”€ */
.hero-text {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  align-self: flex-start;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}

.line-1,
.line-3 {
  font-size: clamp(1.1rem, 3.5vw, 2.2rem);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-head);
  font-weight: 700;
}

.line-2 {
  font-size: clamp(1.8rem, 6.5vw, 3.8rem);
  font-family: var(--font-head);
  font-weight: 800;
}

.gradient-text-hero {
  background: linear-gradient(135deg, #fff, #a5c0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight {
  color: #a5c0ff;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 36px;
  max-width: 520px;
}

/* Hero CTA buttons â€” white-on-blue style */
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.btn-hero-primary:hover {
  background: #eef2fb;
  transform: translateY(-2px);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Tech pill row below CTAs */
.hc-tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hc-tech-row span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.8);
}

/* â”€â”€ Right visual panel â”€â”€ */
.hero-visual-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
  width: 100%;
  max-width: 100%;
  z-index: 2;
}

/* â”€â”€ SLIDE 1: Browser / ERP visual â”€â”€ */
.vis-browser {
  width: 100%;
  max-width: 440px;
  background: rgba(8, 24, 72, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.vis-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vis-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.vis-dot.r {
  background: #ff5f57;
}

.vis-dot.y {
  background: #febc2e;
}

.vis-dot.g {
  background: #28c840;
}

.vis-url-bar {
  flex: 1;
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  margin-left: 8px;
}

.vis-btn-bar {
  width: 40px;
  height: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  margin-left: 6px;
}

.vis-browser-body {
  display: flex;
  height: 260px;
}

.vis-sidebar {
  width: 52px;
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 8px;
}

.vis-logo-block {
  height: 20px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  margin-bottom: 8px;
}

.vis-nav {
  height: 9px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.vis-nav.active {
  background: rgba(255, 255, 255, 0.4);
}

.vis-main {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vis-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vis-heading-block {
  height: 12px;
  width: 40%;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.vis-badge-block {
  height: 18px;
  width: 60px;
  background: rgba(74, 222, 128, 0.3);
  border-radius: 100px;
}

.vis-kpi-row {
  display: flex;
  gap: 8px;
}

.vis-kpi {
  flex: 1;
  border-radius: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vis-kpi.blue {
  background: rgba(255, 255, 255, 0.18);
}

.vis-kpi.light {
  background: rgba(255, 255, 255, 0.06);
}

.vis-kpi strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
}

.vis-kpi span {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.vis-chart-area {
  flex: 1;
  display: flex;
  align-items: flex-end;
}

.vis-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  width: 100%;
  height: 72px;
}

.vis-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px 4px 0 0;
}

.vis-bar.active {
  background: rgba(255, 255, 255, 0.5);
}

.vis-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vis-tr {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.vis-tr.alt {
  background: rgba(255, 255, 255, 0.12);
}

.vis-tr.head {
  background: rgba(255, 255, 255, 0.04);
}

/* â”€â”€ SLIDE 2: Phone visuals â”€â”€ */
.vis-phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  height: 100%;
}

.vis-phone {
  background: rgba(8, 24, 72, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  position: relative;
}

.android-phone {
  width: 140px;
  height: 290px;
  transform: rotate(-4deg);
  margin-bottom: 20px;
}

.ios-phone {
  width: 140px;
  height: 300px;
  transform: rotate(4deg);
}

.vis-phone-notch {
  width: 60px;
  height: 16px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 0 0 12px 12px;
  margin: 0 auto 4px;
}

.vis-phone-island {
  width: 40px;
  height: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 100px;
  margin: 8px auto 4px;
}

.vis-phone-screen {
  padding: 8px 8px;
  height: calc(100% - 30px);
  overflow: hidden;
}

.vis-app-topbar {
  height: 22px;
  border-radius: 6px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px;
}

.blue-top {
  background: rgba(255, 255, 255, 0.25);
}

.light-top {
  background: rgba(255, 255, 255, 0.1);
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.testimonials-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 24px;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 30px 0;
}

.testimonials-grid::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar Chrome/Safari */
}

.testi-card {
  flex: 0 0 calc(33.333% - 24px);
  flex-shrink: 0;
  scroll-snap-align: start;
}

.testi-card:hover {
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transform: scale(2);
  transition: all 0.3s ease-in-out;


}

/* Responsive adjustment */
@media (max-width: 992px) {
  .testi-card {
    flex: 0 0 calc(50% - 24px);
  }
}

@media (max-width: 600px) {
  .testi-card {
    flex: 0 0 100%;
  }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--blue);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.carousel-btn.prev {
  left: -25px;
}

.carousel-btn.next {
  right: -25px;
}

@media (max-width: 1280px) {
  .carousel-btn.prev {
    left: 0;
  }

  .carousel-btn.next {
    right: 0;
  }
}


.vis-app-icon-sm {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  flex-shrink: 0;
}

.vis-app-avatar {
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  flex-shrink: 0;
}

.vis-app-title-sm {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.vis-app-banner {
  height: 60px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  margin-bottom: 8px;
}

/* Testimonials carousel styles consolidated at line 1094 */

.vis-app-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 8px;
}

.vis-app-card {
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.tall-card {
  height: 76px;
}

.vis-app-bottom-nav {
  display: flex;
  gap: 4px;
  justify-content: center;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vis-bn-item {
  width: 20px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
}

.vis-bn-item.active {
  background: rgba(255, 255, 255, 0.55);
  width: 28px;
}

.vis-list-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.vis-list-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.vis-li-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  flex-shrink: 0;
}

.blue-icon {
  background: rgba(255, 255, 255, 0.3);
}

.light-icon {
  background: rgba(255, 255, 255, 0.12);
}

.vis-li-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vis-li-t1 {
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.vis-li-t2 {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.vis-li-t1.short,
.vis-li-t2.short {
  width: 65%;
}

.vis-ios-btn {
  height: 22px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100px;
}

/* â”€â”€ SLIDE 3: AI Dashboard visual â”€â”€ */
.vis-ai-dashboard {
  width: 100%;
  max-width: min(420px, 90vw);
  background: rgba(8, 24, 72, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.vis-ai-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.vis-ai-dot-green {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.vis-ai-badge {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 3px 10px;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 100px;
  color: #4ade80;
}

.vis-pipeline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.vis-pipe-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  flex-shrink: 0;
}

.vis-pipe-node.active-node {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 20px rgba(165, 192, 255, 0.25);
}

.vis-pn-icon {
  font-size: 1.2rem;
}

.vis-pipe-node span {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  white-space: nowrap;
}

.vis-pipe-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
}

.vis-pipe-arrow {
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: rgba(255, 255, 255, 0.4);
}

.vis-ai-metrics {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 16px;
}

.vis-metric-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vm-label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  width: 68px;
  flex-shrink: 0;
}

.vm-bar-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  overflow: hidden;
}

.vm-bar {
  height: 100%;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 100px;
}

.vm-bar.green-bar {
  background: rgba(74, 222, 128, 0.65);
}

.vm-val {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  width: 30px;
  text-align: right;
}

.vis-ai-log {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.vis-log-line {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  gap: 8px;
  align-items: center;
}

.vis-log-line.active-log {
  color: rgba(255, 255, 255, 0.8);
}

.log-ts {
  color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  font-family: monospace;
}

/* â”€â”€ Floating stat cards (all slides) â”€â”€ */
.vis-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  padding: 10px 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  animation: floatY 4s ease-in-out infinite;
  z-index: 5;
}

.fc-1 {
  bottom: 10px;
  right: -10px;
  animation-delay: 0s;
}

.fc-2 {
  bottom: 10px;
  left: -10px;
  animation-delay: .8s;
}

.fc-3 {
  bottom: -5px;
  right: 0;
  animation-delay: .4s;
}

.fc-icon {
  font-size: 1.2rem;
}

.vis-float-card strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
}

.vis-float-card p {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* â”€â”€ Bottom controls bar â”€â”€ */
.hero-controls {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

/* Dots */
.hc-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hc-dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.hc-dot-btn.active {
  width: 28px;
  border-radius: 100px;
  background: var(--white);
}

/* Arrows */
.hc-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  position: static;
  /* not absolutely positioned */
  transform: none;
}

.hc-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• MARQUEE â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.marquee-band {
  background: var(--blue);
  padding: 14px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 32px;
  align-items: center;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.dot {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.55rem;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• ABOUT â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* ═══════════════════════ ABOUT ═══════════════════════ */
.section#about {
  position: relative;
  overflow: hidden;
  background: #fdfdff;
}

.about-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.about-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.aorb-1 {
  width: 400px;
  height: 400px;
  background: var(--blue-mid);
  top: -100px;
  left: -50px;
}

.aorb-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-sky);
  bottom: 50px;
  right: 10%;
}


/* Layout Container */

/* Add this to ensure the parents don't break the stickiness */
.section#about,
.section#about .container {
  overflow: visible !important;
}

.about-grid {
  display: flex;
  flex-direction: row;
  align-items: start;
  /* Prevents the left side from stretching */
  gap: 40px;
  width: 100%;
}

.about-visual {
  flex: 1;
  min-width: 450px;
  position: -webkit-sticky;
  position: sticky;
  top: 20px;
  /* Try a smaller top value to test */
  height: auto;
  /* Let the content define height */
  align-self: flex-start;
  /* Double-down on preventing stretch */
}


/* Responsive adjustment for tablets/phones */
@media (max-width: 992px) {
  .about-grid {
    flex-direction: column;
    /* Stacks vertically on smaller screens */
  }

  .about-visual {
    min-width: 100%;
    position: relative;
    top: 0;
    margin-bottom: 30px;
  }
}

/* Stat Grid Internal Layout (Keep this as a 2x2 grid inside the card) */
.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 25px;
}


/* .about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  /* Adjust ratio as needed */
/* gap: 60px; */
/* Space between the card and the text */
/* align-items: start; */
/* This anchors both to the top so they don't "hang" */
/* } */

/* Optional: If you want the card to fill the vertical space */
/* .about-visual {
  height: 100%;
} */

/* .about-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Keeps stats centered inside the card while the card itself is anchored */
/* } */

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.a .about-card-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.about-card-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.about-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-stat-item {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.about-stat-item:hover {
  transform: scale(1.05) translateY(-5px);
  background: var(--white);
  box-shadow: 0 15px 30px -10px rgba(28, 70, 168, 0.12);
  border-color: var(--blue-light);
}

.asi-featured {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 10px 25px -5px rgba(28, 70, 168, 0.3);
}

.asi-featured:hover {
  background: var(--blue-dark);
}

.asi-icon {
  font-size: 1.6rem;
  color: var(--blue);
  background: var(--blue-xlight);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: var(--transition);
}

.asi-featured .asi-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.asi-num-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
}

.asi-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue);
  font-family: var(--font-head);
  line-height: 1;
}

.asi-plus {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
}

.asi-featured .asi-num,
.asi-featured .asi-plus {
  color: var(--white);
}

.asi-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.asi-featured .asi-label {
  color: rgba(255, 255, 255, 0.8);
}

.about-text {
  padding-left: 20px;
}

.about-text .section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  border-color: var(--blue-light);
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.h-icon {
  width: 54px;
  height: 54px;
  background: var(--bg-off);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.highlight-item:hover .h-icon {
  background: var(--blue);
  color: var(--white);
  transform: rotate(-10deg) scale(1.1);
}

.highlight-item strong {
  font-size: 1.1rem;
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.highlight-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.gst-badge {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.73rem;
  color: var(--text-muted);
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-off);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• SERVICES â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

.service-card::before {
  content: attr(data-index);
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 0.04em;
}

/* Top border accent line */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card.featured {
  border-color: var(--blue);
  background: linear-gradient(160deg, var(--blue-xlight), var(--white));
}

.service-card.featured::after {
  transform: scaleX(1);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.service-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Fine-tuning specific detailed icons */
.service-icon img[alt="IoT"],
.service-icon img[alt="Automation"],
.service-icon img[alt="Testing"],
.service-icon img[alt="CRM"] {
  width: 54px;
  height: 54px;
}

.service-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.83rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}

.service-tags span {
  font-size: 0.68rem;
  padding: 3px 9px;
  background: var(--blue-xlight);
  border: 1px solid var(--blue-light);
  border-radius: 100px;
  color: var(--blue);
  font-weight: 500;
}

.service-link {
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
  transition: var(--transition);
}

a.service-card {
  text-decoration: none;
  display: block;
  color: inherit;
}

a.service-card:hover .service-link {
  letter-spacing: 0.06em;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• TECHNOLOGIES â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.tech-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.tab-btn {
  padding: 10px 24px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.tab-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.tab-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue-glow);
}

.tech-panels {
  min-height: 160px;
}

.tech-panel {
  display: none;
}

.tech-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
  cursor: default;
  box-shadow: var(--shadow-sm);
}

.tech-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-xlight);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tp-icon {
  font-size: 1.1rem;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• PORTFOLIO â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 450px;
  gap: 24px;
}

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.portfolio-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.p-card-wide {
  grid-column: span 2;
  flex-direction: row;
}

.p-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
}

.p-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid var(--border-strong);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.p-card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.p-card-content p {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.p-tech {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.p-tech span {
  font-size: 0.68rem;
  padding: 3px 9px;
  background: var(--blue-xlight);
  border: 1px solid var(--blue-light);
  border-radius: 100px;
  color: var(--blue);
  font-weight: 500;
}

/* Portfolio visuals */
.p-card-visual {
  flex: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-off);
  position: relative;
  padding: 18px;
}

.p-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Ensures the whole UI design is visible */
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s ease;
}

.portfolio-card:hover .p-img {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Mock screens â€” keep shapes same, tint to blue */
.mock-screen {
  width: 100%;
  max-width: 240px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mock-screen.small {
  max-width: 190px;
}

.mock-bar {
  height: 30px;
  background: var(--blue-xlight);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
}

.mock-bar::before,
.mock-bar::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-light);
}

.mock-content {
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.mock-chart {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: conic-gradient(#1C46A8 60%, #3b82f6 60% 80%, #a5bef8 80%);
  flex-shrink: 0;
}

.mock-stats {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mock-stat-item {
  height: 14px;
  background: var(--blue-light);
  border-radius: 4px;
}

.mock-stat-item:nth-child(2) {
  width: 70%;
}

.mock-stat-item:nth-child(3) {
  width: 50%;
}

.mock-donut {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 14px solid;
  border-color: #1C46A8 #3b82f6 #a5bef8 transparent;
  flex-shrink: 0;
}

.mock-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mock-list-item {
  height: 14px;
  background: var(--blue-light);
  border-radius: 4px;
}

.mock-list-item.short {
  width: 60%;
}

.mock-gauges {
  padding: 14px 10px;
  display: flex;
  gap: 14px;
  justify-content: center;
}

.mock-gauge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 6px solid;
  border-color: #f97316 #f97316 transparent transparent;
  transform: rotate(135deg);
}

.mock-gauge:nth-child(2) {
  border-color: #1C46A8 #1C46A8 transparent transparent;
}

.mock-gauge:nth-child(3) {
  border-color: #16a34a #16a34a transparent transparent;
}

.mock-phone {
  width: 105px;
  background: var(--white);
  border: 2px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mock-phone-screen {
  padding: 7px 5px;
}

.mock-app-header {
  height: 18px;
  background: var(--blue-light);
  border-radius: 4px;
  margin-bottom: 7px;
}

.mock-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.mock-product {
  height: 36px;
  background: var(--blue-xlight);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.mock-feed {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-post {
  height: 40px;
  background: var(--blue-xlight);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.mock-post.short {
  height: 26px;
}

.mock-shop-hero {
  height: 55px;
  background: var(--blue-light);
  border-radius: 6px;
  margin-bottom: 5px;
}

.mock-shop-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.mock-shop-item {
  height: 44px;
  background: var(--blue-xlight);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.portfolio-more-row {
  margin-top: 48px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  /* Ensures they stack on small mobile screens */
}

.portfolio-more-row p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• INDUSTRIES â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 14px;
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
  box-shadow: var(--shadow-sm);
}

.industry-card:hover {
  border-color: var(--blue);
  background: var(--blue-xlight);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ind-icon {
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.industry-card span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.industry-card:hover span {
  color: var(--blue);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• TESTIMONIALS â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.testimonials-grid {
  margin-bottom: 60px;
}

.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.testi-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.testi-card.testi-featured {
  border-color: var(--blue);
  background: linear-gradient(160deg, var(--blue-xlight), var(--white));
  box-shadow: var(--shadow-md);
}

.testi-stars {
  color: var(--accent-orange);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testi-card p {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 24px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.testi-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.clients-section {
  text-align: center;
}

.clients-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.client-logo {
  padding: 11px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: default;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.02em;
}

.client-logo:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-xlight);
  box-shadow: var(--shadow-md);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• CONTACT â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.contact-section {
  background: var(--bg-off);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
}

.contact-info .section-label {
  margin-bottom: 14px;
}

.contact-info .section-title {
  font-size: 2.1rem;
  margin-bottom: 18px;
}

.contact-info>p {
  font-size: 1.03rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.contact-method:hover {
  border-color: var(--blue);
  background: var(--blue-xlight);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.cm-icon {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black-mid);
}

.cm-icon svg {
  position: absolute;
  width: 1.4rem;
  height: 1.4rem;
  transition: var(--transition);
}

.cm-icon .icon-filled {
  opacity: 0;
  transform: scale(0.8);
}

.contact-method:hover .cm-icon {
  color: var(--black-mid);
}

.contact-method:hover .cm-icon .icon-outline {
  opacity: 0;
  transform: scale(1.2);
}

.contact-method:hover .cm-icon .icon-filled {
  opacity: 1;
  transform: scale(1);
}

.contact-method strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.contact-method span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.offices {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.office strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.88rem;
  margin-bottom: 3px;
}

.office p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

input,
select,
textarea {
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 0.93rem;
  font-family: var(--font-main);
  outline: none;
  transition: var(--transition);
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(28, 70, 168, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

select {
  appearance: none;
  cursor: pointer;
}

textarea {
  resize: vertical;
}

.required-star {
  color: #e24b4a;
  margin-left: 2px;
}

.field-error {
  display: none;
  font-size: 12px;
  color: #e24b4a;
  margin-top: 4px;
}

.field-error.show {
  display: block;
}

.form-group input.input-err,
.form-group select.input-err,
.form-group textarea.input-err {
  border-color: #e24b4a;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• FOOTER â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.footer {
  background: var(--blue-deep);
  padding: 72px 0 28px;
  border-top: 4px solid var(--blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer .logo {
  color: var(--white);
}

.footer .logo-icon {
  color: #a5c0ff;
}

.footer .logo em {
  color: #a5c0ff;
  background: none;
  -webkit-text-fill-color: #a5c0ff;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin: 14px 0 22px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.social-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: invert(0) opacity(0.8);
  /* base icons are black, invert to white */
  transition: all var(--transition);
}

.social-links a:hover .social-icon {
  filter: invert(0) opacity(1);
  transform: scale(1.15);
}

.footer-col h4 {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--white);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• BACK TO TOP â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--grad-blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: var(--transition);
  box-shadow: var(--shadow-blue-glow);
}

.back-to-top.visible {
  display: flex;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: var(--blue-dark);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• SCROLL ANIMATIONS â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• RESPONSIVE â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-card-wide {
    grid-column: span 1;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-accent-box {
    right: 16px;
    bottom: 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Testimonials responsive slider styles at line 1117 */
}

/* ── Tablet: stack to single column ── */
@media (max-width: 991px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0 120px;
    text-align: center;
  }

  .hero-text {
    align-items: center;
    order: 1;
  }

  .slider-img {
    display: none;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
    max-width: 480px;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hc-tech-row {
    justify-content: center;
  }

  .hero-visual-panel {
    height: auto;
    min-height: 320px;
    margin-top: 40px;
  }

  .android-phone {
    width: 110px;
    height: 220px;
  }

  .ios-phone {
    width: 110px;
    height: 230px;
  }
}




@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .navbar .logo-img {
    height: 40px;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: #ffffff;
    backdrop-filter: blur(16px);
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    z-index: 3000;
    padding: 100px 20px 420px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a,
  .nav-links .svc-menu-btn {
    font-size: 1.1rem;
    color: var(--black);
    font-weight: 600;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    background: none;
    border-left: none;
    border-right: none;
    font-family: var(--font-main);
  }

  .nav-links .btn-nav {
    border-bottom: none;
    background: #14338a;
    color: white;
    padding: 10px;
    border-radius: 6px;
  }

  .hamburger {
    display: flex;
    z-index: 3001;
  }

  .hero-stats {
    gap: 18px;
  }

  .stat-divider {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .slider-img {
    max-width: 320px;
  }

  .hc-slide {
    min-height: auto;
    padding-bottom: 80px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .p-card-wide .p-card-visual {
    height: 250px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 26px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .hero-title {
    gap: 0;
  }

  .line-1,
  .line-3 {
    font-size: 1.1rem;
  }

  .line-2 {
    font-size: 1.9rem;
  }

  .hero-sub {
    font-size: 0.92rem;
  }

  .hc-tech-row span {
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  .slider-img {
    max-width: 260px;
  }

  .tech-tabs {
    gap: 5px;
  }

  .tab-btn {
    padding: 7px 14px;
    font-size: 0.78rem;
  }

  .svc-menu-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════ MAP SECTION ════════════════ */
.map-section {
  position: relative;
  width: 100%;
  height: 450px;
  background: var(--bg-off);
  overflow: hidden;
}

.map-click-layer {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
}

.map-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.map-container iframe {
  pointer-events: none;
  /* Allows click to pass through to the anchor tag */
}

.map-overlay {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.map-card {
  pointer-events: auto;
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 360px;
  border: 1px solid var(--border);
  animation: floatY 4s ease-in-out infinite;
}

.map-card-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.map-card h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.map-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.map-link {
  font-weight: 700;
  color: var(--blue);
  font-size: 0.9rem;
  transition: var(--transition);
}

.map-link:hover {
  color: var(--accent-sky);
  padding-left: 5px;
}

@media (max-width: 768px) {
  .map-overlay {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    padding: 24px;
    background: var(--white);
  }

  .map-card {
    max-width: 100%;
    box-shadow: none;
    border: none;
    padding: 0;
    animation: none;
  }

  .map-section {
    height: auto;
  }
}