/* ═══════════════════════════════════════════════════
   DOT INFY — Complete Stylesheet
   Fonts: Plus Jakarta Sans (headings) + Manrope (body)
   Brand: #1A237E navy · #2196F3 blue · #0A0F3D ink
   ═══════════════════════════════════════════════════ */

:root {
  --navy:   #1A237E;
  --blue:   #2196F3;
  --blue2:  #1565C0;
  --mist:   #BBDEFB;
  --ink:    #0A0F3D;
  --body:   #1E2B5E;
  --white:  #ffffff;
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.03em;
}

a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }

/* ── Skip link (keyboard & screen-reader accessibility) ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 99999;
  font-weight: 700;
}
.skip-link:focus { left: 8px; }

/* ── Performance: skip rendering of off-screen heavy sections ── */
.sv-section, .ag, .why-section, .proc, .contact-section, .footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

/* ── Honour reduced-motion preference for animations ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .strip-track { animation: none !important; }
}

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

.accent { color: var(--blue); }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .93rem;
  padding: 14px 28px;
  border-radius: 9px;
  box-shadow: 0 4px 24px rgba(33,150,243,.45);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--blue2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(33,150,243,.55);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,.85);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .93rem;
  padding: 12px 24px;
  border-radius: 9px;
  border: 2px solid rgba(255,255,255,.35);
  transition: border-color .2s, color .2s;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

/* ── Section tags ── */
.sec-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.sec-tag::before,
.sec-tag::after {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
  flex-shrink: 0;
}
.sec-tag-light { color: var(--blue); }
.sec-tag-light::before,
.sec-tag-light::after { background: var(--blue) }
.sv-header .sec-tag {
  justify-content: center;
}

/* ═══════════════ NAV ═══════════════ */
#nav {
  position:sticky;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, background .3s, border-color .3s;
}
#nav.scrolled { box-shadow: 0 2px 30px rgba(33,150,243,.1); background: rgba(238,243,251,0.97) !important; border-bottom-color: var(--mist); backdrop-filter: blur(20px); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.nav-logo { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; }
.logo-dot { color: var(--ink); }
.logo-infy { color: var(--blue); }
.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
}
.nav-logo-img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-logo .nav-logo-img {
  height: 84px;
}
@media (max-width: 768px) {
  .nav-logo-img { height: 52px; }
  .footer-logo .nav-logo-img { height: 72px; }
}
.nav-links a {
  font-size: .85rem;
  font-weight: 600;
  color: var(--body);
  padding: 8px 12px;
  border-radius: 7px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--blue); background: var(--mist); }
.nav-end { display: flex; align-items: center; gap: 12px; }
.nav-email {
  font-size: .82rem;
  font-weight: 600;
  color: var(--body);
  padding: 8px 14px;
  border-radius: 7px;
  border: 1.5px solid var(--mist);
  transition: border-color .2s;
}
.nav-email:hover { border-color: var(--blue); }
.nav-cta {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  padding: 10px 20px;
  border-radius: 8px;
  transition: background .2s;
}
.nav-cta:hover { background: var(--blue2); }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 11px;              /* 22px icon + 22px padding ≈ 44px WCAG tap target */
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 10px 40px 16px;
  border-top: 1px solid var(--mist);
  background: #fff;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: .95rem;
  font-weight: 600;
  color: var(--body);
  padding: 13px 16px;
  border-radius: 7px;
  min-height: 44px;           /* WCAG touch target */
  display: flex;
  align-items: center;
}


