/* =========================================================
   HAEGL — Professional Design System (v3.0)
   Inspired by: Happiest Minds, Persistent, Quantiphi
   Concept: Modern corporate aesthetic with smooth animations,
   mega dropdowns, and professional hover effects
   ========================================================= */
:root {
  /* Core Colors */
  --primary: #c41e3a;
  --primary-dark: #9a1629;
  --primary-light: #e84d65;
  --secondary: #1a1a1a;
  /* was #1e3a5f (navy) */
  --accent: #00b894;

  /* Neutrals */
  --white: #ffffff;
  --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;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #c41e3a 0%, #e84d65 100%);
  --gradient-secondary: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  /* was navy */
  --gradient-hero: linear-gradient(135deg, #1a0306 0%, #0a0a0a 55%, #000000 100%);
  /* was navy */

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', 'Consolas', monospace;

  /* Spacing */
  --container: min(1600px, 94vw);
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  min-width: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1em;
  color: var(--gray-700);
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
}

/* Eyebrow */
.eyebrow {


  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Section */
.section {
  padding: 70px 0;
  position: relative;
}

.section--tight {
  padding: 60px 0;
}

.section--dark {
  background: var(--gradient-hero);
  color: var(--gray-100);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: var(--white);
}

.section--dark p {
  color: var(--gray-300);
}

.section-head {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-head .eyebrow {
  font-size: 0.7rem;
}

.section-head h2 {
  margin-bottom: 20px;
  color: var(--primary);
}

.section-head p {
  font-size: 1.125rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  border-radius: inherit;
  z-index: -1;
  transition: transform var(--transition-base);
}

.btn:hover::before {
  transform: scale(1.05);
}

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

.btn--solid {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(196, 30, 58, 0.4);
}

.btn--solid:hover {
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.6);
  transform: translateY(-2px);
}

.btn--outline {
  border: 2px solid var(--gray-300);
  color: var(--gray-700);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(196, 30, 58, 0.05);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn--outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.8rem;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1rem;
}

/* =========================================================
   NAVBAR — Professional mega menu with smooth animations
   ========================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar--scrolled {
  height: 70px;
  box-shadow: var(--shadow-lg);
}

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

.navbar__brand {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  transition: transform var(--transition-fast);
  text-decoration: none !important;
  margin-right: 12px !important;
  z-index: 10 !important;
}

.navbar__brand:hover {
  transform: scale(1.02);
}

.navbar__brand img {
  height: 40px !important;
  max-height: 40px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.navbar__brand span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap !important;
}

.navbar__nav {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 10px !important;
  min-width: 0;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2px !important;
  white-space: nowrap !important;
}

.navbar__item {
  position: relative;
  flex-shrink: 0;
}

.navbar__link {
  display: flex;
  align-items: center;
  gap: 4px !important;
  padding: 8px 10px !important;
  font-family: var(--font-body);
  font-size: 0.85rem !important;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
  z-index: 2;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.navbar__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.navbar__link:hover {
  color: var(--primary);
  background: rgba(196, 30, 58, 0.05);
}

.navbar__link:hover::after {
  width: 80%;
}

.navbar__link--highlight {
  color: var(--primary);
  font-weight: 600;
}

.navbar__arrow {
  transition: transform var(--transition-base);
}

.navbar__item:hover .navbar__arrow {
  transform: rotate(180deg);
}

/* Dropdown Styles */
.navbar__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  transform: translateY(10px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--gray-200);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 100;
  max-width: calc(100vw - 32px);
  overflow: hidden;
}

.navbar__item:hover .navbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__dropdown--wide {
  min-width: 600px;
  max-width: min(700px, calc(100vw - 32px));
  left: 0;
}

.navbar__dropdown--industries {
  min-width: 500px;
  max-width: min(600px, calc(100vw - 32px));
  left: 0;
}

.navbar__dropdown--company {
  min-width: 450px;
  max-width: min(500px, calc(100vw - 32px));
  left: 0;
}

/* Adjust dropdown positioning for right-side items */
.navbar__links>li:last-child .navbar__dropdown {
  right: 0;
  left: auto;
}

.navbar__dropdown-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.navbar__dropdown-group {
  display: block;
  width: 100%;
}

.navbar__dropdown--wide .navbar__dropdown-inner {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
}

.navbar__dropdown--wide .navbar__dropdown-group {
  flex: 1;
  min-width: 200px;
}

.navbar__dropdown-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.navbar__dropdown-title svg {
  color: var(--primary);
}

.navbar__dropdown-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 12px;
  line-height: 1.5;
}

.navbar__dropdown-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.navbar__dropdown-links a {
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
}

.navbar__dropdown-links a::before {
  content: "→";
  margin-right: 8px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-fast);
  color: var(--primary);
}

.navbar__dropdown-links a:hover {
  color: var(--primary);
  background: rgba(196, 30, 58, 0.05);
  padding-left: 20px;
}

.navbar__dropdown-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.navbar__dropdown-featured {
  display: block;
  width: 100%;
  background: var(--gradient-secondary);
  border-radius: var(--radius-md);
  padding: 20px;
  color: var(--white);
}

.navbar__dropdown--wide .navbar__dropdown-featured {
  flex: 1;
  min-width: 200px;
}

.navbar__dropdown-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.navbar__dropdown-featured-content h5 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1rem;
}

.navbar__dropdown-featured-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.navbar__dropdown-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}

/* Nested (two-level) dropdown for Products & Platforms */
.navbar__dropdown--nested {
  min-width: 260px;
  max-width: 260px;
  left: 0;
  overflow: visible;
  /* let the flyout escape the panel bounds */
}

.navbar__subitems {
  padding: 8px;
}

.navbar__subitem {
  position: relative;
}

.navbar__sublink {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-800);
  transition: all var(--transition-fast);
}

.navbar__sublink-icon {
  display: flex;
  color: var(--primary);
  flex-shrink: 0;
}

.navbar__sublink-text {
  flex: 1;
  text-align: left;
}

.navbar__subarrow {
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.navbar__subitem:hover .navbar__sublink {
  background: rgba(196, 30, 58, 0.06);
  color: var(--primary);
}

.navbar__subitem:hover .navbar__subarrow {
  transform: translateX(3px);
  color: var(--primary);
}

/* The flyout itself — hidden until its own subitem is hovered */
.navbar__submenu {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 8px;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: all var(--transition-base);
  z-index: 101;
}

.navbar__subitem:hover .navbar__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Flip the flyout to the left if it would overflow the viewport on the right */
@media (max-width: 1024px) {
  .navbar__submenu {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 8px;
  }
}

/* Industry Cards Mega Menu */
.navbar__dropdown--industries {
  min-width: 580px;
  padding: 24px;
}

.navbar__industry-header {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
}

.navbar__industry-header .navbar__dropdown-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.navbar__industry-header .navbar__dropdown-title svg {
  color: var(--primary);
}

.navbar__industry-header p {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin: 0;
}

.navbar__industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.navbar__industry-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(0, 0, 0, 0.02);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar__industry-card:hover {
  background: rgba(230, 0, 38, 0.04);
  border-color: rgba(230, 0, 38, 0.2);
  box-shadow: 0 8px 20px rgba(230, 0, 38, 0.08);
  transform: translateY(-2px);
}

.navbar__industry-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(230, 0, 38, 0.08);
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.navbar__industry-card:hover .navbar__industry-icon {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.06);
}

.navbar__industry-content {
  flex: 1;
}

.navbar__industry-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.navbar__industry-title h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
  transition: color 0.2s ease;
}

.navbar__industry-card:hover .navbar__industry-title h5 {
  color: var(--primary);
}

.navbar__industry-arrow {
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s ease;
  color: var(--primary);
}

.navbar__industry-card:hover .navbar__industry-arrow {
  opacity: 1;
  transform: translateX(0);
}

.navbar__industry-content p {
  font-size: 0.78rem;
  margin: 0;
  color: var(--gray-500);
  line-height: 1.35;
}

/* Company Dropdown */
.navbar__company-section {
  display: inline-block;
  vertical-align: top;
  width: calc(50% - 24px);
  margin-right: 24px;
}

.navbar__company-section:last-child {
  margin-right: 0;
}

.navbar__dropdown-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.navbar__company-cta {
  display: inline-block;
  vertical-align: top;
  width: calc(50% - 24px);
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  padding: 24px;
  color: var(--white);
  text-align: center;
}

.navbar__company-cta h5 {
  color: var(--white);
  margin-bottom: 8px;
}

.navbar__company-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.navbar__actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.navbar__actions .navbar__item {
  position: relative;
  flex-shrink: 0 !important;
}

.navbar__actions .btn,
.navbar__actions .navbar__link,
.navbar__actions a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 10px 18px !important;
  border-radius: var(--radius-full) !important;
  font-family: var(--font-mono) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
  height: 42px !important;
}

.navbar__actions .navbar__link::after {
  display: none !important;
}

.navbar__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto !important;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  z-index: 1001;
}

.navbar__toggle:hover,
.navbar__toggle:focus {
  background: rgba(230, 0, 38, 0.1);
  border-color: rgba(230, 0, 38, 0.3);
}

.navbar__toggle-lines {
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none !important;
}

.navbar__toggle-lines::before,
.navbar__toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none !important;
}

.navbar__toggle-lines::before {
  top: -6px;
}

.navbar__toggle-lines::after {
  top: 6px;
}

.navbar__toggle[aria-expanded="true"] {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(230, 0, 38, 0.35);
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-lines {
  background: transparent;
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-lines::before {
  top: 0;
  background: #ffffff;
  transform: rotate(45deg);
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-lines::after {
  top: 0;
  background: #ffffff;
  transform: rotate(-45deg);
}

/* Mobile Menu Drawer */
.navbar__mobile {
  position: fixed;
  top: var(--header-height, 80px);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.35s ease;
  z-index: 999;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.navbar__mobile[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__mobile-inner {
  padding: 20px 20px 100px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.navbar__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar__mobile-item {
  position: relative;
}

/* Base Link & Button styles */
.navbar__mobile-link,
.navbar__mobile-btn {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  background: rgba(0, 0, 0, 0.025);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.navbar__mobile-link-text,
.navbar__mobile-btn-text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-900);
}

.navbar__mobile-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: rgba(230, 0, 38, 0.08);
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.navbar__mobile-link:hover .navbar__mobile-icon,
.navbar__mobile-btn:hover .navbar__mobile-icon {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.06);
}

.navbar__mobile-arrow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--gray-400);
}

.navbar__mobile-btn[aria-expanded="true"] .navbar__mobile-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Accordion Submenus */
.navbar__mobile-submenu {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
  position: relative;
  z-index: 5;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 12px;
  margin-top: 4px;
}

.navbar__mobile-item--dropdown.is-open>.navbar__mobile-submenu,
.navbar__mobile-btn[aria-expanded="true"]+.navbar__mobile-submenu {
  max-height: 1500px !important;
  opacity: 1 !important;
  visibility: visible !important;
  padding: 8px 0;
}

.navbar__mobile-submenu-inner {
  padding: 8px 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.navbar__mobile-desc {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.navbar__mobile-sublinks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar__mobile-sublinks a {
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 10px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  text-decoration: none;
}

.navbar__mobile-sublinks a::before {
  content: "→";
  margin-right: 10px;
  color: var(--primary);
  font-weight: 700;
  opacity: 0.5;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.navbar__mobile-sublinks a:hover,
.navbar__mobile-sublinks a:active {
  color: var(--primary);
  background: rgba(230, 0, 38, 0.06);
  padding-left: 18px;
}

.navbar__mobile-sublinks a:hover::before {
  opacity: 1;
  transform: translateX(3px);
}

/* Grid Cards inside Mobile Industries */
.navbar__mobile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.navbar__mobile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: all 0.2s ease;
}

.navbar__mobile-card strong {
  display: block;
  font-size: 0.92rem;
  color: var(--gray-900);
  font-weight: 600;
}

.navbar__mobile-card small {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-500);
}

.navbar__mobile-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: rgba(230, 0, 38, 0.08);
  color: var(--primary);
  flex-shrink: 0;
}

.navbar__mobile-card:hover {
  background: rgba(230, 0, 38, 0.06);
  border-color: rgba(230, 0, 38, 0.2);
  transform: translateX(3px);
}

/* Natural Flow Mobile CTAs (NOT STICKY so expanding accordions push buttons down) */
.navbar__mobile-cta {
  margin-top: 24px;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative !important;
  z-index: 1;
  background: transparent;
  padding-bottom: 30px;
}

.btn--mobile-cta {
  width: 100%;
  padding: 15px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(230, 0, 38, 0.25);
  transition: all 0.25s ease;
}

.btn--mobile-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(230, 0, 38, 0.35);
}

@media (max-width: 1260px) {
  .navbar__nav {
    display: none !important;
  }

  .navbar__actions .navbar__item,
  .navbar__actions .btn {
    display: none !important;
  }

  .navbar__toggle {
    display: flex !important;
  }

  .navbar__dropdown {
    display: none !important;
  }
}

@media (min-width: 1261px) {
  .navbar__mobile {
    display: none !important;
  }
}

/* =========================================================
   HERO — Modern gradient hero with parallax layers & animations
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  background: var(--gradient-hero);
  overflow: hidden;
}

/* Parallax Background Layers */
.hero__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero__layer {
  position: absolute;
  width: 100%;
  height: 110%;
  top: -5%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: transform 0.1s linear;
}

.hero__layer--back {
  background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7)),
    radial-gradient(circle at 30% 50%, rgba(196, 30, 58, 0.2), transparent 50%);
  z-index: 1;
}

