:root {
  --bs-primary-rgb: 62, 99, 221;
  --bs-border-radius: 1rem;
  --bs-border-radius-sm: 0.65rem;
  --bs-body-font-family: 'Inter', sans-serif;
  --bs-body-bg: #ffffff;
  --bs-body-color: #14161f;
  --bs-border-color: #e6e8f0;
  --kk-surface: #f6f7fb;
  --kk-surface-2: #eef0f8;
  --kk-muted: #656b7a;
  --kk-heading: #0b0c10;
  --kk-mesh-a: rgba(62, 99, 221, 0.16);
  --kk-mesh-b: rgba(99, 179, 237, 0.14);
  --kk-code-bg: #0f1117;
  --kk-code-text: #d4d8e6;
  --font-title: 'Google Sans', sans-serif;
}
[data-bs-theme="dark"] {
  --bs-body-bg: #08090d;
  --bs-body-color: #e3e5ee;
  --bs-border-color: #21232e;
  --bs-light-rgb: 33,37,41;
  --kk-surface: #0f111a;
  --kk-surface-2: #151824;
  --kk-muted: #9298ab;
  --kk-heading: #f6f7fb;
  --kk-mesh-a: rgba(62, 99, 221, 0.28);
  --kk-mesh-b: rgba(99, 179, 237, 0.2);
  --kk-code-bg: #05060a;
  --kk-code-text: #c7cbe0;
}
.navbar{
  --bs-navbar-toggler-focus-width: 2px;
}

body { transition: background-color 0.2s ease, color 0.2s ease; }
h1, h2, h3, h4, h5, h6, .font-heading { font-family: var(--font-title); color: var(--kk-heading); letter-spacing: -0.02em; }
.text-muted-kk { color: var(--kk-muted) !important; }
.bg-surface { background: var(--kk-surface); }
code, .kk-mono { font-family: 'JetBrains Mono', monospace; }
.fs-7 {font-size: 14px;}
.w-16px {width: 16px;}

.btn { border-radius: 999px; font-weight: 500; padding: 0.62rem 1.4rem; transition: transform 0.15s ease, opacity 0.15s ease; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--bs-primary); border-color: var(--bs-primary); }
.btn-primary:hover { opacity: 0.9; background: var(--bs-primary); border-color: var(--bs-primary); }
.btn-outline-kk { border: 1px solid var(--bs-border-color); color: var(--bs-body-color); background: transparent; }
.btn-outline-kk:hover { border-color: var(--bs-primary); color: var(--bs-primary); }

/* Font Scale: 1.067 (Minor 2nd) — Mobile */
article, article p { font-size: 16px; line-height: 25px; }
article h1 { font-size: 28.83px; }  /* 1.802rem */
article h2 { font-size: 25.63px; }  /* 1.602rem */
article h3 { font-size: 22.78px; }  /* 1.424rem */
article h4 { font-size: 20.25px; }  /* 1.266rem */
article h5 { font-size: 18px; }  	/* 1.125rem */
article h6 { font-size: 16px; }  	/* 1.000rem */
article small { font-size: 14px; }
article img { width: 100%; border-radius: 6px; }

/* Type Scale: 1.200 (Minor 3rd) — Desktop */
@media (min-width: 992px) {
	article h1 { font-size: 39.81px; }	/* 2.488rem */
  article h2 { font-size: 33.18px; }	/* 2.074rem */
	article h3 { font-size: 27.65px; }	/* 1.728rem */
	article h4 { font-size: 23.04px; }	/* 1.440rem */
	article h5 { font-size: 19.2px;	}   /* 1.200rem */
}

[data-bs-theme="light"] .d-show-light { display: inline !important; }
[data-bs-theme="light"] .d-none-light { display: none !important; }
[data-bs-theme="dark"] .d-show-dark { display: inline !important; }
[data-bs-theme="dark"] .d-none-dark { display: none !important; }

.aspect-ratio-16-9{aspect-ratio: 16 / 9; object-fit: cover; }

.kk-card { border: 1px solid var(--bs-border-color); border-radius: var(--bs-border-radius); background: var(--bs-body-bg); transition: border-color 0.2s ease, transform 0.2s ease; }
.kk-card:hover { border-color: var(--bs-primary); transform: translateY(-2px); }

.kk-badge-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; padding: 0.35rem 0.9rem; border-radius: 999px; border: 1px solid var(--bs-border-color); color: var(--kk-muted); background: var(--bs-body-bg); }
.kk-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bs-primary); }