.mob-cta {
  display: inline-flex;
  align-items: center;
  background: var(--blue);  
  color: #fff !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .93rem;
  padding: 14px 28px;
  border-radius: 9px;
  box-shadow: 0 4px 24px rgba(33,150,243,.45);
  transition: background .2s, transform .2s, box-shadow .2s;
  justify-content: center;
}
.mob-cta:hover {
  background: var(--blue2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(33,150,243,.55);
}



@media (max-width: 1024px) {
  .nav-cta { display: none; }
}
/* ═══════════════ STRIP ═══════════════ */
.strip {
  background: linear-gradient(90deg,#060d2e,var(--navy));
  overflow: hidden;
  padding: 13px 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.strip-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.strip-item {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: var(--font-body);
  white-space: nowrap;
  flex-shrink: 0;
}
.strip-item::before {
  content: '';
  width: 4px;
  height: 4px;
  min-width: 4px;
  background: rgba(255,255,255,.4);
  border-radius: 50%;
  display: inline-block;
  margin-right: 12px;
}

/* ═══════════════ AI SECTION ═══════════════ */
.ag {
  padding: 80px 20px 100px;
  position: relative;
  overflow: hidden;
  background: #060d2e;
}
.ag-bg-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse at 50% 30%, rgba(33,150,243,0.22) 0%, rgba(33,150,243,0.06) 40%, transparent 70%);
  pointer-events: none; z-index: 0;
}

.ag-header {
  text-align: center; margin-bottom: 64px;
  position: relative; z-index: 2;
}
.ag-heading {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.08;
  color: #fff; margin-bottom: 18px;
}
.ag-heading span { color: var(--blue); }
.ag-subtitle {
  font-size: 15.5px; color: rgba(255,255,255,.5);
  line-height: 1.75; max-width: 480px; margin: 0 auto;
}
.ag-orbit-wrap {
  position: relative; width: 700px; height: 700px;
  max-width: 100%;
  margin: 0 auto; z-index: 1;
}
#agCanvas {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; z-index: 1;
}
.ag-centre {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #1a3f96 0%, #0b1640 60%, #060d2e 100%);
  border: 1.5px solid rgba(33,150,243,0.5);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; z-index: 10;
  box-shadow: 0 0 0 12px rgba(33,150,243,0.06), 0 0 0 28px rgba(33,150,243,0.04), 0 0 60px rgba(33,150,243,0.35);
}
.ag-centre svg {
  width: 28px; height: 28px; stroke: var(--blue); fill: none;
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  animation: ag-spin 12s linear infinite;
}
@keyframes ag-spin { to { transform: rotate(360deg); } }
.ag-centre p {
  font-family: var(--font-head); font-weight: 700;
  font-size: 11px; color: var(--blue);
  letter-spacing: 0.07em; text-align: center; line-height: 1.3;
}
.ag-tile {
  position: absolute; width: 185px;
  top: 50%; left: 50%; z-index: 10;
}
.ag-tile-top    { transform: translate(-50%, calc(-50% - 265px)); }
.ag-tile-right  { transform: translate(calc(-50% + 265px), -50%); }
.ag-tile-bottom { transform: translate(-50%, calc(-50% + 265px)); }
.ag-tile-left   { transform: translate(calc(-50% - 265px), -50%); }