.hero__layer--middle {
  background-image: url('/static/img/HAEGL Z1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  opacity: 0.8;
  z-index: 2;
}

.hero__layer--front {
  background-image: url('/static/img/hero-slide-1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom left;
  opacity: 0.6;
  z-index: 3;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(196, 30, 58, 0.15), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(30, 58, 95, 0.2), transparent 50%);
  animation: heroPulse 10s ease-in-out infinite alternate;
  z-index: 4;
}

@keyframes heroPulse {
  0% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
}

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(196, 30, 58, 0.6);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite;
}

/* Floating Elements - like Prestige website */
.hero__floating {
  position: absolute;
  opacity: 0.4;
  z-index: 3;
  pointer-events: none;
}

.hero__floating--1 {
  top: 15%;
  left: 8%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(196, 30, 58, 0.3), transparent);
  border-radius: 50%;
  animation: floatCircle 25s ease-in-out infinite;
}

.hero__floating--2 {
  top: 70%;
  right: 12%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.3), transparent);
  border-radius: 50%;
  animation: floatCircle 30s ease-in-out infinite reverse;
}

.hero__floating--3 {
  top: 45%;
  right: 20%;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(196, 30, 58, 0.2), transparent);
  border-radius: 50%;
  animation: floatCircle 20s ease-in-out infinite;
  animation-delay: -5s;
}

/* Compact hero for inner pages (Contact, About, Solutions, etc.)
   — same styling as .hero, but no forced full-viewport height */
section.hero.hero--compact {
  min-height: auto !important;
  padding-top: calc(var(--header-height) + 48px) !important;
  padding-bottom: 60px !important;
  align-items: center !important;
  text-align: center !important;
}

.hero--compact .hero__content,
.hero--compact .container {
  padding-top: 0;
  text-align: center;
  margin: 0 auto;
}

.hero--compact .hero__lede {
  margin-left: auto;
  margin-right: auto;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

@keyframes floatCircle {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }

  25% {
    transform: translate(20px, -30px) scale(1.1);
    opacity: 0.6;
  }

  50% {
    transform: translate(0, -50px) scale(1);
    opacity: 0.4;
  }

  75% {
    transform: translate(-20px, -30px) scale(0.9);
    opacity: 0.5;
  }
}

.hero__content {
  position: relative;
  z-index: 6;
  max-width: 800px;
  padding-top: calc(var(--header-height) + 20px);
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(196, 30, 58, 0.15);
  border: 1px solid rgba(196, 30, 58, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 0.8s ease forwards;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 0.8s ease 0.2s forwards;
}

.hero h1 span {
  display: inline-block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__lede {
  font-size: 1.25rem;
  color: var(--gray-300);
  margin-bottom: 40px;
  max-width: 600px;
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 0.8s ease 0.4s forwards;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 0.8s ease 0.6s forwards;
}

.hero__actions .btn {
  opacity: 0;
  transform: translateY(10px);
  animation: revealUp 0.6s ease forwards;
}

.hero__actions .btn:nth-child(1) {
  animation-delay: 0.7s;
}

.hero__actions .btn:nth-child(2) {
  animation-delay: 0.8s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__lede {
  font-size: 1.25rem;
  color: var(--gray-300);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual canvas,
.hero__visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* =========================================================
   STATS STRIP — Animated counters
   ========================================================= */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 60px 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  margin: -60px 0 60px;
  position: relative;
  z-index: 10;
}

.stat-item {
  text-align: center;
  padding: 24px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item.is-visible {
  opacity: 1;
  transform: scale(1);
}

.stat-item__value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
  display: inline-block;
}

.stat-item__label {
  font-size: 0.9375rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* =========================================================
   SERVICE CARDS — Modern card layout
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  pointer-events: none;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-12px) rotateX(2deg);
  box-shadow: 0 25px 50px -12px rgba(196, 30, 58, 0.25);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card__icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 24px;
  font-size: 28px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.375rem;
}

.service-card p {
  color: var(--gray-600);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: gap var(--transition-fast);
}

.service-card__link:hover {
  gap: 12px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Section Kicker Badge */
.section-kicker {
  display: inline-block;
  background: rgba(230, 0, 38, 0.08);
  border: 1px solid rgba(230, 0, 38, 0.25);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* =========================================================
   INDUSTRIES SECTION — Distinct Elevated Light Showcase
   ========================================================= */
.industries-section {
  background: radial-gradient(circle at 50% 0%, rgba(230, 0, 38, 0.04) 0%, transparent 60%),
              linear-gradient(180deg, #f8fafc 0%, #edf2f7 50%, #f8fafc 100%);
  color: var(--gray-800);
  position: relative;
  overflow: hidden;
  padding: 110px 0 130px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.industries-section::before {
  display: none;
}

.industries-section .section-head {
  position: relative;
  z-index: 2;
  margin-bottom: 48px;
  text-align: center;
}

.industries-section h2 {
  color: var(--gray-900);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Elevated Card Enclosure */
.industries-card-wrap {
  background: #ffffff;
  border-radius: 28px;
  padding: 56px 60px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.07), 0 4px 20px rgba(15, 23, 42, 0.03);
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}

.industries-panel {
  display: none;
  animation: fadeInUp 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.industries-panel.is-active {
  display: block;
}

.industries-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.industries-split__content h3 {
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  color: var(--gray-900);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.industries-split__content h3::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 28px;
  background: var(--primary);
  border-radius: 4px;
}

.industries-split__content p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 18px;
}

@media (max-width: 768px) {
  .industries-card-wrap {
    padding: 30px 22px;
    border-radius: 20px;
    margin-bottom: 30px;
  }
}




.industries-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  margin: 42px auto 0;
  padding: 16px 24px;
  max-width: 680px;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14), 0 4px 16px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  z-index: 2;
}

.industry-logo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  padding: 0;
  background: transparent;
  border: none;
  color: #1e293b;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
  font-size: 0;
  outline: none;
}

.industry-logo-btn:hover {
  transform: translateY(-4px) scale(1.06);
  color: #e60026;
}

.industry-logo-btn__inner {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-logo-btn:hover .industry-logo-btn__inner {
  background: #ffffff;
  border-color: rgba(230, 0, 38, 0.4);
  box-shadow: 0 16px 36px rgba(230, 0, 38, 0.22);
}

.industry-logo-btn svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  transition: transform 0.3s ease, stroke 0.25s ease;
}

.industry-logo-btn:hover svg {
  transform: scale(1.08);
}

.industry-logo-btn.is-active {
  color: #ffffff;
}

.industry-logo-btn.is-active .industry-logo-btn__inner {
  background: linear-gradient(135deg, #ff3355 0%, #e60026 50%, #9e0015 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 16px 40px rgba(230, 0, 38, 0.55), 0 0 20px rgba(255, 77, 109, 0.35);
}

.industry-logo-btn.is-active:hover {
  transform: translateY(-4px) scale(1.08);
}

.industry-logo-btn.is-active:hover .industry-logo-btn__inner {
  background: linear-gradient(135deg, #ff4d6d 0%, #e60026 50%, #8a0012 100%);
  box-shadow: 0 20px 48px rgba(230, 0, 38, 0.65), 0 0 25px rgba(255, 77, 109, 0.5);
}

.industry-logo-btn span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .industries-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .industries-logos {
    margin-top: 36px;
    gap: 12px;
    width: 100%;
    max-width: 560px;
    justify-content: space-around;
  }

  .industry-logo-btn {
    min-width: 0;
    width: auto;
    flex: 1;
    padding: 0;
  }
}

@media (max-width: 640px) {
  .industries-split__content h3 {
    font-size: 2.4rem;
  }
}

/* =========================================================
   TESTIMONIALS — Modern slider layout
   ========================================================= */
.testimonials-section {
  background: var(--gray-50);
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.testimonial-card__quote {
  position: relative;
  margin-bottom: 24px;
  padding: 0 16px;
}

.testimonial-card__quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.testimonial-card__quote-text {
  font-size: 1.0625rem;
  color: var(--gray-700);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gray-100);
}

.testimonial-card__info h5 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--gray-900);
}

.testimonial-card__info p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CLIENTS — Static Attractive Logo Grid (85%-90% Width)
   ========================================================= */
.clients-section {
  padding: 60px 0 65px;
  background: var(--white);
  position: relative;
  width: 100%;
}

.clients-section {
  padding: 60px 0 70px;
  background: #fafbfc;
}

.clients-section .container {
  width: 96%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 12px;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 10px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 calc((100% - (11 * 10px)) / 12);
  height: 68px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  position: relative;
  overflow: visible;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.client-logo-card:hover,
.client-logo-card:focus-visible,
.client-logo-card.is-active {
  transform: translateY(-4px);
  border-color: rgba(230, 0, 38, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08), 0 0 12px rgba(230, 0, 38, 0.1);
  z-index: 20;
}

.client-logo-card:focus-visible {
  outline: 2px solid #e60026;
  outline-offset: 2px;
}

.client-logo,
.client-strip img {
  display: block;
  max-height: 48px;
  max-width: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  filter: none;
  opacity: 1;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: transform 0.28s ease;
  pointer-events: none;
}

.client-logo-card:hover .client-logo,
.client-logo-card:focus-visible .client-logo,
.client-logo-card.is-active .client-logo,
.client-logo:hover,
.client-strip img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.06);
}

/* Floating Company Name Tooltip */
.client-logo-tooltip {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(5px) scale(0.95);
  background: #0f172a;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.015em;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.35), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  max-width: min(220px, 80vw);
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.client-logo-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px 5px 0 5px;
  border-style: solid;
  border-color: #0f172a transparent transparent transparent;
}

.client-logo-card:hover .client-logo-tooltip,
.client-logo-card:focus-visible .client-logo-tooltip,
.client-logo-card.is-active .client-logo-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

@media (max-width: 1279px) and (min-width: 992px) {
  .client-logo-card {
    flex: 0 0 calc((100% - (7 * 10px)) / 8);
    height: 62px;
  }
  .client-logo {
    max-height: 42px;
  }
  .client-logo-tooltip {
    font-size: 0.74rem;
    padding: 5px 10px;
    bottom: calc(100% + 8px);
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .clients-section {
    padding: 45px 0 55px;
  }

  .clients-grid {
    gap: 10px 8px;
  }

  .client-logo-card {
    flex: 0 0 calc((100% - (5 * 8px)) / 6);
    height: 58px;
    padding: 6px 8px;
    border-radius: 10px;
  }

  .client-logo {
    max-height: 38px;
  }

  .client-logo-tooltip {
    font-size: 0.72rem;
    padding: 5px 10px;
    bottom: calc(100% + 8px);
  }
}

@media (max-width: 767px) and (min-width: 480px) {
  .clients-section {
    padding: 40px 0 50px;
  }

  .clients-grid {
    gap: 10px 8px;
  }

  .client-logo-card {
    flex: 0 0 calc((100% - (3 * 8px)) / 4);
    height: 54px;
    padding: 6px 8px;
    border-radius: 10px;
  }

  .client-logo {
    max-height: 36px;
  }

  .client-logo-tooltip {
    font-size: 0.7rem;
    padding: 4px 9px;
    bottom: calc(100% + 7px);
  }
}

@media (max-width: 479px) {
  .clients-section {
    padding: 35px 0 45px;
  }

  .clients-grid {
    gap: 8px 6px;
  }

  .client-logo-card {
    flex: 0 0 calc((100% - (2 * 6px)) / 3);
    height: 50px;
    padding: 5px 6px;
    border-radius: 8px;
  }

  .client-logo {
    max-height: 32px;
  }

  .client-logo-tooltip {
    font-size: 0.68rem;
    padding: 4px 8px;
    border-radius: 6px;
    bottom: calc(100% + 6px);
    max-width: min(170px, 80vw);
  }
}

/* =========================================================
   CTA SECTION — Gradient banner
   ========================================================= */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #c41e3a 0%, #4a0d1a 60%, #000000 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1), transparent 50%);
}

.cta-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
  text-align: center;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cta-section .btn {
  background: var(--white);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(196, 30, 58, 0.2);
  transition: all var(--transition-base);
  margin: 0 auto;
  width: fit-content;
}

.cta-section .btn:hover {
  background: var(--gray-100);
}

/* =========================================================
   SOLUTIONS PAGE — Category Tabs & Product Cards
   ========================================================= */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.tabs button {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--transition-base);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.tabs button:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(196, 30, 58, 0.05);
  transform: translateY(-2px);
}

