@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #4f46e5;
  --primary-light: #a855f7;
  --accent: #7c3aed;
  --bg: #070b19;
  --bg-soft: #0b1022;
  --card: rgba(17, 24, 39, 0.7);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-light: rgba(255, 255, 255, 0.02);
  --secondary: #1e293b;
  --dark: #070b19;
  --gray: #94a3b8;
  --gray-dark: #64748b;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --gradient-glow: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, rgba(124, 58, 237, 0) 70%);
  --gradient-text: linear-gradient(90deg, #818cf8, #c084fc);
  --radius: 16px;
  --header-h: 80px;
  --font-sans: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --neon-glow: 0 0 20px rgba(37, 99, 235, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  font-family: var(--font-sans);
  color: var(--white);
  line-height: 1.6;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button, input, textarea {
  font-size: 16px;
  font-family: inherit;
  color: inherit;
}

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

.section {
  padding: clamp(60px, 10vw, 100px) 0;
  position: relative;
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 60px);
}

.eyebrow {
  color: var(--primary-light);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(7, 11, 25, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  z-index: 200;
  height: var(--header-h);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.9;
}

.logo img {
  height: clamp(48px, 6.5vw, 60px);
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(79, 70, 229, 0.25));
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav > ul {
  display: flex;
  gap: 32px;
}

.main-nav a:not(.btn) {
  font-weight: 500;
  color: var(--gray);
  padding: 8px 0;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  font-size: 15px;
}

.main-nav a:not(.btn):hover, .main-nav a:not(.btn).active {
  color: var(--white);
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.header-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--white);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.05);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 190;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease;
  min-height: 48px;
  cursor: pointer;
  border: none;
  user-select: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-gradient {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
  filter: brightness(1.05);
}

/* .btn-primary is used by the contact form, the service-page sidebar CTA and
   the not-found fallbacks, but was never defined here (only in admin.css).
   Those buttons fell back to the browser default #f0f0f0 with white text.
   Deliberately identical to .btn-gradient so every CTA reads the same. */
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
  filter: brightness(1.05);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
}

.btn-primary:disabled,
.btn-primary[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: none;
}

/* Also only defined in admin.css; service.php uses it on the sidebar CTA. */
.btn-block {
  width: 100%;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary-light);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--neon-glow);
}

.btn-pill {
  border-radius: 50px;
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 50% 0%, #151e3f 0%, var(--bg) 65%);
  padding: clamp(60px, 12vw, 110px) 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(37, 99, 235, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--primary-light);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 20px;
}

.hero-eyebrow .dash {
  width: 30px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--primary-light));
}

.hero-eyebrow .dash:last-child {
  background: linear-gradient(90deg, var(--primary-light), transparent);
}

.hero-text h1 {
  font-size: clamp(34px, 7vw, 64px);
  margin-bottom: 22px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.hero-text p {
  font-size: clamp(16px, 2.5vw, 19px);
  color: var(--gray);
  margin: 0 auto 35px;
  max-width: 600px;
  line-height: 1.55;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}

.hero-divider span {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.hero-divider .dot {
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-light);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Laptop Mockup Styling */
.laptop-container {
  max-width: 820px;
  margin: 0 auto 60px;
  perspective: 1200px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.laptop-screen-wrapper {
  background: #111827;
  border: clamp(8px, 1.8vw, 12px) solid #1f2937;
  border-bottom-width: clamp(14px, 2.8vw, 22px);
  border-radius: 20px 20px 0 0;
  aspect-ratio: 16 / 10;
  box-shadow: 0 25px 60px -15px rgba(0,0,0,0.8), 0 0 40px rgba(37,99,235,0.15);
  overflow: hidden;
  position: relative;
}

/* Laptop bezel brand text */
.laptop-screen-wrapper::after {
  content: 'SOFT RIVOX TECH';
  position: absolute;
  bottom: clamp(3px, 0.6vw, 6px);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.2);
  font-size: clamp(6px, 1vw, 9px);
  font-weight: 600;
  letter-spacing: 1px;
  z-index: 10;
}

/* Screen glare reflection */
.laptop-glare {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 75%);
  pointer-events: none;
  z-index: 9;
}

/* Laptop screen content (Mock Website) */
.laptop-screen-content {
  height: 100%;
  background: #080c16;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(8px, 2vw, 20px);
  font-family: var(--font-sans);
  user-select: none;
  position: relative;
}

/* Simulated website elements inside mockup */
.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  padding-bottom: clamp(4px, 1.2vw, 10px);
}