@property --ag-ba { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes ag-ba-spin { to { --ag-ba: 360deg; } }

.ag-t-border {
  border-radius: 18px; padding: 1px;
  background: conic-gradient(
    from var(--ag-ba),
    transparent 0% 50%,
    rgba(33,150,243,0.7) 65%,
    rgba(26,35,126,0.75) 80%,
    rgba(66,165,245,0.5) 88%,
    transparent 100%
  );
  animation: ag-ba-spin 8s linear infinite;
}
.ag-td1 { animation-delay: 0s; }
.ag-td2 { animation-delay: -2s; }
.ag-td3 { animation-delay: -4s; }
.ag-td4 { animation-delay: -6s; }

.ag-t-inner {
  background: rgba(6,13,46,0.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 17px; padding: 18px 16px;
  text-align: center; transition: background 0.3s;
}
.ag-t-border:hover .ag-t-inner { background: rgba(13,26,80,0.95); }

.ag-t-icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(33,150,243,0.12);
  border: 1px solid rgba(33,150,243,0.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; transition: background 0.3s;
}
.ag-t-border:hover .ag-t-icon { background: rgba(33,150,243,0.22); }
.ag-t-icon svg {
  width: 18px; height: 18px; stroke: var(--blue); fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.ag-t-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: 13px; color: #e0ecff;
  margin-bottom: 6px; line-height: 1.3;
}
.ag-t-desc { font-size: 11.5px; color: rgba(255,255,255,.4); line-height: 1.65; }

.ag-cta { text-align: center; margin-top: 56px; position: relative; z-index: 2; }

@media (max-width: 860px) {
  .ag-orbit-wrap { width: 500px; height: 500px; }
  .ag-tile { width: 150px; }
  .ag-tile-top    { transform: translate(-50%, calc(-50% - 190px)); }
  .ag-tile-right  { transform: translate(calc(-50% + 190px), -50%); }
  .ag-tile-bottom { transform: translate(-50%, calc(-50% + 190px)); }
  .ag-tile-left   { transform: translate(calc(-50% - 190px), -50%); }
  .ag-t-desc { display: none; }
  .ag-cta { margin-top: 75px;}
  .ag-header {margin-bottom: 84px;}
}
@media (max-width: 720px) {
  /* Tablet portrait: 500 px orbit doesn't fit; scale down smoothly */
  .ag-orbit-wrap { width: 380px; height: 380px; }
  .ag-tile { width: 130px; }
  .ag-tile-top    { transform: translate(-50%, calc(-50% - 150px)); }
  .ag-tile-right  { transform: translate(calc(-50% + 150px), -50%); }
  .ag-tile-bottom { transform: translate(-50%, calc(-50% + 150px)); }
  .ag-tile-left   { transform: translate(calc(-50% - 150px), -50%); }
  .ag-centre { width: 90px; height: 90px; }
}
@media (max-width: 560px) {
  .ag-orbit-wrap { width: 260px; height: 260px; }
  .ag-tile { width: 110px; }
  .ag-tile-top    { transform: translate(-50%, calc(-50% - 120px)); }
  .ag-tile-right  { transform: translate(calc(-50% + 120px), -50%); }
  .ag-tile-bottom { transform: translate(-50%, calc(-50% + 120px)); }
  .ag-tile-left   { transform: translate(calc(-50% - 120px), -50%); }
  .ag-centre { width: 60px; height: 60px; }
  .ag-centre svg { width: 15px; height: 15px; }
  .ag-centre p { font-size: 9px; }
  .ag-t-title { font-size: 10px; }
}

/* ═══════════════ WHY ═══════════════ */
.why-section {
  background: #EEF3FB;
  padding: 96px 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-card {
  flex-direction: column;
  gap: 0 !important;
}

.why-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.why-card-header .sv-card-title {
  margin-bottom: 0;
}
.why-card .sv-card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.sv-header .sv-subtitle {
  font-size: .97rem;
  color: var(--body);
  line-height: 1.76;
  max-width: 520px;
  margin: 14px auto 0;
  text-align: center;
}

.why-section .sv-header {
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-section .sv-header { margin-bottom: 28px;}
}
@media (max-width: 500px) {
  .why-grid { grid-template-columns: 1fr; }
}
/* ═══════════════ PROCESS SECTION ═══════════════ */
.proc {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
  background: #060d2e;
  width: 100%;
}
.proc-bg-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 600px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(33,150,243,0.18) 0%, rgba(33,150,243,0.04) 45%, transparent 70%);
}


.proc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

/* Header */
.proc-header { text-align: center; margin-bottom: 72px; }
.proc-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue2); margin-bottom: 22px;
}
.proc-eyebrow::before, .proc-eyebrow::after {
  content: ''; width: 28px; height: 1px; background: var(--blue2); opacity: .45;
}
.proc-heading {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.0; letter-spacing: -.04em; color: #fff; margin-bottom: 20px;
}
.proc-heading span { color: var(--blue); }
.proc-subtitle {
  font-size: 1rem; color: rgba(255,255,255,.45);
  line-height: 1.76; max-width: 480px; margin: 0 auto;
}

