/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700;900&display=swap');

/* Briery Custom Fonts */
@font-face {
  font-family: 'Briery';
  src: url('../fonts/fonnts.com-briery-black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  unicode-range:
    U+0000- U+0021,
    U+0023- U+0026,
    U+0028- U+10FFFF; /* Exclude " (U+0022), ' (U+0027), % (U+0025) */
}
@font-face {
  font-family: 'Briery';
  src: url('../fonts/fonnts.com-briery-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  unicode-range:
    U+0000- U+0021,
    U+0023- U+0026,
    U+0028- U+10FFFF; /* Exclude " (U+0022), ' (U+0027), % (U+0025) */
}
@font-face {
  font-family: 'Briery';
  src: url('../fonts/fonnts.com-briery-bold_oblique.otf') format('opentype');
  font-weight: 700;
  font-style: oblique;
  unicode-range:
    U+0000- U+0021,
    U+0023- U+0026,
    U+0028- U+10FFFF; /* Exclude " (U+0022), ' (U+0027), % (U+0025) */
}
@font-face {
  font-family: 'Briery';
  src: url('../fonts/fonnts.com-briery-medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  unicode-range:
    U+0000- U+0021,
    U+0023- U+0026,
    U+0028- U+10FFFF; /* Exclude " (U+0022), ' (U+0027), % (U+0025) */
}
@font-face {
  font-family: 'Briery';
  src: url('../fonts/fonnts.com-briery-medium_oblique.otf') format('opentype');
  font-weight: 500;
  font-style: oblique;
  unicode-range:
    U+0000- U+0021,
    U+0023- U+0026,
    U+0028- U+10FFFF; /* Exclude " (U+0022), ' (U+0027), % (U+0025) */
}
@font-face {
  font-family: 'Briery';
  src: url('../fonts/fonnts.com-briery-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  unicode-range:
    U+0000- U+0021,
    U+0023- U+0026,
    U+0028- U+10FFFF; /* Exclude " (U+0022), ' (U+0027), % (U+0025) */
}
@font-face {
  font-family: 'Briery';
  src: url('../fonts/fonnts.com-briery-regular_oblique.otf') format('opentype');
  font-weight: 400;
  font-style: oblique;
  unicode-range:
    U+0000- U+0021,
    U+0023- U+0026,
    U+0028- U+10FFFF; /* Exclude " (U+0022), ' (U+0027), % (U+0025) */
}
@font-face {
  font-family: 'Briery';
  src: url('../fonts/fonnts.com-briery-light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  unicode-range:
    U+0000- U+0021,
    U+0023- U+0026,
    U+0028- U+10FFFF; /* Exclude " (U+0022), ' (U+0027), % (U+0025) */
}
@font-face {
  font-family: 'Briery';
  src: url('../fonts/fonnts.com-briery-light_oblique.otf') format('opentype');
  font-weight: 300;
  font-style: oblique;
  unicode-range:
    U+0000- U+0021,
    U+0023- U+0026,
    U+0028- U+10FFFF; /* Exclude " (U+0022), ' (U+0027), % (U+0025) */
}

/* Fallback font for problematic characters */
@font-face {
  font-family: 'Briery';
  src: local('Arial');
  unicode-range: U+0022, U+0027, U+0025; /* Only for " (U+0022), ' (U+0027), % (U+0025) */
}

/* Custom Properties */
:root {
  /* Brand Colors - Main colors for the project */
  --brand-blue: #1b7a9e; /* Base blue color */
  --brand-cyan: #41b7d6; /* Primary button color */
  --brand-cyan-light: #14688d; /* Secondary button color, darker blue */
  --brand-blue-light: #57b1c9; /* Accent color, lighter blue-cyan */

  /* Gray Scale */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Primary Colors */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;

  /* Cyan Colors */
  --cyan-300: #67e8f9;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Comprehensive overflow prevention */
body,
html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Ensure all main containers don't exceed viewport */
body > *,
section,
main,
.container-custom,
div {
  max-width: 100vw;
  box-sizing: border-box;
}

/* Targeted overflow prevention for hero section only */
#home {
  overflow-x: hidden;
}

/* Allow normal overflow for answer section and other content areas but constrain to viewport */
.answer-section,
#human-support,
#powerful-tools,
#tax-compliance,
#smarter-choice {
  overflow-x: visible;
  max-width: 100vw;
}

html {
  font-family: 'Source Sans Pro', system-ui, sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-900);
  background-color: white;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* Typography */
h1,
h2,
h3,
.main-heading,
.section-title,
.hero-sub,
.hero-title,
.uppercase {
  font-family: 'Bricolage Grotesque', 'Source Sans Pro', system-ui, sans-serif;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.25rem;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 4rem;
  }
}

h2 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
}

@media (min-width: 768px) {
  h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  h2 {
    font-size: 3rem;
  }
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 768px) {
  h3 {
    font-size: 1.75rem;
  }
}

h4,
h5,
h6 {
  font-weight: 600;
}

p,
li,
a,
button {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

button,
.font-bold,
.font-semibold,
.font-black {
  font-family: 'Source Sans Pro', system-ui, sans-serif;
}

/* Utility classes for text sizes (override if needed) */
.text-xs {
  font-size: 0.75rem;
}
.text-sm {
  font-size: 0.875rem;
}
.text-base {
  font-size: 1rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-3xl {
  font-size: 1.875rem;
}
.text-4xl {
  font-size: 2.25rem;
}
@media (min-width: 768px) {
  .md\:text-5xl {
    font-size: 3rem;
  }
}
@media (min-width: 1024px) {
  .lg\:text-6xl {
    font-size: 3.75rem;
  }
}

/* Smoother transitions for font changes */
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button {
  transition:
    font-size 0.2s,
    font-weight 0.2s,
    letter-spacing 0.2s;
}

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

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* Utility Classes */
.container-custom {
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .container-custom {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* Flexbox */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-x-6 > * + * {
  margin-left: 0.5rem;
}

.space-x-8 > * + * {
  margin-left: 1rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

/* Grid */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gap-8 {
  gap: 2rem;
}

/* Positioning */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.sticky {
  position: sticky;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.bottom-0 {
  bottom: 0;
}

.left-0 {
  left: 0;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

/* Display */
.hidden {
  display: none;
}

.block {
  display: block;
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }
}

/* Margin & Padding */
.m-0 {
  margin: 0;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mr-1 {
  margin-right: 0.25rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-20 {
  margin-top: 5rem;
}

.-mt-44 {
  margin-top: -11rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-4 {
  padding: 1rem;
}

.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pt-44 {
  padding-top: 11rem;
}

.pb-32 {
  padding-bottom: 8rem;
}

/* Width & Height */
.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-auto {
  width: auto;
}

.w-full {
  width: 100%;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-14 {
  height: 3.5rem;
}

.h-full {
  height: 100%;
}

.h-\[27rem\] {
  height: 27rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 68rem;
}

/* Typography */
.text-center {
  text-align: center;
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

@media (min-width: 768px) {
  .md\:text-5xl {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .lg\:text-6xl {
    font-size: 3.75rem;
  }
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-black {
  font-weight: 900;
}

.uppercase {
  text-transform: uppercase;
}

.leading-tight {
  line-height: 1.25;
}

.leading-none {
  line-height: 1;
}

.tracking-\[0\.3em\] {
  letter-spacing: 0.3em;
}

/* Colors */
.text-white {
  color: white;
}

.text-gray-200 {
  color: var(--gray-200);
}

.text-gray-300 {
  color: var(--gray-300);
}

.text-gray-400 {
  color: var(--gray-400);
}

.text-gray-500 {
  color: var(--gray-500);
}

.text-gray-900 {
  color: var(--gray-900);
}

.text-cyan-300 {
  color: var(--cyan-300);
}

.bg-white {
  background-color: white;
}

.bg-transparent {
  background-color: transparent;
}

.bg-gray-50 {
  background-color: var(--gray-50);
}

.bg-gray-900 {
  background-color: var(--gray-900);
}

.bg-brand-blue {
  background-color: var(--brand-blue);
}

.bg-brand-cyan {
  background-color: var(--brand-cyan);
}

.hover\:bg-brand-cyan-light:hover {
  background-color: var(--brand-cyan-light);
}

.hover\:text-white:hover {
  color: white;
}

.hover\:text-gray-200:hover {
  color: var(--gray-200);
}

.hover\:text-gray-300:hover {
  color: var(--gray-300);
}

.bg-gray-900\/40 {
  background-color: rgba(15, 23, 42, 0.4);
}

.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--brand-blue), var(--brand-blue), transparent);
}

/* Borders */
.border {
  border-width: 1px;
  border-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-gray-700 {
  border-color: var(--gray-700);
}

.border-gray-800 {
  border-color: var(--gray-800);
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

/* Effects */
.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

/* Aspect Ratio */
.aspect-w-16 {
  position: relative;
  padding-bottom: calc(9 / 16 * 100%);
}

.aspect-h-9 {
  position: relative;
}

.aspect-w-16 > *,
.aspect-h-9 > * {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Cursor */
.cursor-pointer {
  cursor: pointer;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

/* Media Queries for Responsive Design */
@media (min-width: 640px) {
  .sm\:p-4 {
    padding: 1rem;
  }

  .sm\:px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .sm\:text-sm {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction: row;
  }

  .md\:mt-0 {
    margin-top: 0;
  }
}

/* Custom Components */
/* Header */
#header {
  background: transparent;
  transition:
    background 0.3s,
    box-shadow 0.3s,
    padding 0.3s;
  box-shadow: none;
}
#header .logo {
  height: 3.5rem;
  transition:
    filter 0.3s,
    height 0.3s;
}
#header .nav-link {
  font-weight: 300;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
}
#header .nav-link:hover {
  color: var(--brand-cyan);
  background: rgba(255, 255, 255, 0.08);
}
#header .cta-demo {
  background: var(--brand-cyan);
  color: #fff;
  font-weight: 400;
  border-radius: 9999px;
  padding: 0.5em 1.8em;
  font-size: 0.95rem;
  box-shadow: 0 4px 18px 0 rgba(66, 200, 193, 0.13);
  border: none;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
#header .cta-demo:hover {
  background: var(--brand-cyan-light);
  box-shadow: 0 8px 32px 0 rgba(66, 200, 193, 0.18);
}
#header .language-selector {
  color: #fff;
  padding: 0.4em 1.2em 0.4em 1em;
  font-weight: 400;
  font-size: 1rem;
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
#header .language-selector:hover,
#header .language-selector:focus {
  background: var(--brand-cyan-light);
  border-color: var(--brand-cyan-light);
  outline: none;
}
#header #mobile-menu-button {
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 0.5rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  #header #mobile-menu-button {
    display: none !important;
  }
}

#header #mobile-menu-button:hover {
  background-color: rgba(65, 183, 214, 0.3);
  transform: scale(1.05);
}

#header #mobile-menu-button:active {
  transform: scale(0.95);
}

#header.scrolled #mobile-menu-button:hover {
  background-color: rgba(65, 183, 214, 0.2);
}
#header .mobile-menu {
  position: fixed;
  width: 70%;
  max-width: 250px;
  height: 100vh;
  top: 0;
  left: 0;
  background: var(--brand-blue);
  border-right: 2px solid var(--brand-cyan);
  box-shadow: 0 0 30px 0 rgba(27, 122, 158, 0.25);
  padding: 1rem;
  z-index: 101;
  transform: translateX(-100%);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 0.3s ease-in-out;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  overflow-y: auto;
}

#header .mobile-menu.hidden {
  display: block !important;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}

#header .mobile-menu:not(.hidden) {
  transform: translateX(0);
  opacity: 1;
}
#header .mobile-menu nav {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

#header .mobile-menu nav a {
  font-weight: 500;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.6rem 0.8rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  border-left: 3px solid transparent;
}

#header .mobile-menu nav a:hover {
  background: rgba(65, 183, 214, 0.2);
  color: #fff;
  border-left: 3px solid var(--brand-cyan);
  transform: translateX(5px);
}

