:root {
  /* Primitive Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);

  /* RGB versions for opacity control */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;

  /* Background color tokens (Light Mode) */
  --color-bg-1: rgba(59, 130, 246, 0.08); /* Light blue */
  --color-bg-2: rgba(245, 158, 11, 0.08); /* Light yellow */
  --color-bg-3: rgba(34, 197, 94, 0.08); /* Light green */
  --color-bg-4: rgba(239, 68, 68, 0.08); /* Light red */
  --color-bg-5: rgba(147, 51, 234, 0.08); /* Light purple */
  --color-bg-6: rgba(249, 115, 22, 0.08); /* Light orange */
  --color-bg-7: rgba(236, 72, 153, 0.08); /* Light pink */
  --color-bg-8: rgba(6, 182, 212, 0.08); /* Light cyan */

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
  :root {
    /* RGB versions for opacity control (Dark Mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;

    /* Background color tokens (Dark Mode) */
    --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */

    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);
  }
}

/* Data attribute for manual theme switching */
[data-color-scheme="dark"] {
  /* RGB versions for opacity control (dark mode) */
  --color-gray-400-rgb: 119, 124, 124;
  --color-teal-300-rgb: 50, 184, 198;
  --color-gray-300-rgb: 167, 169, 169;
  --color-gray-200-rgb: 245, 245, 245;

  /* Colorful background palette - Dark Mode */
  --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
  --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
  --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
  --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
  --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
  --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
  --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
  --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */

  /* Semantic Color Tokens (Dark Mode) */
  --color-background: var(--color-charcoal-700);
  --color-surface: var(--color-charcoal-800);
  --color-text: var(--color-gray-200);
  --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
  --color-primary: var(--color-teal-300);
  --color-primary-hover: var(--color-teal-400);
  --color-primary-active: var(--color-teal-800);
  --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
  --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
  --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
  --color-border: rgba(var(--color-gray-400-rgb), 0.3);
  --color-error: var(--color-red-400);
  --color-success: var(--color-teal-300);
  --color-warning: var(--color-orange-400);
  --color-info: var(--color-gray-300);
  --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
  --color-btn-primary-text: var(--color-slate-900);
  --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
  --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

  /* Common style patterns - updated for dark mode */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for dark mode */
  --color-success-rgb: var(--color-teal-300-rgb);
  --color-error-rgb: var(--color-red-400-rgb);
  --color-warning-rgb: var(--color-orange-400-rgb);
  --color-info-rgb: var(--color-gray-300-rgb);
}

[data-color-scheme="light"] {
  /* RGB versions for opacity control (light mode) */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);

  /* RGB versions for light mode */
  --color-success-rgb: var(--color-teal-500-rgb);
  --color-error-rgb: var(--color-red-500-rgb);
  --color-warning-rgb: var(--color-orange-500-rgb);
  --color-info-rgb: var(--color-slate-500-rgb);
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-primary-hover);
}

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--primary:active {
  background: var(--color-primary-active);
}

.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}

.btn--secondary:hover {
  background: var(--color-secondary-hover);
}

.btn--secondary:active {
  background: var(--color-secondary-active);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn--outline:hover {
  background: var(--color-secondary);
}

.btn--sm {
  padding: var(--space-4) var(--space-12) !important;
  font-size: var(--font-size-sm) !important;
  border-radius: var(--radius-sm) !important;
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
  select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
  background-image: var(--select-caret-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.form-group {
  margin-bottom: var(--space-16);
}

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(
    var(--color-success-rgb, 33, 128, 141),
    var(--status-bg-opacity)
  );
  color: var(--color-success);
  border: 1px solid
    rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(
    var(--color-error-rgb, 192, 21, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-error);
  border: 1px solid
    rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(
    var(--color-warning-rgb, 168, 75, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-warning);
  border: 1px solid
    rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(
    var(--color-info-rgb, 98, 108, 113),
    var(--status-bg-opacity)
  );
  color: var(--color-info);
  border: 1px solid
    rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: var(--space-4);
}
.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}
.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}
.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}
.hidden {
  display: none;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}

@font-face {
  font-family: "FKGroteskNeue";
  src: url("https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2")
    format("woff2");
}

/* END PERPLEXITY DESIGN SYSTEM */
/* Custom HMS Pro Styles with Specified Color Palette */

/* Color Palette Override */
:root {
  /* Custom Color Palette */
  --light-cyan: #e0fbfc;
  --light-blue: #c2dfe3;
  --cadet-gray: #9db4c0;
  --paynes-gray: #5c6b73;
  --gunmetal: #253237;

  /* Override design system colors with custom palette */
  --color-background: var(--light-cyan);
  --color-surface: #ffffff;
  --color-text: var(--gunmetal);
  --color-text-secondary: var(--paynes-gray);
  --color-primary: var(--gunmetal);
  --color-primary-hover: #1a272b;
  --color-primary-active: #0f1a1d;
  --color-secondary: var(--light-blue);
  --color-secondary-hover: var(--cadet-gray);
  --color-border: rgba(157, 180, 192, 0.3);
  --color-card-border: rgba(157, 180, 192, 0.2);
  --color-btn-primary-text: #ffffff;

  /* Status colors using palette */
  --color-success: var(--paynes-gray);
  --color-error: #d63031;
  --color-warning: #fdcb6e;
  --color-info: var(--paynes-gray);
}

/* Header Navigation - Gunmetal Background */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: blur(7px);
  border-bottom: none;
  z-index: 1000;
  transition: all 0.5s ease;
  color: var(--gunmetal);
}