.tabs button.is-active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(196, 30, 58, 0.35);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.card-product {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--gray-800);
}

.card-product:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: rgba(196, 30, 58, 0.3);
}

.card-product__media {
  width: 100%;
  height: 220px;
  background: var(--gray-100);
  overflow: hidden;
  position: relative;
}

.card-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card-product:hover .card-product__media img {
  transform: scale(1.06);
}

.card-product__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-product__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background: rgba(196, 30, 58, 0.1);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.card-product__body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.card-product:hover .card-product__body h3 {
  color: var(--primary);
}

.card-product__body p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-product__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: all var(--transition-fast);
}

.card-product:hover .card-product__link span:last-child {
  transform: translateX(6px);
}

.card-product__link span:last-child {
  transition: transform var(--transition-fast);
}

/* Success Stories / Testimonials on Solutions Page */
.section--dim {
  background: var(--gray-100);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.testimonial-card__who {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.testimonial-card__who img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.testimonial-card__who h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.testimonial-card__who span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.testimonial-card blockquote {
  font-size: 1rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.testimonial-card__outcome {
  padding: 12px 16px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary);
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tabs {
    gap: 8px;
  }

  .tabs button {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
}

/* =========================================================
   PRODUCT DETAIL PAGE — Hero, Features Grid & Stats
   ========================================================= */
.product-hero {
  position: relative;
  min-height: 640px;
  padding: calc(var(--header-height) + 80px) 0 80px;
  background: var(--gradient-hero);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1), transparent 24%), radial-gradient(circle at 75% 15%, rgba(255, 255, 255, 0.06), transparent 16%);
  pointer-events: none;
  z-index: 1;
}

.product-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  filter: saturate(1.05) contrast(1.05) brightness(0.75);
  z-index: 0;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  to {
    transform: scale(1.08);
  }
}

.product-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(5, 5, 5, 0.95) 90%);
  z-index: 1;
}

.product-hero__overlay {
  position: relative;
  z-index: 2;
}

.product-hero__overlay .container {
  position: relative;
  z-index: 3;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  margin-bottom: 24px;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.product-hero__back:hover {
  transform: translateX(-4px);
  color: var(--white);
}

.product-hero__badge-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp 0.7s ease forwards;
}

.product-hero__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ff6b79 0%, #cc0c28 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 20px 40px rgba(196, 30, 58, 0.35);
}

.product-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: clamp(3rem, 5.2vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 900px;
}

.product-hero__subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 10px;
  margin-bottom: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--gray-900);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.pill--stat {
  background: linear-gradient(135deg, #ff6b79 0%, #cc0c28 100%);
  color: var(--white);
  border: none;
  font-size: 0.9rem;
  padding: 10px 22px;
  box-shadow: 0 12px 24px rgba(196, 30, 58, 0.35);
  margin-top: 16px;
}

.product-hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.product-overview-section {
  padding: 90px 0 120px;
  background: var(--white);
}

.product-overview-container {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 0.75s ease 0.2s forwards;
}

.product-hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.product-overview__description {
  font-size: 1.13rem;
  line-height: 1.95;
  color: var(--gray-700);
  margin-bottom: 42px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.product-overview__ctas {
  display: inline-flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.product-overview__ctas .btn {
  min-width: 170px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  margin-top: 40px;
}

.feature-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(196, 30, 58, 0.3);
}

.feature-item:hover::before {
  opacity: 1;
}

.feature-item h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 16px;
}

.feature-item__data {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background: var(--gray-100);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  margin-top: 36px;
  align-items: center;
}

.stat-strip__item {
  text-align: center;
  min-width: 160px;
  padding: 16px;
}

.stat-strip__value {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-strip__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.related-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  margin-top: 40px;
}

@media (max-width: 1024px) {

  .feature-list,
  .related-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {

  .feature-list,
  .related-strip {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-row {
    gap: 24px;
  }
}

/* =========================================================
   PRODUCT SHOWCASE VIDEO CARD
   ========================================================= */
.product-video-section {
  padding: 80px 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.product-video-showcase {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.product-video-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 40px rgba(196, 30, 58, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000000;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.product-video-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.7), 0 0 50px rgba(196, 30, 58, 0.4);
}

.product-video {
  width: 100%;
  height: auto;
  max-height: 580px;
  display: block;
  object-fit: contain !important;
  border-radius: var(--radius-xl);
  outline: none;
}

.product-video-img {
  width: 100%;
  height: auto;
  max-height: 580px;
  display: block;
  object-fit: contain !important;
  border-radius: var(--radius-xl);
}

/* =========================================================
   FOOTER — Professional multi-column layout
   ========================================================= */
.footer {
  background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
  color: #ffffff;
  padding: 80px 0 32px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand img {
  height: 40px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  color: #ffffff;
  opacity: 0.95;
  font-size: 0.9375rem;
  max-width: 300px;
  line-height: 1.6;
}

.footer h5 {
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  color: #ffffff;
  opacity: 0.88;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  padding-left: 16px;
  position: relative;
  text-decoration: none;
}

.footer__links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width var(--transition-base);
}

.footer__links:hover a::before {
  width: 8px;
}

.footer__links a:hover {
  color: #ffffff;
  opacity: 1;
  padding-left: 20px;
}

.footer__links a:hover::before {
  width: 16px;
}

/* Footer Offices Grid (Hubli HQ, Bengaluru, UAE Ajman, etc.) */
.footer__offices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 28px;
}

.footer__offices h6 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.footer__offices p {
  color: #ffffff;
  font-weight: 700;
  opacity: 1;
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}


.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.875rem;
}

.footer__bottom p {
  margin: 0;
  color: #ffffff;
  opacity: 0.9;
}

.footer__bottom a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.footer__bottom a:hover {
  color: var(--primary);
  opacity: 1;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__social a:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-4px);
  border-color: var(--primary);
}


@media (max-width: 1024px) {
  .footer__top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* =========================================================
   UTILITY CLASSES
   ========================================================= */
.text-center {
  text-align: center;
}

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

.bg-white {
  background: var(--white);
}

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

.bg-dark {
  background: #0a0a0a;
  color: var(--white);
}

/* was var(--gray-900) */

.py-sm {
  padding: 40px 0;
}

.py-md {
  padding: 80px 0;
}

.py-lg {
  padding: 120px 0;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  }
}

/* Reveal from different directions */
.reveal--from-left {
  transform: translateX(-60px);
}

.reveal--from-right {
  transform: translateX(60px);
}

.reveal--from-left.is-visible,
.reveal--from-right.is-visible {
  transform: translateX(0);
}

/* Staggered children reveal */
.reveal-group>* {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-group.is-visible>*:nth-child(1) {
  transition-delay: 0.1s;
}

.reveal-group.is-visible>*:nth-child(2) {
  transition-delay: 0.2s;
}

.reveal-group.is-visible>*:nth-child(3) {
  transition-delay: 0.3s;
}

.reveal-group.is-visible>*:nth-child(4) {
  transition-delay: 0.4s;
}

.reveal-group.is-visible>*:nth-child(5) {
  transition-delay: 0.5s;
}

.reveal-group.is-visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 0.8s linear infinite;
}

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

/* =========================================================
   INTRO ANIMATION — Cinematic video-style intro
   ========================================================= */
.intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--gradient-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.intro__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(196, 30, 58, 0.3), transparent 70%);
  animation: introPulse 3s ease-in-out infinite;
}

@keyframes introPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.6;
  }
}

.intro__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.intro__particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: introFloat 8s ease-in-out infinite;
}

.intro__particle:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
}

.intro__particle:nth-child(2) {
  left: 40%;
  animation-delay: 1s;
}

.intro__particle:nth-child(3) {
  left: 60%;
  animation-delay: 2s;
}

.intro__particle:nth-child(4) {
  left: 80%;
  animation-delay: 3s;
}

@keyframes introFloat {

  0%,
  100% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  50% {
    transform: translateY(-50vh) scale(1);
    opacity: 1;
  }
}

.intro__content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.intro__logo {
  width: 120px;
  height: 120px;
  opacity: 0;
  transform: scale(0.3);
  animation: introLogo 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.3s;
}

@keyframes introLogo {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-180deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.intro__logo-inner {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.intro__logo-inner::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, var(--primary), transparent);
  animation: introSpin 3s linear infinite;
}

@keyframes introSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.intro__logo-inner span {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  z-index: 2;
}

.intro__text {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  opacity: 0;
  transform: translateY(30px);
  animation: introText 0.8s ease forwards;
  animation-delay: 0.8s;
}

@keyframes introText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro__tagline {
  font-size: 1.125rem;
  color: var(--gray-300);
  opacity: 0;
  transform: translateY(20px);
  animation: introText 0.8s ease forwards;
  animation-delay: 1s;
}

.intro__progress {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: introText 0.8s ease forwards;
  animation-delay: 1.2s;
}

.intro__progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  width: 0;
  animation: introProgress 2.5s ease-in-out forwards;
  animation-delay: 1.5s;
}

@keyframes introProgress {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

.intro__skip {
  position: absolute;
  top: 30px;
  right: 30px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  cursor: pointer;
  pointer-events: all;
  opacity: 0;
  animation: introText 0.8s ease forwards;
  animation-delay: 2s;
  transition: all 0.3s ease;
}

.intro__skip:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
}

/* Intro exit animation */
.intro.is-exiting {
  animation: introExit 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes introExit {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

/* Main content reveal */
body.is-intro-loading main {
  opacity: 0;
  transform: scale(0.95);
}

body.is-intro-complete main {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   HERO MODERN — Solid red/maroon background hero section
   ========================================================= */



/* White floating video card — Quantiphi-style */

.hero-modern__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-modern__solid-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c41e3a 0%, #8b1a3a 100%);
  z-index: 2;
}



/* =========================================================
   HERO VIDEO SECTION — Middle video showcase
   ========================================================= */

/* =========================================================
   HERO MODERN — Solid red/maroon background hero section
   ========================================================= */
/* =========================================================
   HERO MODERN — Solid red/maroon gradient background hero
   ========================================================= */
.hero-modern {
  position: relative;
  overflow: visible;
  text-align: center;
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 175px;
  background: linear-gradient(135deg, #e60026 0%, #b8001d 30%, #52000c 65%, #0f0103 100%);
  z-index: 1;
}

.hero-modern__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-modern__solid-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 77, 77, 0.25) 0%, transparent 60%),
    linear-gradient(135deg, #e60026 0%, #b8001d 30%, #52000c 65%, #0f0103 100%);
  z-index: 1;
}

.hero-modern__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-modern__title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(1.4rem, 2.15vw, 2.3rem);
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 auto 10px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  opacity: 0;
  animation: revealUp 0.8s ease forwards;
  width: auto;
  max-width: 100%;
}

.hero-modern__title span {
  display: inline;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: inherit !important;
  background: none !important;
  filter: none !important;
}

.hero-modern__title-line2 {
  display: inline !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: inherit !important;
  margin-left: 4px;
}

.hero-modern__description {
  font-size: clamp(0.88rem, 1.08vw, 1.02rem);
  color: rgba(255, 255, 255, 0.92);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  line-height: 1.5;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  animation: revealUp 0.8s ease 0.15s forwards;
}

@media (max-width: 991px) {
  .hero-modern__title,
  .hero-modern__description {
    white-space: normal !important;
    text-wrap: balance !important;
  }
}

.hero-modern__subtitle {
  display: none !important;
}

/* Floating video card straddling red and white boundary 50-50% */
.hero-video-card {
  position: absolute;
  left: 50%;
  bottom: 0;
  top: auto;
  transform: translate(-50%, 50%);
  width: 900px;
  max-width: calc(100% - 40px);
  z-index: 100;
  background: #ffffff !important;
  border-radius: 18px !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22) !important;
  pointer-events: auto;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden !important;
  aspect-ratio: 26 / 9.5 !important;
}

.hero-video-card:hover {
  transform: translate(-50%, 48%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3) !important;
}