/* Timeline */
.proc-timeline {
  display: flex; align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}
.proc-tl-item {
  display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 2; flex-shrink: 0;
}
.proc-tl-node {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(33,150,243,0.18);
  background: rgba(13,25,80,0.5);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: .72rem; font-weight: 800;
  color: rgba(255,255,255,.55); letter-spacing: .1em;
  transition: border-color .4s, background .4s, color .4s, box-shadow .4s;
}
.proc-tl-node.active {
  border-color: rgba(33,150,243,0.5);
  background: rgba(13,25,80,0.85);
  color: #42A5F5;
  box-shadow: 0 0 0 8px rgba(33,150,243,0.06), 0 0 20px rgba(33,150,243,0.2);
}
.proc-tl-label {
  margin-top: 10px; font-size: .68rem; font-weight: 600;
  color: rgba(255,255,255,.45); text-align: center; line-height: 1.4;
  transition: color .4s; white-space: nowrap;
}
.proc-tl-item.active .proc-tl-label { color: rgba(66,165,245,.6); }

/* Line connector */
.proc-tl-line {
  flex: 1; min-width: 40px; height: 20px;
  display: flex; align-items: center;
  margin-bottom: 34px; position: relative;
}
.proc-tl-line-bg {
  width: 100%; height: 1px;
  background: rgba(33,150,243,0.12);
  position: relative; overflow: hidden;
}
.proc-tl-line-bg::after {
  content: '';
  position: absolute; top: 0; left: 0;
  height: 100%; width: 0%;
  background: linear-gradient(90deg, rgba(33,150,243,0.7), rgba(66,165,245,0.5));
  border-radius: 1px;
  transition: width 0s;
}
.proc-tl-line.animating .proc-tl-line-bg::after {
  transition: width .45s cubic-bezier(.4,0,.2,1);
  width: 100%;
}
.proc-tl-line.filled .proc-tl-line-bg::after {
  width: 100%; transition: none;
}
.proc-tl-line.clearing .proc-tl-line-bg::after {
  transition: width .25s cubic-bezier(.4,0,.2,1);
  width: 0%;
}