.header.scrolled {
  background: var(--gunmetal); /* Solid background after scroll */
  backdrop-filter: blur(10px);
  color: var(--light-cyan);
  border-bottom: 1px solid rgba(224, 251, 252, 0.1);
  box-shadow: 0 4px 20px rgba(37, 50, 55, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav__brand {
  display: flex;
  align-items: center;
}

.nav__logo {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);

  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-32);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  color: var(--gunmetal);
  font-weight: var(--font-weight-medium);
  transition: all var(--duration-fast) var(--ease-standard);
  position: relative;
}

.nav__link:hover {
  color: var(--light-cyan);
  transform: translateY(-1px);
}
.nav__link.active::after {
  width: 100%;
}
.header.scrolled .nav__link {
  color: var(--light-cyan); /* light on dark bg */
}

.header.scrolled .nav__link:hover {
  color: #ffffff;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gunmetal);
  transition: width var(--duration-fast) var(--ease-standard);
}
.header.scrolled .nav__link::after {
  background: var(--light-cyan);
}
.nav__link:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-8);
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--light-cyan);
  margin: 2px 0;
  transition: var(--duration-fast) var(--ease-standard);
}

.nav__dropdown {
  position: relative;
}

/* Style for the dropdown arrow */
.nav__arrow {
  font-size: 0.7rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

/* Submenu that appears on hover */
.nav__submenu {
  display: none; /* Hidden by default */
  position: absolute;
  top: 100%;
  left: 0;
  background-color: transparent;
   backdrop-filter: blur(7px);
  border-bottom: none;
  transition: all 0.5s ease;
  color: var(--gunmetal);
  padding: 0.5rem 0;
  border-radius: 0 0 8px 8px;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  list-style: none;
}
.header.scrolled .nav__submenu {
  background: var(--gunmetal); /* Solid background after scroll */
  backdrop-filter: blur(10px);
  color: var(--light-cyan);
  border-bottom: 1px solid rgba(224, 251, 252, 0.1);
  box-shadow: 0 4px 20px rgba(37, 50, 55, 0.3);
  color: var(--light-cyan);
}
/* Show the submenu when hovering over the parent dropdown item */
.nav__dropdown:hover .nav__submenu {
  display: block;
}

/* Rotate the arrow icon on hover */
.nav__dropdown:hover .nav__arrow {
  transform: rotate(180deg);
}

/* Individual links within the dropdown */
.nav__submenu-link {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--gunmetal);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.header.scrolled .nav__submenu-link {
  color: var(--light-cyan);
  font-weight: bold;
}

.nav__submenu-link:hover {
  color: var(--light-cyan);
  transform: translateY(-1px);
}
/* On mobile, you might need JavaScript to handle dropdowns on tap.
   This CSS provides a basic hover implementation for desktop. */
@media (max-width: 768px) {
  .nav__submenu {
    position: static; /* Make dropdowns flow in-document on mobile */
    box-shadow: none;
    background-color: transparent;
    padding-left: 1rem; /* Indent mobile dropdown items */
  }

  .nav__dropdown:hover .nav__submenu {
    display: none; /* Disable hover on mobile; use JS for tap instead */
  }
}
/* Hero Section - Gradient Background */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero__slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  display: flex;
  transition: transform 1s ease;
  z-index: 0;
}

.hero__slide {
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Add a fixed overlay blur mask layer */
.hero__blur-overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70%; /* or 100% if needed */
  height: 100%;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(55px);
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  pointer-events: none;
  z-index: 1;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-32);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__title {
  /* font-family:"Bricolage Grotesque", sans-serif; */
  font-family: "Oswald", sans-serif;
  font-size: 3.5rem;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-16);
  color: var(--gunmetal);
  text-shadow: 0 2px 6px rgba(85, 85, 85, 0.419);
}

.hero__subtitle {
  font-size: 25px;
  color: var(--color-white);
  margin-bottom: var(--space-32);
  line-height: var(--line-height-normal);
  font-weight: var(--font-weight-medium);
  font-family: "Bricolage Grotesque", sans-serif;
}

.hero__actions {
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__placeholder {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--cadet-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-32);
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(37, 50, 55, 0.15);
  backdrop-filter: blur(10px);
  transition: transform var(--duration-normal) var(--ease-standard);
}

.hero__placeholder:hover {
  transform: translateY(-5px);
}

.hospital-icon {
  font-size: 4rem;
  margin-bottom: var(--space-16);
  filter: drop-shadow(0 2px 4px rgba(37, 50, 55, 0.1));
}

/* Enhanced Button Styles */
.btn--header {
  background: linear-gradient(
    135deg,
    var(--gunmetal) 0%,
    var(--paynes-gray) 100%
  ) !important;
  color: var(--color-btn-primary-text);
  border: none;
  box-shadow: 0 4px 15px rgba(37, 50, 55, 0.3);
  transition: all var(--duration-normal) var(--ease-standard);
}
.btn--header:hover {
  transform: translateY(1px);
  box-shadow: 0 8px 25px rgba(37, 50, 55, 0.4);
  color: #ffffff;
}
.btn--primary {
  background: linear-gradient(
    135deg,
    var(--gunmetal) 0%,
    var(--paynes-gray) 100%
  );
  color: var(--color-btn-primary-text);
  border: none;
  box-shadow: 0 4px 15px rgba(37, 50, 55, 0.3);
  transition: all var(--duration-normal) var(--ease-standard);
}