.mock-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-weight: 700;
  font-size: clamp(8px, 1.6vw, 13px);
}

.mock-logo-dot {
  width: clamp(4px, 1vw, 7px);
  height: clamp(4px, 1vw, 7px);
  background: var(--primary-light);
  border-radius: 50%;
}

.mock-nav {
  display: flex;
  gap: clamp(6px, 1.5vw, 14px);
  color: #94a3b8;
  font-size: clamp(6px, 1vw, 9px);
  font-weight: 500;
}

.mock-btn {
  background: var(--gradient);
  color: #fff;
  border-radius: 20px;
  padding: clamp(2px, 0.6vw, 5px) clamp(6px, 1.2vw, 12px);
  font-size: clamp(6px, 0.9vw, 8px);
  font-weight: 600;
}

.mock-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  flex-grow: 1;
  padding: clamp(10px, 2.5vw, 24px) 0;
  gap: clamp(10px, 2vw, 20px);
}

.mock-text {
  text-align: left;
}

.mock-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.15);
  color: var(--primary-light);
  padding: 2px 6px;
  border-radius: 10px;
  font-size: clamp(5px, 0.9vw, 8px);
  font-weight: 600;
  margin-bottom: 6px;
}

.mock-body h2 {
  font-size: clamp(12px, 2.6vw, 26px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: clamp(4px, 1vw, 10px);
}

.mock-body p {
  color: #94a3b8;
  font-size: clamp(6px, 1.2vw, 11px);
  margin-bottom: clamp(6px, 1.5vw, 14px);
  line-height: 1.4;
}

.mock-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mock-btn-main {
  background: var(--primary);
  color: #fff;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: clamp(5px, 1vw, 9px);
  font-weight: 600;
}

.mock-btn-sub {
  color: #fff;
  font-size: clamp(5px, 1vw, 9px);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
}

.mock-btn-sub i {
  font-size: clamp(6px, 1vw, 9px);
  color: var(--primary-light);
}

/* Mock dashboard growth widget */
.mock-visual {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: clamp(6px, 1.5vw, 14px);
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.mock-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: clamp(6px, 1vw, 10px);
  font-weight: 600;
}

.mock-visual-growth {
  color: #10b981;
}

.mock-chart-svg {
  width: 100%;
  height: clamp(30px, 7vw, 70px);
  margin-bottom: 6px;
}

.mock-icons-strip {
  display: flex;
  justify-content: space-between;
  font-size: clamp(6px, 1.2vw, 12px);
  color: rgba(255,255,255,0.4);
}

/* Logos at the bottom of laptop screen */
.mock-logos-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  padding-top: clamp(4px, 1vw, 10px);
  font-size: clamp(5px, 1vw, 9px);
  color: #64748b;
}

.mock-logos-list {
  display: flex;
  gap: clamp(8px, 1.8vw, 18px);
  font-weight: 700;
}

.mock-logos-list span {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Laptop Keyboard Base styling */
.laptop-base-wrapper {
  background: #374151;
  border-top: 2px solid #4b5563;
  border-radius: 0 0 16px 16px;
  height: clamp(8px, 1.6vw, 16px);
  position: relative;
  width: 108%;
  left: -4%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Center notch of the laptop base */
.laptop-base-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(50px, 10vw, 90px);
  height: clamp(3px, 0.6vw, 6px);
  background: #1f2937;
  border-radius: 0 0 6px 6px;
}

/* Background image glow underneath the laptop mockup */
.hero-image-glow {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 40%);
  width: 80%;
  height: 250px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(124, 58, 237, 0.05) 50%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

/* Floating feature cards (Feature strip) */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px auto 70px;
  position: relative;
  z-index: 10;
}