/* Cards */
@property --proc-cb { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes proc-cb-spin { to { --proc-cb: 360deg; } }

.proc-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

.proc-card {
  background: rgba(13,25,80,0.5); border-radius: 20px;
  padding: 28px 24px; position: relative; overflow: hidden;
  transition: background .3s, transform .3s; cursor: default;
}
.proc-card::after {
  content: ''; position: absolute; inset: 0; border-radius: 20px;
  border: 1px solid rgba(33,150,243,0.15);
  transition: border-color .3s; pointer-events: none;
}
.proc-card.hovered { background: rgba(13,25,80,0.8); transform: translateY(-4px); }
.proc-card.hovered::after { border-color: transparent; }

.proc-card-border {
  position: absolute; inset: 0; border-radius: 20px; padding: 1px;
  pointer-events: none; opacity: 0; transition: opacity .3s;
  background: conic-gradient(from var(--proc-cb), transparent 0% 50%, rgba(33,150,243,0.8) 65%, rgba(66,165,245,0.5) 80%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.proc-card.hovered .proc-card-border {
  opacity: 1; animation: proc-cb-spin 4s linear infinite;
}
.proc-card-glow {
  position: absolute; inset: 0; border-radius: 20px;
  background: radial-gradient(ellipse at 50% 0%, rgba(33,150,243,0.07) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.proc-card.hovered .proc-card-glow { opacity: 1; }

.proc-card-num {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-head); font-size: .68rem; font-weight: 800;
  color: rgba(66,165,245,0.2); letter-spacing: .12em;
  transition: color .35s;
}
.proc-card.hovered .proc-card-num { color: #42A5F5; }

.proc-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(33,150,243,0.1); border: 1px solid rgba(33,150,243,0.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; transition: background .3s, border-color .3s;
}
.proc-card.hovered .proc-card-icon {
  background: rgba(33,150,243,0.18); border-color: rgba(33,150,243,0.35);
}
.proc-card-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1rem; color: #e0ecff; margin-bottom: 10px; line-height: 1.25;
}
.proc-card-desc {
  font-size: .83rem; color: rgba(255,255,255,.38); line-height: 1.72; margin-bottom: 20px;
}
.proc-card-output { border-top: 1px solid rgba(33,150,243,0.1); padding-top: 14px; }
.proc-card-output-label {
  font-size: .63rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); opacity: .85; margin-bottom: 5px;
}
.proc-card-output-text {
  font-size: .77rem; color: rgba(255,255,255,.28); line-height: 1.55; font-style: italic;
}

/* Responsive */
@media (max-width: 900px) {
  .proc-cards { grid-template-columns: 1fr 1fr; }
  .proc-inner  { padding: 0 20px; }  
  .proc-header {margin-bottom: 48px;}
}
@media (max-width: 500px) {
  .proc-cards { grid-template-columns: 1fr; }
  .proc-timeline { display: none; }
}
/* ═══════════════ CONTACT SECTION ═══════════════ */
.contact-section {
  background: #EEF3FB;
  padding: 96px 0;
}


.contact-intro {
  font-size: .97rem;
  color: var(--body);
  line-height: 1.76;
  max-width: 480px;
  margin: 16px auto 56px;
  text-align: center;
}

@media (max-width: 768px) {
  .contact-section { padding: 48px 0 !important; }
  .contact-intro { margin: 16px auto 16px;}
}

.contact-mobile-hint {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
  margin-bottom: 16px;
  padding-bottom: 16px;
}
/* Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: start;
}

/* ── Left: contact cards ── */
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card {
  background: #fff;
  border: 1px solid #e2eaf6;
  border-radius: 14px;
  padding: 22px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 2px 12px rgba(33,100,210,.05);
  text-decoration: none;
  transition: box-shadow .25s, transform .25s, border-color .25s, background .25s;
  cursor: default;
}
.contact-card:hover {
  box-shadow: 0 8px 32px rgba(33,100,210,.13);
  transform: translateY(-3px);
  border-color: var(--blue);
  background: #f0f6ff;
}
.contact-card-icon {
  width: 52px; height: 52px; min-width: 52px;
  border-radius: 12px;
  background: #EBF5FF;
  border: 1px solid var(--mist);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s;
  flex-shrink: 0;
}
.contact-card:hover .contact-card-icon {
  background: var(--blue);
  border-color: var(--blue);
}
.contact-card-icon svg { transition: stroke .25s; }
.contact-card:hover .contact-card-icon svg { stroke: #fff !important; }
.contact-card-label {
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--body); margin-bottom: 3px;
  transition: color .25s;
}
.contact-card:hover .contact-card-label { color: var(--blue); }
.contact-card-val { font-size: .97rem; font-weight: 700; color: var(--ink); }

/* Statement card */
.contact-statement {
  background: #fff;
  border: 1px solid #e2eaf6;
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 2px 12px rgba(33,100,210,.05);
  transition: box-shadow .25s, transform .25s, border-color .25s, background .25s;
  cursor: default;
}
.contact-statement:hover {
  box-shadow: 0 8px 32px rgba(33,100,210,.13);
  transform: translateY(-3px);
  border-color: var(--blue);
  background: #f0f6ff;
}
.contact-statement p {
  font-size: .97rem;
  color: var(--body);
  line-height: 1.78;
  margin-bottom: 18px;
}
.contact-statement p strong { color: var(--ink); }

/* Badges */
.contact-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 600; color: var(--body);
  background: #EBF5FF; border: 1px solid var(--mist);
  border-radius: 100px; padding: 6px 13px;
  transition: background .2s, border-color .2s, color .2s;
  cursor: default;
}
.contact-badge:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.contact-badge svg { flex-shrink: 0; transition: stroke .2s; }
.contact-badge:hover svg { stroke: #fff !important; }

/* ── Right: form card ── */
.contact-form-card {
  background: #fff;
  border: 1px solid #e2eaf6;
  border-radius: 16px;
  padding: 38px 34px;
  box-shadow: 0 4px 32px rgba(33,100,210,.09);
  position: relative;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  cursor: default;
}
.contact-form-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--blue2), var(--blue));
}
.contact-form-card:hover {
  box-shadow: 0 12px 48px rgba(33,100,210,.15);
  transform: translateY(-3px);
  border-color: var(--blue);
}