.btn--primary:hover {
  background: linear-gradient(
    135deg,
    var(--paynes-gray) 0%,
    var(--gunmetal) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 50, 55, 0.4);
  color: #ffffff !important ;
}


.btn--outline {
  background: transparent !important;
  border: 2px solid var(--gunmetal) !important;
  color: var(--gunmetal) !important;
  transition: all var(--duration-normal) var(--ease-standard) !important;
}

.btn--outline:hover {
  background: var(--gunmetal) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* Section Common Styles */
.section__header {
  text-align: center;
  margin-bottom: var(--space-32);
}

.section__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  font-family: "Bricolage Grotesque", sans-serif;
  margin-bottom: var(--space-16);
  color: var(--gunmetal);
  position: relative;
  font-family: "Bricolage Grotesque", sans-serif;
}

.section__title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--gunmetal), var(--paynes-gray));
  border-radius: 2px;
}

.section__subtitle {
  font-size: var(--font-size-xl);
  color: var(--paynes-gray);
  font-weight: var(--font-weight-medium);
  font-family: "Alumni Sans SC", sans-serif;
}

/* Benefits Section - Light Cyan Background */
/* .benefits {
  padding: 80px 0;
  background: var(--light-cyan);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-24);
}

.benefit-card {
  background: #ffffff;
  padding: var(--space-24);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(157, 180, 192, 0.2);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-standard);
  box-shadow: 0 5px 20px 5px rgba(37, 50, 55, 0.247);
  position: relative;
  overflow: hidden;
}

.benefit-card:nth-child(odd) {
  background: var(--light-blue);
}

.benefit-card:nth-child(even) {
  background: var(--cadet-gray);
  color: #ffffff;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px 10px rgba(37, 50, 55, 0.445);
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.benefit-card:hover::before {
  left: 100%;
}

.benefit-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-16);
  filter: drop-shadow(0 2px 4px rgba(37, 50, 55, 0.1));
}

.benefit-card__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-12);
  color: inherit;
}

.benefit-card:nth-child(even) .benefit-card__title {
  color: #ffffff;
}

.benefit-card__description {
  line-height: var(--line-height-normal);
  color: inherit;
  opacity: 0.9;
} */
.benefits {
  padding: 80px 0;
  background: var(--light-cyan);
}

/* Layout: Left (image) + Right (content) */
.benefits__container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 40px;
}

/* Left image with orange arc */
.benefits__image-box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.benefits__image-bg {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 20px solid #ff6b35; /* orange arc */
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-20deg);
  z-index: 1;
}

.benefits__image-box img {
  position: relative;
  max-width: 100%;
  height: auto;
  z-index: 2;
}

/* Right content */
.benefits__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* --- Add this to your style.css --- */

/* The main container that hides the overflowing slides */
.benefits-slider-container {
    overflow: hidden;
    width: 100%;
}

/* The track that moves left and right */
.benefits-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Each individual slide */
.benefit-slide {
    min-width: 50%; /* Shows 2 slides at a time */
    box-sizing: border-box;
    padding: 0 10px; /* Creates a gap between slides */
}

/* Your existing .benefit-card style works perfectly inside the slide */
.benefit-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    /* ... keep all your other styles for the card */
}

/* Styling for the navigation buttons */
.slider-nav {
    text-align: center;
    margin-top: 1.5rem;
}

.slider-btn {
    background-color: #e0eafc;
    border: 1px solid #c9d6f4;
    color: #3e4a6e;
    font-size: 1.2rem;
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 10px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.slider-btn:hover {
    background-color: #d1e0fc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .benefit-slide {
        min-width: 100%; /* Shows 1 slide at a time on mobile */
    }
}


/* Grid for benefit cards */
/* Benefits Section */
.benefits {
  padding: 80px 0;
  background: var(--light-cyan);
}

/* Layout: Left (image) + Right (content) */
/* Benefits Section */
.benefits {
  padding: 80px 0;
  background: var(--light-cyan);
}

/* Layout */
.benefits__container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 40px;
}

/* Left image box */
.benefits__image-box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 550px;
  height: 700px;
  margin: auto;
}

/* Glowing gradient circle */
.benefits__image-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 25% 0% 25% 0%;
  background: linear-gradient(
    var(--light-blue) 0%,
    #75b3d4 70%,
    transparent 100%
  );
  z-index: 0;
  filter: blur(4px);
}

/* Arc animation */
/* .benefits__image-arc { 
  position: absolute;
  width: 100%;
  height: 80%;
  border-radius: 50%  ;
  border: 25px solid var(--light-cyan); 
   border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-100deg);
  z-index: 0;
 
  
 } */

/* Doctor Image */
.benefits__image-box img {
  position: relative;
  max-height: 90%;
  z-index: 2;
  /* Fade bottom effect */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: bottom;
  -webkit-mask-size: 100% 100%;

  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-repeat: no-repeat;
  mask-position: bottom;
  mask-size: 100% 100%;
}
/* .buttom-blur{
  width: 100%;
  height:100%;
  rotate: 90deg;
  left: 20px;
  right: -30px;
  position: relative;
  background-color: #f0f0f070;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(25px);

  z-index: 3;

  
} */
/* Arc rotation */
@keyframes arcRotate {
  0% {
    transform: rotate(-30deg);
  }
  100% {
    transform: rotate(330deg);
  }
}