/*.kk-navbar-wrap { position: sticky; top: 0; z-index: 1030; padding: 1rem 0; }*/
.kk-navbar-wrap {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 10px 0;
  transition: padding-top 0.2s ease;
}
@media (max-width: 991px) {
  /*.kk-navbar-wrap { padding-top: 1.5rem; }*/
  /*.kk-navbar-wrap.kk-scrolled { padding-top: 36px; }*/
}
.kk-navbar {
  _max-width: 980px; margin: 0 auto; border-radius: 30px;
  background: color-mix(in srgb, var(--bs-body-bg) 82%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 4px 20px rgba(20,22,31,0.06);
  _padding: 0.55rem 0.6rem;
}
@media (min-width: 992px) { .border-lg-0 {border: 0 !important;} }

.kk-navbar .nav-link { color: var(--kk-muted); font-size: 0.88rem; font-weight: 500; padding: 0.45rem 0.8rem !important; }
.kk-navbar .nav-link:hover { color: var(--bs-primary); }
.kk-navbar .navbar-brand { font-family: var(--font-title); font-weight: 700; font-size: 1.02rem; color: var(--kk-heading); }
.kk-theme-toggle, .kk-lang-toggle { width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--bs-border-color); background: transparent; display: flex; align-items: center; justify-content: center; color: var(--kk-muted); cursor: pointer; }
.kk-theme-toggle:hover, .kk-lang-toggle:hover { border-color: var(--bs-primary); color: var(--bs-primary); }
.kk-lang-slot { min-width: 36px; display: flex; justify-content: flex-end; }
[data-bs-theme="dark"] .kk-icon-sun { display: inline; }
[data-bs-theme="dark"] .kk-icon-moon { display: none; }
.kk-icon-sun { display: none; }
.kk-icon-moon { display: inline; }

.kk-hero { position: relative; _overflow: hidden; overflow-x: clip; overflow-y: unset; _padding: 2rem 0; text-align: center; }
.kk-hero::before { content: ''; position: absolute; top: -30%; left: 10%; width: 620px; height: 620px; background: radial-gradient(closest-side, var(--kk-mesh-a), transparent); z-index: 0; }
.kk-hero::after { content: ''; position: absolute; bottom: -10%; right: 5%; width: 520px; height: 520px; background: radial-gradient(closest-side, var(--kk-mesh-b), transparent); z-index: 0; }
.kk-hero-content { position: relative; z-index: 1; }
.kk-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; line-height: 1.08; }
.kk-code-mock { background: var(--kk-code-bg); color: var(--kk-code-text); border-radius: var(--bs-border-radius); padding: 1.25rem 1.5rem; text-align: left; font-size: 0.82rem; line-height: 1.7; box-shadow: 0 20px 50px rgba(0,0,0,0.25); max-width: 640px; margin: 0 auto; }
.kk-code-dots span { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 5px; }
.kk-c-blue { color: #7aa2f7; } .kk-c-green { color: #9ece6a; } .kk-c-muted2 { color: #565f89; }

.kk-logo-strip { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: center; justify-content: center; opacity: 0.6; }
.kk-logo-strip span { font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; color: var(--kk-muted); }

.kk-stat-num { font-family: var(--font-title); font-weight: 800; font-size: 2.4rem; color: var(--kk-heading); }

.kk-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.kk-bento-wide { grid-column: span 2; }
@media (max-width: 768px) { .kk-bento { grid-template-columns: repeat(2, 1fr); } }
.kk-icon-circle { width: 42px; height: 42px; border-radius: 999px; background: color-mix(in srgb, var(--bs-primary) 14%, transparent); color: var(--bs-primary); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 0.9rem; }
.kk-icon-circle.kk-icon-circle-small { width:32px; height:32px }

.kk-step { text-align: center; position: relative; }
.kk-step-circle { width: 52px; height: 52px; border-radius: 999px; background: var(--bs-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-title); margin: 0 auto 1rem; }
.kk-step-line { position: absolute; top: 26px; left: 50%; width: 100%; height: 2px; background: var(--bs-border-color); z-index: 0; }
.kk-step:last-child .kk-step-line { display: none; }

.kk-browser-frame { border: 1px solid var(--bs-border-color); border-radius: var(--bs-border-radius); overflow: hidden; background: var(--kk-surface-2);}
.kk-browser-bar { background: var(--kk-surface-2); padding: 0.5rem 0.8rem; display: flex; gap: 5px; }
.kk-browser-bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--bs-warning); display: inline-block; }
.kk-browser-body { position: relative; overflow: hidden; border-radius: 11px; margin: 5px;}
.kk-browser-body img { width: 100%; display: block; transition: transform 0.35s ease; }
.kk-portfolio-card:hover img { transform: scale(1.04); }
.kk-overlay { position: absolute; inset: 0; background: color-mix(in srgb, #000 55%, transparent); opacity: 0; transition: opacity 0.25s ease; display: flex; align-items: center; justify-content: center; }
.kk-portfolio-card:hover .kk-overlay { opacity: 1; }

.kk-faq-item { border-bottom: 1px solid var(--bs-border-color); }
.kk-faq-q { width: 100%; background: none; border: none; text-align: left; padding: 1.1rem 0; display: flex; justify-content: space-between; align-items: center; font-weight: 500; color: var(--bs-body-color); cursor: pointer; }
.kk-faq-chevron { transition: transform 0.2s ease; color: var(--kk-muted); }
.kk-faq-item.active .kk-faq-chevron { transform: rotate(45deg); color: var(--bs-primary); }
.kk-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; color: var(--kk-muted); font-size: 0.92rem; }
.kk-faq-a-inner { padding-bottom: 1.1rem; }
.kk-faq-item.active .kk-faq-a { max-height: 200px; }

.kk-pricing-popular { border: 1.5px solid var(--bs-primary) !important; }

.kk-section { padding: 5rem 0; }
.kk-eyebrow { font-size: 0.85rem; font-weight: 600; color: var(--bs-primary); text-transform: uppercase; letter-spacing: 0.06em; }

/* Alternating gradient section background */
.kk-gradient-alt {
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, var(--kk-mesh-a), transparent 45%),
    radial-gradient(circle at 85% 80%, var(--kk-mesh-b), transparent 45%);
}