#header .mobile-menu nav a:active {
  background: var(--brand-cyan);
  transform: translateX(0);
}

#header .mobile-menu .language-selector,
#header .mobile-menu .cta-demo {
  width: 100%;
  margin-bottom: 0.75rem;
  justify-content: center;
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

#header .mobile-menu .cta-demo {
  background: var(--brand-cyan);
  border: none;
  box-shadow: 0 4px 6px rgba(20, 104, 141, 0.2);
  margin-top: 0.5rem;
}

#header .mobile-menu .cta-demo:hover {
  background: var(--brand-cyan-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(20, 104, 141, 0.3);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 768px) {
  #header .logo {
    height: 2.5rem;
  }
}
/* Header on scroll (solid background, dark links, logo invert) */
#header.scrolled {
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(27, 122, 158, 0.07);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
#header.scrolled .logo {
  filter: invert(1);
  height: 2.5rem;
}
#header.scrolled .nav-link {
  color: var(--brand-blue);
}
#header.scrolled .nav-link:hover {
  color: var(--brand-cyan);
  background: rgba(27, 122, 158, 0.07);
}
#header.scrolled .cta-demo {
  background: var(--brand-cyan);
  color: #fff;
}
#header.scrolled .language-selector {
  background: #fff;
  color: var(--brand-blue);
  border: 1.5px solid var(--brand-blue);
}
#header.scrolled #mobile-menu-button {
  color: var(--brand-blue);
}
#header.scrolled .language-selector:hover,
#header.scrolled .language-selector:focus {
  background: var(--brand-cyan-light);
  color: #fff;
  border-color: var(--brand-cyan-light);
}

/* SVG Styles */
svg {
  display: inline-block;
  vertical-align: middle;
}

/* Language Selector Styles */
.language-selector {
  color: #fff;
  border: 1.5px solid var(--brand-blue);
  border-radius: 9999px;
  padding: 0.4em 1.2em 0.4em 1em;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(27, 122, 158, 0.06);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.language-selector svg,
.language-selector img {
  color: #fff;
  margin-right: 0.5em;
  width: 1.1em;
  height: 1.1em;
}
.language-selector:hover,
.language-selector:focus {
  background: var(--brand-cyan-light);
  color: #fff;
  border-color: var(--brand-cyan-light);
  outline: none;
}

/* ERP Section Custom Styles */
.erp-blue-circle {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 180px;
  height: 180px;
  background: #e6f3fa;
  border-radius: 50%;
  z-index: 0;
}
.erp-dotted-grid {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
  opacity: 0.4;
}
@media (max-width: 768px) {
  .erp-blue-circle {
    display: none;
  }
  .erp-dotted-grid {
    display: none;
  }
}

/* --- AUTOMATE TAX COMPLIANCE SECTION REFINEMENT FOR FIGMA MATCH --- */
#tax-compliance {
  padding-top: 4rem;
  padding-bottom: 0;
  position: relative;
  z-index: 10;
}
#tax-compliance .tax-card {
  position: relative;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow:
    0 8px 32px rgba(27, 122, 158, 0.08),
    0 1.5px 6px rgba(66, 200, 193, 0.07);
  border: 1.5px solid #14688d;
  padding: 3.5rem 3rem 2rem 3rem; /* Reduced padding for less vertical space */
  margin-top: 1.5rem; /* Reduced to allow proper pill overlap */
  margin-bottom: 0; /* Removed bottom margin */
  width: 100% !important; /* Set width to 100% of the container */
  max-width: 80% !important; /* Set to at least 80% of the available width */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
/* CETEC Logo Pill Container Styles - Positioned relative to the card */
.cetec-logo-pill-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
}

/* Logo Pill Styles - Overlapping the card border */
.cetec-logo-pill {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px; /* Fully rounded corners */
  padding: 0.75rem 1.5rem;
  border: 1.5px solid #b6e0ea;
  background: #fff;
  z-index: 20;
}

/* Logo Image Styles */
.cetec-logo-img {
  height: 2.5rem;
  width: auto;
}
#tax-compliance .tax-title {
  color: var(--brand-blue); /* Softer blue color */
  font-size: 1.2rem; /* Further reduced size */
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.8rem; /* Reduced spacing */
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0.02em;
}
#tax-compliance .tax-subtitle {
  text-transform: none;
  color: #64748b; /* Lighter, more muted color */
  font-weight: 500; /* Lighter weight */
  font-size: 0.85rem; /* Further reduced size */
  margin-bottom: 1.2rem; /* Reduced spacing */
  text-align: center;
}
#tax-compliance .tax-support {
  color: #64748b;
  text-align: center;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.2rem; /* Reduced spacing */
  font-size: 0.9rem; /* Further reduced size */
  line-height: 1.5; /* Slightly tighter line height */
}
#tax-compliance .tax-intro {
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.9rem; /* Further reduced size */
  margin-bottom: 1rem; /* Reduced spacing */
  text-align: center;
}
#tax-compliance .tax-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.5rem auto; /* Reduced bottom margin */
}
#tax-compliance .tax-list li {
  font-size: 1rem; /* Further reduced size */
  color: #000000;
  font-weight: 400; /* Lighter weight */
  margin-bottom: 0.7rem; /* Reduced spacing between items */
  gap: 0.75rem;
}
.tax-icon {
  display: inline-block;
  width: 1em; /* Slightly smaller */
  height: 1em; /* Slightly smaller */
  background: none;
  border-radius: 50%;
  border: 2px solid #41b7d6;
  margin-right: 0.5em;
  position: relative;
  flex-shrink: 0;
  margin-top: 0.25em;
}
.tax-icon::after {
  content: '';
  display: block;
  width: 0.4em; /* Slightly smaller */
  height: 0.4em; /* Slightly smaller */
  border-radius: 50%;
  background: #41b7d6;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#tax-compliance .tax-quote {
  font-style: italic;
  color: #14688d; /* Slightly softer blue */
  font-weight: 600; /* Lighter weight */
  font-size: 1.1rem; /* Smaller text */
  line-height: 1.6; /* Improved line height */
  position: relative;
}
#tax-compliance .tax-quote-attribution {
  color: #14688d;
  font-weight: 400; /* Slightly lighter */
  font-size: 0.9rem; /* Smaller */
  margin-top: 0.75rem; /* More spacing */
  text-align: center;
}
#tax-compliance .tax-closing {
  color: #64748b; /* Softer color */
  font-size: 0.95rem; /* Smaller text */
  line-height: 1.6; /* Improved line height */
  margin: 2rem auto 2.5rem auto; /* More spacing */
  text-align: center;
}
#tax-compliance .tax-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem; /* More spacing between logos */
  margin: 2.5rem auto 0 auto; /* More top margin */
  flex-wrap: wrap;
  max-width: 550px; /* Slightly narrower */
  padding-bottom: 1.5rem; /* Add top padding */
}
#tax-compliance .tax-logos img {
  height: 35px; /* Slightly smaller */
  transition: transform 0.2s;
  opacity: 0.9; /* Slightly softer appearance */
}
#tax-compliance .tax-logos img:hover {
  transform: scale(1.05);
  opacity: 1;
}
@media (max-width: 768px) {
  #tax-compliance .tax-card {
    padding: 4rem 2rem 2rem 2rem; /* Adjusted padding for smaller screens, keeping top padding for pill */
    max-width: 95% !important; /* Increased width on mobile */
  }
  .cetec-logo-pill {
    padding: 0.5rem 1.2rem; /* Smaller pill on mobile */
  }
  .cetec-logo-img {
    height: 2rem; /* Smaller logo on mobile */
  }
  #tax-compliance .tax-title {
    font-size: 1.2rem; /* Smaller on mobile */
  }
  #tax-compliance .tax-subtitle {
    font-size: 0.9rem; /* Smaller on mobile */
  }
  #tax-compliance .tax-quote {
    padding: 1.25rem 1.5rem 1rem 1.5rem; /* Adjusted padding */
    font-size: 0.9rem; /* Smaller on mobile */
  }
  #tax-compliance .tax-logos {
    gap: 1.5rem;
    margin-top: 2rem;
  }
  #tax-compliance .tax-logos img {
    height: 28px; /* Smaller on mobile */
  }
}
@media (max-width: 480px) {
  #tax-compliance .tax-card {
    padding: 3.5rem 1.25rem 2rem 1.25rem; /* Even smaller padding for very small screens, keeping top padding for pill */
    max-width: 98% !important; /* Maximum width on very small screens */
  }
  .cetec-logo-pill {
    padding: 0.4rem 1rem; /* Even smaller pill on very small screens */
  }
  .cetec-logo-img {
    height: 1.75rem; /* Even smaller logo on very small screens */
  }
}

