/* ============================================================
   Farmiti Digital — style.css
   Premium corporate design system
   Stack: Bootstrap 5.3 + custom CSS
   ============================================================ */

/* ---------- DESIGN TOKENS ---------- */
/* 
* {
    outline: 1px solid red;
} */

html,
body {
    overflow-x: hidden;
    width: 100%;
}

.container,
.container-fluid {
    overflow-x: clip;
}

.hero,
.hero-visual {
    overflow: hidden;
}
:root {
  /* Brand colors */
  --primary: #0f172a;
  --secondary: #2563eb;
  --accent: #22c55e;

  /* Surfaces */
  --bg: #f8fafc;
  --card: #ffffff;
  --line: #e7eaf3;

  /* Text */
  --text: #0f172a;
  --text-muted: #5b6577;
  --text-soft: #8a93a6;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #2563eb 0%, #22c55e 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(34, 197, 94, 0.12));
  --grad-dark: linear-gradient(160deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --shadow-blue: 0 18px 40px rgba(37, 99, 235, 0.28);
  --shadow-green: 0 18px 40px rgba(34, 197, 94, 0.25);

  /* Radii */
  --r-sm: 10px;
  --r-md: 12px;
  --r-lg: 24px;
  --r-xl: 16px;
  --r-pill: 999px;

  /* Spacing */
  --section-y: 96px;
  --container-pad: 1.5rem;

  /* Type */
  /* --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; */
  /* --font-head: "Poppins", var(--font-body); */

   --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Transitions */
  --t-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --t-mid: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESET / BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin: 0;
}

p { margin: 0;

}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

section { position: relative; }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 2000;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

/* Utility: visible only to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- LAYOUT HELPERS ---------- */
.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(37, 99, 235, 0.1);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.accent-eyebrow {
  color: var(--accent);
  background: rgba(34, 197, 94, 0.12);
}
.light-eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.sub-title{
  font-size: 17px;
  color: var(--text-soft);
   line-height: 1.4;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  /* max-width: 620px; */
  margin: 0 auto;
  line-height: 1.7;
}

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- BUTTONS ---------- */
.btn {
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: var(--r-pill);
  padding: 12px 24px;
  transition: all var(--t-mid);
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1.2;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
}

.btn-primary-cta {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary-cta:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(37, 99, 235, 0.38);
}

.btn-outline-cta {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.btn-outline-cta:hover {
  color: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost-call {
  background: rgba(15, 23, 42, 0.06);
  color: var(--primary);
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--r-pill);
  font-size: 1.05rem;
}
.btn-ghost-call:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-light-cta {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-light-cta:hover {
  transform: translateY(-3px);
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.btn-outline-light-cta {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-outline-light-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
  transform: translateY(-3px);
}

/* ---------- ICON COLOR VARIANTS ---------- */
.ic-blue { background: rgba(37, 99, 235, 0.12); color: #2563eb; }
.ic-green { background: rgba(34, 197, 94, 0.14); color: #16a34a; }
.ic-amber { background: rgba(245, 158, 11, 0.16); color: #d97706; }
.ic-rose { background: rgba(225, 29, 72, 0.12); color: #e11d48; }
.indigo { background: rgba(79, 70, 229, 0.12); color: #4f46e5; }
.ic-violet { background: rgba(124, 58, 237, 0.14); color: #7c3aed; }
.ic-teal { background: rgba(20, 184, 166, 0.14); color: #0d9488; }
.ic-orange { background: rgba(249, 115, 22, 0.14); color: #ea580c; }

/* ============================================================
   HEADER + NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--t-mid);
}

.navbar {
  padding: 18px 0;
  transition: all var(--t-mid);
  background: transparent;
}

/* Solid header on scroll */
.site-header.scrolled .navbar {
  padding: 0px 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.07);
  border-bottom: 1px solid rgba(231, 234, 243, 0.6);
}

/* Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  transition: color var(--t-fast);
}
.site-header.scrolled .navbar-brand { color: var(--primary); }

.brand-mark {
  display: inline-flex;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(37, 99, 235, 0.3));
}

.brand-text { letter-spacing: -0.02em; }
.brand-accent { color: var(--accent); }

/* Nav links */
.navbar-nav .nav-link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 14px !important;
  border-radius: var(--r-sm);
  position: relative;
  transition: all var(--t-fast);
}
.site-header.scrolled .navbar-nav .nav-link {
  color: var(--text);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent);
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* Dropdown caret */
.dropdown-toggle::after {
  border: 0;
  content: "\F282";
  font-family: "bootstrap-icons";
  font-size: 0.7rem;
  margin-left: 6px;
  transition: transform var(--t-fast);
  vertical-align: middle;
}
.dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Dropdown menus — premium glassy cards */
.dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  margin-top: 14px !important;
  border: 0;
  animation: dropIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Invisible bridge so hover isn't lost crossing the margin gap */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Solutions mega-style dropdown */
.solutions-menu {
  min-width: 560px;
  padding: 18px;
}
.solution-col { padding: 6px 10px; }
.solution-link {
  display: flex !important;
  gap: 14px;
  padding: 12px 12px !important;
  border-radius: var(--r-md);
  align-items: flex-start;
  color: var(--text);
  transition: all var(--t-fast);
}
.solution-link:hover {
  background: rgba(37, 99, 235, 0.06);
  color: var(--primary);
}
.solution-ic {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.solution-title {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--primary);
}
.solution-sub {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Industries dropdown */
.industries-menu {
  min-width: 260px;
  columns: 1;
}
.industries-menu .dropdown-item {
  border-radius: var(--r-sm);
  padding: 9px 12px;
  font-weight: 500;
  color: var(--text);
  font-size: 0.92rem;
  transition: all var(--t-fast);
}
.industries-menu .dropdown-item:hover {
  background: rgba(34, 197, 94, 0.08);
  color: var(--accent);
  padding-left: 18px;
}

/* Header CTA cluster */
.header-cta {
  align-items: center;
  gap: 10px;
  margin-left: 16px;
}

/* Mobile toggler */
.navbar-toggler {
  border: 0;
  padding: 8px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--r-sm);
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.site-header.scrolled .navbar-toggler {
  background: rgba(15, 23, 42, 0.06);
}
.toggler-bar {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--t-mid);
}
.site-header.scrolled .toggler-bar { background: var(--primary); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 160px 0 100px;
  background: var(--grad-dark);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.blob-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.6), transparent 70%);
  top: -120px;
  right: -80px;
}
.blob-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.5), transparent 70%);
  bottom: -160px;
  left: -120px;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}

.hero .container { position: relative; z-index: 1; }

.hero-row { align-items: center; }

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 22px;
}
.hero-title .text-gradient {
  background: linear-gradient(135deg, #60a5fa, #4ade80);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  /* font-size: 1.12rem; */
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 540px;
  margin-bottom: 5px;
}

.hero-typed-wrap {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.hero-typed-label { color: rgba(255, 255, 255, 0.6); font-weight: 500; }
.hero-typed {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  padding: 4px 12px;
  border-radius: var(--r-sm);
}
.typed-cursor {
  color: #4ade80;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-trust i { color: var(--accent); }

/* Hero visual */
.hero-visual {
  position: relative;
  padding: 20px 10px;
}

.hero-mock {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
  z-index: 2;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform var(--t-slow);
}
.hero-mock:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}
.hero-mock-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #f1f4f9;
  border-bottom: 1px solid var(--line);
}
.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mock-dot.red { background: #ff5f57; }
.mock-dot.amber { background: #febc2e; }
.mock-dot.green { background: #28c840; }
.mock-url {
  margin-left: 10px;
  font-size: 0.78rem;
  color: var(--text-soft);
  background: #fff;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
}
.hero-mock-body { padding: 20px; }
.mock-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.mock-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-card-grow {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(37, 99, 235, 0.05));
}
.mock-label {
  font-size: 0.72rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mock-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}
.mock-spark { height: 32px; }
.mock-spark svg { width: 100%; height: 100%; }
.mock-trend {
  font-size: 0.8rem;
  font-weight: 600;
}
.mock-trend.up { color: var(--accent); }
.mock-chart {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
}
.mock-chart-title {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.mock-chart-svg {
  width: 100%;
  height: 90px;
}

/* Floating cards */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(231, 234, 243, 0.9);
  border-radius: var(--r-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  z-index: 3;
  animation: floatY 4s ease-in-out infinite;
}
.float-card strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  line-height: 1.1;
}
.float-card small {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.fc-ic {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.fc-seo { top: 4%; left: -4%; animation-delay: 0s; }
.fc-web { top: 16%; right: -6%; animation-delay: 0.6s; }
.fc-ads { top: 42%; left: -8%; animation-delay: 1.2s; }
.fc-analytics { top: 58%; right: -4%; animation-delay: 0.3s; }
.fc-ai { bottom: 14%; left: 2%; animation-delay: 0.9s; }
.fc-crm { bottom: -2%; right: 8%; animation-delay: 1.5s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.logo{
    height:60px;
    transition:0.3s;
}

/* Default */
.logo-light{
    display:block;
}

.logo-dark{
    display:none;
}

/* Navbar after scroll */
.navbar.scrolled .logo-light{
    display:none;
}

.navbar.scrolled .logo-dark{
    display:block;
}

/* Trusted logos */
.hero-logos {
  margin-top: 64px;
  text-align: center;
}
.hero-logos-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-pill);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.88rem;
  transition: all var(--t-fast);
}
.trust-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-2px);
}
.trust-chip i { color: var(--accent); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--bg); }

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 32px 26px;
  height: 100%;
  position: relative;
  transition: all var(--t-mid);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-brand-soft);
  opacity: 0;
  transition: opacity var(--t-mid);
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.service-ic {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: transform var(--t-mid);
}
.service-card:hover .service-ic { transform: scale(1.08) rotate(-4deg); }

.service-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.service-desc {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 18px;
}
.service-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t-fast);
}
.service-link:hover {
  color: var(--accent);
  gap: 12px;
}

/* Featured service card */
.service-card-feature {
  background: var(--grad-dark);
  color: #fff;
  border-color: transparent;
}
.service-card-feature .service-title { color: #fff; }
.service-card-feature .service-desc { color: rgba(255, 255, 255, 0.78); }
.service-card-feature .service-link { color: #4ade80; }
.service-card-feature::before { display: none; }
.service-card-feature:hover { box-shadow: 0 30px 60px rgba(15, 23, 42, 0.3); }
.service-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--accent);
  color: #06281a;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

/* CTA card */
.service-card-cta {
  background: var(--grad-brand-soft);
  border-color: rgba(37, 99, 235, 0.18);
}
.service-card-cta::before { display: none; }
.service-card-cta .service-desc { margin-bottom: 22px; }

/* ============================================================
   WHY FARMITI
   ============================================================ */
.why { background: #fff; }

.why-visual {
  position: relative;
  border-radius: var(--r-sm);
  overflow: visible;
}
.why-img {
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}
.why-glow {
  position: absolute;
  inset: -30px -30px auto auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.why-stat-card {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}
.why-stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.2rem;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.why-stat-card .x {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--secondary);
}
.why-stat-label {
  flex-basis: 100%;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 28px;
  margin-top: 32px;
}
.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.why-ic {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.why-h {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.why-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries { background: var(--bg); }

.industry-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  display: block;
  height: 100%;
  color: var(--text);
  transition: all var(--t-mid);
  position: relative;
  overflow: hidden;
}
.industry-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid);
}
.industry-card:hover {
  color: var(--text);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.industry-card:hover::after { transform: scaleX(1); }

.industry-ic {
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  transition: transform var(--t-mid);
}
.industry-card:hover .industry-ic { transform: scale(1.1) rotate(-5deg); }

.industry-title {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.industry-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}
.industry-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--t-fast);
}
.industry-card:hover .industry-link { gap: 10px; color: var(--accent); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: #fff; }

.process-timeline {
  position: relative;
  margin-top: 20px;
}
.process-line {
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.15), rgba(34, 197, 94, 0.15));
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  padding: 0 8px;
}
.process-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--text-soft);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.process-ic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: #fff;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  transition: all var(--t-mid);
}
.process-step:hover .process-ic {
  transform: translateY(-4px) scale(1.05);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.process-h {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   AI AUDIT
   ============================================================ */
.ai-audit { background: var(--bg); }

.ai-benefits {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 28px 0 30px;
}
.ai-benefits li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ai-b-ic {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.ai-b-h {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.ai-benefits p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.ai-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.ai-cta-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ai-cta-note i { color: var(--accent); }

/* AI dashboard mockup */
.ai-dash {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.ai-dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  background: var(--grad-dark);
  color: #fff;
}
.ai-dash-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ai-dash-title i { color: #4ade80; }
.ai-dash-live {
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
}
.ai-dash-score {
  display: flex;
  gap: 24px;
  padding: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.score-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  flex-shrink: 0;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), #e7eaf3 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.score-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  background: #fff;
  border-radius: 50%;
}
.score-val {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary);
  position: relative;
  z-index: 1;
}
.score-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}
.score-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.score-bar-row {
  display: grid;
  grid-template-columns: 90px 1fr 30px;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
}
.score-bar-row span { color: var(--text-muted); font-weight: 500; }
.score-bar-row b { font-weight: 700; color: var(--primary); text-align: right; }
.bar {
  height: 8px;
  background: #eef1f6;
  border-radius: var(--r-pill);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--grad-brand);
  border-radius: var(--r-pill);
  animation: barGrow 1.4s ease-out;
}
@keyframes barGrow {
  from { width: 0; }
}
.ai-dash-opp {
  padding: 20px 24px 24px;
}
.opp-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--primary);
}
.opp-title i { color: var(--accent); }
.ai-dash-opp ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ai-dash-opp li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: var(--r-md);
  font-size: 0.86rem;
  color: var(--text);
}
.opp-ic {
  width: 26px;
  height: 26px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.opp-impact {
  margin-left: auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--accent);
  background: rgba(34, 197, 94, 0.12);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--grad-dark);
  color: #fff;
  padding: 80px 0;
}
.stats-inner {
  border-radius: var(--r-xl);
}
.stat-card {
  text-align: center;
  padding: 24px 12px;
}
.stat-ic {
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #4ade80;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  background: linear-gradient(135deg, #60a5fa, #4ade80);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: #fff; }

.testimonials-swiper {
  padding: 20px 10px 70px;
  overflow: visible;
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  margin: 0;
  transition: all var(--t-mid);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.t-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  margin-bottom: 16px;
  display: flex;
  gap: 2px;
}
.testimonial-card blockquote {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  font-style: normal;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.t-author strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
}
.t-author small {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.swiper-pagination-bullet {
  background: var(--text-soft);
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  background: var(--secondary);
  opacity: 1;
  width: 24px;
  border-radius: var(--r-pill);
}
.swiper-button-prev,
.swiper-button-next {
  color: var(--secondary);
  background: #fff;
  border: 1px solid var(--line);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-fast);
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1rem;
  font-weight: 700;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio { background: var(--bg); }

.portfolio-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  color: var(--text);
  transition: all var(--t-mid);
}
.portfolio-card:hover {
  color: var(--text);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.portfolio-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.portfolio-card:hover .portfolio-img { transform: scale(1.06); }
.portfolio-meta {
  padding: 20px 22px 24px;
}
.portfolio-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  background: rgba(37, 99, 235, 0.1);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 10px;
}
.portfolio-h {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.portfolio-result {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: #fff; }

.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 28px;
  height: 100%;
  position: relative;
  transition: all var(--t-mid);
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.price-card-popular {
  border: 2px solid var(--secondary);
  box-shadow: var(--shadow-blue);
  background: linear-gradient(180deg, #fff, rgba(37, 99, 235, 0.02));
}
.price-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.price-name {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.price-amount {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.price-amount .cur { font-size: 1.2rem; vertical-align: super; color: var(--text-muted); }
.price-amount .per { font-size: 1rem; color: var(--text-muted); font-weight: 600; }
.price-tag {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  min-height: 40px;
}
.price-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}
.price-list i {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog { background: var(--bg); }

.blog-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 100%;
  transition: all var(--t-mid);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-img-link {
  display: block;
  position: relative;
  overflow: hidden;
}
.blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.blog-card:hover .blog-img { transform: scale(1.06); }
.blog-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-cat.cat-ads { background: #d97706; }
.blog-cat.cat-web { background: #16a34a; }
.blog-body { padding: 22px 24px 26px; }
.blog-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-bottom: 10px;
}
.blog-meta i { margin-right: 4px; }
.blog-h {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-h a { color: var(--primary); transition: color var(--t-fast); }
.blog-h a:hover { color: var(--secondary); }
.blog-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t-fast);
}
.blog-link:hover { gap: 11px; color: var(--accent); }
.blog-cta { margin-top: 48px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: var(--bg);
  padding: 80px 0;
}
.final-cta-inner {
  background: var(--grad-dark);
  border-radius: var(--r-xl);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.final-cta-glow {
  position: absolute !important;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.4), transparent 70%);
  filter: blur(80px);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
}
.final-cta-inner > * { position: relative; z-index: 1; }
.final-cta-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.final-cta-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto 30px;
  line-height: 1.7;
}
.final-cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}
.final-cta-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: #fff; }

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0 30px;
}
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-ic {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.contact-list small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.contact-list a,
.contact-list span {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
}
.contact-list a:hover { color: var(--secondary); }

.contact-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  height: 220px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2);
}

/* Contact form */
.contact-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
}
.form-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.form-control,
.form-select {
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 11px 14px;
  font-size: 0.95rem;
  color: var(--primary);
  background: #fff;
  transition: all var(--t-fast);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.form-control::placeholder { color: var(--text-soft); }
.invalid-feedback { font-size: 0.8rem; color: #ef4444; }
.form-check-label { font-size: 0.88rem; color: var(--text-muted); }
.form-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #15803d;
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 0;
}
.footer-top {
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand {
  color: #fff;
  margin-bottom: 18px;
}
.footer-brand:hover { color: #fff; }
.footer-about {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 22px;
  max-width: 340px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.social-ic {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  transition: all var(--t-fast);
}
.social-ic:hover {
  background: var(--grad-brand);
  color: #fff;
  transform: translateY(-3px);
}

.footer-h {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  transition: all var(--t-fast);
}
.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-news-text {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
  line-height: 1.5;
}
.footer-news {
  display: flex;
  gap: 8px;
  position: relative;
}
.footer-news .form-control {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  flex: 1;
  font-size: 0.88rem;
}
.footer-news .form-control::placeholder { color: rgba(255, 255, 255, 0.4); }
.footer-news .btn {
  padding: 0 16px;
  flex-shrink: 0;
}
.news-success {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 22px 0;
  font-size: 0.85rem;
}
.footer-legal {
  display: flex;
  gap: 22px;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--t-fast);
}
.footer-legal a:hover { color: var(--accent); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  border: 0;
  box-shadow: var(--shadow-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--t-mid);
  z-index: 900;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(37, 99, 235, 0.4);
}

/* ============================================================
   FOCUS STYLES (accessibility)
   ============================================================ */
a:focus-visible,
button:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.5);
  outline-offset: 2px;
}

/* ============================================================
   SUB-PAGE SHARED STYLES
   (about, contact, services/*, industries/*)
   ============================================================ */

/* Soft alternate section background */
.bg-soft { background: var(--bg); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 150px 0 80px;
  background: var(--grad-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero-sm { padding: 130px 0 60px; }
.page-hero .container { position: relative; z-index: 1; }

.page-hero-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
}
.page-hero-title .text-gradient {
  background: linear-gradient(135deg, #60a5fa, #4ade80);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  max-width: 560px;
}

/* Breadcrumb on dark hero */
.breadcrumb-light {
  margin-bottom: 18px;
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.4);
  --bs-breadcrumb-divider: "/";
}
.breadcrumb-light .breadcrumb-item,
.breadcrumb-light .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumb-light .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.breadcrumb-light .breadcrumb-item a:hover { color: #4ade80; }
.breadcrumb-light .breadcrumb-item.active {
  color: #fff;
}

/* Page hero stats grid */
.page-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.ph-stat {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all var(--t-mid);
}
.ph-stat:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}
.ph-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.9rem;
  background: linear-gradient(135deg, #60a5fa, #4ade80);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}
.ph-lbl {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Team cards ---------- */
.team-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 24px;
  text-align: center;
  height: 100%;
  transition: all var(--t-mid);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.team-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.team-role {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--secondary);
  margin-bottom: 10px;
}
.team-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}


/* FAQ */

.faq-section {
      padding: 4rem 1.5rem;
    }
    .badge-faq {
      background-color: #e6f0ff;
      color: #0d6efd;
      font-weight: 600;
      letter-spacing: 0.3px;
      padding: 0.5rem 1.2rem;
      border-radius: 30px;
      font-size: 0.85rem;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }
    .badge-faq i {
      font-size: 1rem;
    }
    .faq-title {
      font-weight: 700;
      font-size: 2.5rem;
      letter-spacing: -0.02em;
      color: #0b1e33;
    }
    .faq-subhead {
      font-size: 1.1rem;
      color: #3a546d;
      max-width: 700px;
      margin: 0 auto;
    }
    .accordion-item {
      border: none;
      border-bottom: 1px solid #e2e8f0;
      background: transparent;
    }
    .accordion-button {
      background: transparent !important;
      box-shadow: none !important;
      font-weight: 600;
      font-size: 1.1rem;
      color: #0b1e33;
      padding: 1.25rem 0.75rem 1.25rem 0;
      border: none;
      border-radius: 0 !important;
      transition: color 0.2s;
    }
    .accordion-button:not(.collapsed) {
      color: #0d6efd;
      background: transparent !important;
    }
    .accordion-button::after {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230d6efd' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
      background-size: 1rem;
      width: 1rem;
      height: 1rem;
    }
    .accordion-button:not(.collapsed)::after {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230d6efd' class='bi bi-chevron-up' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3E%3C/svg%3E");
    }
    .accordion-body {
      padding: 0 0.75rem 1.5rem 0;
      color: #1e3a5f;
      line-height: 1.7;
    }
    .accordion-body ul {
      padding-left: 1.2rem;
      list-style-type: disc;
    }
    .accordion-body ul li {
      margin-bottom: 0.3rem;
    }
    .bottom-cta {
      background: #ffffff;
      border-radius: 32px;
      padding: 2.5rem 2rem;
      box-shadow: 0 8px 24px rgba(0, 40, 80, 0.06);
      border: 1px solid #eef2f6;
    }
    .bottom-cta h3 {
      font-weight: 700;
      color: #0b1e33;
    }
    .bottom-cta p {
      color: #2c4c6e;
      font-size: 1.05rem;
    }
    .btn-primary-soft {
      background: #0d6efd;
      border: none;
      padding: 0.75rem 2.5rem;
      font-weight: 600;
      border-radius: 60px;
      transition: all 0.2s;
      color: white;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }
    .btn-primary-soft:hover {
      background: #0b5ed7;
      transform: scale(1.02);
      color: white;
    }
    .faq-accordion-wrapper {
      max-width: 900px;
      margin: 0 auto;
    }
    .list-unstyled li {
      margin-bottom: 0.25rem;
    }
    @media (max-width: 576px) {
      .faq-title {
        font-size: 2rem;
      }
      .bottom-cta {
        padding: 2rem 1.25rem;
      }
    }

/* ---------- FAQ accordion ---------- */

.faq-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md) !important;
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.faq-accordion .accordion-button {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  padding: 18px 22px;
  background: #fff;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--secondary);
  background: rgba(37, 99, 235, 0.04);
  box-shadow: none;
}
.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--secondary);
}
.faq-accordion .accordion-button::after {
  background-image: none;
  content: "\F282";
  font-family: "bootstrap-icons";
  font-size: 1rem;
  color: var(--secondary);
}
.faq-accordion .accordion-body {
  padding: 4px 22px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================================
   SERVICE DETAIL PAGE
   ============================================================ */
.service-hero {
  padding: 150px 0 90px;
  background: var(--grad-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.service-hero .container { position: relative; z-index: 1; }
.service-hero-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
}
.service-hero-title .text-gradient {
  background: linear-gradient(135deg, #60a5fa, #4ade80);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.service-hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 26px;
}

/* Service feature list (checklist with icons) */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-list .check-ic {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  background: rgba(34, 197, 94, 0.12);
  color: var(--accent);
}
.feature-list strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 2px;
}
.feature-list p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Service visual card (right column) */
.service-visual {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.service-visual-img {
  border-radius: var(--r-lg);
  width: 100%;
  /* height: 280px; */
  object-fit: cover;
  margin-bottom: 20px;
}
.service-visual-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: center;
}
.svs-item {
  background: var(--bg);
  border-radius: var(--r-md);
  padding: 16px 10px;
}
.svs-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.svs-lbl {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Deliverables / process mini cards for service pages */
.deliverable-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  height: 100%;
  transition: all var(--t-mid);
}
.deliverable-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.deliverable-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--grad-brand-soft);
  color: var(--secondary);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.deliverable-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.deliverable-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   INDUSTRY DETAIL PAGE
   ============================================================ */
.industry-hero {
  padding: 150px 0 90px;
  background: var(--grad-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.industry-hero .container { position: relative; z-index: 1; }
.industry-hero-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
}
.industry-hero-title .text-gradient {
  background: linear-gradient(135deg, #60a5fa, #4ade80);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.industry-hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 26px;
}

/* Pain-point cards for industry pages */
.pain-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  height: 100%;
  transition: all var(--t-mid);
}
.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.pain-ic {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.pain-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.pain-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Solution row for industry pages */
.solution-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.solution-row:last-child { border-bottom: 0; }
.solution-row .sr-ic {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.solution-row h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.solution-row p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Related services strip */
.related-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.88rem;
  transition: all var(--t-fast);
}
.related-chip:hover {
  color: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px);
}
.related-chip i { color: var(--accent); }





/* dugatl solution apge */


    .badge-soft {
      background: #e6f0ff;
      color: #0d6efd;
      font-weight: 600;
      letter-spacing: 0.3px;
      padding: 0.4rem 1.2rem;
      border-radius: 30px;
      font-size: 0.8rem;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }
    .btn-outline-primary-custom {
      border: 2px solid #0d6efd;
      color: #0d6efd;
      border-radius: 60px;
      padding: 0.6rem 1.8rem;
      font-weight: 600;
      transition: 0.2s;
      background: transparent;
    }
    .btn-outline-primary-custom:hover {
      background: #0d6efd;
      color: #fff;
    }
    .btn-primary-custom {
      background: #0d6efd;
      border: none;
      border-radius: 60px;
      padding: 0.6rem 2rem;
      font-weight: 600;
      color: white;
      transition: 0.2s;
    }
    .btn-primary-custom:hover {
      background: #0b5ed7;
      color: white;
      transform: scale(1.02);
    }
    .section-padding {
      padding: 4rem 0;
    }
  
    
    .card-solution {
      border: 1px solid #eef2f6;
      border-radius: 28px;
      padding: 1.8rem 1.5rem;
      height: 100%;
      background: white;
      transition: 0.25s ease;
      box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    }
    .card-solution:hover {
      box-shadow: 0 12px 28px rgba(13, 110, 253, 0.08);
      border-color: #cfe2ff;
      transform: translateY(-4px);
    }
    .card-solution h5 {
      font-weight: 700;
    }
    .card-solution ul {
      list-style: none;
      padding-left: 0;
      margin-top: 0.8rem;
    }
    .card-solution ul li {
      padding: 0.2rem 0;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.95rem;
    }
    .card-solution ul li i {
      color: #0d6efd;
      font-size: 0.9rem;
    }
    .process-step {
      background: white;
      border-radius: 10px;
      padding: 1.8rem 1.5rem;
      border: 1px solid #eef2f6;
      height: 100%;
      transition: 0.25s;
          display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    }
    .process-step:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(0,40,80,0.06);
    }
    .process-step .step-number {
      background: #e6f0ff;
      color: #0d6efd;
      width: 44px;
      height: 44px;
      border-radius: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1.2rem;
      margin-bottom: 1rem;
    }
    .industry-tag {
      background: white;
      border: 1px solid #e2e8f0;
      border-radius: 60px;
      padding: 0.5rem 1.5rem;
      font-weight: 500;
      display: inline-block;
      transition: 0.2s;
    }
    .industry-tag:hover {
      background: #e6f0ff;
      border-color: #0d6efd;
      transform: scale(1.02);
    }
    .cta-box {
      background: white;
      border-radius: 40px;
      padding: 3rem 2rem;
      border: 1px solid #eef2f6;
      box-shadow: 0 8px 24px rgba(0,40,80,0.04);
    }
  
    /* image styling */
    .hero-img {
      border-radius: 15px;
      box-shadow: 0 16px 40px rgba(0,40,80,0.08);
      width: 100%;
      height: auto;
      transition: 0.3s;
    }
    .hero-img:hover {
      transform: scale(1.01);
    }
    .intro-img {
      border-radius: 28px;
      box-shadow: 0 12px 30px rgba(0,40,80,0.06);
      width: 100%;
      height: auto;
    }
    @media (max-width: 576px) {

      
      .section-padding{
        padding: 4rem 10px;
      }
      .cta-box { padding: 2rem 1.25rem; }
    }


    .industry-tag {
      background: white;
      border: 1px solid #e2e8f0;
      border-radius: 60px;
      padding: 0.5rem 1.5rem;
      font-weight: 500;
      display: inline-block;
      transition: 0.2s;
    }
    .industry-tag:hover {
      background: #e6f0ff;
      border-color: #0d6efd;
      transform: scale(1.02);
    }
    .cta-box {
      background: white;
      border-radius: 40px;
      padding: 3rem 2rem;
      border: 1px solid #eef2f6;
      box-shadow: 0 8px 24px rgba(0,40,80,0.04);
    }

     .equipped-list {
      columns: 2;
      column-gap: 2rem;
    }
    .equipped-list li {
      break-inside: avoid;
      margin-bottom: 0.5rem;
      list-style: none;
    }
    .equipped-list li i {
      color: #0d6efd;
      margin-right: 0.5rem;
    }


    
    /* Privacy Policy */
        .header-simple {
            background: var(--surface);
            padding: 2.5rem 0 1.5rem;
            border-bottom: 1px solid var(--border);
        }
        .policy-section {
            background: var(--surface);
            border-radius: 12px;
            padding: 0.1rem 2rem;
            margin-bottom: 1.2rem;
            border: 1px solid var(--border);
            box-shadow: 0 1px 3px rgba(0,0,0,0.02);
        }
        .policy-section h3 {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--text-muted);
        }
        .policy-section h3 i {
            color: var(--text-muted);
            margin-right: 10px;
            font-size: 1.2rem;
        }
        .policy-section ul {
            padding-left: 1.6rem;
            margin-bottom: 0.2rem;
        }
        .policy-section ul li {
            margin-bottom: 0.3rem;
        }
        .footer-simple {
            background: #0b1e33;
            color: #cbd5e1;
            padding: 2rem 0 1.2rem;
            margin-top: 2.5rem;
            font-size: 0.9rem;
        }
        .footer-simple a {
            color: #cbd5e1;
            text-decoration: none;
        }
        .footer-simple a:hover {
            color: #ffffff;
            text-decoration: underline;
        }
        .badge-updated {
            background: #eef4ff;
            color: #0d6efd;
            font-weight: 500;
            padding: 0.4rem 1.2rem;
            border-radius: 40px;
            font-size: 0.85rem;
        }
        .contact-block {
            background: var(--surface);
            border-radius: 10px;
            padding: 1.2rem 1.5rem;
        }
        hr {
            opacity: 0.15;
        }
        @media (max-width: 576px) {
            .policy-section {
                padding: 1.2rem;
            }
            .header-simple {
                padding: 1.8rem 0 1rem;
            }
        }

        /* card / section */
    .terms-section {
      background: var(--surface);
      border-radius: 12px;
      padding: .1rem 1.8rem;
      margin-bottom: 1.2rem;
      border: 1px solid var(--border);
      box-shadow: 0 1px 4px rgba(0,0,0,0.02);
    }
    .terms-section h3 {
      font-size: 1.15rem;
      font-weight: 600;
      margin-bottom: 0.7rem;
      color: var(--text-muted);
    }
    .terms-section h3 i {
      color: var(--text-muted);
      margin-right: 10px;
      font-size: 1.2rem;
    }
    .terms-section ul {
      padding-left: 1.6rem;
      margin-bottom: 0.2rem;
    }
    .terms-section ul li {
      margin-bottom: 0.25rem;
    }
    /* TOC sticky (desktop) */
    .toc-sticky {
      position: sticky;
      top: 1.5rem;
    }
    .toc-sticky .list-group-item {
      border: none;
      padding: 0.45rem 0.8rem;
      background: transparent;
      font-size: 0.9rem;
      border-radius: 6px;
      color: #94A3B8;
      transition: all 0.1s;
    }
    .toc-sticky .list-group-item:hover {
      background: #eef4ff;
      color: #0d6efd;
    }
    .toc-sticky .list-group-item i {
      margin-right: 8px;
      width: 1.2rem;
      text-align: center;
    }
    
    @media (max-width: 768px) {
      .hero-terms h1 { font-size: 1.7rem; }
      .terms-section { padding: 1.2rem; }
    }
    @media (max-width: 576px) {
      .hero-terms { padding: 1.8rem 0 1.2rem; }
    }