/* Uniform-width service cards */
.kk-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 992px) { .kk-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .kk-services-grid { grid-template-columns: 1fr; } }

/* Process — richer content */
.kk-step-card { text-align: left; position: relative; height: 100%; }
.kk-step-tag { font-size: 0.72rem; font-weight: 600; color: var(--bs-primary); background: color-mix(in srgb, var(--bs-primary) 12%, transparent); padding: 0.2rem 0.6rem; border-radius: 999px; display: inline-block; margin-bottom: 0.7rem; }

/* Why us — richer card grid */
.kk-why-card { height: 100%; }
.kk-why-card .kk-icon-circle { margin-bottom: 1rem; }

/* Testimonial swiper */
.kk-testi-swiper { padding-bottom: 3rem !important; }
.kk-testi-swiper .swiper-pagination-bullet { background: var(--bs-primary); opacity: 0.3; }
.kk-testi-swiper .swiper-pagination-bullet-active { opacity: 1; }
.kk-testi-slide { height: auto; }

/* Contact CTA band */
.kk-cta-band {
  border-radius: calc(var(--bs-border-radius) * 1.4);
  background: linear-gradient(135deg, var(--bs-primary), #6d8bf0);
  color: #fff;
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.kk-cta-band h2 { color: #fff; }
.kk-cta-band p { color: rgba(255,255,255,0.85); }
.kk-cta-band::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,.05);
  border-radius: 50%; pointer-events: none;
}
.kk-cta-band::after {
  content: ''; position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,.04);
  border-radius: 50%; pointer-events: none;
}

/* Footer Divider */
.footer-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
}
.footer-divider::before,
.footer-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  _background: #e5e5e5;
  background: var(--bs-border-color);
}  
.footer-divider img {
  margin: 0 16px;
  height: 20px;
}

/* ── MARQUEE ── */
.marquee-wrap {
  background: var(--kk-surface-2); overflow: hidden; padding: .85rem 0;
}
.marquee-track {
  display: flex; gap: 2.5rem;
  animation: marquee 26s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-size: .73rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--kk-muted); white-space: nowrap;
  display: flex; align-items: center; gap: 2.5rem; line-height: normal;
}
.marquee-item::after { content: '◆'; color: var(--bs-blue); font-size: .4rem; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
main.kk-template-home h2 {font-weight: 700}
.tp-pill{
  background:var(--kk-surface-2);border:1px solid var(--bs-border-color);
  color:var(--ink3);font-size:.78rem;font-weight:500;
  padding:.4rem .9rem;border-radius:100px;cursor:default;
  transition:border-color .2s,color .2s,background .2s;
}
.tp-pill:hover{border-color:var(--blue-bdr);color:var(--blue);background:var(--blue-dim);}

ul.checklist {list-style: none;padding-left: 0;}
ul.checklist li::before {
  content: "";
  position: absolute;
  _left: 0;
  _top: 50%;
  _transform: translateY(-50%); /* Perfectly centers the SVG vertically */
  width: 16px;  /* Set your preferred width */
  height: 16px; /* Set your preferred height */
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><!-- Icon from Akar Icons by Arturo Wibawa - https://github.com/artcoholic/akar-icons/blob/master/LICENSE --><path fill="currentColor" fill-rule="evenodd" d="M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11s11-4.925 11-11S18.075 1 12 1m4.768 9.14a1 1 0 1 0-1.536-1.28l-4.3 5.159l-2.225-2.226a1 1 0 0 0-1.414 1.414l3 3a1 1 0 0 0 1.475-.067z" clip-rule="evenodd" /%3E%3C/svg%3E'); 
  background-size: contain;
  background-repeat: no-repeat;
}