/* --- POWERFUL TOOLS SECTION REFINEMENT FOR FIGMA MATCH --- */
#powerful-tools {
  position: relative;
  background-image: url('https://www.efsnetworks.com/wp-content/themes/EFS_Networks_Theme/images/powerfull-tools.png');
  padding-top: 8rem;
  padding-bottom: 0;
  background-size: 100% 80%;
  background-position: center top;
  background-repeat: no-repeat;
}
#powerful-tools::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 80%);
  z-index: 1;
}

.tool-card-bottom {
  border-radius: 16px !important;
  border-image-source: linear-gradient(180deg, #ffffff 24.83%, #57b1c9 105.96%) !important;
  border-image-slice: 1 !important;
}
#powerful-tools .tools-angle-top {
  display: none;
}
#powerful-tools .tools-section-bg > * {
  position: relative;
  z-index: 3;
}
#powerful-tools .tools-section-title {
  color: var(--brand-blue);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-transform: uppercase;
  text-align: center;
}

@media (min-width: 768px) {
  #powerful-tools .tools-section-title {
    font-size: 2.4rem;
  }
}
#powerful-tools .tools-section-sub {
  color: #57b1c9;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 0.75rem;
}
#powerful-tools .tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1023px) {
  #powerful-tools .tools-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
  }
}
@media (max-width: 640px) {
  #powerful-tools .tools-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(8, auto);
  }
}
#powerful-tools .tool-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px !important;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 180px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
#powerful-tools .tool-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 64px;
  height: 64px;
}
#powerful-tools .tool-icon-centered {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
#powerful-tools .tool-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
#powerful-tools .tool-title {
  font-size: 18px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 4px;
  text-align: left;
  line-height: 1.3;
}
#powerful-tools .tool-desc {
  color: #64748b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}
#powerful-tools .tools-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}
#powerful-tools .tools-demo-btn {
  background: var(--brand-cyan-light);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px 0 rgba(20, 104, 141, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}
#powerful-tools .tools-demo-btn:hover {
  background: var(--brand-blue);
  box-shadow: 0 8px 24px 0 rgba(27, 122, 158, 0.3);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  #powerful-tools {
    padding-top: 2.8rem;
    padding-bottom: 0;
  }
  #powerful-tools .tools-grid {
    gap: 0.75rem;
    row-gap: 1.5rem;
  }
  #powerful-tools .tool-card {
    padding: 20px;
    min-height: 180px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
  }
  #powerful-tools .tool-icon-img {
    width: 20px;
    height: 20px;
  }
  #powerful-tools .tool-title {
    font-size: 16px;
    margin-bottom: 8px;
    color: #1e40af;
  }
  #powerful-tools .tool-desc {
    font-size: 13px;
    color: #64748b;
  }
  #powerful-tools .tools-demo-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
  }
  #powerful-tools .tools-section-title {
    font-size: 1.5rem;
  }
}

/* --- SMARTER CHOICE SECTION REFINEMENT FOR FIGMA MATCH --- */
#smarter-choice {
  background: #fff;
  padding-top: 6rem;
  padding-bottom: 0;
  position: relative;
}
#smarter-choice .smarter-choice-card {
  position: relative;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow:
    0 8px 32px rgba(27, 122, 158, 0.08),
    0 1.5px 6px rgba(66, 200, 193, 0.07);
  border: 1.5px solid #b6e0ea;
  padding: 3.5rem 2rem 2.5rem 2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
#smarter-choice .smarter-choice-badge {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 10;
}
#smarter-choice .smarter-choice-badge-inner {
  background: #fff;
  border: 1.5px solid #b6e0ea;
  border-radius: 9999px;
  padding: 0.75rem 2.5rem;
  box-shadow: 0 2px 12px rgba(27, 122, 158, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}
#smarter-choice .smarter-choice-title {
  color: var(--brand-cyan-light);
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: capitalize;
  margin-bottom: 1rem;
  line-height: 1.3;
  text-align: left;
}
@media (min-width: 768px) {
  #smarter-choice .smarter-choice-title {
    font-size: 1.5rem;
  }
}
@media (max-width: 768px) {
  #smarter-choice .smarter-choice-title {
    font-size: 1.3rem;
  }
}
#smarter-choice .smarter-choice-support {
  color: #64748b;
  text-align: center;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  font-size: 1.08rem;
}
#smarter-choice .smarter-choice-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem auto;
  max-width: 400px;
  text-align: left;
}
#smarter-choice .smarter-choice-list li {
  font-size: 1.1rem;
  color: #1b7a9e;
  font-weight: 600;
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  gap: 0.75rem;
}
#smarter-choice .smarter-choice-icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  background: none;
  border-radius: 50%;
  border: 2px solid #42c8c1;
  margin-right: 0.5em;
  position: relative;
}
#smarter-choice .smarter-choice-icon::after {
  content: '';
  display: block;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: #42c8c1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#smarter-choice .smarter-choice-bottom {
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}
#smarter-choice .smarter-choice-bottom svg {
  display: block;
  width: 100%;
  height: 160px;
}
@media (max-width: 600px) {
  #smarter-choice .smarter-choice-card {
    padding: 2.5rem 0.5rem 2rem 0.5rem;
  }
  #smarter-choice .smarter-choice-badge-inner {
    padding: 0.5rem 1.5rem;
  }
  #smarter-choice .smarter-choice-title {
    font-size: 1.5rem;
  }
}

/* --- HERO SECTION REFINEMENT FOR FIGMA MATCH --- */
#home {
  position: relative;
  background-color: transparent;
  color: #fff;
  padding-top: 11rem;
}
#home .hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url('https://www.efsnetworks.com/wp-content/themes/EFS_Networks_Theme/images/background.png');
  background-size: cover;
  background-position: center;
  opacity: 1;
  mix-blend-mode: normal;
  z-index: 1;
}
#home .hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
}
/* Wave-like gradient effect */
#home::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 0;
  width: 100%;
  height: 60%;
  background: radial-gradient(
    ellipse at center,
    rgba(66, 200, 193, 0.15) 0%,
    rgba(27, 122, 158, 0) 70%
  );
  border-radius: 50%;
  transform: rotate(-12deg);
  z-index: 3;
  animation: wave 15s infinite alternate ease-in-out;
}
#home::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 0;
  width: 80%;
  height: 40%;
  background: radial-gradient(
    ellipse at center,
    rgba(66, 200, 193, 0.1) 0%,
    rgba(27, 122, 158, 0) 70%
  );
  border-radius: 50%;
  transform: rotate(8deg);
  z-index: 3;
  animation: wave 18s infinite alternate-reverse ease-in-out;
}
@keyframes wave {
  0% {
    transform: rotate(-12deg) translateY(0);
  }
  50% {
    transform: rotate(-8deg) translateY(-10px);
  }
  100% {
    transform: rotate(-12deg) translateY(0);
  }
}
#home .container-custom {
  position: relative;
  z-index: 20;
}
#home h1 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.7rem;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px rgba(27, 122, 158, 0.25);
  text-align: center;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  position: relative;
  z-index: 25;
}
@media (min-width: 768px) {
  #home h1 {
    font-size: 1.5rem;
    max-width: 90%;
  }
}
@media (min-width: 1024px) {
  #home h1 {
    font-size: 1.8rem;
    max-width: 80%;
    letter-spacing: 0.03em;
  }
}
#home .hero-sub {
  color: #fff !important;
  font-size: 0.7rem !important;
  font-weight: 300 !important;
  margin-bottom: 1.2rem;
  margin-top: 2.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  position: relative;
  z-index: 25;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.3);
}
/* Increase spacing between navigation and hero-sub on mobile */
@media (max-width: 767px) {
  #home .hero-sub {
    margin-top: 5rem;
  }
}
#home .hero-support {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  margin-top: 0.3rem;
  position: relative;
  z-index: 25;
  text-shadow: 0 1px 8px rgba(27, 122, 158, 0.2);
}
#home .hero-cta {
  background: var(--brand-cyan);
  color: #fff;
  font-weight: 600;
  border-radius: 9999px;
  padding: 0.8em 2.6em;
  font-size: 1rem;
  box-shadow: 0 4px 18px 0 rgba(65, 183, 214, 0.25);
  border: none;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 25;
  overflow: hidden;
}