.feature-strip-card {
  position: relative;
  border-radius: 20px;
  padding: 35px 24px;
  text-align: center;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #090e1d; /* Solid color fallback */
}

/* Background image child */
.feature-strip-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.1, 0.8, 0.2, 1);
  z-index: 1;
}

/* Overlay child */
.feature-strip-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(12, 17, 38, 0.86) 0%, rgba(5, 8, 20, 0.96) 100%);
  transition: opacity 0.4s ease, background 0.4s ease;
  z-index: 2;
}

/* Hover effects */
.feature-strip-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.4);
}

.feature-strip-card:hover .feature-strip-card-bg {
  transform: scale(1.15);
}

.feature-strip-card:hover .feature-strip-card-overlay {
  background: linear-gradient(135deg, rgba(12, 17, 38, 0.5) 0%, rgba(5, 8, 20, 0.8) 100%);
}

/* Active Card Styles (Second Card) */
.feature-strip-card.is-active {
  border: 1px solid rgba(99, 102, 241, 0.45) !important;
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-12px);
  background: #020617;
}

.feature-strip-card.is-active .feature-strip-card-overlay {
  background: radial-gradient(circle at 50% 0%, rgba(30, 41, 73, 0.82) 0%, rgba(2, 6, 23, 0.96) 100%) !important;
}

.feature-strip-card.is-active:hover .feature-strip-card-overlay {
  background: radial-gradient(circle at 50% 0%, rgba(30, 41, 73, 0.5) 0%, rgba(2, 6, 23, 0.8) 100%) !important;
}

/* Icon Styles */
.feature-strip-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--primary-light);
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.feature-strip-card.is-active .feature-strip-icon {
  background: radial-gradient(circle, #3b82f6 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35) !important;
}

.feature-strip-card h4,
.feature-strip-card .h4 {
  margin-top: 0;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff; /* Readable white text */
  letter-spacing: -0.2px;
}

/* Custom Line */
.card-line {
  border: none;
  border-top: 1.5px solid rgba(255, 255, 255, 0.12);
  width: 50px;
  margin: 16px auto 20px;
  transition: border-color 0.3s;
}

.feature-strip-card:hover .card-line {
  border-top-color: rgba(255, 255, 255, 0.25);
}

/* Custom Indicator Dots */
.card-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.card-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-block;
  transition: all 0.3s;
}

.card-dots span.active {
  background: #60a5fa;
  transform: scale(1.25);
}

.feature-strip-card.is-active .card-dots span.active {
  background: #60a5fa !important;
}

/* Stat strip styling */
.stat-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  padding: 16px 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--glass-shadow);
}

.stat-item {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.stat-item h3 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.stat-item p {
  font-size: 13px;
  color: var(--gray);
  margin-top: 4px;
  font-weight: 500;
}

.stat-strip .btn {
  padding: 12px 28px;
  font-size: 14px;
  white-space: nowrap;
}

/* Tagline strip */
.tagline-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--gray-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-bottom: 20px;
  text-align: center;
  flex-wrap: wrap;
}

.tagline-strip .dash {
  width: 40px;
  height: 1px;
  background: rgba(148, 163, 184, 0.2);
}

/* Services Grid Section */
.services-section {
  background: var(--bg-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--card);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  border: 1px solid var(--card-border);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(37,99,235,0.1);
}

.service-card-image {
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-soft) 0%, rgba(7, 11, 25, 0) 100%);
}

.service-card-image .service-icon {
  position: absolute;
  bottom: 12px;
  left: 20px;
  z-index: 10;
  margin-bottom: 0;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.service-card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card h3 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 700;
}

.service-card p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.learn-more {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.service-card:hover .learn-more {
  gap: 10px;
  color: var(--white);
}

/* About Us Section */
.about-section {
  background: var(--bg);
}

.about-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-image, .about-text {
  flex: 1;
}

.about-text h2 {
  font-size: clamp(26px, 4vw, 36px);
  color: var(--white);
  margin: 10px 0 20px;
  font-weight: 800;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 30px;
  line-height: 1.65;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--card-border);
}

