:root {
  --brand: #0d6efd;
  --accent: #00b894;
  --ink: #161c24;
  --muted: #6b7785;
  --soft: #f6f8fb;
  --paper: #fff;
  scroll-padding-top: 150px;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  padding-top: 88px;
}

.navbar.fixed-top {
  background: rgba(255,255,255,.96)!important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* mouse over on Dropdown menu & left show on blog sub menu on wider screens */

@media (min-width: 992px) {
  .navbar .nav-item.dropdown .dropdown-menu-end {
    right: 0;
    left: auto;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* Custom size for desktop and larger screens */

.fk-logo {
  max-width: 325px;
  height: auto;
}

/* Override for mobile phones (screens less than 576px wide) */

@media (max-width: 575.98px) {
  .fk-logo {
    max-width: 250px;
  }
}

/* Enhanced Hero Section with Left-to-Right Gradient */

.hero {
  background: linear-gradient(95deg, #0d6efd 0%, #3f8cff 45%, #00b894 100%);
  color: #fff;
  padding: 4rem 0;
}

.gradient-top-bottom {
  background: linear-gradient(180deg, #ffffff 0%, #bfe2ff 50%, #00b894 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.kpi {
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 1rem;
  padding: 1.2rem;
  text-align: center;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  transition: all 0.3s ease;
}

.kpi:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-5px);
}

.kpi i {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.kpi strong {
  display: block;
  font-size: 1.1rem;
  color: #fff !important;
}

.kpi .small {
  color: rgba(255,255,255,.9) !important;
}

/* Feature Cards */

.feature-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 1rem;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(0,0,0,.08);
}

/* Improved Sections */

.local-partner {
  background: linear-gradient(to right, #f8fbff, #f0f7ff);
  padding: 3rem 0;
}

.switching-section {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="%23f6f8fb" width="100" height="100"/><path fill="%23e9f2ff" d="M0 0 L100 100 L0 100 Z"/></svg>');
  background-size: cover;
  padding: 3rem 0;
}

.reviews-section {
  background: #f9fbff;
  padding: 3rem 0;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--brand), var(--accent));
  border-radius: 2px;
}

.step {
  position: relative;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.step::before {
  content: "";
  position: absolute;
  left: -2.4rem;
  top: 2rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--brand);
}

.no-steps-circles .step::before {
  content: none;
}

.step:last-child {
  margin-bottom: 0;
}

.quote {
  background: #fff;
  border-left: 4px solid var(--brand);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
}

.quote::before {
  content: """;
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 3rem;
  color: var(--brand);
  opacity: 0.2;
  font-family: Georgia, serif;
}

footer {
  background: #0f172a !important;
}

/* Logo styling - Made larger */

/* Location grid alignment */

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.location-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
}

/* Yellow stars for reviews */

.yellow-stars {
  color: #ffc107;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Go to Top Button */

/* ===== NON-CONFLICTING STYLES FROM site-old.css ===== */

/* About page styles */

.hero-about {
  position: relative;
  background: #0f172a;
  color: #fff;
  overflow: hidden;
}

.hero-about::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 70%;
  background: radial-gradient(60% 60% at 20% 30%, rgba(13,110,253,.4), transparent 60%), radial-gradient(45% 45% at 70% 40%, rgba(0,184,148,.35), transparent 70%);
  filter: blur(22px);
}

.hero-about .lead {
  color: #cfe4ff;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: .35rem .75rem;
  font-weight: 600;
  color: #000!important;
}

.chip i {
  color: #0b5ed7;
}

.card-soft {
  background: #ffffff;
  border: 1px solid #e7eef7;
  border-radius: 18px;
  box-shadow: 0 1.25rem 2rem rgba(20,40,80,.12);
}

.icard {
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 16px;
  padding: 1.15rem;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}

.icard:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(0,0,0,.08);
}

.icard i {
  font-size: 1.6rem;
  color: var(--brand);
}

.icard .t {
  font-weight: 700;
  margin-top: .35rem;
}

.icard .s {
  color: var(--muted);
  font-size: .95rem;
}

.svc {
  position: relative;
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 14px;
  padding: 1rem;
  height: 100%;
}

.svc::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 6px;
  border-radius: 6px;
  background: linear-gradient(180deg,#cfe2ff,#b6f1e3);
}

.svc h3 {
  font-size: 1.05rem;
  margin: .25rem 0 .35rem;
}

.svc p, .svc li {
  color: var(--muted);
  font-size: .95rem;
}

.dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -28px auto .5rem auto;
  color: #fff;
  background: #0d6efd;
  font-weight: 700;
  box-shadow: 0 .35rem .9rem rgba(13,110,253,.25);
}

.bio-card .avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg,#cfe2ff,#b6f1e3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #0d6efd;
  font-size: 1.4rem;
}

footer a {
  color: #fff;
}

.accordion-button:focus {
  box-shadow: none;
}

/* Accounts page styles */

.hero-accounts {
  background: var(--soft);
  color: var(--ink);
}

.hero-accounts .lead {
  color: #3a4654;
}

.pill-col {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.check-pill {
  background: #fff;
  border: 1px solid #e6f4ea;
  border-radius: 12px;
  padding: .65rem .9rem .7rem 1rem;
  box-shadow: inset 4px 0 0 #7ddc8a;
}

.check-pill .t {
  font-weight: 700;
}

.check-pill .s {
  font-size: .95rem;
  color: #495667;
}

.check-pill .tick {
  color: #34c759;
  margin-right: .35rem;
}

.tile {
  border: 1px solid #e6edf7;
  border-radius: 1rem;
  background: #fff;
  height: 100%;
  padding: 1.1rem;
}

.tile i {
  font-size: 1.6rem;
  color: var(--brand);
}

.tile h3 {
  font-size: 1rem;
  margin: .4rem 0 .25rem;
}

.tile p {
  font-size: .9rem;
  color: var(--muted);
  margin: 0;
}

.process .dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .5rem auto;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg,var(--brand),var(--accent));
  box-shadow: 0 .35rem .9rem rgba(13,110,253,.25);
}

@media (min-width: 992px) {
  .process .connector {
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg,#cfe2ff,#b6f1e3);
  }
}

h1 {
  font-size: clamp(1.75rem,2.5vw+1.2rem,2.5rem);
}

.btn {
  padding: .65rem 1rem;
}

/* Other page styles */

.eyebrow {
  color: #6b7785;
}

.label-pill {
  display: inline-block;
  padding: .25rem .5rem;
  border-radius: .5rem;
  background: #e9f2ff;
  color: #0b5ed7;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .25px;
}

.card-slab {
  border: 1px solid #e7eef7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 .25rem .75rem rgba(20,40,80,.05);
}

.note {
  background: #fff7e6;
  border: 1px solid #ffe1a6;
  border-left: 4px solid #ffc107;
  border-radius: .75rem;
  padding: 1rem;
}

.section-hint {
  font-size: .925rem;
  color: var(--muted);
}

.list-tight li {
  margin-bottom: .4rem;
}

.comp-col {
  border: 1px solid #e7eef7;
  border-radius: 16px;
  background: #fff;
  padding: 1rem 1.25rem;
}

.comp-col ul {
  padding-left: 1rem;
}

.faq .accordion-button {
  font-weight: 600;
}

/* Dark theme styles */

.glow {
  box-shadow: 0 0 0 .15rem rgba(91,140,255,.15), 0 .75rem 2rem rgba(0,0,0,.35);
}

.card-dark {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  color: #e9f0ff;
}

.card-dark:hover {
  transform: translateY(-3px);
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.5);
}

.muted {
  color: #9ab0c7;
}

.section-title {
  color: #e9f0ff;
}

.calc input {
  background: #0d1633;
  border: 1px solid rgba(255,255,255,.08);
  color: #e9f0ff;
}

.calc .form-label {
  color: #cbd6e6;
}

.calc .result {
  font-weight: 800;
  font-size: 1.25rem;
  color: #a9ffde;
}

/* Bookkeeping page styles */

.hero-bk {
  background: #f7f9fc;
}

.receipt {
  background: #fff;
  border: 1px dashed #cfd8e3;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: 0 .5rem 1.25rem rgba(20,40,80,.08);
  position: relative;
  overflow: hidden;
}

.receipt::before, .receipt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background: radial-gradient(circle at 8px 5px,transparent 6px,#fff 6px) repeat-x;
  opacity: .9;
}

.receipt::before {
  top: -5px;
}

.receipt::after {
  bottom: -5px;
  transform: rotate(180deg);
}

.receipt .rowline {
  display: flex;
  justify-content: space-between;
  font-size: .95rem;
  padding: .3rem 0;
  border-bottom: 1px dashed #e5edf6;
}

.badge-soft {
  background: #e9f2ff;
  color: #0b5ed7;
}

.stack-badges .badge {
  border: 1px solid rgba(13,110,253,.15);
  background: #fff;
  color: #000!important;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(4,minmax(220px,1fr));
  gap: 1rem;
  overflow: auto;
  padding-bottom: .25rem;
}

.highlight {
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 14px;
  padding: 1rem;
  min-width: 220px;
}

.highlight i {
  font-size: 1.6rem;
  color: var(--brand);
}

.highlight .t {
  font-weight: 700;
}

.highlight .s {
  color: var(--muted);
  font-size: .95rem;
}

.compare {
  border: 1px solid #e7eef7;
  border-radius: 16px;
  overflow: hidden;
}

.compare .head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #0f172a;
  color: #fff;
}

.compare .head div {
  padding: .75rem 1rem;
  font-weight: 700;
}

.compare .rowc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #e7eef7;
}

.compare .rowc div {
  padding: .65rem 1rem;
}

.compare .rowc:nth-child(even) {
  background: #f8fbff;
}

.compare .ok {
  color: #198754;
}

.compare .no {
  color: #dc3545;
}

.stepcard {
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 14px;
  padding: 1rem;
  height: 100%;
}

/* Contact page styles */

.hero-contact {
  position: relative;
  background: linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  overflow: hidden;
}

.hero-contact::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 60%;
  height: 160%;
  background: linear-gradient(135deg,#cfe2ff,#b6f1e3);
  transform: skewX(-16deg);
  filter: blur(0px);
  opacity: .35;
}

.slab {
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 16px;
  padding: 1.1rem;
  height: 100%;
  box-shadow: 0 1.2rem 2rem rgba(20,40,80,.08);
}

.slab i {
  font-size: 1.6rem;
  color: var(--brand);
}

.slab .label {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.slab a.text-link {
  color: var(--ink);
  text-decoration: none;
}

.slab a.text-link:hover {
  text-decoration: underline;
}

.hours {
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 14px;
}

.hours .rowline {
  display: flex;
  justify-content: space-between;
  padding: .6rem 1rem;
  border-bottom: 1px dashed #e9eef7;
}

.hours .rowline:last-child {
  border-bottom: none;
}

.area {
  display: inline-block;
  border: 1px solid #e7eef7;
  background: #fff;
  border-radius: 999px;
  padding: .35rem .7rem;
  margin: .25rem .35rem .25rem 0;
}

/* Tax page styles */

.hero-tax {
  position: relative;
  background: linear-gradient(135deg,#0a1022 0%,#16233f 60%,#0a1022 100%);
  color: #fff;
  overflow: hidden;
}

.hero-tax .skew {
  position: absolute;
  inset: auto -10% 0 0;
  height: 120px;
  background: #0a1022;
  clip-path: polygon(0 0,100% 100%,0 100%);
  opacity: .4;
}

.hero-tax .lead {
  color: #cfe4ff;
}

.badge-soft {
  background: #14213b;
  border: 1px solid rgba(255,255,255,.15);
  color: #e2edff;
}

.panel {
  background: #0b152e;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 1.2rem;
}

.panel .rowline {
  display: flex;
  justify-content: space-between;
  font-size: .95rem;
  padding: .45rem 0;
  border-bottom: 1px dashed rgba(255,255,255,.18);
  color: #cfe4ff;
}

.panel .ok {
  color: #7ddc8a;
}

.panel .warn {
  color: #ffd166;
}

.ribbon {
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 16px;
  padding: 1.15rem;
  position: relative;
  height: 100%;
}

.ribbon::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 16px;
  width: 36px;
  height: 16px;
  background: linear-gradient(90deg,#cfe2ff,#b6f1e3);
  border-radius: 8px;
}

.ribbon h3 {
  font-size: 1.05rem;
  margin: .35rem 0;
}

.ribbon p, .ribbon li {
  color: var(--muted);
  font-size: .95rem;
}

.deadband {
  background: #f8fbff;
  border-top: 1px solid #e7eef7;
  border-bottom: 1px solid #e7eef7;
}

.dead {
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 14px;
  padding: 1rem;
  height: 100%;
}

.dead .big {
  font-size: 1.35rem;
  font-weight: 800;
}

.doc {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .6rem .75rem;
  border: 1px solid #e7eef7;
  border-radius: 12px;
  background: #fff;
}

.doc i {
  color: #0d6efd;
  font-size: 1.2rem;
  margin-top: .15rem;
}

/* TOC styles */

/* Online accountancy styles */

.hero-online {
  position: relative;
  background: #fdfefe;
}

.hero-online::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#e9eef7 1px, transparent 1px), radial-gradient(#e9eef7 1px, transparent 1px);
  background-position: 0 0, 14px 14px;
  background-size: 28px 28px;
  opacity: .9;
  mask-image: linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.05));
  pointer-events: none;
}

.dock {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.dock .pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 999px;
  padding: .45rem .8rem;
  font-weight: 700;
  color: #000;
}

.dock .pill i {
  color: #0b5ed7;
}

.console {
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 1.25rem 2rem rgba(20,40,80,.08);
}

.rowline {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .45rem 0;
  border-bottom: 1px dashed #e9eef7;
  font-size: .95rem;
}

.rowline:last-child {
  border-bottom: none;
}

.ok {
  color: #198754;
}

.warn {
  color: #ff8800;
}

.lane {
  position: relative;
}

.lane::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 26px;
  height: 2px;
  background: linear-gradient(90deg,#cfe2ff,#b6f1e3);
}

/* Payroll styles */

.hero-payroll {
  position: relative;
  background: repeating-linear-gradient(135deg,var(--stripe),var(--stripe) 24px,#fafcff 24px,#fafcff 48px);
}

.ticket {
  background: var(--paper);
  border: 1px solid #e7eef7;
  border-radius: 16px;
  padding: 1.1rem;
  position: relative;
  box-shadow: 0 1.25rem 2rem rgba(20,40,80,.12);
}

.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12px;
  background: radial-gradient(circle at 6px 10px,transparent 6px,#fff 6px) repeat-y;
  border-left: 1px dashed #e7eef7;
  opacity: .9;
}

.ticket::before {
  left: -6px;
}

.ticket::after {
  right: -6px;
  transform: scaleX(-1);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

/* Pricing styles */

.intro {
  background: linear-gradient(180deg,#ffffff 0%,#f9fbff 100%);
}

.subtle {
  color: var(--muted);
}

.card-plan {
  border: 1px solid #e7eef7;
  border-radius: 18px;
  box-shadow: 0 1.2rem 2rem rgba(20,40,80,.06);
  display: flex;
  flex-direction: column;
}

.plan-head {
  border-bottom: 1px solid #eef3fb;
}

.price {
  font-weight: 800;
  font-size: 1.9rem;
}

.per {
  font-size: .9rem;
  color: var(--muted);
}

.badge-pop {
  background: #e9f2ff;
  color: #0b5ed7;
  font-weight: 700;
}

.plan-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.btn-choose {
  margin-top: auto;
}

.addon {
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 12px;
  padding: .8rem 1rem;
}

.addon small {
  color: var(--muted);
}

.table-compare thead th {
  background: #f8fbff;
}

.table-compare td, .table-compare th {
  vertical-align: middle;
}

.check {
  color: #198754;
}

.dash {
  color: #99a2ad;
}

.cta-band {
  background: #f6f8fb;
  border-top: 1px solid #e7eef7;
  border-bottom: 1px solid #e7eef7;
}

/* VAT styles */

.hero-vat {
  position: relative;
  background: #0f172a;
  color: #fff;
  overflow: hidden;
}

.hero-vat::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: radial-gradient(60% 60% at 20% 30%, rgba(13,110,253,.45), transparent 60%), radial-gradient(45% 45% at 70% 40%, rgba(0,184,148,.35), transparent 70%);
  filter: blur(20px);
}

.hero-vat .lead {
  color: #cfe4ff;
}

.notch {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 1.1rem;
  position: relative;
}

.notch::after {
  content: "";
  position: absolute;
  right: 14px;
  top: -10px;
  width: 38px;
  height: 18px;
  border-radius: 8px;
  background: linear-gradient(90deg,#b6f1e3,#cfe2ff);
  opacity: .9;
}

.scheme {
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 14px;
  padding: 1rem;
  height: 100%;
}

.scheme .tag {
  display: inline-block;
  border: 1px solid #e7eef7;
  border-radius: 999px;
  padding: .2rem .55rem;
  font-weight: 700;
}

.scheme ul {
  margin-bottom: 0;
}

/* 1. Styles the actual error message text */

.error-message {
  color: #ba372a;
  font-size: 1rem;
  margin-top: 5px;
  display: block;
}

/* 2. Styles the input field border when an error is present */

.input-error {
  border-color: #ba372a !important;
  box-shadow: 0 0 0 0.25rem rgba(186, 55, 42, 0.25) !important;
}

.dropdown-menu {
  max-height: 250px;
  overflow-y: auto;
}