/* Right content */
.benefits__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Grid */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 2fr));
  gap: var(--space-24);
}

/* Benefit card */
.benefit-card {
  background: #ffffff;
  padding: var(--space-24);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(157, 180, 192, 0.2);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-standard);
  box-shadow: 0 5px 20px 5px rgba(37, 50, 55, 0.15);
  position: relative;
  overflow: hidden;
}
.benefit-card:nth-child(odd) {
  background: var(--light-blue);
}

.benefit-card:nth-child(even) {
  background: var(--cadet-gray);
  color: #ffffff;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px 10px rgba(37, 50, 55, 0.445);
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.benefit-card:hover::before {
  left: 100%;
}

/* Responsive */
@media (max-width: 992px) {
  .benefits__container {
    grid-template-columns: 1fr;
  }
  .benefits__image-box {
    display: none; /* hide image + circle + arc on mobile */
  }
}


/* Features Section - White Background with Light Blue Cards */
.features {
  padding: 80px 0;
  background: linear-gradient(
    180deg,
    var(--color-white) 20%,
    var(--light-blue) 80%
  );
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-24);
}

.feature-card {
  background: var(--light-blue);
  padding: var(--space-24);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cadet-gray);
  transition: all var(--duration-fast) var(--ease-standard);
  box-shadow: 0 4px 20px rgba(37, 50, 55, 0.08);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(37, 50, 55, 0.15);
  border-color: var(--gunmetal);
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-16);
  display: block;
  filter: drop-shadow(0 2px 4px rgba(37, 50, 55, 0.1));
}

.feature-card__title {
  font-size: var(--font-size-lg);
  font-family: "Didact Gothic", sans-serif;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-12);
  color: var(--gunmetal);
}

.feature-card__description {
  color: var(--paynes-gray);
  line-height: var(--line-height-normal);
}

/* From Uiverse.io by joe-watson-sbf */
.flip-card {
  background-color: transparent;
  width: 100%;
  height: 250px;
  perspective: 1000px;
  font-family: sans-serif;
}

.title {
  font-size: 1.5em;
  font-weight: 900;
  font-family: "Didact Gothic", sans-serif;
  text-align: center;
  margin: 0;
  color: var(--gunmetal);
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  box-shadow: 0 8px 14px 0 rgba(0, 0, 0, 0.2);
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 1px solid var(--cadet-gray);
  border-radius: 1rem;
  padding: var(--space-24);
}

.flip-card-front {
  background: linear-gradient(
    120deg,
    var(--light-blue) 60%,
    var(--light-cyan) 88%
  );
}

.flip-card-back {
  background: linear-gradient(
    240deg,
    var(--light-blue) 60%,
    var(--light-cyan) 88%
  );
  color: white;
  transform: rotateY(180deg);
  border: 2px solid var(--cadet-gray);
}

/* Compliance Section - Cadet Gray Background */
.compliance {
  padding: 80px 0;
  background: var(--cadet-gray);
  position: relative;
}

.compliance::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 40%,
      rgba(224, 251, 252, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(194, 223, 227, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.compliance .container {
  position: relative;
  z-index: 1;
}

.compliance .section__title,
.compliance .section__subtitle {
  color: #ffffff;
}

/* === REPLACE this rule in your existing CSS === */
.compliance__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-24);
  max-width: 1200px; /* Increased max-width for the new layout */
  margin: 0 auto;
}

/* === ADD these new rules to your CSS === */
.compliance__column {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  flex: 1 1 320px; /* Allows columns to grow/shrink with a base size */
}

.compliance__image-container {
  flex: 1 1 400px; /* Allows image container to have its own space */
  display: flex;
  justify-content: center;
  align-items: center;
}

.compliance__image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(37, 50, 55, 0.2);
}

/* === ADD this for responsiveness === */
@media (max-width: 992px) {
  .compliance__grid {
    flex-direction: column;
  }
  .compliance__image-container {
    order: -1; /* Moves the image to the top on mobile */
    margin-bottom: var(--space-24);
  }
}

.compliance-card {
  background: var(--light-cyan);
  padding: var(--space-24);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-standard);
  box-shadow: 0 8px 25px rgba(37, 50, 55, 0.15);
  position: relative;
}

.compliance-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 50, 55, 0.25);
  border-color: #ffffff;
}

.compliance-card__badge {
  font-size: 2rem;
  margin-bottom: var(--space-16);
  filter: drop-shadow(0 2px 4px rgba(37, 50, 55, 0.1));
}

.compliance-card__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-12);
  color: var(--gunmetal);
}

.compliance-card__description {
  color: var(--paynes-gray);
  line-height: var(--line-height-normal);
}

/* video section */
.video-section {
  padding: 80px 0;
  background: var(--light-blue);
}

.video_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-24);
}
/* Testimonials Section - Light Blue Background */
.testimonials {
  padding: 80px 0;
  background: var(--light-blue);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-24);
}

.testimonial-card {
  background: #ffffff;
  padding: var(--space-24);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(157, 180, 192, 0.3);
  box-shadow: 0 8px 25px rgba(37, 50, 55, 0.1);
  transition: all var(--duration-normal) var(--ease-standard);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(37, 50, 55, 0.15);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--cadet-gray);
  font-family: serif;
  line-height: 1;
}

.testimonial-card__content {
  margin-bottom: var(--space-20);
  padding-top: var(--space-16);
}