.about-image::before {
  content: '';
  position: absolute;
  inset: -15px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.05);
  pointer-events: none;
  z-index: -1;
}

/* Features Grid (Why choose us - about page) */
.features-section {
  background: var(--bg-soft);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--card);
  padding: 36px 24px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--card-border);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37,99,235,0.3);
}

.feature-icon {
  font-size: 32px;
  color: var(--primary-light);
  margin-bottom: 18px;
}

.feature-card h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
}

.feature-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

/* Call to Action Section */
.cta-section {
  background: radial-gradient(circle at 100% 50%, #151e3f 0%, var(--bg) 60%);
  color: var(--white);
  padding: clamp(60px, 9vw, 90px) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--card-border);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cta-inner h2 {
  font-size: clamp(24px, 4vw, 34px);
  margin-bottom: 12px;
  font-weight: 800;
}

.cta-inner p {
  color: var(--gray);
  font-size: 16px;
  max-width: 580px;
}

/* Page Banner */
.page-banner {
  background: radial-gradient(circle at 50% 0%, #151e3f 0%, var(--bg) 70%);
  padding: clamp(80px, 12vw, 110px) 0;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--card-border);
}

.page-banner h1 {
  font-size: clamp(32px, 5vw, 46px);
  margin-bottom: 14px;
  font-weight: 800;
}

.page-banner p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
}

/* Service Detail Page */
.service-detail {
  background: var(--bg);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}

.service-detail-image {
  border-radius: var(--radius);
  margin-bottom: 30px;
  border: 1px solid var(--card-border);
  box-shadow: var(--glass-shadow);
  width: 100%;
}

.service-content h2, .service-content h3 {
  color: var(--white);
  margin: 28px 0 12px;
  font-weight: 700;
}

.service-content p {
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.7;
}

.service-content ul {
  margin: 10px 0 24px 0;
}

.service-content ul li {
  color: var(--gray);
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}

.service-content ul li::before {
  content: "";
  width: 1em;
  height: 1em;
  background-color: var(--primary-light);
  -webkit-mask: var(--fa-check) no-repeat center/contain;
  mask: var(--fa-check) no-repeat center/contain;
  position: absolute;
  left: 0;
  top: .35em;
}

.service-sidebar {
  background: var(--bg-soft);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  align-self: start;
  box-shadow: var(--glass-shadow);
}

.service-sidebar h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
}

.service-list li {
  margin-bottom: 8px;
}

.service-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  color: var(--gray);
  font-weight: 600;
  font-size: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.25s ease;
}

.service-list li.active a, .service-list li a:hover {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}

.sidebar-cta {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.sidebar-cta h4 {
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 700;
}

.sidebar-cta p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 18px;
  line-height: 1.5;
}

/* Contact Page */
.contact-section {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}

.contact-info h2 {
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 800;
}

.contact-list li {
  margin-bottom: 20px;
  color: var(--gray);
  display: flex;
  gap: 14px;
  line-height: 1.5;
}