#home .hero-cta:hover {
  background: var(--brand-cyan-light);
  box-shadow: 0 8px 32px 0 rgba(65, 183, 214, 0.35);
  transform: translateY(-2px);
}

#home .hero-cta:hover::before {
  left: 100%;
}
#home .hero-angle-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  pointer-events: none;
}

#home .hero-diagonal-overlay {
  position: absolute;
  bottom: -250px;
  left: 0;
  width: 100%;
  height: 300px;
  background: var(--brand-blue);
  transform: skewY(-12deg);
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 8px 32px 0 rgba(27, 122, 158, 0.13);
}

#home .hero-video-container {
  box-shadow:
    0 16px 48px 0 rgba(27, 122, 158, 0.25),
    0 8px 24px 0 rgba(65, 183, 214, 0.15);
  backdrop-filter: blur(6px);
  margin-top: 2.5rem;
  position: relative;
  z-index: 999;
  transform: translateY(0);
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
  animation: float 6s ease-in-out infinite;
}

#home .hero-video-container::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  background: linear-gradient(135deg, rgba(65, 183, 214, 0.1) 0%, rgba(27, 122, 158, 0.1) 100%);
  border-radius: 1.5rem;
  z-index: -1;
  filter: blur(10px);
  opacity: 0.7;
  animation: pulse 4s ease-in-out infinite alternate;
}

#home .hero-video-container::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(65, 183, 214, 0.15) 0%,
    rgba(27, 122, 158, 0) 70%
  );
  transform: translateY(-50%);
  z-index: -2;
  filter: blur(20px);
  opacity: 0.5;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    opacity: 0.5;
    filter: blur(10px);
  }
  100% {
    opacity: 0.8;
    filter: blur(15px);
  }
}
#home .hero-video-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 400;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
#home .hero-video-actions {
  display: flex;
  gap: 1rem;
}

#home .hero-video-actions span {
  color: #b6e0ea;
  font-size: 0.98rem;
  cursor: pointer;
  transition:
    color 0.2s,
    transform 0.2s,
    background-color 0.2s;
  display: flex;
  align-items: center;
  background-color: rgba(27, 122, 158, 0.3);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

#home .hero-video-actions span:hover {
  color: #42c8c1;
  transform: translateY(-2px);
  background-color: rgba(27, 122, 158, 0.5);
}

/* Custom Video Player Styles */
.custom-video-player {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.video-thumbnail-container {
  transition: transform 0.3s ease;
}

.custom-video-player:hover .video-thumbnail-container {
  transform: scale(1.02);
}

.play-button-overlay {
  background: radial-gradient(circle, rgba(27, 122, 158, 0.2) 0%, rgba(15, 23, 42, 0.4) 70%);
  transition: background 0.3s ease;
}

.custom-video-player:hover .play-button-overlay {
  background: radial-gradient(circle, rgba(27, 122, 158, 0.3) 0%, rgba(15, 23, 42, 0.5) 70%);
}

.play-button {
  filter: drop-shadow(0 0 8px rgba(65, 183, 214, 0.5));
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  animation: pulse-button 2s ease-in-out infinite;
}

.custom-video-player:hover .play-button {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(65, 183, 214, 0.7));
}

@keyframes pulse-button {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 8px rgba(65, 183, 214, 0.5));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(65, 183, 214, 0.7));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 8px rgba(65, 183, 214, 0.5));
  }
}

.video-title-overlay {
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.custom-video-player:hover .video-title-overlay {
  transform: translateY(0);
  opacity: 1;
}

.dual-screen-effect {
  box-shadow: 0 8px 32px rgba(27, 122, 158, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.custom-video-player:hover .dual-screen-effect {
  box-shadow: 0 12px 48px rgba(27, 122, 158, 0.25);
}
@media (max-width: 768px) {
  #home {
    padding-top: 7rem;
    padding-bottom: 4rem;
  }
  #home h1 {
    font-size: 1.3rem;
    max-width: 95%;
  }
  #home .hero-video-container {
    margin-top: 1rem;
    border-radius: 0.8rem;
    margin-bottom: 2rem;
    z-index: 999;
    position: relative;
  }
  #home .hero-diagonal-overlay {
    bottom: -200px;
    height: 200px;
    transform: skewY(-10deg);
    z-index: 4;
  }
  #home .hero-angle-bottom {
    bottom: 0;
    z-index: 5;
  }

  /* Responsive styles for custom video player */
  .play-button {
    width: 3rem;
    height: 3rem;
  }

  .hero-video-actions {
    top: 0.5rem;
    right: 0.5rem;
  }

  .hero-video-actions span {
    font-size: 0.8rem;
  }

  .hero-video-actions svg {
    width: 0.9rem;
    height: 0.9rem;
  }

  .video-title-overlay {
    padding: 0.5rem;
  }

  .hero-video-title {
    font-size: 0.9rem;
    margin: 0;
  }

  .dual-screen-effect {
    display: none;
  }
}

/* --- PROFIT POINTS SECTION REFINEMENT FOR FIGMA MATCH --- */
#profit-points {
  background: #fff;
  padding-bottom: 6rem;
}
#profit-points .profit-points-card-list .profit-points-cards {
  border: 1px solid #57b1c9 !important;
  border-radius: 16px !important;
  box-shadow: 0px 8px 48px 0px rgba(22, 81, 105, 0.1) !important;
}

#profit-points .profit-points-title {
  text-transform: uppercase;
  color: var(--brand-blue);
  font-size: 2.2rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
#profit-points .profit-points-sub {
  color: #42c8c1;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  text-align: center;
  margin-bottom: 0.5rem;
}
#profit-points .profit-points-support {
  color: #64748b;
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}
#profit-points .profit-points-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  #profit-points .profit-points-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  #profit-points .profit-points-grid {
    gap: 1rem;
  }
}
@media (min-width: 768px) {
  #profit-points .profit-points-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
#profit-points .profit-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(27, 122, 158, 0.1);
  padding: 1.5rem 1rem 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 240px;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
#profit-points .profit-card:hover {
  box-shadow: 0 16px 48px 0 rgba(27, 122, 158, 0.16);
  border-color: #42c8c1;
}
#profit-points .profit-card-img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 0.8rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
}
#profit-points .profit-card-text {
  color: #222;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  flex-grow: 1;
  display: flex;
  align-items: center;
}
#profit-points .profit-points-bottom {
  text-align: center;
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1.5rem;
}
#profit-points .profit-points-bottom .highlight {
  color: #42c8c1;
  font-weight: 700;
}
@media (max-width: 768px) {
  #profit-points {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  #profit-points .profit-card {
    min-height: 200px;
    padding: 1.2rem 0.8rem 1rem 0.8rem;
  }
  #profit-points .profit-card-img {
    height: 100px;
    margin-bottom: 0.8rem;
    padding: 0.3rem;
  }
  #profit-points .profit-card-text {
    font-size: 0.95rem;
    line-height: 1.4;
  }
}

@media (max-width: 600px) {
  #profit-points .profit-card {
    min-height: 180px;
    padding: 1rem 0.6rem 0.8rem 0.6rem;
  }
  #profit-points .profit-card-img {
    height: 85px;
    margin-bottom: 0.6rem;
    padding: 0.2rem;
  }
  #profit-points .profit-card-text {
    font-size: 0.9rem;
  }
}

/* */
#cedec-feature {
  position: relative;
  background-image: url('https://www.efsnetworks.com/wp-content/themes/EFS_Networks_Theme/images/cetecs-feature.png');
  padding-top: 8rem;
  padding-bottom: 4rem;
  background-size: 100% 100%;
  background-position: center top;
  background-repeat: no-repeat;
}

#industry-section {
  position: relative;
  background-image: url('https://www.efsnetworks.com/wp-content/themes/EFS_Networks_Theme/images/industry-background.png');
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-size: 100% 100%;
  background-position: center top;
  background-repeat: no-repeat;
}

#started-free {
  position: relative;
  background-image: url('https://www.efsnetworks.com/wp-content/themes/EFS_Networks_Theme/images/started-free-background.png');
  padding-top: 8rem;
  padding-bottom: 0;
  background-size: 100% 100%;
  background-position: center top;
  background-repeat: no-repeat;
}

/* --- ANSWER SECTION REFINEMENT FOR FIGMA MATCH --- */
/* Answer Section - Pixel Perfect Figma Match */
.answer-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.answer-container {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 60px;
}

@media (max-width: 768px) {
  .answer-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
}

/* Left Side - Image with Decorative Elements */
.answer-img-side {
  padding: 40px;
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.answer-img-container {
  position: relative;
  z-index: 10;
  border-radius: 80px 25px 80px 25px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  background: white;
  width: 100%;
  max-width: 500px;
  border: 2px solid rgba(77, 208, 225, 0.1);
}

.answer-main-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Background Decorative Elements */
.answer-bg-circle {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #e0f2ff 0%, #b3e0ff 100%);
  border-radius: 50%;
  opacity: 0.4;
  z-index: 1;
}

.answer-bg-dots {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, #4dd0e1 2px, transparent 2px);
  background-size: 15px 15px;
  opacity: 0.4;
  z-index: 1;
}

/* Right Side - Text Content */
.answer-text-side {
  flex: 1;
  padding-left: 20px;
}

@media (max-width: 768px) {
  .answer-text-side {
    padding-left: 0;
  }
}

.answer-content {
  max-width: 500px;
}

.answer-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: #4dd0e1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  font-family: 'Source Sans Pro', sans-serif;
}