.contact-form-heading {
  font-family: var(--font-head);
  font-size: 1.3rem; font-weight: 800;
  color: var(--ink); margin-bottom: 6px;
  text-align: center;
}
.contact-form-sub {
  font-size: .84rem;
  color: var(--body);
  margin-bottom: 26px;
  text-align: center;
}

/* Spam honeypot — invisible to humans, bots tend to auto-fill it */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important; height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.fg label { font-size: .73rem; font-weight: 700; color: var(--ink); }
.req { color: var(--blue); }
.fg input, .fg select, .fg textarea {
  font-family: var(--font-body); font-size: .92rem; color: var(--ink);
  border: 1.5px solid #e2eaf6; border-radius: 8px;
  padding: 12px 14px; outline: none; width: 100%; background: #fff;
  min-height: 44px;            /* WCAG touch target */
  transition: border-color .2s, box-shadow .2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,150,243,.1);
}
.fg textarea { resize: vertical; min-height: 112px; padding-top: 12px; }
.form-submit {
  display: block;
  margin: 0 auto;
  padding: 14px;
  background: var(--blue); color: #fff;
  font-family: var(--font-body); font-size: .95rem; font-weight: 800;
  border: none; border-radius: 9px; cursor: pointer;
  box-shadow: 0 4px 20px rgba(33,150,243,.44);
  transition: background .2s, transform .15s, box-shadow .2s;
  margin-top: 4px;  
}
.form-submit:hover {
  background: var(--blue2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(33,150,243,.55);
}


.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .93rem;
  padding: 14px 28px;
  border-radius: 9px;
  box-shadow: 0 4px 24px rgba(33,150,243,.45);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--blue2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(33,150,243,.55);
}
.form-notice {
  margin-top: 14px; padding: 12px 16px; border-radius: 8px;
  font-size: .88rem; font-weight: 600; display: none;
}
.form-notice.success { background: #E8F5E9; color: #1B5E20; border: 1px solid #A5D6A7; display: block; }
.form-notice.error   { background: #FFEBEE; color: #B71C1C; border: 1px solid #FFCDD2; display: block; }

/* Responsive */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }
}
/* ═══════════════ FOOTER ═══════════════ */
.footer {
  background: #060d2e;
  border-top: 1px solid rgba(33,150,243,0.1);
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}
.footer-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 800px; height: 300px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(33,150,243,0.08) 0%, transparent 65%);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