.testimonial-card__stars {
  color: #f39c12;
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-12);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.testimonial-card__quote {
  font-style: italic;
  color: var(--paynes-gray);
  line-height: var(--line-height-normal);
  margin-bottom: 0;
  font-size: var(--font-size-md);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  padding-top: var(--space-16);
  border-top: 1px solid rgba(157, 180, 192, 0.2);
}

.testimonial-card__avatar {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--cadet-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(37, 50, 55, 0.1);
}

.testimonial-card__name {
  font-weight: var(--font-weight-semibold);
  color: var(--gunmetal);
  margin-bottom: var(--space-4);
}

.testimonial-card__title {
  font-size: var(--font-size-sm);
  color: var(--paynes-gray);
  margin: 0;
}

.review-video {
  padding: 40px 0;
}

/* Styling for the "Associated With" section */
.associated-with {
  padding: 80px 0;
  background-color: #f8f9fa; /* A light background color */
}

.associated-with .section__title,
.associated-with .section__subtitle {
  color: var(--gunmetal, #253237); /* Use your theme colors */
}

/* Main two-column layout using Flexbox */
.associated-with__layout {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.associated-with__content {
  flex: 1; /* Takes up available space */
}

.associated-with__content-title {
  font-size: var(--font-size-xl, 1.5rem);
  font-weight: var(--font-weight-semibold, 600);
  margin-bottom: 1.5rem;
  color: var(--gunmetal, #253237);
}

/* List styled to look like a two-column table */
.associated-with__list {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 2; /* This creates the two columns */
  column-gap: 2rem;
}

.associated-with__list li {
  font-size: var(--font-size-md, 1rem);
  color: var(--paynes-gray, #5c6b73);
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

/* Custom list marker (a checkmark) */
.associated-with__list li::before {
  content: "✓";
  color: var(--primary-color, #27ae60); /* A success green color */
  font-weight: bold;
  margin-right: 0.75rem;
  line-height: 1.2;
}

.associated-with__image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.associated-with__image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {
  .associated-with__layout {
    flex-direction: column;
  }
  .associated-with__list {
    column-count: 1; /* Stack the list into a single column on small screens */
  }
  .associated-with__image-container {
    margin-top: 2rem;
  }
}

/* General styling for the services section */
.services {
  padding: 80px 0;
  background-color: var(
    --white-smoke,
    #f5f5f5
  ); /* A very light grey background */
}

/* Container for all service items */
.services-layout {
  display: flex;
  flex-direction: column;
  gap: 5rem; /* Space between the two service rows */
}

/* Flex container for a single service item (image + text) */
.service-item {
  display: flex;
  align-items: center;
  gap: 3rem;
}

/* This class reverses the order for the second item */
.service-item--reverse {
  flex-direction: row-reverse;
}

.service-item__image-container,
.service-item__text-content {
  flex: 1; /* Makes both image and text columns take up equal space */
}

.service-item__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.service-item__title {
  font-size: var(--font-size-xl, 1.75rem);
  font-weight: var(--font-weight-bold, 700);
  color: var(--gunmetal, #253237);
  margin-bottom: 1rem;
}

.service-item__description {
  font-size: var(--font-size-md, 1rem);
  color: var(--paynes-gray, #5c6b73);
  line-height: var(--line-height-loose, 1.7);
  margin-bottom: 1.5rem;
}

.service-item__features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-item__features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--paynes-gray, #5c6b73);
}

.service-item__features li::before {
  content: "✓";
  color: var(--primary-color, #27ae60);
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 0.75rem;
}

/* Responsive adjustments for mobile and tablets */
@media (max-width: 992px) {
  .service-item,
  .service-item--reverse {
    flex-direction: column; /* Stack image and text vertically */
    text-align: left;
  }
}

/* Main section styling */
/* --- TRUSTED BY SECTION --- */
.trusted-by {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: center;
}

.trusted-by .section__header {
  margin-bottom: 2.5rem;
}

.trusted-by .section__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
}

.trusted-by .section__title span {
  color: rgb(91, 219, 219) ; /* Purple color for emphasis */
}

/* Key Statistics Bar */
.trusted-by__stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.5rem;
  border-right: 1px solid #e0e0e0;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgb(91, 219, 219);
}

.stat-item__label {
  font-size: 1rem;
  color: #555;
}

/* Logo Slider Wrapper */
.trusted-by__logo-slider-wrapper {
  max-width: 1100px;
  margin: 0 auto 3rem auto;
  overflow: hidden; /* CRUCIAL: Hides the non-visible slides */
}

/* Container that moves */
.trusted-by__logos {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* A single slide holding 4 logos */
.logo-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.logo-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.logo-item__image {
  height: 80px;
  max-width: 150px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.logo-item__name {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.logo-item__location {
  color: #777;
  font-size: 0.85rem;
}

/* Pagination Dots */
.trusted-by__pagination {
  display: flex;
  justify-content: center;
  gap: 0.75rem; /* Space between dots */
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d8d8d8;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: rgb(91, 219, 219);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .logo-slide {
    grid-template-columns: repeat(2, 1fr); /* 2 logos on tablets */
  }
}

@media (max-width: 768px) {
  .trusted-by__stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }
  .stat-item {
    border-right: none;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .logo-slide {
    grid-template-columns: 1fr; /* 1 logo on small mobile */
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .trusted-by__logos {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on tablets */
  }
}

@media (max-width: 768px) {
  .trusted-by__stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .stat-item {
    border-right: none;
    padding: 0;
  }
  .trusted-by__logos {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
  }
}

/* Contact Section - Gradient Background */
/* .contact {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--light-cyan) 0%, var(--light-blue) 100%);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(157, 180, 192, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.contact__content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact__form {
  background: #ffffff;
  padding: var(--space-32);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(157, 180, 192, 0.2);
  box-shadow: 0 20px 40px rgba(37, 50, 55, 0.1);
  backdrop-filter: blur(10px);
} */
/* Contact Section */
.contact {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    var(--light-cyan) 0%,
    var(--light-blue) 100%
  );
  position: relative;
}
.contact__info__card{
    padding: 4rem;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.contact__content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}

.contact__details {
  padding: 4rem;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  flex: 1 0 30;
  min-width: 280px;
}

.contact__map {
  
  flex: 1  70;
  min-width: 320px;
}

.contact__block {
  margin-bottom: 24px;
}

.contact__block h3 {
  margin-bottom: 8px;
  color: var(--gunmetal);
}

.contact__social {
  margin-top: 20px;
}

.contact__social a {
  display: inline-block;
  margin-right: 12px;
  font-size: 20px;
  color: var(--gunmetal);
  transition: color 0.3s ease;
}
.contact__action{
  text-align: center;
}
.contact__social a:hover {
  color: var(--light-blue);
}

/* Hidden Form Wrapper */
.contact__form-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.5s ease;
}

.contact__form-wrapper.active {
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
}

.contact__form {
  background: #fff;
  padding: var(--space-32);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(157, 180, 192, 0.2);
  box-shadow: 0 20px 40px rgba(37, 50, 55, 0.1);
  position: relative; /* for close button placement */
}

.contact__form-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f0f0f0;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--gunmetal);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact__form-close:hover {
  background: var(--light-cyan);
  color: #fff;
}

/* CTA Section Styling */
.cta-section {
  padding: 80px 0;
  background-color: #f7f9fc; /* A light, neutral background */
}

/* Top Metrics Bar */
.cta-metrics {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.metric-item__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.metric-item__value {
  font-size: 2rem;
  font-weight: 700;
  color: rgb(91, 219, 219); /* Orange color from the image */
  display: block;
}

.metric-item__label {
  font-size: 1rem;
  color: #555;
  font-weight: 500;
}

/* Main White Content Box */
.cta-content-box {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative; /* For the decorative image */
  overflow: hidden; /* Keeps decorative image corners clean */
}

.cta-content-box__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #333;
}

/* Two-column features inside the box */
.cta-features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-point {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}

.feature-point__icon {
  height: 48px;
  margin-bottom: 1rem;
}

.feature-point__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #333;
}

.feature-point__description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
}

/* Action Buttons */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Using generic .btn classes for reusability */
.btn {
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

/* .btn--primary {
  background-color: aqua;
  color: white;
}
.btn--primary:hover {
  background-color: #d16a2a;
} */

.btn--secondary {
  background-color: white;
  color: #333;
  border-color: #ccc;
}
.btn--secondary:hover {
  background-color: #f5f5f5;
  border-color: #aaa;
}

/* Decorative image in the bottom-right corner */
.cta-decorative-image {
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: 0;
  opacity: 0.5;
}

/* Slide-down form wrapper (hidden by default) */
.cta-form-wrapper {
  max-width: 900px;
  margin: 1.5rem auto 0 auto;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.5s ease, opacity 0.4s ease, transform 0.4s ease;
}

/* visible */
.cta-form-wrapper.active {
  max-height: 1200px; /* high enough for full form */
  opacity: 1;
  transform: translateY(0);
}

/* Form box */
.cta-form {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 1.5rem;
}

/* Close button */
.cta-form__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #eef2f7;
  color: #2a2a2a;
  cursor: pointer;
  line-height: 34px;
  font-size: 1rem;
  display: flex;align-items:center;justify-content:center;
  transition: background 0.25s ease;
}
.cta-form__close:hover { background: #e2e8f0; }

/* Grid layout for fields */
.cta-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 1rem 1.25rem;
  margin-top: 1.25rem;
}

/* Full-width row */
.form-group--full { grid-column: 1 / -1; }

/* Fields */
.form-group { display: flex; flex-direction: column; }
.form-label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #2e3a59;
  font-size: 0.95rem;
}
.form-control {
  border: 1px solid #dfe6ee;
  background: #fbfdff;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  color: #2d3748;
  outline: none;
  transition: border 0.25s ease, box-shadow 0.25s ease;
}
.form-control:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 3px rgba(134,183,254,0.25);
}

.btn--full { width: 100%; margin-top: 0.5rem; }

.radio-group{
  display: flex;
  justify-content: center;
  gap: 2rem;
}
/* Mobile */
@media (max-width: 768px) {
  .cta-form__grid { grid-template-columns: 1fr; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cta-metrics {
    flex-direction: column;
    align-items: center;
  }
  .cta-content-box {
    padding: 2rem;
  }
  .cta-buttons {
    flex-direction: column;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Enhanced Form Styles */
/* .form-group {
  position: relative;
  margin-bottom: var(--space-20);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  color: var(--gunmetal);
}

.form-control {
  transition: all var(--duration-fast) var(--ease-standard);
  border: 2px solid var(--light-blue);
  border-radius: var(--radius-base);
  padding: var(--space-12);
  font-size: var(--font-size-base);
  background: #ffffff;
}

.form-control:focus {
  border-color: var(--gunmetal);
  box-shadow: 0 0 0 3px rgba(37, 50, 55, 0.1);
  outline: none;
}

.form-control.valid {
  border-color: var(--paynes-gray);
}

.form-control.error {
  border-color: var(--color-error);
}

.form-error {
  display: block;
  color: var(--color-error);
  font-size: var(--font-size-sm);
  margin-top: var(--space-8);
  min-height: 1.2em;
  font-weight: var(--font-weight-medium);
} */

/* Modules Section */
/* Main modules section styling */
.modules {
  padding: 80px 0;
  background-color: #fff;
}

.modules .section__title,
.modules .section__subtitle {
  text-align: center;
}

.modules .section__title {
  font-size: 2.5rem;
  color: #333;
}

.modules .section__subtitle {
  max-width: 500px;
  margin: 0.5rem auto 0 auto;
}

/* Tab navigation container */
.modules__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #e0e0e0;
  margin: 3rem 0;
}

.tab-link {
  padding: 1rem 1.5rem;
  cursor: pointer;
  border: none;
  background-color: transparent;
  font-size: 1rem;
  font-weight: 600;
  color: #555;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.tab-link:hover {
  color: rgb(91, 219, 219);
}

.tab-link.active {
  color: rgb(91, 219, 219);
  border-bottom-color: rgb(91, 219, 219);
}

/* Tab content panel styling */
.tab-content {
  display: none;
  align-items: center;
  gap: 3rem;
  padding: 2rem;
  background-color: #fafaff;
  border-radius: 20px;
}

.tab-content__text {
  flex: 1;
}

.tab-content__title {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: #222;
  font-family: "Bricolage Grotesque", sans-serif;
}

.tab-content__title .highlight {
  color: rgb(12, 190, 190);
}

.tab-content__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.tab-content__features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #444;
}

.tab-content__features li::before {
  content: "✓";
  color: rgb(12, 190, 190);
  font-size: 1.2rem;
  font-weight: bold;
  margin-right: 0.75rem;
}

/* Re-use your primary button style or use this */
.btn-primary {
  padding: 0.8rem 1.8rem;
  background-color: rgb(91, 219, 219);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: aqua;
}

.tab-content__image-container {
  flex: 1;
}

.tab-content__image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .tab-content {
    flex-direction: column-reverse; /* Puts image on top */
  }
}

/* Footer - Gunmetal Background */
.footer {
  background: var(--gunmetal);
  color: var(--light-cyan);
  padding: 60px 0 20px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--light-cyan),
    transparent
  );
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-32);
  margin-bottom: var(--space-32);
}