.contact-list li i {
  color: var(--primary-light);
  margin-top: 4px;
  font-size: 18px;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.socials a:hover {
  background: var(--gradient);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.contact-form {
  background: var(--bg-soft);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--glass-shadow);
}

.contact-form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form input, .contact-form textarea {
  flex: 1;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 15px;
  width: 100%;
  color: var(--white);
  transition: all 0.25s ease;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
  color: var(--gray-dark);
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.contact-form textarea {
  margin-bottom: 20px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
}

.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer Section */
.site-footer {
  background: var(--bg-soft);
  color: var(--gray);
  padding-top: 70px;
  border-top: 1px solid var(--card-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 16px;
}

.footer-col h4, 
.footer-col .h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-col ul li a {
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.8;
  word-break: break-word;
}

/* Static Page Content */
.static-page-content {
  color: var(--gray);
  line-height: 1.7;
}

.static-page-content h2, .static-page-content h3 {
  color: var(--white);
  margin: 24px 0 12px;
}

/* Responsive Breakpoints */

/* Tablet Viewports */
@media (max-width: 991px) {
  .hero-text h1 {
    font-size: 48px;
  }
  .about-inner {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .service-detail-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stat-strip {
    border-radius: 30px;
    padding: 24px 30px;
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* Mobile Viewports */
@media (max-width: 768px) {
  :root {
    --header-h: 70px;
  }
  .header-inner {
    padding: 10px 0;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(80vw, 300px);
    background: #090e1d;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 195;
    padding-top: var(--header-h);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-left: 1px solid var(--card-border);
  }
  .main-nav.open {
    transform: translateX(0);
  }
  .main-nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 6px;
  }
  .main-nav ul li a {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--gray);
  }
  .main-nav ul li a.active {
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
  }
  .header-cta {
    margin: 20px;
    text-align: center;
  }
  .header-cta .btn {
    width: 100%;
  }
  .nav-toggle {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-form {
    padding: 30px 20px;
  }
  .contact-form .form-row {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 0;
  }
  .contact-form input {
    margin-bottom: 20px;
  }
  .section {
    padding: 60px 0;
  }
  .container {
    padding: 0 20px;
  }
  .stat-strip {
    flex-direction: column;
    text-align: center;
    border-radius: 20px;
    padding: 24px 20px;
  }
  .stat-item {
    text-align: center;
  }
  .stat-strip .btn {
    width: 100%;
    margin-top: 10px;
  }
  .hero-text h1 {
    font-size: 38px;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 32px;
  }
  .hero-text p {
    font-size: 15px;
  }
  .feature-strip {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .feature-strip-card {
    padding: 24px 16px;
  }
  .btn {
    width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .mock-body {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }
  .mock-visual {
    display: none; /* Hide visual mockup panel inside screen to save space on small viewports */
  }
  .mock-nav {
    display: none;
  }
}

/* Laptop Mockup Slider styles */
.laptop-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
}

.laptop-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  visibility: hidden;
  z-index: 1;
}

.laptop-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  width: clamp(20px, 4.5vw, 32px);
  height: clamp(20px, 4.5vw, 32px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  font-size: clamp(8px, 1.4vw, 12px);
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: transparent;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.slider-arrow.prev {
  left: clamp(4px, 1.2vw, 12px);
}

.slider-arrow.next {
  right: clamp(4px, 1.2vw, 12px);
}

.slider-indicators {
  position: absolute;
  bottom: clamp(4px, 0.8vw, 8px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 15;
}

.indicator {
  width: clamp(4px, 0.8vw, 6px);
  height: clamp(4px, 0.8vw, 6px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
}

.indicator.active {
  background: var(--primary-light);
  transform: scale(1.2);
  width: clamp(8px, 1.6vw, 14px);
  border-radius: 3px;
}

/* Simulated Mobile Viewport inside Slide 2 */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-mobile-device {
  width: clamp(55px, 12vw, 95px);
  height: clamp(95px, 21vw, 160px);
  background: #1e293b;
  border: clamp(2px, 0.5vw, 4px) solid #334155;
  border-radius: 12px;
  padding: 4px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.mock-mobile-screen {
  background: #0f172a;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: clamp(4px, 0.8vw, 7px);
  color: #fff;
  padding: 4px;
}

.mock-mobile-header {
  height: 2px;
  width: 35%;
  background: #334155;
  margin: 0 auto 4px;
  border-radius: 2px;
}

.mock-mobile-title {
  font-weight: 700;
  font-size: clamp(5px, 1vw, 9px);
  margin-bottom: 4px;
  text-align: left;
}

.mock-mobile-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 50%;
  background: rgba(255, 255, 255, 0.02);
  padding: 4px;
  border-radius: 4px;
  gap: 2px;
}

.mock-mobile-bar {
  width: 20%;
  background: var(--primary-light);
  border-radius: 2px 2px 0 0;
  transition: height 0.5s ease;
}

.mock-mobile-stats {
  font-weight: 600;
  color: #10b981;
  margin-top: 4px;
  font-size: clamp(5px, 0.8vw, 8px);
  text-align: center;
}

/* Branding layout inside Slide 3 */
.branding-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
  gap: clamp(6px, 1.2vw, 12px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.brand-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: clamp(8px, 1.6vw, 14px);
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--white);
}

.brand-colors {
  display: flex;
  gap: 6px;
}

.color-dot {
  width: clamp(6px, 1vw, 10px);
  height: clamp(6px, 1vw, 10px);
  border-radius: 50%;
}

.color-dot.blue { background: #2563eb; }
.color-dot.indigo { background: #6366f1; }
.color-dot.slate { background: #475569; }

.brand-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-weight: 600;
  font-size: clamp(5px, 0.9vw, 8px);
  border-radius: 10px;
  padding: 2px 6px;
}

/* Hero Background Slideshow */
.hero-bg-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-bg-slide.active {
  opacity: 1;
}

/* Hero Text Slideshow */
.hero-text-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto 50px;
  width: 100%;
  min-height: 280px;
}

.hero-text-slide {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  text-align: center;
}

.hero-text-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  left: 0;
  transform: translateX(0) translateY(0);
}

/* Hero Arrows */
.hero-arrow {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-arrow:hover {
  background: var(--primary);
  border-color: transparent;
  box-shadow: var(--neon-glow);
}

.hero-arrow.prev {
  left: -70px;
}

.hero-arrow.next {
  right: -70px;
}

@media (max-width: 991px) {
  .hero-text-slider {
    min-height: 320px;
  }
  .hero-arrow.prev {
    left: 0px;
  }
  .hero-arrow.next {
    right: 0px;
  }
}

@media (max-width: 480px) {
  .hero-text-slider {
    min-height: 360px;
  }
  .hero-arrow {
    width: 36px;
    height: 36px;
  }
}

/* Partners Logo Ticker Infinite Scroll */
@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.partner-logo-item:hover {
  opacity: 0.95 !important;
}

/* Header Dropdown Menu */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-soft);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  min-width: 240px;
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--bg-soft);
  border-left: 1px solid var(--card-border);
  border-top: 1px solid var(--card-border);
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.has-dropdown:hover > a {
  color: var(--white);
}

.has-dropdown:hover i {
  transform: rotate(180deg);
}

.dropdown-menu li {
  width: 100%;
  padding: 0;
}

.dropdown-menu li a {
  display: block !important;
  width: 100%;
  padding: 10px 20px !important;
  font-size: 14px !important;
  color: var(--gray) !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
  text-align: left;
  border-radius: 0;
}

.dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--primary-light) !important;
  padding-left: 24px !important;
  text-shadow: none !important;
}

/* Adjust mobile styles so dropdown is visible and expands */
@media (max-width: 991px) {
  .dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    background: rgba(255, 255, 255, 0.02);
    border: none;
    box-shadow: none;
    padding: 0 0 0 15px;
    margin-top: 5px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  .has-dropdown.open .dropdown-menu {
    max-height: 500px;
  }
  .dropdown-menu::before {
    display: none;
  }
  .dropdown-menu li a {
    padding: 10px 16px !important;
    font-size: 14px !important;
    border-bottom: none !important;
    background: none !important;
    color: var(--gray) !important;
    display: block !important;
    width: 100% !important;
    text-shadow: none !important;
  }
  .dropdown-menu li a:hover {
    color: var(--primary-light) !important;
    padding-left: 20px !important;
  }
  .dropdown-menu {
    margin: 8px 0 0 0 !important;
    background: rgba(255, 255, 255, 0.02) !important;
    padding: 0 !important;
    width: 100% !important;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--neon-glow);
}

/* WhatsApp Floating Icon */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  background: #20ba5a;
}

@media (max-width: 480px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
}



/* ===================================================================
   Content & SEO remediation - new components
   =================================================================== */

/* Hero slide headings. The first slide is an <h1>, the rest are <div>s
   so the page has exactly one H1. Both must look identical. */
.hero-text-slide .slide-heading {
  font-size: clamp(34px, 7vw, 64px);
  margin-bottom: 22px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--white);
}

/* Decorative headings inside the laptop mockup - previously <h2>s,
   which put three phantom headings into the document outline. */
.mock-body .mock-h {
  font-size: clamp(12px, 2.6vw, 26px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: clamp(4px, 1vw, 10px);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--gray-dark);
}
.breadcrumbs a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumbs a:hover { color: var(--primary-light); }
.breadcrumbs span[aria-current] { color: var(--gray-dark); }

/* Homepage intro: multi-paragraph body copy */
.intro-section .about-text p {
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 16px;
}
.intro-section .about-text p:last-of-type { margin-bottom: 26px; }

/* Why UK Businesses Choose Us */
.why-section { background: var(--bg-soft); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.why-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.25s, transform 0.25s;
}
.why-card:hover {
  border-color: rgba(168, 85, 247, 0.35);
  transform: translateY(-4px);
}
.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 70, 229, 0.15);
  color: var(--primary-light);
  font-size: 18px;
  margin-bottom: 18px;
}
.why-card h3 {
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}
.why-card p {
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.65;
}
.why-footnote { margin-top: 28px; text-align: center; }
.why-footnote a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.why-footnote a:hover { text-decoration: underline; }