.hero-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 14px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Hero CTA Strip below video */
.hero-cta-strip {
  background: var(--white);
  padding: 180px 0 25px;
  text-align: center;
  position: relative;
  overflow: visible;
  z-index: 0;
}

.hero-cta-strip__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta-strip__inner .btn {
  padding: 12px 28px !important;
  font-size: 0.95rem !important;
}

/* =========================================================
   RESPONSIVE STYLES — Tablet & Mobile Hero
   ========================================================= */

/* Large Desktop View (min-width: 1401px) */
@media (min-width: 1401px) {
  .hero-video-card {
    width: 940px !important;
    aspect-ratio: 26 / 9.2 !important;
  }

  .hero-modern {
    padding-bottom: 188px !important;
  }

  .hero-cta-strip {
    padding-top: 192px !important;
    padding-bottom: 30px !important;
  }
}

/* Laptop View (1024px: max-width 1400px and min-width 769px) */
@media (max-width: 1400px) and (min-width: 769px) {
  .hero-modern {
    padding-top: calc(var(--header-height) + 36px) !important;
    padding-bottom: 170px !important;
    overflow: visible !important;
    text-align: center !important;
  }

  .hero-modern__content {
    max-width: 100% !important;
    padding: 0 20px !important;
    margin-bottom: 0 !important;
  }

  .hero-modern__title {
    font-size: clamp(1.65rem, 2.8vw, 2.2rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
    white-space: normal !important;
    text-wrap: balance !important;
  }

  .hero-modern__title span,
  .hero-modern__title-line2 {
    display: inline !important;
  }

  .hero-modern__title-line2 {
    font-weight: inherit !important;
  }

  .hero-modern__description {
    margin-top: 6px !important;
    margin-bottom: 0 !important;
    font-size: clamp(0.82rem, 1.05vw, 0.96rem) !important;
    white-space: normal !important;
    text-wrap: pretty !important;
  }

  .hero-video-card {
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    top: auto !important;
    transform: translate(-50%, 50%) !important;
    width: calc(100% - 40px) !important;
    max-width: 840px !important;
    border-radius: 16px !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: none !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28) !important;
    z-index: 100 !important;
    overflow: hidden !important;
    aspect-ratio: 26 / 9.2 !important;
  }

  .hero-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 13px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .hero-cta-strip {
    padding: 175px 16px 25px !important;
    background: var(--white) !important;
  }

  .hero-cta-strip__inner {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .hero-cta-strip__inner .btn {
    padding: 11px 24px !important;
    font-size: 0.9rem !important;
  }
}

/* Tablet View (max-width: 768px and min-width: 577px) */
@media (max-width: 768px) and (min-width: 577px) {
  .hero-modern {
    padding-top: calc(var(--header-height) + 32px) !important;
    padding-bottom: 125px !important;
    overflow: visible !important;
    text-align: center !important;
  }

  .hero-modern__content {
    max-width: 100% !important;
    padding: 0 16px !important;
    margin-bottom: 0 !important;
  }

  .hero-modern__title {
    font-size: clamp(1.45rem, 3.5vw, 1.85rem) !important;
    line-height: 1.18 !important;
    margin-bottom: 8px !important;
    white-space: normal !important;
  }

  .hero-modern__title span,
  .hero-modern__title-line2 {
    display: inline !important;
  }

  .hero-modern__title-line2 {
    font-weight: inherit !important;
  }

  .hero-modern__description {
    margin-top: 6px !important;
    margin-bottom: 0 !important;
    font-size: 0.88rem !important;
    white-space: normal !important;
  }

  .hero-video-card {
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    top: auto !important;
    transform: translate(-50%, 50%) !important;
    width: calc(100% - 32px) !important;
    max-width: 540px !important;
    max-height: none !important;
    border-radius: 14px !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: none !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
    z-index: 100 !important;
    overflow: hidden !important;
    aspect-ratio: 24 / 10.5 !important;
  }

  .hero-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 11px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .hero-cta-strip {
    padding: 130px 16px 25px !important;
    background: var(--white) !important;
  }

  .hero-cta-strip__inner {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .hero-cta-strip__inner .btn {
    padding: 11px 24px !important;
    font-size: 0.9rem !important;
  }
}

/* Mobile View (max-width: 576px) */
@media (max-width: 576px) {
  .hero-modern {
    padding-top: calc(var(--header-height) + 20px) !important;
    padding-bottom: 95px !important;
  }

  .hero-modern__title {
    font-size: clamp(1.25rem, 4.4vw, 1.55rem) !important;
    line-height: 1.18 !important;
    margin-bottom: 6px !important;
    white-space: normal !important;
  }

  .hero-modern__title-line2 {
    font-weight: inherit !important;
  }

  .hero-modern__description {
    font-size: 0.78rem !important;
    line-height: 1.38 !important;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    padding: 0 6px !important;
    white-space: normal !important;
  }

  .hero-video-card {
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    top: auto !important;
    transform: translate(-50%, 50%) !important;
    width: calc(100% - 24px) !important;
    max-width: 390px !important;
    max-height: none !important;
    padding: 0 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: none !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22) !important;
    overflow: hidden !important;
    aspect-ratio: 22 / 10 !important;
    z-index: 100 !important;
  }

  .hero-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 11px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .hero-cta-strip {
    padding: 100px 12px 25px !important;
  }

  .hero-cta-strip__inner {
    flex-direction: row !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    gap: 10px !important;
  }

  .hero-cta-strip__inner .btn {
    width: auto !important;
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
    border-radius: 50px !important;
    justify-content: center !important;
  }
}

/* Small Android Screens (max-width: 375px, e.g. 320px - 360px) */
@media (max-width: 375px) {
  .hero-modern {
    padding-top: calc(var(--header-height) + 16px) !important;
    padding-bottom: 85px !important;
  }

  .hero-modern__title {
    font-size: 1.18rem !important;
  }

  .hero-modern__description {
    font-size: 0.72rem !important;
  }

  .hero-video-card {
    width: calc(100% - 16px) !important;
    max-width: 330px !important;
    aspect-ratio: 21 / 10.5 !important;
  }

  .hero-cta-strip {
    padding: 90px 10px 20px !important;
  }

  .hero-cta-strip__inner .btn {
    padding: 8px 14px !important;
    font-size: 0.78rem !important;
  }
}

/* =========================================================
   HERO CTA STRIP — buttons on white, below the video
   ========================================================= */

.hero-cta-strip__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   HERO CTA STRIP — buttons on white, below the video
   ========================================================= */

.hero-cta-strip__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}



.hero-modern__description {
  font-size: 1.25rem;
  color: var(--gray-300);
  margin-bottom: 40px;
  line-height: 1.7;
  opacity: 0;
  animation: revealUp 0.8s ease 0.4s forwards;
}

.hero-modern__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: revealUp 0.8s ease 0.6s forwards;
}

/* =========================================================
   PILLARS SECTION — 5-card grid layout with white background
   ========================================================= */
.pillars-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.pillars-section .section-head .eyebrow {
  color: var(--primary);
}

.pillars-section .section-head h2 {
  color: var(--gray-900);
}

.pillars-section .section-head p {
  color: var(--gray-600);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

@media (max-width: 1400px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.pillar-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 30px 22px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.pillar-card:hover,
.pillar-card:active {
  box-shadow: 0 12px 32px rgba(230, 0, 38, 0.12);
  border-color: rgba(230, 0, 38, 0.4);
  transform: translateY(-5px);
}

.pillar-card:hover::before,
.pillar-card:active::before {
  transform: scaleX(1);
}

.pillar-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.pillar-card h3 {
  font-size: 1.125rem;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.6;
}

.pillar-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  transition: gap var(--transition-fast);
}

.pillar-card__link:hover {
  gap: 10px;
}

/* =========================================================
   AI PRODUCTS SECTION — Tabbed interface
   ========================================================= */
.ai-products-section {
  padding: 30px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.ai-products-section .section-head {
  margin: 0 auto 18px;
  max-width: 980px;
  padding: 0 12px;
  text-align: center;
}

.ai-products-section .section-head h2 {
  display: inline-block;
  margin-bottom: 10px;
  top: 0;
  color: #c41e3a;
  white-space: nowrap;
}

.ai-products-section .section-head p {
  color: var(--gray-700);
  margin: 0 auto;
  max-width: 720px;
}

.ai-products-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 48px;
  position: relative;
  z-index: 5;
}

.ai-products-tab {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border: 2px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto !important;
  user-select: none;
  -webkit-user-select: none;
  z-index: 1;
}

.ai-products-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
  pointer-events: none !important;
}

.ai-products-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.ai-products-tab.is-active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(196, 30, 58, 0.4);
}

.ai-products-tab.is-active::before {
  opacity: 1;
}

.ai-products-panels {
  position: relative;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-products-panel {
  display: none;
  animation: fadeInUp 0.5s ease;
}

.ai-products-panel.is-active {
  display: block;
}

.ai-products-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 1024px) {
  .ai-products-panel__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.ai-products-panel__image {
  display: flex;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  background: var(--gradient-secondary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.ai-products-panel__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ai-products-panel__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
}

.ai-products-panel__content h3 {
  font-size: 2.5rem;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.ai-products-panel__subtitle {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.ai-products-panel__content>p {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 28px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(230, 0, 38, 0.05);
  border: 1px solid rgba(230, 0, 38, 0.18);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-900);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.product-badge:hover {
  background: rgba(230, 0, 38, 0.12);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 0, 38, 0.15);
}

@media (max-width: 860px) {
  .ai-products-tabs {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 36px;
  }

  .ai-products-tab {
    padding: 12px 10px;
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .ai-products-panel__content h3 {
    font-size: 2rem;
  }

  .ai-products-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 28px;
  }

  .ai-products-tab {
    padding: 11px 12px;
    font-size: 0.9rem;
  }
}

/* =========================================================
   AI AGENTS SECTION — Split layout with video/visual
   ========================================================= */
.ai-agents-section {
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}

.ai-agents-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
}

.ai-agents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 1024px) {
  .ai-agents {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.ai-agents__content {
  max-width: 600px;
}

.ai-agents__content .eyebrow {
  color: var(--primary);
}

.ai-agents__content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
}

.ai-agents__content p {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.ai-agents__visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.ai-agents__video {
  width: 100%;
  height: 50%;
  object-fit: cover;
}

.ai-agents__placeholder {
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
}

.ai-agents__placeholder svg {
  animation: float 6s ease-in-out infinite;
}

/* =========================================================
   INDUSTRIES SHOWCASE — 4-card industry grid
   ========================================================= */
.industries-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

@media (max-width: 1200px) {
  .industries-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .industries-showcase {
    grid-template-columns: 1fr;
  }
}

.industry-showcase-card {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  text-decoration: none;
}

.industry-showcase-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(196, 30, 58, 0.4);
  transform: translateY(-8px);
}

.industry-showcase-card__image {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.industry-showcase-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-showcase-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
}

.industry-showcase-card__placeholder--health {
  background: linear-gradient(135deg, #4ea8e8, #357abd);
}

.industry-showcase-card__placeholder--agri {
  background: linear-gradient(135deg, #d69a4e, #b8823d);
}

.industry-showcase-card__placeholder--edu {
  background: linear-gradient(135deg, #a687f2, #8a6cd4);
}

.industry-showcase-card__placeholder--realty {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.industry-showcase-card__content {
  padding: 24px 20px;
}

.industry-showcase-card h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 12px;
}

.industry-showcase-card p {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 16px;
  line-height: 1.6;
}

.industry-showcase-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.8125rem;
  transition: gap var(--transition-fast);
}

.industry-showcase-card:hover .industry-showcase-card__cta {
  gap: 10px;
}

/* =========================================================
   INDUSTRIES SPLIT LAYOUT — Left text, right image, logos below
   ========================================================= */
.industries-panels {
  position: relative;
  min-height: 400px;
  margin-bottom: 48px;
}

.industries-panel {
  display: none;
  animation: fadeInUp 0.5s ease;
}

.industries-panel.is-active {
  display: block;
}

.industries-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 1024px) {
  .industries-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .industries-split__image,
  .industries-split__video {
    min-height: 220px;
  }
}

@media (max-width: 640px) {

  .industries-split__image,
  .industries-split__video {
    min-height: 200px;
  }

  .industries-split__content h3 {
    font-size: 2.2rem;
  }
}

.industries-split__content h3 {
  font-size: 2.5rem;
  color: var(--gray-900);
  font-weight: 800;
  margin-bottom: 24px;
}

.industries-split__visual {
  position: relative;
}

.industries-split__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border: none !important;
  background: transparent !important;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.industries-split__image img,
.industries-split__video {
  width: 100%;
  height: auto;
  max-height: 460px;
  display: block;
  object-fit: cover !important;
  border-radius: var(--radius-xl);
  border: none !important;
}

.industries-split__image:hover {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

.industries-split__image:hover img,
.industries-split__image:hover video {
  transform: scale(1.02);
}




/* =========================================================
   R&D SECTION — Research cards
   ========================================================= */
.rd-section {
  background: var(--white);
  position: relative;
}

.rd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.rd-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 32px;
  align-items: center;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.rd-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

@media (max-width: 640px) {
  .rd-card {
    grid-template-columns: 1fr;
  }
}

.rd-card__image {
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-secondary);
}

.rd-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rd-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
}

.rd-card__content {
  padding: 32px;
}

.rd-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.rd-card p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

/* =========================================================
   PEOPLE CARD + MODAL STYLES
   ========================================================= */

.people-grid,
.associate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 24px;
}

@media (max-width: 1100px) {

  .people-grid,
  .associate-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 720px) {

  .people-grid,
  .associate-grid {
    grid-template-columns: 1fr;
  }
}

.person-card,
.associate-card {
  perspective: 1200px;
}

.person-card__inner,
.associate-card__inner {
  position: relative;
  width: 100%;
  min-height: 580px;
  transition: transform 0.75s ease;
  transform-style: preserve-3d;
}

.person-card--flipped .person-card__inner,
.associate-card--flipped .associate-card__inner {
  transform: rotateY(180deg);
}

.person-card__face,
.associate-card__face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
}