.footer__title {
  color: var(--light-cyan);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-16);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer__subtitle {
  color: var(--light-cyan);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-16);
}

.footer__description {
  color: rgba(224, 251, 252, 0.8);
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-16);
}

.footer__badges {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.footer__badge {
  background: var(--light-cyan);
  color: var(--gunmetal);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer__contact p {
  margin-bottom: var(--space-8);
  color: rgba(224, 251, 252, 0.9);
}

.footer__contact a {
  color: var(--light-cyan);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

.footer__contact a:hover {
  color: #ffffff;
}

.footer__social {
  display: flex;
  gap: var(--space-16);
}

.footer__social-link {
  color: rgba(224, 251, 252, 0.8);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: all var(--duration-fast) var(--ease-standard);
  padding: var(--space-8);
  border-radius: var(--radius-sm);
}

.footer__social-link:hover {
  color: var(--light-cyan);
  background: rgba(224, 251, 252, 0.1);
  transform: translateY(-1px);
}

.footer__bottom {
  text-align: center;
  padding-top: var(--space-20);
  border-top: 1px solid rgba(224, 251, 252, 0.2);
  color: rgba(224, 251, 252, 0.8);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: all var(--duration-normal) var(--ease-standard);
}

.modal.hidden {
  opacity: 0;
  visibility: hidden;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(37, 50, 55, 0.8);
  backdrop-filter: blur(8px);
}

.modal__content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(37, 50, 55, 0.3);
  max-width: 400px;
  width: 90%;
  position: relative;
  z-index: 2001;
  overflow: hidden;
  border: 1px solid var(--cadet-gray);
}

.modal__header {
  padding: var(--space-20) var(--space-24) 0;
}

.modal__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--gunmetal);
  text-align: center;
}