/* FAQs. Native <details> so answers are in the DOM and indexable
   whether or not the item is open. */
.faq-section { background: var(--bg); }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item[open] { border-color: rgba(168, 85, 247, 0.3); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary-light); }
.faq-item summary i {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--primary-light);
  transition: transform 0.25s ease;
}
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-answer { padding: 0 22px 22px; }
.faq-answer p {
  color: var(--gray);
  line-height: 1.75;
  font-size: 15px;
  margin-bottom: 12px;
}
.faq-answer p:last-child { margin-bottom: 0; }

/* Service page body copy */
.service-content .lead {
  font-size: 18px;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 22px;
}
.service-content h2 { font-size: clamp(22px, 3vw, 28px); margin-top: 40px; }
.service-content h3 { font-size: 18px; margin-top: 26px; }
.service-content strong { color: #e2e8f0; font-weight: 700; }
.service-content a { color: var(--primary-light); }

/* Comparison tables */
.table-scroll {
  overflow-x: auto;
  margin: 20px 0 26px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
}
.cmp-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.cmp-table th,
.cmp-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--card-border);
  color: var(--gray);
  line-height: 1.55;
}
.cmp-table thead th {
  background: rgba(79, 70, 229, 0.12);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}
.cmp-table tbody td:first-child {
  color: #e2e8f0;
  font-weight: 600;
  white-space: nowrap;
}
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* Empty states */
.empty-state {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 50px 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}
.empty-state i {
  font-size: 34px;
  color: var(--primary-light);
  opacity: 0.7;
  margin-bottom: 18px;
}
.empty-state h2 {
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}
.empty-state p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 15px;
}
.empty-state .btn { margin-top: 12px; }