.person-card__face--front,
.associate-card__face--front {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(250, 250, 250, 1) 100%);
}

.person-card__face--back,
.associate-card__face--back {
  transform: rotateY(180deg);
  background: linear-gradient(180deg, #f7f4fb 0%, #ffffff 100%);
  padding: 32px 24px;
}

.person-card__media,
.associate-card__media {
  width: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
}

.person-card__media img,
.associate-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-card__placeholder,
.associate-card__placeholder {
  width: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.person-card__info,
.associate-card__info {
  padding: 24px 24px 0;
}

.person-card__info h4,
.associate-card__info h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.person-card__role,
.associate-card__role {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0;
}

.person-card__hint,
.associate-card__hint {
  display: block;
  padding: 24px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.person-card__back-content,
.associate-card__back-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.person-card__bio,
.associate-card__description {
  color: var(--gray-700);
  line-height: 1.8;
  flex: 1;
}

.person-card__actions {
  display: flex;
  gap: 12px;
}

.person-card__view-profile {
  padding: 12px 18px;
}

.person-card__meta,
.associate-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.person-card__meta a,
.associate-card__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.9rem;
}

.person-card__meta a:hover,
.associate-card__links a:hover {
  background: var(--primary);
  color: var(--white);
}

.person-modal-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(10, 10, 10, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 2000;
}

.person-modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.person-modal {
  width: min(100%, 860px);
  max-width: 960px;
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  padding: 32px;
  position: relative;
}

.person-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: none;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  color: var(--gray-600);
  cursor: pointer;
}

.person-modal__media {
  min-height: 320px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.person-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-modal__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.person-modal__content h3 {
  margin: 0;
  font-size: 2rem;
}

.person-modal__role {
  font-size: 1rem;
  color: var(--gray-600);
}

.person-modal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.person-modal__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--gray-100);
  color: var(--gray-800);
}

.person-modal__links a:hover {
  background: var(--primary);
  color: var(--white);
}

@media (max-width: 900px) {
  .person-modal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {

  .person-card__face--back,
  .associate-card__face--back {
    padding: 24px;
  }
}


/* =========================================================
   INTERNATIONAL ASSOCIATION — horizontal row cards
   ========================================================= */
.assoc-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.assoc-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.assoc-row:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
  border-color: rgba(196, 30, 58, 0.25);
}

.assoc-row__media {
  width: 100%;
  min-height: 220px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.assoc-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Organization logos look better contained, not cropped */
.assoc-row__media--logo {
  padding: 24px;
  background: var(--white);
}

.assoc-row__media--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.assoc-row__placeholder {
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.assoc-row__content {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.assoc-row__content h4 {
  font-size: 1.35rem;
  color: var(--gray-900);
  margin: 0;
}

.assoc-row__role {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0;
}

.assoc-row__description {
  color: var(--gray-700);
  line-height: 1.7;
  margin: 8px 0 0;
}

.assoc-row__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.assoc-row__links a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.assoc-row__links a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Mobile: stack image on top, content below */
@media (max-width: 640px) {
  .assoc-row {
    grid-template-columns: 1fr;
  }

  .assoc-row__media {
    min-height: 200px;
  }

  .assoc-row__content {
    padding: 24px 20px;
  }
}

/* =========================================================
   ABOUT PAGE — anchor scroll offset (fixed navbar)
   ========================================================= */
#mission,
#achievements {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

/* =========================================================
   ABOUT — Overview / Mission & Vision split
   ========================================================= */
.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 1024px) {
  .why {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.why__media {
  position: relative;
}

.why__media img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  transition: transform var(--transition-slow);
}

.why__media:hover img {
  transform: scale(1.02);
}

.why__badge {
  position: absolute;
  left: 24px;
  bottom: -20px;
  background: var(--white);
  color: var(--gray-900);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--primary);
  max-width: calc(100% - 48px);
}

/* Accordion */
.about-accordion__item {
  border-bottom: 1px solid var(--gray-200);
}

.about-accordion__item:first-child {
  border-top: 1px solid var(--gray-200);
}

.about-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.about-accordion__trigger:hover {
  color: var(--primary);
}

.about-accordion__icon {
  flex-shrink: 0;
  color: var(--primary);
  transition: transform var(--transition-base);
}

.about-accordion__item.is-active .about-accordion__icon {
  transform: rotate(180deg);
}

.about-accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.about-accordion__panel-inner {
  padding: 0 4px 22px;
}

.about-accordion__panel-inner p {
  color: var(--gray-600);
  line-height: 1.75;
  margin: 0;
}

.about-accordion__item.is-active .about-accordion__trigger {
  color: var(--primary);
}

/* =========================================================
   ACHIEVEMENTS — Alternating vertical timeline
   ========================================================= */
.timeline-v2 {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-v2__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gray-300) 8%, var(--gray-300) 92%, transparent);
  transform: translateX(-50%);
}

.timeline-v2__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-bottom: 56px;
}

.timeline-v2__row:last-child {
  margin-bottom: 0;
}

.timeline-v2__row--left .timeline-v2__card {
  grid-column: 1;
  justify-self: end;
  margin-right: 48px;
}

.timeline-v2__row--right .timeline-v2__card {
  grid-column: 2;
  justify-self: start;
  margin-left: 48px;
}

.timeline-v2__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(196, 30, 58, 0.12);
  z-index: 2;
}

.timeline-v2__card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.timeline-v2__card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: rgba(196, 30, 58, 0.3);
}

.timeline-v2__media {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.timeline-v2__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-v2__body {
  padding: 24px;
}

.timeline-v2__year {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  background: var(--gradient-primary);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.timeline-v2__body h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.timeline-v2__body p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .timeline-v2__line {
    left: 20px;
  }

  .timeline-v2__row,
  .timeline-v2__row--left,
  .timeline-v2__row--right {
    grid-template-columns: 1fr;
  }

  .timeline-v2__row--left .timeline-v2__card,
  .timeline-v2__row--right .timeline-v2__card {
    grid-column: 1;
    justify-self: start;
    margin-left: 52px;
    margin-right: 0;
    max-width: 100%;
  }

  .timeline-v2__dot {
    left: 20px;
  }
}

/* Boxed stat strip variant (Achievements section) */
.stat-strip--boxed {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}

/* =========================================================
   IMPACT AT A GLANCE — numbered cards
   ========================================================= */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

@media (max-width: 1024px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }
}

.impact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(196, 30, 58, 0.25);
}

.impact-card:hover::before {
  transform: scaleX(1);
}

.impact-card__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}

.impact-card h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.impact-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}



/* =========================================================
   LEGAL PAGES — Terms of Service / Privacy Policy
   ========================================================= */
.legal-hero__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 30, 58, 0.12);
  border: 1px solid rgba(196, 30, 58, 0.3);
  border-radius: var(--radius-lg);
  color: var(--primary-light);
}

.legal-section {
  background: var(--white);
  padding: 70px 0 100px;
}

/* Narrower, document-style reading column instead of full-width .container */
.legal-doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-doc__updated {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--gray-200);
}

.legal-doc__content {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-700);
  counter-reset: legal-section;
}

.legal-doc__content h2 {
  font-size: 1.375rem;
  color: var(--gray-900);
  margin: 44px 0 14px;
  counter-increment: legal-section;
}

.legal-doc__content h2::before {
  content: counter(legal-section) ".";
  color: var(--primary);
  font-family: var(--font-mono);
  margin-right: 10px;
}

.legal-doc__content h2:first-of-type {
  margin-top: 0;
}

.legal-doc__content h3 {
  font-size: 1.1rem;
  color: var(--gray-800);
  margin: 24px 0 10px;
}

.legal-doc__content p {
  margin-bottom: 16px;
  color: var(--gray-700);
}

.legal-doc__content ul,
.legal-doc__content ol {
  margin: 0 0 20px;
  padding-left: 24px;
  color: var(--gray-700);
}

.legal-doc__content ul {
  list-style: disc;
}

.legal-doc__content ol {
  list-style: decimal;
}

.legal-doc__content li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.legal-doc__content li::marker {
  color: var(--primary);
}

.legal-doc__content strong {
  color: var(--gray-900);
  font-weight: 700;
}

.legal-doc__content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-doc__content a:hover {
  color: var(--primary-dark);
}

.legal-doc__content blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--gray-50);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  color: var(--gray-600);
  font-style: italic;
}

.legal-doc__footer {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.9rem;
  color: var(--gray-500);
}

.legal-doc__footer a {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 640px) {
  .legal-doc {
    padding: 0 20px;
  }

  .legal-doc__content h2 {
    font-size: 1.2rem;
    margin: 32px 0 12px;
  }
}


/* =========================================================
   PRODUCT DETAIL — Description + Image split
   ========================================================= */
.product-description {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.product-description__content .eyebrow {
  color: var(--primary);
}

.product-description__content h2 {
  margin-bottom: 20px;
  color: var(--gray-900);
}

.product-description__content p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 28px;
}

.product-description__image {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(230, 0, 38, 0.12);
  background: var(--white);
  padding: 8px;
  max-width: 580px;
  margin: 0 auto;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-description__image:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(230, 0, 38, 0.18);
}

.product-description__image img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  transition: transform var(--transition-slow);
}

.product-description__image:hover img {
  transform: scale(1.03);
}

.product-description__image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gradient-secondary);
}

@media (max-width: 900px) {
  .product-description {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-description__image {
    order: -1;
  }
}

/* =========================================================
   PRODUCT DETAIL — Advanced Features cards
   ========================================================= */
.product-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.product-feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.product-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.product-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.product-feature-card:hover::before {
  transform: scaleX(1);
}

.product-feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--transition-base);
}

.product-feature-card__icon svg {
  width: 26px;
  height: 26px;
}

.product-feature-card:hover .product-feature-card__icon {
  transform: scale(1.1) rotate(-6deg);
}

.product-feature-card h4 {
  font-size: 1.125rem;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.product-feature-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 0;
}

.product-feature-card .feature-item__data {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray-600);
}

@media (max-width: 1024px) {
  .product-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .product-features-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PRODUCT DETAIL — How It Works steps
   ========================================================= */
.product-steps {
  position: relative;
  max-width: 760px;
  margin: 48px auto 0;
}

.product-steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--gray-300));
}

.product-step {
  position: relative;
  display: flex;
  gap: 24px;
  padding: 20px 0;
}

.product-step__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(196, 30, 58, 0.35);
  position: relative;
  z-index: 2;
}

.product-step__body {
  padding-top: 6px;
}

.product-step__body h4 {
  font-size: 1.1875rem;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.product-step__body p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 640px) {
  .product-steps::before {
    left: 22px;
  }

  .product-step__number {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}

/* =========================================================
   PRODUCT DETAIL — Why Choose (highlights showcase)
   ========================================================= */
.product-highlights__showcase {
  max-width: 620px;
  margin: 40px auto 30px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(230, 0, 38, 0.15);
  text-align: center;
  background: var(--white);
  padding: 8px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-highlights__showcase:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(230, 0, 38, 0.2);
}

.product-highlights__showcase img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

.product-highlights__showcase figcaption {
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(230, 0, 38, 0.05);
  border-radius: 0 0 16px 16px;
  margin-top: 8px;
  letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
  .product-highlights__showcase {
    max-width: 560px !important;
  }

  .product-highlights__showcase img {
    max-height: 340px !important;
  }
}

@media (max-width: 768px) {
  .product-highlights__showcase {
    max-width: 480px !important;
    padding: 6px !important;
    border-radius: 20px !important;
  }

  .product-highlights__showcase img {
    max-height: 300px !important;
    border-radius: 14px !important;
  }
}

@media (max-width: 576px) {
  .product-highlights__showcase {
    max-width: 100% !important;
    margin: 28px auto 16px !important;
  }

  .product-highlights__showcase img {
    max-height: 250px !important;
  }
}

.product-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.product-highlight-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: all var(--transition-base);
}