/* Top grid */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Brand */
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -.03em;
}
.footer-logo-dot  { color: #fff; }
.footer-logo-infy { color: var(--blue); }
.footer-tagline {
  font-size: .84rem;
  color: rgba(255,255,255,.35);
  line-height: 1.72;
  max-width: 240px;
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 9px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: rgba(255,255,255,.45);
  transition: background .22s, border-color .22s, color .22s;
}
@media (max-width: 600px) {
  .social-btn { width: 44px; height: 44px; }
}
.social-btn:hover {
  background: rgba(33,150,243,.15);
  border-color: rgba(33,150,243,.35);
  color: var(--blue);
}

/* Link columns */
.footer-col-heading {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: .84rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 11px;
  text-decoration: none;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: .75rem;
  color: rgba(255,255,255,.18);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: .75rem;
  color: rgba(255,255,255,.18);
  text-decoration: none;
  transition: color .2s;
}
.footer-legal a:hover { color: rgba(255,255,255,.5); }

/* Animated gradient strip */
.footer-strip {
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--blue2), var(--blue), var(--navy));
  background-size: 200% 100%;
  animation: footer-strip-move 4s linear infinite;
}
@keyframes footer-strip-move {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .footer-logo {
    display: flex;
    justify-content: center;
  }
  .footer-tagline {
    max-width: 100%;
    margin: 0 auto 24px;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { padding: 0 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 768px) {
  .container        { padding: 0 24px; }
  .nav-inner        { padding: 14px 24px; }
  .nav-links, .nav-email { display: none; }
  .burger           { display: flex; }
  .why-grid         { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .sv-section       { padding: 48px 0 !important; }
  .ag               { padding: 48px 0; }
  .why-section      { padding: 48px 0; }
  .proc             { padding: 48px 0; }
  .contact-section  { padding: 48px 0 !important; }
  .sv-section-inner { padding: 0 16px; }
  .proc-inner       { padding: 0 16px; }
}

@media (max-width: 500px) {
  .hero-btns        { flex-direction: column; }
  .hero-btns a      { text-align: center; justify-content: center; }
  .why-grid         { grid-template-columns: 1fr; }  
}

/* ═══════════════════════════════════════
   NEW SERVICES — numbered list style
   ═══════════════════════════════════════ */
.sv-section {
  background:#EEF3FB;
  /* #fff;*/
  padding: 96px 0;
}
.sv-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.sv-header {
  margin-bottom: 56px;
  text-align: center;
}
.sv-heading {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  color: #0A0F3D;
  line-height: 1.08;
  letter-spacing: -.04em;
  margin-top: 14px;
  margin-bottom: 18px;
}

.sv-subtitle {
  font-size: 15.5px; color: #3A5080;
  line-height: 1.75; max-width: 480px; margin: 0 auto;
}

/* Cards grid */
.sv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sv-card {
  background: #fff;
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-radius: 14px;
  border: 1px solid #e2eaf6;
  box-shadow: 0 2px 12px rgba(33,100,210,.06);
  transition: box-shadow .25s, transform .25s;
  cursor: default;
  /*
  padding: 20px 20px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: background .25s;
  cursor: default;*/
}
.sv-card:hover {
  box-shadow: 0 8px 32px rgba(33,100,210,.13);
  transform: translateY(-3px);
  background: #f0f6ff;
  border-color:#2196F3;
}

.sv-card-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 12px;
  background: #EBF5FF;
  border: 1px solid #BBDEFB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 18px;
}
.sv-card-icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.sv-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0A0F3D;
  margin-bottom: 10px;
  font-family: var(--font-head);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sv-card:hover .sv-card-title {
  color: var(--blue);
}
.sv-card:hover .sv-card-icon {
  background: var(--blue);
  border-color: var(--blue);
}
.sv-card:hover .sv-card-icon svg {
  stroke: #fff;
}

.sv-card-desc {
  font-size: .88rem;
  color: #3A5080;
  line-height: 1.72;
}
.sv-hot {
  font-size: .62rem;
  font-weight: 700;
  color: #E65100;
  background: #FFF3E0;
  border: 1px solid #FFCC80;
  padding: 2px 8px;
  border-radius: 100px;
  font-style: normal;
}

.sv-card:hover .sv-card-icon .wp-icon {
  fill: #fff;
}

@media (max-width: 768px) {
  .sv-cards { grid-template-columns: 1fr; }
  .sv-section-inner { padding: 0 20px; }
  .sv-card { padding: 18px 14px; }
  .sv-header {margin-bottom: 28px;}
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  background: #020720;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 72px;
}

/* Full-bleed infinity canvas */
#infinityCanvas {
  position: relative;
  width: 100%;
  height: 62vh;
  height: 62svh;              /* iOS Safari: avoid address-bar layout shift */
  min-height: 280px;
  max-height: 400px;
  display: block;
  z-index: 0;
  pointer-events: none;
  margin-top: -4px;
}

/* Top block: badge + headline, sits above the canvas */
.hero-top {
  display: flex;             /* This is the magic fix */
  flex-direction: column;    /* Forces items to stack vertically */
  align-items: center;       /* Centers them horizontally */
  justify-content: center;
  width: 100%;
  padding-top: 0px;         /* Gives the whole section some breathing room */
}

.hero-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
}
.hero-badge-top::before,
.hero-badge-top::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--blue);
  opacity: .5;
}