/* Contact page */
.contact-note {
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 18px 0 22px;
  padding-left: 14px;
  border-left: 2px solid rgba(168, 85, 247, 0.4);
}
.contact-list a {
  color: inherit;
  text-decoration: none;
}
.contact-list a:hover { color: var(--primary-light); }

@media (max-width: 767px) {
  .faq-item summary { padding: 16px 18px; font-size: 15px; }
  .faq-answer { padding: 0 18px 18px; }
  .why-card { padding: 22px 20px; }
}

/* Grid and flex children default to min-width:auto, which stops them
   shrinking below their content and lets a wide table push the whole
   page sideways. These let the scroll container do its job. */
.service-content,
.service-detail-grid > * {
  min-width: 0;
}
.table-scroll { max-width: 100%; }

/* The off-canvas mobile nav sits off-screen to the right. body already
   had overflow-x:hidden, but html is the scroll container, so the page
   still scrolled ~20px sideways on every mobile view. `clip` stops the
   scroll without making html a scroll container, which would break the
   sticky header. */
html { overflow-x: clip; }
@supports not (overflow-x: clip) {
  html { overflow-x: hidden; }
}

/* Blog category navigation */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}
.category-nav a {
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid var(--card-border);
  color: var(--gray);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.category-nav a:hover {
  color: var(--white);
  border-color: rgba(168, 85, 247, 0.4);
}
.category-nav a.active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-color: rgba(168, 85, 247, 0.5);
}