.modal__body {
  padding: var(--space-16) var(--space-24);
  text-align: center;
}

.modal__icon {
  font-size: 3rem;
  margin-bottom: var(--space-16);
  filter: drop-shadow(0 2px 4px rgba(37, 50, 55, 0.1));
}

.modal__body p {
  color: var(--paynes-gray);
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-16);
}

.modal__footer {
  padding: 0 var(--space-24) var(--space-24);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    /* text-align: center; */
  }

  .hero__title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .header {
    background: rgba(37, 50, 55, 0.678); /* gunmetal w/ transparency */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
  }
  .nav__menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(37, 50, 55, 0.678); /* gunmetal w/ transparency */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--space-32);
    transition: left var(--duration-normal) var(--ease-standard),
    background 0.5s ease, color 0.5s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  /* 🔹 When header has scrolled, menu also gets same solid bg */
  .header.scrolled .nav__menu {
    background: var(--gunmetal);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(224, 251, 252, 0.1);
  }

  /* links inside mobile menu should match desktop color logic */
  .nav__menu .nav__link {
    color: var(--light-cyan);
  }
  .header.scrolled .nav__menu .nav__link {
    color: var(--light-cyan);
  }
  .header.scrolled .nav__menu .nav__link:hover {
    color: #ffffff;
  }

  /* keep toggle visible */
  .nav__toggle {
    display: flex;
  }

  /* active state for opening menu */
  .nav__menu.active {
    left: 0;
  }

  /* toggle animations */
  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero {
    /* background: linear-gradient(135deg, var(--light-cyan) 0%, var(--light-blue) 100%); */

    background-size: cover; /* makes it responsive */
    background-position: left center;
    left: -20; /* keeps focus on center */
    background-repeat: no-repeat;
    padding: 100px 0 60px;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
  }
  .hero__content {
    margin-top: 180px;
  }

  .hero__title {
    font-size: 2.5rem;
    font-family: "Oswald", sans-serif;
    text-align: left;
  }

  .hero__subtitle {
    font-size: var(--font-size-lg);
    text-align: left;
  }

  .hero__actions {
    width: 60%;
  }

  .section__title {
    font-size: var(--font-size-2xl);
  }

  .benefits__grid,
  .features__grid,
  .compliance__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .contact__form {
    padding: var(--space-24);
  }

  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 50%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .benefit-card,
  .feature-card,
  .compliance-card {
    padding: var(--space-16);
  }

  .contact__form {
    padding: var(--space-16);
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading state for form button */
.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Fade-in animation for sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section__header {
  animation: fadeInUp 0.8s ease-out;
}

/* Enhanced accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  z-index: 10000;
  padding: 8px 12px;
  background-color: var(--gunmetal);
  color: var(--light-cyan);
  text-decoration: none;
  border-radius: var(--radius-base);
  font-weight: var(--font-weight-medium);
  transition: top var(--duration-fast) var(--ease-standard);
}

.skip-link:focus {
  top: 6px;
}
/* Scroll progress line */
#scroll-line {
  position: fixed;
  top: 0;
  right: 0;
  width: 5px; /* thin modern line */
  height: 0; /* will grow dynamically */
  background: linear-gradient(
    60deg,
    var(--gunmetal) 0%,
    var(--light-blue) 100%
  ); /* matches your theme */
  z-index: 2000; /* above header/nav */
  border-radius: 10px;
  transition: height 0.15s ease-out;
}