.hero-h1 {
  color: white;
  font-size: 3rem;           /* Adjust size as needed */
  text-align: center;
  line-height: 1.2;
  margin: 55px;                 /* Resets default browser margins */
}

/* Left loop overlay — JS sets left/right/top/height */
.hero-left-loop {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  pointer-events: none;
  box-sizing: border-box;
}

.tagline-main {
  font-family: var(--font-head);
  font-size: clamp(.95rem, 2vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.22;
  letter-spacing: -.02em;
  text-align: center;
  text-shadow: 0 2px 24px rgba(2,7,32,.95);
}
.tagline-main span { color: var(--blue); }

/* Right loop overlay — JS sets position */
.hero-right-loop {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  pointer-events: none;
  box-sizing: border-box;
}

/* Below the infinity */
.hero-below {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1200px;
  padding: 24px 40px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.hero-desc {
  color: rgba(255,255,255,.65);
  font-size: .97rem;
  line-height: 1.78;
  max-width: 580px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
  justify-content: center;
}


.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: badgePulse 2s ease-in-out infinite;
  display: inline-block;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  /* Enough canvas height for loops to be visible */
  #infinityCanvas { height: 52vw; min-height: 220px; max-height: 300px; }

  /* Keep spiral visible on mobile */
  .hero-right-loop  { display: flex !important; }

  /* Text sizes */
  .hero-h1       { font-size: clamp(1.1rem, 4.5vw, 2rem); margin: 10px;}
  .tagline-main  { font-size: clamp(.72rem, 2.8vw, 3rem); }

  /* Below section */
  .hero-below { flex-direction: column; align-items: center; padding: 16px 20px 28px; gap: 12px; }
  .hero-btns  { justify-content: center;}
  .hero-btns a { flex: 1; justify-content: center; }

  /* Hero-top: stack badge + title, smaller */
  .hero-top { gap: 2px; }
  .hero-badge-top { font-size: .6rem; padding: 5px 12px; }
}

@media (max-width: 768px) {
  .hero { padding-top: 40px; }
  .hero-top { gap: 4px; }
  .hero-h1 { margin: 20px; }
  .hero-badge-top { margin-bottom: 16px; }
  .hero-below { padding: 12px 24px 32px; gap: 14px; }
}

@media (max-width: 480px) {
  #infinityCanvas { height: 32vw; min-height: 180px; }
  .hero-visual { width: min(80px, 22vw) !important; height: min(80px, 22vw) !important; }
  .hero-h1     { font-size: clamp(1.15rem, 5.2vw, 1.6rem); margin: 10px 12px; }
  .tagline-main { font-size: clamp(.72rem, 2.8vw, 1rem); }
  .hero-badge-top { font-size: .58rem; }
}

.hide-mobile {
  display: none !important;
}

@media (min-width: 769px) {
  .hide-mobile { display: block !important; }
}

.hide-desktop { display: none; }

@media (max-width: 1024px) {
  .hide-desktop { display: block; }
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: 0.1s
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}