.product-highlight-card:hover {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-highlight-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(196, 30, 58, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-highlight-card__icon svg {
  width: 20px;
  height: 20px;
}

.product-highlight-card h4 {
  font-size: 1.0625rem;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.product-highlight-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .product-highlights-grid {
    grid-template-columns: 1fr;
  }
}




/* =========================================================
   CONTACT PAGE STYLES
   ========================================================= */

.associate-card__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.associate-card__links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.associate-card__links a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.associate-card__links svg {
  width: 20px;
  height: 20px;
}

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

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.contact-card.contact-info,
.contact-card.contact-info * {
  text-align: left;
}

.contact-info h2 {
  font-size: 1.75rem;
  margin-bottom: 24px;
  color: var(--gray-900);
}

.contact-info__row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info__row:last-child {
  margin-bottom: 0;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 22px;
  height: 22px;
}

.contact-info__row h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--gray-900);
}

.contact-info__row p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Contact Form Section */
.contact-form-plain h2 {
  font-size: 1.75rem;
  margin-bottom: 24px;
  color: var(--gray-900);
}

.contact-form-plain form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Form Row - for side-by-side fields */
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Form Field */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-700);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="tel"]:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

/* Form Button */
.contact-form-plain .btn {
  margin-top: 8px;
}

/* =========================================================
   PRINT STYLES
   ========================================================= */
@media print {

  .navbar,
  .footer,
  .btn {
    display: none;
  }

  body {
    background: var(--white);
  }

  .section {
    page-break-inside: avoid;
  }
}

/* =========================================================
   LOCATIONS — static map image + address details
   ========================================================= */
.locations-section {
  background: var(--white);
}

.location-block {
  max-width: 900px;
  margin: 0 auto;
}

.location-block__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  margin-bottom: 24px;
}

.location-block__map img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.location-block__map:hover img {
  transform: scale(1.03);
}

.location-block__details h3 {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.location-block__details p {
  font-size: 0.95rem;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 6px;
}

.location-block__details {
  text-align: center;
}

.location-block__details .btn {
  display: inline-flex;
  margin-top: 12px;
}

.location-block__map iframe {
  width: 100%;
  height: 400px;
  display: block;
  border: 0;
}

.pillar-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   COMPREHENSIVE RESPONSIVE STYLES — Stats Strip
   ========================================================= */

/* Tablet View (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .stats-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 50px 40px;
    margin: -50px 20px 50px;
  }

  .stat-item__value {
    font-size: 2.5rem;
  }

  .stat-item__label {
    font-size: 0.875rem;
  }
}

/* Small Tablet / Large Mobile (600px - 768px) */
@media (max-width: 768px) and (min-width: 600px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: absolute;
    padding: 40px 30px;
    margin: -40px 16px 40px;
    border-radius: var(--radius-lg);
  }

  .stat-item {
    padding: 20px;
  }

  .stat-item__value {
    font-size: 2.2rem;
  }

  .stat-item__label {
    font-size: 0.85rem;
  }
}

/* Mobile (max 599px) */
@media (max-width: 599px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 35px 24px;
    margin: -35px 12px 35px;
    border-radius: var(--radius-md);
  }

  .stat-item {
    padding: 16px 12px;
  }

  .stat-item__value {
    font-size: 1.8rem;
    margin-bottom: 6px;
  }

  .stat-item__label {
    font-size: 0.8rem;
  }
}

/* Extra Small Mobile (max 374px) */
@media (max-width: 374px) {
  .stats-strip {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 30px 20px;
    margin: -30px 10px 30px;
  }

  .stat-item {
    padding: 14px;
  }

  .stat-item__value {
    font-size: 1.6rem;
  }

  .stat-item__label {
    font-size: 0.75rem;
  }
}

/* =========================================================
   COMPREHENSIVE RESPONSIVE STYLES — Service Cards
   ========================================================= */

/* Tablet View (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
  }

  .service-card {
    padding: 36px 28px;
  }

  .service-card h3 {
    font-size: 1.25rem;
  }

  .service-card p {
    font-size: 0.95rem;
  }

  .service-card__icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
}

/* Small Tablet / Large Mobile (600px - 768px) */
@media (max-width: 768px) and (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .service-card h3 {
    font-size: 1.125rem;
  }

  .service-card p {
    font-size: 0.875rem;
  }

  .service-card__icon {
    width: 52px;
    height: 52px;
    font-size: 22px;
    margin-bottom: 20px;
  }
}

/* Mobile (max 599px) */
@media (max-width: 599px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 35px;
  }

  .service-card {
    padding: 28px 20px;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }

  .service-card__icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
    margin-bottom: 16px;
  }

  .service-card__link {
    font-size: 0.85rem;
  }
}

/* =========================================================
   COMPREHENSIVE RESPONSIVE STYLES — Industries Section
   ========================================================= */

/* Tablet View (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .industries-section {
    padding: 80px 0 100px;
  }

  .industries-logos {
    max-width: 600px;
    width: 100%;
    padding: 12px 18px;
    gap: 12px;
    overflow: hidden;
    justify-content: space-around;
  }

  .industry-logo-btn {
    width: auto;
    height: auto;
    flex: 1;
    min-width: 0;
  }

  .industry-logo-btn__inner {
    width: 62px;
    height: 62px;
  }

  .industry-logo-btn svg {
    width: 26px;
    height: 26px;
  }

  .industries-split {
    gap: 48px;
  }

  .industries-split__content h3 {
    font-size: 2.4rem;
  }

  .industries-split__content p {
    font-size: 1rem;
  }
}

/* Small Tablet / Large Mobile (600px - 768px) */
@media (max-width: 768px) and (min-width: 600px) {
  .industries-section {
    padding: 60px 0 80px;
  }

  .industries-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .industries-logos {
    max-width: 500px;
    width: 100%;
    padding: 10px 14px;
    gap: 8px;
    margin: 32px auto 0;
    overflow: hidden;
    justify-content: space-around;
    flex-wrap: nowrap;
  }

  .industry-logo-btn {
    width: auto;
    height: auto;
    flex: 1;
    min-width: 0;
  }

  .industry-logo-btn__inner {
    width: 54px;
    height: 54px;
  }

  .industry-logo-btn svg {
    width: 22px;
    height: 22px;
  }

  .industries-split__content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .industries-split__content p {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  .industries-split__image,
  .industries-split__video {
    min-height: 240px;
  }
}

/* Mobile (max 599px) */
@media (max-width: 599px) {
  .industries-section {
    padding: 50px 0 70px;
  }

  .industries-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .industries-logos {
    width: 100%;
    max-width: 420px;
    padding: 8px 12px;
    gap: 6px;
    margin: 28px auto 0;
    border-radius: 999px;
    overflow: hidden;
    justify-content: space-around;
    flex-wrap: nowrap;
  }

  .industry-logo-btn {
    width: auto;
    height: auto;
    flex: 1;
    min-width: 0;
  }

  .industry-logo-btn__inner {
    width: 48px;
    height: 48px;
  }

  .industry-logo-btn svg {
    width: 20px;
    height: 20px;
  }

  .industries-split__content h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }

  .industries-split__content p {
    font-size: 0.9rem;
    margin-bottom: 14px;
    line-height: 1.7;
  }

  .industries-split__image,
  .industries-split__video {
    min-height: 200px;
  }

  .industries-split__image {
    border-width: 4px;
  }
}

/* Extra Small Mobile (max 374px) */
@media (max-width: 374px) {
  .industries-logos {
    max-width: 100%;
    padding: 6px 8px;
    gap: 4px;
    overflow: hidden;
    justify-content: space-around;
    flex-wrap: nowrap;
  }

  .industry-logo-btn {
    width: auto;
    height: auto;
    flex: 1;
    min-width: 0;
  }

  .industry-logo-btn__inner {
    width: 40px;
    height: 40px;
  }

  .industry-logo-btn svg {
    width: 17px;
    height: 17px;
  }
}

  .industries-split__content h3 {
    font-size: 1.6rem;
  }
}

/* =========================================================
   COMPREHENSIVE RESPONSIVE STYLES — Navbar
   ========================================================= */

/* Tablet View (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .navbar__nav {
    padding: 0 20px;
  }

  .navbar__link {
    padding: 10px 12px;
    font-size: 0.875rem;
  }

  .navbar__dropdown--wide {
    min-width: 520px;
    max-width: 580px;
  }

  .navbar__dropdown--industries {
    min-width: 450px;
    max-width: 520px;
  }

  .navbar__dropdown--company {
    min-width: 400px;
    max-width: 480px;
  }

  .navbar__brand img {
    height: 36px;
  }
}

/* Small Tablet / Large Mobile (600px - 768px) */
@media (max-width: 768px) and (min-width: 600px) {
  .navbar__nav {
    padding: 0 16px;
  }

  .navbar__link {
    padding: 8px 10px;
    font-size: 0.85rem;
  }

  .navbar__dropdown--wide {
    min-width: 480px;
    max-width: 540px;
  }

  .navbar__dropdown--industries {
    min-width: 420px;
    max-width: 480px;
  }

  .navbar__dropdown--company {
    min-width: 380px;
    max-width: 440px;
  }

  .navbar__dropdown-inner {
    padding: 20px;
  }

  .navbar__dropdown-group {
    padding: 0;
  }

  .navbar__brand img {
    height: 34px;
  }
}