.answer-title {
  font-size: 36px;
  font-weight: 700;
  color: #1b365e;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 24px;
  font-family: 'Bricolage Grotesque', 'Source Sans Pro', sans-serif;
}

@media (max-width: 768px) {
  .answer-title {
    font-size: 32px;
  }
}

.answer-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  color: #000000;
  margin-bottom: 32px;
  font-family: 'Source Sans Pro', sans-serif;
}

.answer-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.answer-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
  color: #14688d;
  font-weight: 400;
  font-family: 'Source Sans Pro', sans-serif;
}

.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.answer-cta-btn {
  background: #1b7a9e;
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(27, 122, 158, 0.3);
  font-family: 'Source Sans Pro', sans-serif;
}

.answer-cta-btn:hover {
  background: #145c75;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 122, 158, 0.4);
}

@media (max-width: 768px) {
  .answer-cta-btn {
    width: 100%;
    max-width: 300px;
  }
}

/* --- HUMAN SUPPORT SECTION REFINEMENT FOR FIGMA MATCH --- */
#human-support {
  background: #fff;
  padding-top: 5rem;
  padding-bottom: 5rem;
  height: 100%;
}
#human-support .human-support-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  width: 100%;
  min-height: 500px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  #human-support .human-support-container {
    flex-direction: row;
    gap: 5rem;
    align-items: stretch;
    min-height: 500px;
  }
}
#human-support .human-support-text-side {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  order: 2;
}
@media (min-width: 768px) {
  #human-support .human-support-text-side {
    width: 50%;
    order: 1;
  }
}
#human-support .human-support-sub {
  text-transform: uppercase;
  color: #57b1c9;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.25em;
  margin-bottom: 0.5rem;
}
#human-support .human-support-title {
  color: var(--brand-blue);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-transform: capitalize;
}
@media (min-width: 768px) {
  #human-support .human-support-title {
    font-size: 2.2rem;
  }
}
#human-support .human-support-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
#human-support .human-support-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 0;
  transition: transform 0.3s ease;
  border-bottom: 1px solid #e5e7eb;
}
#human-support .human-support-feature-item:last-child {
  border-bottom: none;
}
#human-support .human-support-feature-item:hover {
  transform: translateY(-2px);
}
#human-support .human-support-feature-icon {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px 0 rgba(27, 122, 158, 0.2);
  border: 1px solid rgba(65, 183, 214, 0.2);
  padding: 0.75rem;
}
#human-support .human-support-feature-content {
  display: flex;
  flex-direction: column;
}
#human-support .human-support-feature-title {
  color: #14688d;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}
#human-support .human-support-feature-desc {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.5;
}
#human-support .human-support-img-side {
  flex: 1 1 0%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: 100%;
  width: 100%;
  order: 1;
  min-height: 500px;
}
@media (min-width: 768px) {
  #human-support .human-support-img-side {
    width: 50%;
    order: 2;
    min-height: 500px;
  }
}
#human-support .human-support-img-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
}
#human-support .human-support-img {
  border-radius: 80px 25px 80px 25px;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  flex: 1;
  min-height: 100%;
}
#human-support .erp-blue-circle {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 80px;
  height: 80px;
  background: #42c8c1;
  opacity: 0.2;
  border-radius: 50%;
  z-index: 0;
}
#human-support .erp-dotted-grid {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 64px;
  height: 64px;
  z-index: 1;
  opacity: 0.4;
}
#human-support .human-support-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 28px;
  max-height: 28px;
  filter: brightness(0.95) saturate(1.2);
}
#human-support .dot-pattern {
  position: absolute;
  z-index: 0;
  opacity: 0.7;
  pointer-events: none;
}
#human-support .dot-pattern.top-right {
  top: 10px;
  right: 10px;
  width: 170px;
  height: 170px;
}
#human-support .dot-pattern.bottom-right {
  bottom: 10px;
  right: 10px;
  width: 170px;
  height: 170px;
  transform: rotate(180deg);
}
#human-support .dot-pattern img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 768px) {
  #human-support {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  #human-support .human-support-title {
    font-size: 1.4rem;
  }
  #human-support .human-support-feature-item {
    padding: 1.25rem 1.25rem 1.25rem 0;
    gap: 1rem;
  }
  #human-support .human-support-feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    padding: 0.5rem;
  }
  #human-support .human-support-icon-img {
    max-width: 24px;
    max-height: 24px;
  }
  #human-support .dot-pattern.top-right {
    width: 100px;
    height: 100px;
    top: -24px;
    right: 0;
  }
  #human-support .dot-pattern.bottom-right {
    width: 100px;
    height: 100px;
    bottom: -24px;
    right: 0;
  }
  #human-support .human-support-feature-list {
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
}

/* --- WHY MANUFACTURERS FAIL WITH ERP SECTION REFINEMENT FOR FIGMA MATCH --- */
#erp-fail {
  background: #fff;
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative;
}
#erp-fail .erp-fail-subtitle {
  color: var(--brand-cyan);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}
#erp-fail .erp-fail-title {
  color: var(--brand-blue);
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1.2rem;
}
@media (min-width: 768px) {
  #erp-fail .erp-fail-title {
    font-size: 2.8rem;
  }
}
#erp-fail .erp-fail-support {
  color: #64748b;
  text-align: center;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.2rem;
  font-size: 1.08rem;
}
#erp-fail .erp-fail-table-container {
  overflow-x: auto;
  margin: 0 auto 2.5rem auto;
  max-width: 700px;
}
#erp-fail .erp-fail-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow:
    0 8px 32px rgba(27, 122, 158, 0.08),
    0 1.5px 6px rgba(66, 200, 193, 0.07);
  border: 1.5px solid #b6e0ea;
  overflow: hidden;
}
#erp-fail .erp-fail-table th,
#erp-fail .erp-fail-table td {
  padding: 1.1rem 1.2rem;
  text-align: center;
  font-size: 1.08rem;
}
#erp-fail .erp-fail-table th {
  background: #f6fbfd;
  color: var(--brand-blue);
  font-weight: 800;
  border-bottom: 1.5px solid #b6e0ea;
}
#erp-fail .erp-fail-table td {
  color: #1b7a9e;
  font-weight: 600;
  border-bottom: 1px solid #e3f2fa;
}
#erp-fail .erp-fail-table tr:last-child td {
  border-bottom: none;
}
#erp-fail .erp-fail-table .erp-fail-key {
  color: var(--brand-blue);
  font-weight: 900;
  font-size: 1.2rem;
}
#erp-fail .erp-fail-example {
  color: #94a3b8;
  font-style: italic;
  text-align: center;
  margin: 1.5rem auto 2.5rem auto;
  max-width: 500px;
  font-size: 1.02rem;
}
#erp-fail .erp-fail-cta {
  display: inline-block;
  border: 2.5px solid var(--brand-blue);
  color: var(--brand-blue);
  background: #fff;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 0.9rem 2.8rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition:
    background 0.18s,
    color 0.18s;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(27, 122, 158, 0.06);
}
#erp-fail .erp-fail-cta:hover {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}
@media (max-width: 600px) {
  #erp-fail .erp-fail-title {
    font-size: 1.5rem;
  }
  #erp-fail .erp-fail-table th,
  #erp-fail .erp-fail-table td {
    padding: 0.7rem 0.5rem;
    font-size: 0.98rem;
  }
  #erp-fail .erp-fail-table-container {
    max-width: 100vw;
  }
}

/* --- TESTIMONIAL: SEE HOW IT WORKS SECTION REFINEMENT FOR FIGMA MATCH --- */
#testimonial {
  background: #fff;
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative;
}
#testimonial .testimonial-title {
  color: var(--brand-blue);
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2.2rem;
}
@media (min-width: 768px) {
  #testimonial .testimonial-title {
    font-size: 2.8rem;
  }
}
#testimonial .testimonial-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow:
    0 8px 32px rgba(27, 122, 158, 0.08),
    0 1.5px 6px rgba(66, 200, 193, 0.07);
  border: 1.5px solid #b6e0ea;
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 540px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
  position: relative;
}
#testimonial .testimonial-quote {
  font-style: italic;
  font-weight: 700;
  color: #1b7a9e;
  font-size: 1.18rem;
  margin-bottom: 1.2rem;
}
#testimonial .testimonial-attribution {
  color: #42c8c1;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 0.5rem;
}
#testimonial .testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
}
#testimonial .testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b6e0ea;
  opacity: 0.7;
}
#testimonial .testimonial-dot.active {
  background: #42c8c1;
  opacity: 1;
}
@media (max-width: 600px) {
  #testimonial .testimonial-title {
    font-size: 1.5rem;
  }
  #testimonial .testimonial-card {
    padding: 1.5rem 0.5rem 1rem 0.5rem;
    font-size: 1rem;
  }
}