/* Listing page intro copy */
.listing-intro {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}
.listing-intro p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.listing-intro p:last-child { margin-bottom: 0; }

/* Related links after an article */
.related-block {
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.related-block h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}
.related-block ul { list-style: none; padding: 0; margin: 0; }
.related-block li { margin-bottom: 14px; line-height: 1.6; }
.related-block li a {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
}
.related-block li a:hover { text-decoration: underline; }
.related-block li span {
  display: block;
  color: var(--gray);
  font-size: 14px;
  margin-top: 3px;
}
.related-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related-services li { margin-bottom: 0; }
.related-services li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--card-border);
  border-radius: 30px;
  font-size: 14px;
  color: var(--gray);
  transition: color 0.25s, border-color 0.25s;
}
.related-services li a:hover {
  color: var(--white);
  border-color: rgba(168, 85, 247, 0.4);
  text-decoration: none;
}

/* ===== Contact Map ===== */
.contact-map-section {
  background: var(--bg-soft);
}

.map-embed {
  position: relative;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-address {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: var(--gray);
  text-align: center;
}

.map-address > i {
  color: var(--primary-light);
}

.map-address a {
  color: var(--primary-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s ease;
}

.map-address a:hover {
  color: var(--white);
}

.map-address a i {
  font-size: 12px;
}

@media (max-width: 768px) {
  .map-embed {
    aspect-ratio: 4 / 3;
  }
}

/* Footer bar: copyright left, legal links right */
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: inherit; opacity: .8; text-decoration: none; }
.footer-legal a:hover, .footer-legal a:focus-visible { opacity: 1; text-decoration: underline; }

.form-privacy-note { margin: 12px 0 0; font-size: 13px; color: var(--gray); }
.form-privacy-note a { color: var(--primary-light); }

/* Freshness line under service / page copy */
.last-reviewed { margin-top: 32px; font-size: 13px; color: var(--gray); opacity: .8; }

/* Author profile + people section */
.author-card { display: flex; gap: 24px; align-items: flex-start; background: var(--bg-soft); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 28px; color: var(--gray); line-height: 1.7; }
.author-card .author-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.author-card a { color: var(--primary-light); }
.author-posts { list-style: none; padding: 0; margin: 20px 0 0; }
.author-posts li { padding: 18px 0; border-bottom: 1px solid var(--card-border); }
.author-posts li a { color: var(--white); font-weight: 700; font-size: 18px; text-decoration: none; }
.author-posts li a:hover { color: var(--primary-light); }
.author-post-date { display: inline-block; margin-left: 12px; font-size: 13px; color: var(--gray); }
.author-posts li p { margin: 6px 0 0; color: var(--gray); }
.people-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 360px)); gap: 24px; justify-content: center; }
.person-card { background: var(--bg-soft); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 28px; text-align: center; }
.person-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.person-card h3 { font-size: 20px; margin: 0 0 4px; }
.person-card h3 a { color: var(--white); text-decoration: none; }
.person-card h3 a:hover { color: var(--primary-light); }
.person-role { color: var(--primary-light); font-size: 14px; font-weight: 600; margin: 0 0 10px; }
.person-card p { color: var(--gray); font-size: 15px; line-height: 1.6; }
.person-link { display: inline-block; margin-top: 8px; color: var(--primary-light); font-size: 14px; text-decoration: none; }
@media (max-width: 600px) { .author-card { flex-direction: column; align-items: center; text-align: center; } }.people-section .section-header { text-align: center; margin-bottom: 36px; }

/* Static hero H1 (outside the slider) + rotating strapline beneath it */
.hero-headline { max-width: 800px; margin: 0 auto; text-align: center; }
.hero-h1 {
  font-size: clamp(34px, 7vw, 64px);
  margin-bottom: 18px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--white);
}
.hero-strapline { font-size: clamp(18px, 2.4vw, 26px); font-weight: 700; color: var(--white); margin: 0 0 10px; line-height: 1.3; }
.hero-text-slider { min-height: 200px; }
@media (max-width: 991px) { .hero-text-slider { min-height: 230px; } }
@media (max-width: 480px) { .hero-text-slider { min-height: 260px; } }