/* Mobile (max 599px) — Navbar already handled by existing mobile styles */
@media (max-width: 599px) {
  .navbar__mobile-inner {
    padding: 20px 16px;
  }

  .navbar__mobile-links {
    margin-bottom: 24px;
    gap: 2px;

    .navbar__mobile-links a,
    .navbar__mobile-btn {
      padding: 12px 16px;
      font-size: 0.95rem;
    }

    .navbar__mobile-cta {
      flex-direction: column;
      gap: 10px;
    }

    .navbar__mobile-cta .btn {
      width: 100%;
    }
  }

  /* =========================================================
   COMPREHENSIVE RESPONSIVE STYLES — Section Headings
   ========================================================= */

  /* Tablet View (768px - 1024px) */
  @media (max-width: 1024px) and (min-width: 769px) {
    .section {
      padding: 60px 0;
    }

    .section--tight {
      padding: 50px 0;
    }

    .section-head {
      max-width: 600px;
      margin-bottom: 50px;
    }

    .section-head .eyebrow {
      font-size: 0.65rem;
      margin-bottom: 14px;
    }

    .section-head h2 {
      margin-bottom: 16px;
    }

    .section-head p {
      font-size: 1.05rem;
    }
  }

  /* Small Tablet / Large Mobile (600px - 768px) */
  @media (max-width: 768px) and (min-width: 600px) {
    .section {
      padding: 50px 0;
    }

    .section--tight {
      padding: 40px 0;
    }

    .section-head {
      max-width: 500px;
      margin-bottom: 40px;
      padding: 0 16px;
    }

    .section-head .eyebrow {
      font-size: 0.6rem;
      margin-bottom: 12px;
    }

    .section-head h2 {
      margin-bottom: 14px;
    }

    .section-head p {
      font-size: 1rem;
    }
  }

  /* Mobile (max 599px) */
  @media (max-width: 599px) {
    .section {
      padding: 40px 0;
    }

    .section--tight {
      padding: 32px 0;
    }

    .section-head {
      max-width: 100%;
      margin-bottom: 35px;
      padding: 0 12px;
    }

    .section-head .eyebrow {
      font-size: 0.55rem;
      margin-bottom: 10px;
    }

    .section-head h2 {
      margin-bottom: 12px;
    }

    .section-head p {
      font-size: 0.95rem;
    }
  }

  /* Extra Small Mobile (max 374px) */
  @media (max-width: 374px) {
    .section {
      padding: 35px 0;
    }

    .section--tight {
      padding: 28px 0;
    }

    .section-head {
      margin-bottom: 30px;
    }
  }

  /* =========================================================
   COMPREHENSIVE RESPONSIVE STYLES — Testimonials
   ========================================================= */

  /* Tablet View (768px - 1024px) */
  @media (max-width: 1024px) and (min-width: 769px) {
    .testimonials-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      margin-top: 40px;
    }

    .testimonial-card {
      padding: 28px 24px;
    }

    .testimonial-card__quote-text {
      font-size: 1rem;
    }

    .testimonial-card__avatar {
      width: 50px;
      height: 50px;
    }
  }

  /* Small Tablet / Large Mobile (600px - 768px) */
  @media (max-width: 768px) and (min-width: 600px) {
    .testimonials-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
      margin-top: 35px;
    }

    .testimonial-card {
      padding: 24px 20px;
    }

    .testimonial-card__quote {
      margin-bottom: 20px;
      padding: 0 12px;
    }

    .testimonial-card__quote-text {
      font-size: 0.95rem;
    }

    .testimonial-card__avatar {
      width: 48px;
      height: 48px;
    }
  }

  /* Mobile (max 599px) */
  @media (max-width: 599px) {
    .testimonials-grid {
      grid-template-columns: 1fr;
      gap: 20px;
      margin-top: 30px;
    }

    .testimonial-card {
      padding: 20px 18px;
    }

    .testimonial-card__quote {
      margin-bottom: 16px;
      padding: 0 10px;
    }

    .testimonial-card__quote-text {
      font-size: 0.9rem;
    }

    .testimonial-card__avatar {
      width: 44px;
      height: 44px;
    }

    .testimonial-card__info h5 {
      font-size: 0.9rem;
    }

    .testimonial-card__info p {
      font-size: 0.8rem;
    }
  }

  /* =========================================================
   COMPREHENSIVE RESPONSIVE STYLES — Footer
   ========================================================= */

  /* Tablet View (768px - 1024px) */
  @media (max-width: 1024px) and (min-width: 769px) {
    .footer {
      padding: 70px 0 28px;
    }

    .footer__top {
      grid-template-columns: 2fr repeat(3, 1fr);
      gap: 40px;
      margin-bottom: 50px;
    }

    .footer__brand p {
      font-size: 0.9rem;
    }

    .footer h5 {
      font-size: 0.75rem;
    }

    .footer__links a {
      font-size: 0.875rem;
    }
  }

  /* Small Tablet / Large Mobile (600px - 768px) */
  @media (max-width: 768px) and (min-width: 600px) {
    .footer {
      padding: 60px 0 24px;
    }

    .footer__top {
      grid-template-columns: repeat(2, 1fr);
      gap: 32px;
      margin-bottom: 40px;
    }

    .footer__brand {
      grid-column: 1 / -1;
    }

    .footer__brand p {
      font-size: 0.875rem;
      max-width: 250px;
    }

    .footer h5 {
      font-size: 0.7rem;
      margin-bottom: 16px;
    }

    .footer__links a {
      font-size: 0.85rem;
      padding-left: 14px;
    }
  }

  /* Mobile (max 599px) */
  @media (max-width: 599px) {
    .footer {
      padding: 50px 0 20px;
    }

    .footer__top {
      grid-template-columns: 1fr;
      gap: 28px;
      margin-bottom: 32px;
      padding: 0 12px;
    }

    .footer__brand {
      grid-column: 1;
    }

    .footer__brand img {
      height: 36px;
      margin-bottom: 16px;
    }

    .footer__brand p {
      font-size: 0.85rem;
      max-width: 100%;
    }

    .footer h5 {
      font-size: 0.7rem;
      margin-bottom: 14px;
    }

    .footer__links {
      gap: 10px;
    }

    .footer__links a {
      font-size: 0.85rem;
      padding-left: 12px;
    }

    .footer__bottom {
      flex-direction: column;
      gap: 16px;
      padding-top: 24px;
      font-size: 0.8rem;
    }

    .footer__social {
      gap: 10px;
    }

    .footer__social a {
      width: 36px;
      height: 36px;
    }
  }

  /* =========================================================
   COMPREHENSIVE RESPONSIVE STYLES — Buttons
   ========================================================= */

  /* Tablet View (768px - 1024px) */
  @media (max-width: 1024px) and (min-width: 769px) {
    .btn {
      padding: 13px 26px;
      font-size: 0.85rem;
    }

    .btn--sm {
      padding: 9px 18px;
      font-size: 0.78rem;
    }

    .btn--lg {
      padding: 17px 32px;
      font-size: 0.95rem;
    }
  }

  /* Small Tablet / Large Mobile (600px - 768px) */
  @media (max-width: 768px) and (min-width: 600px) {
    .btn {
      padding: 12px 24px;
      font-size: 0.85rem;
    }

    .btn--sm {
      padding: 8px 16px;
      font-size: 0.75rem;
    }

    .btn--lg {
      padding: 16px 28px;
      font-size: 0.9rem;
    }
  }

  /* Mobile (max 599px) */
  @media (max-width: 599px) {
    .btn {
      padding: 11px 20px;
      font-size: 0.8rem;
    }

    .btn--sm {
      padding: 8px 14px;
      font-size: 0.72rem;
    }

    .btn--lg {
      padding: 14px 24px;
      font-size: 0.85rem;
    }
  }

  /* Extra Small Mobile (max 374px) */
  @media (max-width: 374px) {
    .btn {
      padding: 10px 18px;
      font-size: 0.78rem;
    }

    .btn--lg {
      padding: 13px 22px;
      font-size: 0.8rem;
    }
  }

  /* =========================================================
   RESOURCES & DEEP SOLUTIONS PAGE STYLES
   ========================================================= */

  /* Global Anchor Scroll Margin */
  html {
    scroll-behavior: smooth;
  }

  .section[id],
  .hero[id] {
    scroll-margin-top: 90px;
  }

  /* Resource Section & Quick Jump Bar */
  .resource-jump-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
  }

  .resource-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .resource-pill:hover {
    color: var(--primary);
    background: #ffffff;
    border-color: rgba(230, 0, 38, 0.3);
    box-shadow: 0 6px 18px rgba(230, 0, 38, 0.12);
    transform: translateY(-2px);
  }

  /* Blog Cards */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 32px;
  }

  .blog-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
  }

  .blog-card:hover {
    border-color: rgba(230, 0, 38, 0.3);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
  }

  .blog-card__image {
    position: relative;
    height: 180px;
    background: var(--gradient-hero);
    overflow: hidden;
  }

  .blog-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(230, 0, 38, 0.9);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
  }

  .blog-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0.85;
    background: radial-gradient(circle at center, rgba(230, 0, 38, 0.08) 0%, transparent 70%);
  }

  .blog-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .blog-card__meta {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 10px;
    font-weight: 500;
  }

  .blog-card__content h3 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--gray-900);
  }

  .blog-card__content p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.5;
    flex: 1;
  }

  .blog-card__link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease;
  }

  .blog-card__link:hover {
    transform: translateX(4px);
  }

  /* Case Study Cards */
  .case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    margin-top: 32px;
  }

  .case-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
  }

  .case-card:hover {
    border-color: rgba(230, 0, 38, 0.3);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
  }

  .case-card__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary);
    margin-bottom: 6px;
  }

  .case-card h3 {
    font-size: 1.2rem;
    line-height: 1.35;
    color: var(--gray-900);
    margin: 0;
  }

  .case-card__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(230, 0, 38, 0.04);
    border: 1px solid rgba(230, 0, 38, 0.1);
    text-align: center;
  }

  .metric-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
  }

  .metric-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gray-600);
    line-height: 1.2;
    margin-top: 2px;
  }

  .case-card__desc {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
  }

  /* Whitepaper Cards */
  .whitepaper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 32px;
  }

  .whitepaper-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
  }

  .whitepaper-card:hover {
    border-color: rgba(230, 0, 38, 0.3);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
  }

  .whitepaper-card__cover {
    padding: 30px 24px;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: relative;
  }

  .whitepaper-card__cover--alt {
    background: linear-gradient(135deg, #e60026 0%, #99001a 100%);
  }

  .whitepaper-card__badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
  }

  .whitepaper-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
  }

  .whitepaper-card__body h4 {
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--gray-900);
    margin: 0;
  }

  .whitepaper-card__body p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
    flex: 1;
  }

  .whitepaper-card__meta {
    font-size: 0.78rem;
    color: var(--gray-500);
    font-weight: 500;
  }

  /* Documentation Section */
  .doc-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    margin-top: 32px;
  }

  @media (max-width: 860px) {
    .doc-layout {
      grid-template-columns: 1fr;
    }
  }

  .doc-sidebar {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    padding: 20px;
    height: fit-content;
  }

  .doc-nav-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: 12px;
    padding-left: 8px;
  }

  .doc-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .doc-nav-list a {
    display: block;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
  }

  .doc-nav-list a:hover,
  .doc-nav-list .is-active a {
    color: var(--primary);
    background: rgba(230, 0, 38, 0.06);
    font-weight: 600;
  }

  .doc-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .doc-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    padding: 28px;
    box-shadow: var(--shadow-sm);
  }

  .doc-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }

  .doc-card p {
    font-size: 0.92rem;
    color: var(--gray-600);
    margin-bottom: 20px;
  }

  .code-preview {
    background: #0f172a;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #1e293b;
  }

  .code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #1e293b;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: monospace;
  }

  .code-copy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #f8fafc;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.2s ease;
  }

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

  .code-preview pre {
    margin: 0;
    padding: 18px 20px;
    overflow-x: auto;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #f8fafc;
  }

  .code-kw {
    color: #f43f5e;
    font-weight: bold;
  }

  .code-str {
    color: #38bdf8;
  }

  .code-cm {
    color: #64748b;
    font-style: italic;
  }

  .doc-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
  }

  .doc-table th,
  .doc-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.88rem;
  }

  .doc-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-800);
  }

  .doc-table code {
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: var(--primary);
  }

  /* Deep Solution Detail Sections (solutions.html) */
  .solution-detail-section {
    padding: 80px 0;
  }

  .solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .solution-grid--reverse {
    direction: rtl;
  }

  .solution-grid--reverse>* {
    direction: ltr;
  }

  @media (max-width: 900px) {

    .solution-grid,
    .solution-grid--reverse {
      grid-template-columns: 1fr;
      gap: 32px;
      direction: ltr;
    }
  }

  .solution-lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: 24px;
    font-weight: 500;
  }

  .solution-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .solution-feature-list li {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.5;
    position: relative;
    padding-left: 28px;
  }

  .solution-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(230, 0, 38, 0.1);
    color: var(--primary);
    font-weight: bold;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .solution-card-box {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid var(--gray-200);
    padding: 36px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
  }

  .solution-icon-lg {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(230, 0, 38, 0.1) 0%, rgba(255, 77, 109, 0.18) 100%);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(230, 0, 38, 0.12);
  }

  .solution-card-box h4 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--gray-900);
  }

  .solution-pipeline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
  }

  .pipeline-step {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-800);
  }

  .pipeline-arrow {
    color: var(--primary);
    font-weight: bold;
  }

  .solution-badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .sol-badge {
    background: rgba(230, 0, 38, 0.06);
    color: var(--primary);
    border: 1px solid rgba(230, 0, 38, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
  }

  .stat-highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    margin-top: 10px;
  }

  .stat-h-box {
    background: rgba(230, 0, 38, 0.04);
    border: 1px solid rgba(230, 0, 38, 0.12);
    padding: 16px;
    border-radius: 14px;
    text-align: center;
  }

  .stat-h-box span {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
  }

  .stat-h-box small,
  .stat-h-box .small {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
  }

  /* =========================================================
   UNIVERSAL MOBILE RESPONSIVENESS & OVERFLOW PREVENTATIVE STYLES
   ========================================================= */

  /* Prevent horizontal page scrollbar */
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Fluid Media Elements */
  img,
  video,
  iframe,
  embed,
  object {
    max-width: 100%;
    height: auto;
  }

  /* Text word-break safety */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  span,
  a,
  li {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* Mobile Layout Tweaks (< 768px) */
  @media (max-width: 768px) {

    /* Fluid Headings */
    h1,
    .h1 {
      font-size: clamp(1.65rem, 5.5vw, 2.2rem) !important;
      line-height: 1.25 !important;
    }

    h2,
    .h2 {
      font-size: clamp(1.35rem, 4.5vw, 1.8rem) !important;
      line-height: 1.3 !important;
    }

    h3,
    .h3 {
      font-size: clamp(1.1rem, 3.8vw, 1.35rem) !important;
    }

    /* Compact Section Paddings */
    .section {
      padding: 45px 0 !important;
    }

    .section-head {
      margin-bottom: 24px !important;
    }

    /* Responsive Cards & Grids */
    .pillars-grid,
    .product-grid,
    .feature-grid,
    .team-grid,
    .testimonial-grid,
    .showcase-grid,
    .blog-grid,
    .case-study-grid,
    .whitepaper-grid,
    .solution-grid,
    .about-grid,
    .contact-grid {
      grid-template-columns: 1fr !important;
      gap: 18px !important;
    }

    .solution-grid--reverse {
      direction: ltr !important;
    }

    .doc-layout {
      grid-template-columns: 1fr !important;
      gap: 20px !important;
    }

    .doc-table {
      display: block;
      overflow-x: auto;
      white-space: nowrap;
      -webkit-overflow-scrolling: touch;
    }

    /* Responsive Hero CTA buttons */
    .hero-cta-strip__inner {
      flex-direction: column !important;
      width: 100% !important;
      max-width: 100% !important;
      gap: 12px !important;
    }

    .hero-cta-strip__inner .btn {
      width: 100% !important;
      text-align: center !important;
      justify-content: center !important;
    }

    /* Mobile Navbar Panel Height & Padding */
    .navbar__mobile-inner {
      padding: 16px 16px 120px !important;
    }
  }

  /* Extra Small Mobile Screens (< 480px) */
  @media (max-width: 480px) {
    .container {
      padding-left: 14px !important;
      padding-right: 14px !important;
    }

    .solution-card-box {
      padding: 24px 16px !important;
    }

    .case-card {
      padding: 20px 16px !important;
    }

    .case-card__metrics {
      grid-template-columns: 1fr !important;
      gap: 10px !important;
    }

    .stat-highlight-grid {
      grid-template-columns: 1fr !important;
    }
  }

  /* =========================================================
   DEDICATED SOLUTION DETAIL PAGES (Hero, Pipelines, Widgets, Features)
   ========================================================= */

  .solution-detail-hero {
    background: linear-gradient(135deg, #0c0708 0%, #1a080c 50%, #240a10 100%) !important;
    color: #ffffff !important;
    margin-top: 90px !important;
    /* Pushes hero block below 90px fixed navbar */
    padding-top: 60px !important;
    /* Generous 60px breathing room inside section */
    padding-bottom: 90px !important;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(230, 0, 38, 0.2);
  }

  .solution-detail-hero::before {
    content: "";
    position: absolute;
    top: -25%;
    right: -10%;
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, rgba(230, 0, 38, 0.22) 0%, rgba(230, 0, 38, 0) 70%);
    pointer-events: none;
    z-index: 1;
  }

  .solution-detail-hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
  }

  .solution-detail-hero__inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
  }

  .solution-detail-hero__content h1 {
    font-size: clamp(2.4rem, 4.8vw, 3.8rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 18px 0 22px;
    color: #ffffff !important;
  }

  .solution-detail-hero__content h1 span {
    background: linear-gradient(135deg, #e60026 0%, #ff4d6d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .solution-detail-hero__content .lead {
    font-size: 1.18rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 34px;
    max-width: 640px;
  }

  .solution-hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
  }

  .solution-hero-actions .btn--solid {
    background: linear-gradient(135deg, #e60026 0%, #b8001e 100%);
    color: #ffffff;
    padding: 16px 36px;
    font-size: 1.02rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(230, 0, 38, 0.4);
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .solution-hero-actions .btn--solid:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 40px rgba(230, 0, 38, 0.55);
  }

  .solution-hero-actions .btn--outline {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px 36px;
    font-size: 1.02rem;
    font-weight: 600;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .solution-hero-actions .btn--outline:hover {
    border-color: var(--primary);
    background: rgba(230, 0, 38, 0.18);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 0, 38, 0.2);
  }

  /* Hero Visual Cards for Laptop/Desktop */
  .agent-visual-card,
  .analytics-card,
  .dpa-card,
  .genai-card,
  .iot-card,
  .cv-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(230, 0, 38, 0.12);
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
  }

  .agent-card-header,
  .analytics-header,
  .dpa-header,
  .genai-header,
  .iot-header,
  .cv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75) !important;
  }

  .live-tag {
    color: #10b981;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
  }

  .agent-task-step,
  .dpa-flow-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 10px;
    border: 1px solid transparent;
  }

  .agent-task-step.is-active,
  .dpa-flow-step .dpa-dot.active {
    border-color: rgba(230, 0, 38, 0.4);
    background: rgba(230, 0, 38, 0.08);
  }

  .agent-task-step.is-complete,
  .dpa-flow-step .dpa-dot.complete {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
  }

  .agent-task-step strong,
  .dpa-flow-step strong {
    display: block;
    font-size: 0.92rem;
    color: #ffffff;
  }

  .agent-task-step p,
  .dpa-flow-step p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 2px 0 0;
  }

  .step-icon,
  .dpa-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
  }

  .dpa-dot.complete {
    background: #10b981;
    color: #ffffff;
  }

  .dpa-dot.active {
    background: var(--primary);
    color: #ffffff;
  }

  .is-active .step-icon {
    background: var(--primary);
    color: #ffffff;
  }

  .is-complete .step-icon {
    background: #10b981;
    color: #ffffff;
  }

  /* Solution Stats Strip */
  .sol-stats-strip {
    background: #ffffff;
    padding: 48px 0;
    border-bottom: 1px solid var(--gray-200);
  }

  .sol-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
  }

  .sol-stat-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 24px 18px;
    transition: all 0.3s ease;
  }

  .sol-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(230, 0, 38, 0.25);
    box-shadow: var(--shadow-md);
  }

  .sol-stat-card .stat-number {
    display: block;
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 8px;
  }

  .sol-stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 600;
  }

  /* Pipeline Step Cards */
  .pipeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
  }

  .pipeline-step-card {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 22px;
    padding: 32px 26px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  }

  .pipeline-step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(230, 0, 38, 0.35);
  }

  .pipeline-step-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e60026 0%, #ff4d6d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
  }

  .pipeline-step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
  }

  .pipeline-step-card p {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin: 0;
  }

  /* Core Capabilities Features Grid */
  .sol-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
  }

  .sol-feature-card {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 36px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  }

  .sol-feature-card:hover {
    border-color: rgba(230, 0, 38, 0.35);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
  }

  .sol-feature-icon {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
    border-radius: 16px;
    background: rgba(230, 0, 38, 0.08);
    border: 1px solid rgba(230, 0, 38, 0.15);
    color: var(--primary);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 22px !important;
    flex-shrink: 0 !important;
  }

  .sol-feature-icon svg,
  .sol-feature-icon>svg {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    flex-shrink: 0 !important;
    display: block !important;
  }

  .sol-feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
  }

  .sol-feature-card p {
    font-size: 0.98rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin: 0;
  }

  /* Call to Action Box */
  .sol-cta-box {
    background: linear-gradient(135deg, #0b0f19 0%, #1c2230 100%);
    color: #ffffff;
    border-radius: 28px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
  }

  .sol-cta-box h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
  }

  .sol-cta-box p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
  }

  .sol-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Generative AI Chat Preview */
  .genai-chat-bubble {
    padding: 14px 18px;
    border-radius: 14px;
    margin-bottom: 14px;
    font-size: 0.85rem;
  }

  .genai-chat-bubble.query {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
  }

  .genai-chat-bubble.response {
    background: rgba(230, 0, 38, 0.12);
    border: 1px solid rgba(230, 0, 38, 0.3);
    color: #ffffff;
  }

  .genai-chat-bubble small {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
  }

  .genai-chat-bubble p {
    margin: 0;
    line-height: 1.5;
  }

  /* IoT & Analytics Card Grids */
  .metric-row,
  .iot-node-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .metric-block,
  .iot-node-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 14px;
    border-radius: 12px;
  }

  .metric-block small,
  .iot-node-item small {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
  }

  .metric-block strong,
  .iot-node-item strong {
    display: block;
    font-size: 1.05rem;
    color: #ffffff;
  }

  .analytics-chart-preview {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 80px;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
  }

  .bar-col {
    flex: 1;
    background: linear-gradient(180deg, #e60026 0%, rgba(230, 0, 38, 0.2) 100%);
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease;
  }

  /* Computer Vision Bounding Box */
  .cv-bounding-box {
    position: relative;
    height: 140px;
    background: radial-gradient(circle, rgba(230, 0, 38, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
  }

  .box-frame {
    width: 70%;
    height: 60%;
    border: 2px solid #e60026;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(230, 0, 38, 0.6);
    animation: pulseBox 2s ease-in-out infinite;
  }

  .box-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e60026;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
  }

  @keyframes pulseBox {

    0%,
    100% {
      transform: scale(1);
      opacity: 1;
    }

    50% {
      transform: scale(1.03);
      opacity: 0.85;
    }
  }

  /* Responsive Overrides across all device views (Laptop, Tablet, Mobile) */
  @media (max-width: 1024px) {
    .solution-detail-hero {
      margin-top: 80px !important;
      padding-top: 50px !important;
      padding-bottom: 70px !important;
    }

    .solution-detail-hero__inner {
      grid-template-columns: 1fr;
      gap: 40px;
    }

    .pipeline-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .sol-stats-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
  }

  @media (max-width: 768px) {
    .solution-detail-hero {
      margin-top: 70px !important;
      padding-top: 40px !important;
      padding-bottom: 50px !important;
      text-align: center;
    }

    .solution-detail-hero__content .lead {
      margin-left: auto;
      margin-right: auto;
    }

    .solution-hero-actions {
      flex-direction: column;
      width: 100%;
    }

    .solution-hero-actions .btn {
      width: 100%;
      justify-content: center;
    }

    .pipeline-grid,
    .sol-features-grid {
      grid-template-columns: 1fr;
    }

    .sol-stats-grid {
      grid-template-columns: 1fr 1fr;
    }

    .sol-cta-box {
      padding: 36px 20px;
    }
  }

/* =========================================================
   MOBILE DEVICE FIXES — Navbar & Pillars Section
   ========================================================= */

/* Ensure navbar toggle is clickable on all mobile devices */
@media (max-width: 1260px) {
  .navbar__toggle {
    position: relative !important;
    z-index: 1001 !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    cursor: pointer !important;
  }

  .navbar__toggle:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }

  /* Ensure mobile menu is above everything */
  .navbar__mobile {
    z-index: 999 !important;
    position: fixed !important;
  }

  /* Prevent any overlays from blocking navbar interactions */
  .navbar,
  .navbar * {
    pointer-events: auto !important;
  }
}

/* Fix for iPhone and Android devices - ensure touch targets are adequate */
@media (max-width: 480px) {
  .navbar__toggle {
    min-width: 48px !important;
    min-height: 48px !important;
    width: 48px !important;
    height: 48px !important;
  }

  .navbar__actions .btn {
    min-height: 44px !important;
    min-width: 44px !important;
  }
}

/* Ensure pillars section is visible on all mobile devices */
@media (max-width: 768px) {
  /* Fallback for devices where IntersectionObserver might not work properly */
  .pillars-section .pillar-card {
    opacity: 1 !important;
    transform: none !important;
  }

  .pillars-section .pillar-card.reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  /* Ensure pillars grid is properly displayed */
  .pillars-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Ensure each pillar card is visible and properly sized */
  .pillar-card {
    min-height: auto !important;
    padding: 24px 18px !important;
  }

  .pillar-card__icon {
    width: 60px !important;
    height: 60px !important;
    margin: 0 auto 18px !important;
  }

  .pillar-card h3 {
    font-size: 1rem !important;
    margin-bottom: 8px !important;
  }

  .pillar-card p {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
  }
}

/* Additional fix for older Android devices */
@media (max-width: 380px) {
  .pillars-section .section-head h2 {
    font-size: 1.5rem !important;
  }

  .pillar-card {
    padding: 20px 16px !important;
  }

  .pillar-card__icon {
    width: 52px !important;
    height: 52px !important;
  }

  .pillar-card h3 {
    font-size: 0.95rem !important;
  }

  .pillar-card p {
    font-size: 0.85rem !important;
  }
}

/* Ensure reveal elements are visible after a timeout for mobile */
@media (max-width: 768px) {
  .reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

/* Enhanced Mobile Clickability & Layout for AI Product Tabs (ERP, CRM, Z1, HRM) */
@media (max-width: 768px) {
  .ai-products-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 30px !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .ai-products-tab {
    min-height: 48px !important;
    padding: 12px 14px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .ai-products-tab::before {
    pointer-events: none !important;
  }

  .ai-products-panel__content h3 {
    font-size: 1.65rem !important;
    margin-bottom: 8px !important;
  }

  .ai-products-panel__subtitle {
    margin-bottom: 14px !important;
    font-size: 0.8rem !important;
  }

  .ai-products-panel__content > p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
  }
}

@media (max-width: 480px) {
  .ai-products-tabs {
    gap: 8px !important;
  }

  .ai-products-tab {
    min-height: 46px !important;
    padding: 10px 8px !important;
    font-size: 0.9rem !important;
  }
}