/* --- Custom Footer Redesign for Figma Match --- */
footer.footer {
  background: #006d87;
  color: #fff;
  padding: 3.5rem 0 2rem 0;
  position: relative;
  width: 100%;
}
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}
.footer-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.footer-logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.2rem;
  gap: 0.2rem;
}
.footer-logo-img {
  height: 80px;
  margin-bottom: 0.1rem;
  filter: brightness(0) invert(1);
  display: block;
}
.footer-logo-text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
}
.footer-logo-text {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.1;
  color: #fff;
  text-align: center;
  margin-bottom: 0.05rem;
  font-family: 'Source Sans Pro', system-ui, sans-serif;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.footer-slogan {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #b6e0ea;
  text-align: center;
  margin-top: 0.05rem;
  margin-bottom: 0.1rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
  font-family: 'Source Sans Pro', system-ui, sans-serif;
  text-transform: uppercase;
}
.footer-social-row-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 1.2rem 0 1.2rem 0;
}
.footer-social-faint-line {
  flex: 1 1 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(182, 224, 234, 0.38) 18%,
    rgba(182, 224, 234, 0.38) 82%,
    rgba(255, 255, 255, 0) 100%
  );
  max-width: 220px;
  min-width: 60px;
  opacity: 0.8;
  border-radius: 2px;
}
.footer-social-row {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.footer-social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition:
    background 0.18s,
    color 0.18s,
    box-shadow 0.18s,
    border-color 0.18s;
  cursor: pointer;
  outline: none;
}
.footer-social-icon i {
  font-size: 1.5rem;
  line-height: 1;
}
.footer-social-icon:hover,
.footer-social-icon:focus {
  background: #42c8c1;
  color: #fff;
  border-color: #42c8c1;
  box-shadow: 0 4px 16px rgba(66, 200, 193, 0.18);
}
@media (max-width: 600px) {
  .footer-social-row {
    gap: 0.8rem;
  }
  .footer-social-faint-line {
    max-width: 40px;
    min-width: 8px;
    height: 1.5px;
  }
  .footer-social-icon {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
  .footer-social-icon i {
    font-size: 1.1rem;
  }
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.footer-nav-link {
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  padding: 0 0.7rem;
  text-decoration: none;
  transition: color 0.18s;
  position: relative;
}
.footer-nav-link:hover {
  color: #42c8c1;
}
.footer-divider {
  color: #b6e0ea;
  font-size: 1.1rem;
  font-weight: 400;
  user-select: none;
}
.footer-copyright {
  width: 100%;
  text-align: center;
  color: #b6e0ea;
  font-size: 1rem;
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #2e5e7e;
}
.scroll-top-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 10;
}
.scroll-top-btn:hover {
  background: #42c8c1;
}
.scroll-top-btn svg {
  display: block;
}
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    padding: 0 0.7rem;
  }
  .scroll-top-btn {
    right: 10px;
    top: auto;
    bottom: 10px;
    transform: none;
  }
}
@media (max-width: 600px) {
  .footer-logo-img {
    height: 52px;
  }
  .footer-logo-text {
    font-size: 1.08rem;
  }
  .footer-slogan {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
  }
  .footer-social-row {
    gap: 1.1rem;
  }
  .footer-nav-link {
    font-size: 0.95rem;
    padding: 0 0.4rem;
  }
  .footer-copyright {
    font-size: 0.92rem;
    padding-top: 0.7rem;
  }
  .scroll-top-btn {
    width: 38px;
    height: 38px;
    right: 6px;
    bottom: 6px;
  }
}

/* --- Faint Footer Divider Line --- */
.footer-faint-line {
  border: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(182, 224, 234, 0.32) 20%,
    rgba(182, 224, 234, 0.32) 80%,
    rgba(255, 255, 255, 0) 100%
  );
  max-width: 600px;
  width: 100%;
  margin: 1.2rem auto 1.2rem auto;
  opacity: 0.7;
}
@media (max-width: 600px) {
  .footer-faint-line {
    max-width: 90vw;
    margin: 0.8rem auto 0.8rem auto;
  }
}

/* --- DEMO FORM SECTION MODERN STYLING --- */
.form-section {
  background: #006d87;
  padding: 60px 0 80px 0;
  color: #fff;
  padding-top: 9em;
  position: relative;
}

.form-section::before {
  content: '';
  position: absolute;
  top: -1px; /* Slight overlap to eliminate the line */
  left: 0;
  right: 0;
  height: 80px; /* Increased height to make the slant more pronounced */
  background: #fff; /* Match the FAQ section background color */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 20%); /* Modified polygon to increase angle */
  z-index: 1;
}

.form-section .container-custom {
  position: relative;
  z-index: 2;
}

.form-section .demo-label,
.form-section .main-heading,
.form-section .sub-heading {
  position: relative;
  z-index: 2;
}

.form-section .main-heading {
  color: #fff;
}

.form-content-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.form-container {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  width: 50%;
  min-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-container form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Form message styles */
#form-success-message,
#form-error-message {
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  font-weight: 500;
  width: 100%;
}

#form-success-message {
  background-color: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  border: 1px solid #4caf50;
}

#form-error-message {
  background-color: rgba(244, 67, 54, 0.1);
  color: #f44336;
  border: 1px solid #f44336;
}

.form-group,
.form-row {
  width: 100%;
}

.form-group {
  position: relative;
  margin-top: 10px;
}

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

.form-row .form-group {
  flex: 1;
}

.form-label {
  font-weight: 400;
  margin-bottom: 0;
  color: #fff;
  font-size: 14px;
  display: block;
  position: absolute;
  top: 0;
  left: 10px;
  transform: translateY(-50%);
  background: #006d87;
  padding: 0 5px;
  z-index: 1;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0 14px;
  height: 52px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0;
  outline: none;
  transition: all 0.2s ease;
}

::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.form-select {
  appearance: none;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  padding: 14px;
  height: auto;
  padding-top: 20px;
}