/* Hide scrollbar globally */
html,
body {
  -ms-overflow-style: none; /* IE and old Edge */
  scrollbar-width: none; /* Firefox */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

#changing-text {
  color: var(--light-cyan, #00e0e0);
  font-weight: 700;
  display: inline-block;
  min-width: 10ch; /* prevents big layout shifts */
  white-space: nowrap;
  padding-right: 6px;
  box-sizing: content-box;
  vertical-align: bottom;
  border-right: 2px solid var(--light-cyan, #00e0e0); /* blinking cursor */
  animation: blink-cursor 0.7s steps(1) infinite;
}

/* Blink animation for cursor */
@keyframes blink-cursor {
  50% {
    border-color: transparent;
  }
}

.word-flip {
  display: inline-block;
  position: relative;
  height: 1.2em; /* matches text height */
  overflow: hidden;
  vertical-align: bottom;
  color: #00e0e0; /* highlight color */
  font-weight: bold;
}

.word-flip span {
  display: block;
  height: 2em;
  animation: flipWords 15s infinite;
}

@keyframes flipWords {
  0% {
    transform: translateY(0%);
  }
  20% {
    transform: translateY(0%);
  }
  25% {
    transform: translateY(-100%);
  }
  40% {
    transform: translateY(-100%);
  }
  45% {
    transform: translateY(-200%);
  }
  60% {
    transform: translateY(-200%);
  }
  65% {
    transform: translateY(-300%);
  }
  80% {
    transform: translateY(-300%);
  }
  85% {
    transform: translateY(-400%);
  }
  100% {
    transform: translateY(-400%);
  }
}



/* Preloader Overlay */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f5f9fa77; /* soft background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

/* Loader Container */
.loader {
  --size: 200px;
  --duration: 2s;
  --background: linear-gradient(
    0deg,
    rgba(50, 50, 50, 0.15) 0%,
    rgba(100, 100, 100, 0.1) 100%
  );
  height: var(--size);
  aspect-ratio: 1;
  position: relative;
}

/* Ripple Circles */
.loader .box {
  position: absolute;
  background: var(--background);
  border-radius: 50%;
  border-top: 1px solid rgba(100, 100, 100, 0.6);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 10px -0px;
  animation: ripple var(--duration) infinite ease-in-out;
}

.loader .box:nth-child(1) {
  inset: 40%;
  animation-delay: 0s;
}
.loader .box:nth-child(2) {
  inset: 30%;
  animation-delay: 0.2s;
}
.loader .box:nth-child(3) {
  inset: 20%;
  animation-delay: 0.4s;
}
.loader .box:nth-child(4) {
  inset: 10%;
  animation-delay: 0.6s;
}
.loader .box:nth-child(5) {
  inset: 0%;
  animation-delay: 0.8s;
}

/* Center Logo */
.loader .logo {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  z-index: 100;
  align-items: center;
}

.loader .logo img {
  width: 40%; /* adjust based on your logo */
  height: auto;
  animation: logo-fade 2s infinite ease-in-out;
}

/* Animations */
@keyframes ripple {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

@keyframes logo-fade {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}