.submit-btn {
  background: linear-gradient(90deg, #42c8c1 0%, #1b7a9e 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 5px;
  height: 52px;
  width: 60%;
  margin: 15px 0 0;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(66, 200, 193, 0.12);
  display: block;
}

.submit-btn:hover {
  background: linear-gradient(90deg, #1b7a9e 0%, #42c8c1 100%);
}

.graphics {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 40%;
  min-width: 340px;
  margin-top: 30px;
  gap: 8px;
}

.clock-icon {
  width: 120px;
  height: 120px;
  background: url('https://www.efsnetworks.com/wp-content/themes/EFS_Networks_Theme/images/clock.png') no-repeat center/contain;
  margin-bottom: 0px;
}

.response-text {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.response-subtext {
  font-size: 0.85rem;
  color: #e0f7fa;
  text-align: center;
  margin-bottom: 2px;
}

.paper-planes {
  margin-top: 3px;
  display: flex;
  gap: 10px;
}

.plane {
  width: 405px;
  height: 270px;
  background: url('https://www.efsnetworks.com/wp-content/themes/EFS_Networks_Theme/images/paper-plane.png') no-repeat center/contain;
}

@media (max-width: 900px) {
  .form-content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .form-container,
  .graphics {
    width: 100%;
    margin-top: 0;
  }
}

.demo-label {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  margin-bottom: 8px;
}

.main-heading {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 8px;
}

.sub-heading {
  text-align: center;
  font-size: 1.1rem;
  color: #e0f7fa;
  margin-bottom: 32px;
}

/* --- WHY 73% OF MANUFACTURERS FAIL WITH ERP SECTION --- */
.why-fail-section {
  background: #fff;
  padding: 6rem 0 6rem 0;
  position: relative;
}
.why-fail-section .cetec-solution-tag {
  color: var(--brand-blue);
  font-size: 1.2rem;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}
.why-fail-section .section-title {
  color: #14688d;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
  line-height: 1.2;
}
.why-fail-section .highlight {
  color: var(--brand-cyan);
  font-weight: 900;
}
.why-fail-section .section-sub {
  color: #64748b;
  text-align: center;
  max-width: 32rem;
  margin: 0 auto 2.2rem auto;
  font-size: 1.1rem;
  font-bold: 500;
}

.why-fail-section .fail-table-container {
  max-width: 900px;
  margin: 0 auto 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.why-fail-section .fail-card {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(27, 122, 158, 0.15);
  border: 1px solid var(--brand-blue-light);
}
.why-fail-section .fail-card-header {
  background: linear-gradient(to right, #4a90a4, #41b7d6);
  color: white;
  display: flex;
  padding: 15px 20px;
}

.why-fail-section .fail-card-header .point-column,
.why-fail-section .fail-card-header .cost-column,
.why-fail-section .fail-card-header .solution-column {
  padding: 0;
  font-weight: 600;
  font-size: 20px;
}
.why-fail-section .fail-card-body {
  background-color: white;
  padding: 0;
}
.why-fail-section .fail-card-row {
  display: flex;
  padding: 0;
  background: white;
}
.why-fail-section .fail-card-row .point-column,
.why-fail-section .fail-card-row .solution-column {
  padding: 15px 20px;
}
.why-fail-section .fail-card-row .cost-column {
  background-color: #eef7fa;
  color: #14688d;

  padding: 15px 20px;
  margin: 0;
}
.why-fail-section .point-column {
  text-align: center;
  width: 25%;
  font-size: 1rem;
}
.why-fail-section .cost-column {
  text-align: center;
  width: 30%;
  font-size: 1rem;
}
.blue-column {
  background: #eff8fa !important;
  color: #14688d !important;
}
.why-fail-section .solution-column {
  text-align: center;
  width: 45%;
  font-size: 0.95rem;
}
.why-fail-section .fail-card-header .point-column,
.why-fail-section .fail-card-header .cost-column,
.why-fail-section .fail-card-header .solution-column {
  font-weight: 700;
  font-size: 0.9rem;
}
.why-fail-section .fail-example {
  text-align: center;
  color: #475569;
  font-size: 1rem;
  margin: 0 auto 1rem auto;
  max-width: 800px;
}
.why-fail-section .savings-button-container {
  text-align: center;
  margin-top: 2rem;
}
.why-fail-section .savings-button {
  background: transparent;
  color: var(--brand-blue);
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  border-radius: 9999px;
  border: 2px solid var(--brand-blue);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  box-shadow: 0px 9px 35px 0px rgba(42, 131, 154, 0.24);
}
.why-fail-section .savings-button:hover {
  background: #14688d;
  transform: translateY(-2px);
}
.custom-corner::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 90px;
  height: 60px;
  background-image: url('https://www.efsnetworks.com/wp-content/themes/EFS_Networks_Theme/images/bottom-on-the-left.png');
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}
.custom-corner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 10px;
  width: 90px;
  height: 90px;
  background-color: white;
  z-index: 1; /* Before'dan yukarıda, içerikten aşağıda */
}

@media (max-width: 768px) {
  .why-fail-section .fail-table-container {
    margin: 0 -1rem 2rem -1rem;
    padding: 0 1rem;
  }
  .why-fail-section .fail-card {
    min-width: 600px;
  }
  .why-fail-section .fail-card-header,
  .why-fail-section .fail-card-row {
    min-width: 600px;
  }
  .why-fail-section .point-column {
    min-width: 120px;
    font-size: 0.9rem;
  }
  .why-fail-section .cost-column {
    min-width: 150px;
    font-size: 0.9rem;
  }
  .why-fail-section .solution-column {
    min-width: 250px;
    font-size: 0.9rem;
  }
  .why-fail-section .fail-card-header .point-column,
  .why-fail-section .fail-card-header .cost-column,
  .why-fail-section .fail-card-header .solution-column {
    font-size: 0.85rem;
    font-weight: 700;
  }
  .why-fail-section .fail-card-row .point-column,
  .why-fail-section .fail-card-row .solution-column,
  .why-fail-section .fail-card-row .cost-column {
    padding: 10px 15px;
  }
  .why-fail-section .section-title {
    font-size: 1.8rem;
  }
}
@media (max-width: 600px) {
  .why-fail-section .fail-table-container {
    margin: 0 -1.5rem 2rem -1.5rem;
    padding: 0 1.5rem;
  }
  .why-fail-section .fail-card {
    min-width: 550px;
  }
  .why-fail-section .fail-card-header,
  .why-fail-section .fail-card-row {
    min-width: 550px;
  }
  .why-fail-section .point-column {
    min-width: 100px;
    font-size: 0.85rem;
  }
  .why-fail-section .cost-column {
    min-width: 130px;
    font-size: 0.85rem;
  }
  .why-fail-section .solution-column {
    min-width: 220px;
    font-size: 0.85rem;
  }
  .why-fail-section .fail-card-header .point-column,
  .why-fail-section .fail-card-header .cost-column,
  .why-fail-section .fail-card-header .solution-column {
    font-size: 0.8rem;
  }
  .why-fail-section .fail-card-row .point-column,
  .why-fail-section .fail-card-row .solution-column,
  .why-fail-section .fail-card-row .cost-column {
    padding: 8px 12px;
  }
  .why-fail-section .section-title {
    font-size: 1.5rem;
  }
}

/* --- HIDDEN COSTS SECTION --- */
.hidden-costs-section {
  background: #f8fafc;
  padding: 5rem 0 5rem 0;
}
.hidden-costs-section .section-title {
  color: var(--brand-blue);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.2rem;
}
.hidden-costs-section .hidden-costs-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem auto;
  max-width: 500px;
  text-align: left;
}
.hidden-costs-section .hidden-costs-list li {
  font-size: 1.08rem;
  color: #1b7a9e;
  font-weight: 600;
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.5em;
}
.hidden-costs-section .hidden-costs-list li::before {
  content: '\2022';
  color: #42c8c1;
  font-size: 1.5em;
  position: absolute;
  left: 0;
  top: 0.1em;
}
.hidden-costs-section .hidden-costs-cta {
  color: #64748b;
  text-align: center;
  font-size: 1.08rem;
  margin-top: 2rem;
}

/* --- PROFIT MARGINS SECTION --- */
.profit-margins-section {
  background: #fff;
  padding: 5rem 0 5rem 0;
}
.profit-margins-section .section-title {
  color: var(--brand-blue);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.2rem;
}
.profit-margins-section .profit-points-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem auto;
  max-width: 500px;
  text-align: left;
}
.profit-margins-section .profit-points-list li {
  font-size: 1.08rem;
  color: #1b7a9e;
  font-weight: 600;
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.5em;
}
.profit-margins-section .profit-points-list li::before {
  content: '\2714';
  color: #42c8c1;
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 0.1em;
}
.profit-margins-section .profit-quote {
  max-width: 420px;
  font-style: italic;
  color: #1b7a9e;
  font-weight: 600;
  font-size: 1.08rem;
  position: relative;
  text-align: center;
}

/* --- ADVANCED TOOLS SECTION --- */
.advanced-tools-section {
  background: #f8fafc;
  padding: 5rem 0 5rem 0;
}
.advanced-tools-section .section-title {
  color: var(--brand-blue);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.2rem;
}
.advanced-tools-section .advanced-tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 0 auto;
  max-width: 900px;
}
@media (min-width: 768px) {
  .advanced-tools-section .advanced-tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.advanced-tools-section .advanced-tool {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px 0 rgba(27, 122, 158, 0.07);
  border: 1.5px solid #b6e0ea;
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 180px;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.advanced-tools-section .advanced-tool h3 {
  color: var(--brand-blue);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.advanced-tools-section .advanced-tool p {
  color: #64748b;
  font-size: 1rem;
}

/* --- COMPARISON TABLE SECTION --- */
.comparison-table-section {
  background: #fff;
  padding: 5rem 0 5rem 0;
}
.comparison-table-section .section-title {
  color: var(--brand-blue);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.2rem;
}
.comparison-table-section .comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow:
    0 8px 32px rgba(27, 122, 158, 0.08),
    0 1.5px 6px rgba(66, 200, 193, 0.07);
  border: 1.5px solid #b6e0ea;
  overflow: hidden;
  margin: 0 auto 2.5rem auto;
  max-width: 700px;
}

/* Add responsive table styles */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}
.comparison-table-section .comparison-table th,
.comparison-table-section .comparison-table td {
  padding: 1.1rem 1.2rem;
  text-align: center;
  font-size: 1.08rem;
}
.comparison-table-section .comparison-table th {
  background: #f6fbfd;
  color: var(--brand-blue);
  font-weight: 800;
  border-bottom: 1.5px solid #b6e0ea;
}
.comparison-table-section .comparison-table td {
  color: #1b7a9e;
  font-weight: 600;
  border-bottom: 1px solid #e3f2fa;
}
.comparison-table-section .comparison-table tr:last-child td {
  border-bottom: none;
}
.comparison-table-section .comparison-cta {
  text-align: center;
  margin-top: 2.5rem;
}
.comparison-table-section .comparison-btn {
  background: var(--brand-cyan);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.9rem 2.5rem;
  border-radius: 9999px;
  box-shadow: 0 4px 18px 0 rgba(66, 200, 193, 0.13);
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.comparison-table-section .comparison-btn:hover {
  background: var(--brand-cyan-light);
  box-shadow: 0 8px 32px 0 rgba(66, 200, 193, 0.18);
}

/* Mobile responsive styles for comparison table */
@media (max-width: 768px) {
  .comparison-table-section .comparison-table {
    border: none;
    box-shadow: none;
    max-width: 100%;
  }

  .comparison-table-section .comparison-table thead {
    display: none;
  }

  .comparison-table-section .comparison-table tr {
    display: block;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(27, 122, 158, 0.08);
    border: 1.5px solid #b6e0ea;
    overflow: hidden;
  }

  .comparison-table-section .comparison-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #e3f2fa;
  }

  /* Style for the first column (Feature) */
  .comparison-table-section .comparison-table tr td:first-child {
    background-color: #f6fbfd;
    font-weight: 700;
    color: var(--brand-blue);
    justify-content: center;
    text-align: center;
  }

  .comparison-table-section .comparison-table tr td:first-child:before {
    content: none;
  }

  .comparison-table-section .comparison-table td:before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--brand-blue);
    text-align: left;
    padding-right: 1rem;
  }

  .comparison-table-section .section-title {
    font-size: 1.75rem;
    padding: 0 1rem;
  }

  .comparison-table-section .comparison-btn {
    width: 100%;
    max-width: 300px;
  }
}

/* --- INDUSTRY FEATURES SECTION --- */
.industry-features-section {
  background: #f8fafc;
  padding: 5rem 0 5rem 0;
}
.industry-features-section .section-title {
  color: var(--brand-blue);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.2rem;
}
.industry-features-section .industry-features-desc {
  color: #64748b;
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem auto;
  font-size: 1.1rem;
}
.industry-features-section .industry-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 0 auto;
  max-width: 900px;
}
@media (min-width: 768px) {
  .industry-features-section .industry-features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.industry-features-section .industry-feature {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px 0 rgba(27, 122, 158, 0.07);
  border: 1.5px solid #b6e0ea;
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 180px;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.industry-features-section .industry-feature h3 {
  color: var(--brand-blue);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.industry-features-section .industry-feature p {
  color: #64748b;
  font-size: 1rem;
}

/* --- TESTIMONIALS/VIDEO SECTION --- */
.testimonials-section {
  background: #fff;
  padding: 5rem 0 5rem 0;
  display: flex;
  flex-direction: column;
}
.testimonials-section .section-title {
  color: var(--brand-blue);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.2rem;
  order: 1;
}
.testimonials-section .testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  order: 2;
}
@media (min-width: 769px) {
  .testimonials-section .section-title {
    order: 1;
  }
  .testimonials-section .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    order: 2;
  }
  .testimonials-section .testimonial-video {
    order: 3;
  }
}
@media (min-width: 1024px) {
  .testimonials-section .testimonials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.testimonials-section .testimonial {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 220px;
}
.testimonials-section .testimonial img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 1rem;
}
.testimonials-section .testimonial blockquote {
  color: #1b7a9e;
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}
.testimonials-section .testimonial-attribution {
  color: #42c8c1;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.5rem;
  text-align: right;
}
.testimonials-section .testimonial-video {
  margin: 2.5rem auto 0 auto;
  max-width: 700px;
  text-align: center;
  order: 3;
}
.testimonials-section .testimonial-video iframe {
  width: 100%;
  height: 350px;
  border-radius: 1rem;
  border: none;
}
@media (max-width: 768px) {
  .testimonials-section .section-title {
    order: 2;
  }
  .testimonials-section .testimonials-grid {
    order: 3;
  }
  .testimonials-section .testimonial-video {
    order: 1;
    margin-top: 0;
    margin-bottom: 2.5rem;
  }
  .testimonials-section .testimonial-video iframe {
    height: 200px;
  }
}

/* --- CTA SECTION --- */
.cta-section {
  background: linear-gradient(120deg, #f3fafd 0%, #e6f7fa 100%);
  padding: 5rem 0 5rem 0;
  text-align: center;
}
.cta-section .cta-title {
  color: var(--brand-blue);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
}
.cta-section .cta-desc {
  color: #64748b;
  font-size: 1.08rem;
  max-width: 600px;
  margin: 0 auto 2.2rem auto;
}
.cta-section .cta-btn {
  background: var(--brand-cyan);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.9rem 2.5rem;
  border-radius: 9999px;
  box-shadow: 0 4px 18px 0 rgba(66, 200, 193, 0.13);
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.cta-section .cta-btn:hover {
  background: var(--brand-cyan-light);
  box-shadow: 0 8px 32px 0 rgba(66, 200, 193, 0.18);
}

/* --- FREE TRIAL DETAILS SECTION --- */
.free-trial-section {
  background: #fff;
  padding: 5rem 0 5rem 0;
}
.free-trial-section .section-title {
  color: var(--brand-blue);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.2rem;
}
.free-trial-section .free-trial-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem auto;
  max-width: 500px;
  text-align: left;
}
.free-trial-section .free-trial-list li {
  font-size: 1.08rem;
  color: #1b7a9e;
  font-weight: 600;
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.5em;
}
.free-trial-section .free-trial-list li::before {
  content: '\2714';
  color: #42c8c1;
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 0.1em;
}
.free-trial-section .free-trial-btn {
  background: var(--brand-cyan);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.9rem 2.5rem;
  border-radius: 9999px;
  box-shadow: 0 4px 18px 0 rgba(66, 200, 193, 0.13);
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.free-trial-section .free-trial-btn:hover {
  background: var(--brand-cyan-light);
  box-shadow: 0 8px 32px 0 rgba(66, 200, 193, 0.18);
}

/* --- READINESS QUIZ/TOOLS SECTION --- */
.readiness-tools-section {
  background: #f8fafc;
  padding: 5rem 0 5rem 0;
  text-align: center;
}
.readiness-tools-section .section-title {
  color: var(--brand-blue);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.2rem;
}
.readiness-tools-section .readiness-tools-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem auto;
  max-width: 500px;
  text-align: left;
}
.readiness-tools-section .readiness-tools-list li {
  font-size: 1.08rem;
  color: #1b7a9e;
  font-weight: 600;
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.5em;
}
.readiness-tools-section .readiness-tools-list li::before {
  content: '\25B6';
  color: #42c8c1;
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 0.1em;
}
.readiness-tools-section .readiness-tools-btn {
  background: var(--brand-cyan);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.9rem 2.5rem;
  border-radius: 9999px;
  box-shadow: 0 4px 18px 0 rgba(66, 200, 193, 0.13);
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.readiness-tools-section .readiness-tools-btn:hover {
  background: var(--brand-cyan-light);
  box-shadow: 0 8px 32px 0 rgba(66, 200, 193, 0.18);
}

/* --- FAQ/ACCORDION SECTION --- */
.faq-section {
  background: #fff;
  padding: 6rem 0;
}
.faq-section .container-custom {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}
.faq-section .section-title {
  color: #5dade2; /* Light blue/teal color */
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.faq-section .section-subtitle {
  color: #1a5276; /* Dark blue/navy color */
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.faq-section .section-description {
  color: #7f8c8d; /* Gray text */
  font-size: 1.1rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
  line-height: 1.6;
}
.faq-section .faq-list {
  max-width: 800px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.faq-section .faq-item {
  background: #fff;
  border-radius: 0.8rem;
  border: 1px solid #e5e8e8; /* Light gray border */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition:
    box-shadow 0.3s,
    transform 0.2s;
}
.faq-section .faq-item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.faq-section .faq-question {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  position: relative;
}
.faq-section .faq-number {
  background-color: #5dade2; /* Soft blue/teal color */
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.6rem; /* Rounded square instead of circle */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.2rem;
  flex-shrink: 0;
}
.faq-section .faq-question h3 {
  color: #2c3e50; /* Dark navy text */
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  flex-grow: 1;
}
.faq-section .faq-icon {
  font-size: 1.2rem;
  color: #5dade2; /* Soft blue/teal color */
  margin-left: 1rem;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(93, 173, 226, 0.1);
}
.faq-section .faq-answer {
  padding: 0 1.5rem 0 5.2rem;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}
.faq-section .faq-answer.show {
  padding: 0 1.5rem 1.8rem 5.2rem;
  max-height: 500px;
}
.faq-section .faq-answer p {
  color: #7f8c8d; /* Lighter gray for answer text */
  font-size: 1rem;
  line-height: 1.7;
}
.faq-section .faq-item.active {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.faq-section .faq-cta {
  text-align: center;
  margin-top: 3rem;
}
.faq-section .faq-cta-btn {
  background: transparent;
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: 9999px;
  border: 2px solid var(--brand-blue);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.faq-section .faq-cta-btn:hover {
  background: var(--brand-blue);
  color: #fff;
}

/* --- Standardized Section Titles --- */
.section-title,
.hero-title,
.smarter-choice-title,
.tools-section-title,
.erp-fail-title,
.profit-margins-section .section-title,
.advanced-tools-section .section-title,
.comparison-table-section .section-title,
.industry-features-section .section-title,
.testimonials-section .section-title,
.cta-section .cta-title,
.free-trial-section .section-title,
.readiness-tools-section .section-title,
.faq-section .section-subtitle,
#human-support .human-support-title {
  /* Styles from answer-title */
  color: var(--brand-cyan-light) !important;
  font-size: 1.6rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  line-height: 1.3 !important;
  text-transform: capitalize !important;
}

@media (min-width: 768px) {
  .section-title,
  .main-heading,
  .hero-title,
  .smarter-choice-title,
  .tools-section-title,
  .erp-fail-title,
  .profit-margins-section .section-title,
  .advanced-tools-section .section-title,
  .comparison-table-section .section-title,
  .industry-features-section .section-title,
  .testimonials-section .section-title,
  .cta-section .cta-title,
  .free-trial-section .section-title,
  .readiness-tools-section .section-title,
  .faq-section .section-subtitle,
  #human-support .human-support-title {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 768px) {
  .section-title,
  .main-heading,
  .hero-title,
  .smarter-choice-title,
  .tools-section-title,
  .erp-fail-title,
  .profit-margins-section .section-title,
  .advanced-tools-section .section-title,
  .comparison-table-section .section-title,
  .industry-features-section .section-title,
  .testimonials-section .section-title,
  .cta-section .cta-title,
  .free-trial-section .section-title,
  .readiness-tools-section .section-title,
  .faq-section .section-subtitle,
  #human-support .human-support-title {
    font-size: 1.3rem !important;
  }
}

/* --- Standardized Section Subtitles --- */
.section-sub,
.hero-sub,
.tools-section-sub,
.erp-fail-subtitle,
.faq-section .section-title,
#human-support .human-support-sub {
  /* Styles from answer-sub */
  text-transform: uppercase !important;
  color: var(--brand-blue-light) !important;
  font-weight: 200 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.2em !important;
  margin-bottom: 0.4rem !important;
}

/* Pixel-perfect background shapes for answer section */
.answer-bg-circle {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200px;
  height: 200px;
  z-index: 0;
  opacity: 0.85;
  pointer-events: none;
}

.answer-bg-dots {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 170px;
  height: 170px;
  z-index: 0;
  opacity: 0.7;
  pointer-events: none;
}

@media (max-width: 900px) {
  .answer-bg-circle {
    width: 180px;
    height: 180px;
    left: 10px;
    bottom: 10px;
  }
  .answer-bg-dots {
    width: 100px;
    height: 100px;
    top: 10px;
    right: 10px;
  }
}

