/* ==========================================================================
   Aquarius Soft - Refined Brand Design System
   Colour Scheme: Deep Teal (#0f474a) & Vibrant Aqua (#2cd6df)
   Inspired by iEduCentre Singapore Palette
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Core Brand Colors (Matching reference site) */
  --deep-teal: #0f474a;
  --deep-teal-dark: #092f31;
  --deep-teal-light: #165b5f;
  --centre-teal: #1d8f95;
  --aqua: #2cd6df;
  --aqua-hover: #62e2e8;
  --aqua-dark: #08aab4;
  --aqua-soft: rgba(44, 214, 223, 0.12);
  --aqua-soft-border: rgba(44, 214, 223, 0.35);

  /* Light Theme & Surface Canvases */
  --canvas: #f7fcfc;
  --surface: #ffffff;
  --surface-alt: #f7fbfb;
  --mist: #e3f9fa;
  --trust-soft: #daf4f5;

  /* Typography & Ink */
  --ink: #281a39;
  --ink-heading: #140d1e;
  --muted: #675f70;
  --muted-light: #8e8598;
  --white: #ffffff;
  --white-muted: rgba(255, 255, 255, 0.75);

  /* Borders & Rules */
  --line: #cce6e7;
  --line-strong: #afd9db;
  --line-dark-ui: rgba(255, 255, 255, 0.15);

  /* Fonts */
  --font-display: 'Outfit', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'DM Sans', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 71, 74, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 71, 74, 0.09);
  --shadow-lg: 0 16px 40px rgba(15, 71, 74, 0.14);
  --shadow-teal-glow: 0 0 30px rgba(44, 214, 223, 0.25);
  --shadow-dark-card: 0 12px 36px rgba(9, 47, 49, 0.35);

  /* Layout */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --container-max: 1200px;
}

/* --- Global Reset & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  color-scheme: light;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background-color: var(--canvas);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  word-break: break-word;
  overflow-wrap: break-word;
}

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

a {
  color: var(--centre-teal);
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
  color: var(--deep-teal);
}

ul, ol {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-heading);
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.15rem; font-weight: 600; }

p {
  color: var(--muted);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-aqua {
  color: var(--aqua) !important;
}

.text-teal {
  color: var(--centre-teal) !important;
}

.text-white {
  color: var(--white) !important;
}

.mono {
  font-family: var(--font-mono);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.section-alt {
  background-color: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-mist {
  background-color: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--aqua-soft);
  border: 1px solid var(--line);
  color: var(--deep-teal);
  margin-bottom: 1rem;
}

.badge-dark {
  background: rgba(44, 214, 223, 0.15);
  border: 1px solid rgba(44, 214, 223, 0.35);
  color: var(--aqua);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--aqua-dark);
  box-shadow: 0 0 8px var(--aqua);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--aqua);
  color: var(--deep-teal-dark);
  box-shadow: 0 4px 16px rgba(44, 214, 223, 0.3);
}

.btn-primary:hover {
  background: var(--aqua-hover);
  color: #041d1e;
  box-shadow: 0 6px 22px rgba(44, 214, 223, 0.45);
  transform: translateY(-2px);
}

.btn-teal {
  background: var(--deep-teal);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(15, 71, 74, 0.25);
}

.btn-teal:hover {
  background: var(--deep-teal-light);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--deep-teal);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--mist);
  border-color: var(--line-strong);
  color: var(--deep-teal-dark);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--aqua);
  color: var(--aqua);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  border-color: var(--deep-teal);
  background: var(--mist);
  color: var(--deep-teal-dark);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.05rem;
}

/* Card Components */
.card-light {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-smooth);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.card-light:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-teal-glow);
}

/* --- Site Header & Navigation (Sleek Dark Carbon / Black) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-smooth);
  background: #05080a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0;
}

.site-header.scrolled {
  background: rgba(5, 8, 10, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 0.7rem 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(44, 214, 223, 0.18);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.brand-logo-img-footer {
  height: 42px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--aqua);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(44, 214, 223, 0.4);
}

.brand-logo-icon svg {
  width: 22px;
  height: 22px;
  color: var(--deep-teal-dark);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--aqua);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--white-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--aqua);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--aqua);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Drawer (Sleek Dark Carbon / Black) */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  background: #05080a;
  border-bottom: 1px solid rgba(44, 214, 223, 0.2);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 999;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer .nav-link {
  font-size: 1.1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Grand Hero Section (Deep Teal) --- */
.hero {
  padding: 8.5rem 0 5.5rem;
  background: radial-gradient(100% 70% at 50% 0%, #165b5f 0%, #0f474a 55%, #082729 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.15));
  pointer-events: none;
}

.hero-header-block {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.3rem, 4.8vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--white-muted);
  line-height: 1.7;
  max-width: 760px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Hero Key Metrics Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.hero-stat-card {
  background: rgba(9, 47, 49, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(44, 214, 223, 0.28);
  border-radius: var(--radius-md);
  padding: 1.1rem 1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-stat-card:hover {
  border-color: var(--aqua);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 20px rgba(44, 214, 223, 0.2);
}

.hero-stat-card .stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--aqua);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-stat-card .stat-label {
  font-size: 0.8125rem;
  color: var(--white-muted);
  font-weight: 600;
  margin-top: 0.35rem;
  line-height: 1.3;
}

/* Grand Panoramic Visual Showcase */
.hero-panoramic-showcase {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.showcase-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(4, 22, 24, 0.65), 0 0 50px rgba(44, 214, 223, 0.2);
  border: 1px solid rgba(44, 214, 223, 0.35);
  background: var(--deep-teal-dark);
}

.showcase-image {
  width: 100%;
  height: 100%;
  min-height: 440px;
  max-height: 540px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-frame:hover .showcase-image {
  transform: scale(1.02);
}

.showcase-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 71, 74, 0.15) 0%, rgba(9, 47, 49, 0.2) 50%, rgba(6, 31, 33, 0.82) 100%);
  pointer-events: none;
}

.showcase-tag-top {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(9, 47, 49, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(44, 214, 223, 0.35);
  border-radius: var(--radius-full);
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.showcase-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 10px var(--aqua);
}

.showcase-card-floating {
  position: absolute;
  background: rgba(9, 47, 49, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(44, 214, 223, 0.35);
  border-radius: var(--radius-md);
  padding: 1rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.showcase-card-left {
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 480px;
}

.showcase-card-right {
  bottom: 1.5rem;
  right: 1.5rem;
}

.showcase-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--aqua);
  color: var(--deep-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(44, 214, 223, 0.4);
}

.showcase-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.showcase-card-sub {
  font-size: 0.8rem;
  color: var(--aqua);
  margin-top: 0.2rem;
  line-height: 1.3;
}

.showcase-stat-pill {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Trust Ticker / Client Logos */
.trust-banner {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.trust-label {
  text-align: center;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--deep-teal);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem 4rem;
}

.trust-logo-item {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--deep-teal);
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.75;
}

.trust-logo-item:hover {
  color: var(--deep-teal-dark);
  opacity: 1;
  transform: translateY(-2px);
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--aqua-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-teal);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(44, 214, 223, 0.15);
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.service-feature-item svg {
  width: 14px;
  height: 14px;
  color: var(--centre-teal);
  flex-shrink: 0;
}

/* --- Products Ecosystem Showcase --- */
.products-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--deep-teal);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--deep-teal);
  color: var(--white);
  border-color: var(--deep-teal);
  box-shadow: 0 4px 14px rgba(15, 71, 74, 0.2);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), var(--shadow-teal-glow);
}

.product-header-banner {
  padding: 1.75rem 1.75rem 1rem;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.product-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--mist);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-teal);
}

.product-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--deep-teal);
  background: var(--aqua-soft);
  border: 1px solid var(--line);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.product-content {
  padding: 0 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.product-subtitle {
  font-size: 0.875rem;
  color: var(--centre-teal);
  font-weight: 700;
  margin-bottom: 1rem;
}

.product-description {
  font-size: 0.925rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.product-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-weight: 600;
}

.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* --- Client Portfolio / Industry Grid --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.client-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.client-card:hover {
  border-color: var(--centre-teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 8px 24px rgba(15, 71, 74, 0.08);
}

.client-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.client-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--mist);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-teal);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.client-card:hover .client-avatar {
  background: var(--aqua);
  color: var(--deep-teal-dark);
  border-color: var(--aqua);
  transform: scale(1.06);
}

.client-name {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.client-system {
  font-size: 0.85rem;
  color: var(--centre-teal);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.client-impact {
  font-size: 0.825rem;
  color: var(--muted);
  line-height: 1.5;
}

/* --- Security Callout Banner (Deep Teal) --- */
.security-highlight-card {
  background: var(--deep-teal);
  color: var(--white);
  border: 1px solid rgba(44, 214, 223, 0.3);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-dark-card);
  overflow: hidden;
}

.security-title {
  margin: 0.75rem 0 1rem;
  color: var(--white);
  word-break: break-word;
  overflow-wrap: break-word;
}

.security-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--white-muted);
}

.security-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.security-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.sec-metric-item {
  background: rgba(8, 40, 42, 0.75);
  border: 1px solid rgba(44, 214, 223, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  min-width: 0;
}

.sec-metric-val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--aqua);
  margin-bottom: 0.25rem;
  word-break: break-word;
}

.sec-metric-lbl {
  font-size: 0.8rem;
  color: var(--white-muted);
  line-height: 1.4;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--mist);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-teal);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-detail-text h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-detail-text p, .contact-detail-text a {
  font-size: 0.9rem;
  color: var(--muted);
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  background: var(--surface);
  border-color: var(--centre-teal);
  box-shadow: 0 0 0 3px rgba(29, 143, 149, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  display: none;
  margin-top: 1rem;
}

.form-status.success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
}

.form-status.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

/* --- Legal & Policy Pages Layout --- */
.legal-hero {
  padding: 8rem 0 3.5rem;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: flex-start;
  padding: 4rem 0 6rem;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  box-shadow: var(--shadow-sm);
}

.legal-toc-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--deep-teal);
  font-weight: 800;
  margin-bottom: 1rem;
}

.legal-toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-toc-link {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: block;
  font-weight: 600;
}

.legal-toc-link:hover, .legal-toc-link.active {
  color: var(--deep-teal);
  background: var(--mist);
}

.legal-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 3rem;
  line-height: 1.8;
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-heading);
}

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

.legal-content h3 {
  font-size: 1.25rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--deep-teal);
}

.legal-content p, .legal-content ul, .legal-content ol {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.legal-content ol {
  list-style: decimal;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-signature-box {
  margin-top: 3rem;
  padding: 1.75rem;
  border-left: 4px solid var(--centre-teal);
  background: var(--mist);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Security Architecture Diagrams & Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.trust-feature-card {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trust-feature-card h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
}

.trust-feature-card svg {
  width: 24px;
  height: 24px;
  color: var(--centre-teal);
}

/* --- Interactive Product Modal --- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 71, 74, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-container {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  padding: 2.5rem;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0.5rem;
}

.modal-close:hover {
  color: var(--ink);
}

/* --- Site Footer (Sleek Dark Carbon / Black) --- */
.site-footer {
  background: #05080a;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--white-muted);
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--white-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--aqua);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-icon-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-muted);
  transition: all var(--transition-fast);
}

.social-icon-link:hover {
  color: var(--aqua);
  border-color: var(--aqua);
  transform: translateY(-2px);
}

/* --- FAQ Accordion Component (SEO & AEO) --- */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: var(--centre-teal);
}

.faq-item.active {
  border-color: var(--centre-teal);
  box-shadow: 0 4px 20px rgba(15, 71, 74, 0.08);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  gap: 1rem;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--centre-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--centre-teal);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

/* --- Comprehensive Responsive Media Queries --- */

/* Tablets Landscape & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .showcase-image {
    min-height: 380px;
    max-height: 460px;
  }
  .services-grid, .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .security-highlight-card {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    gap: 2.5rem;
  }
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .legal-sidebar {
    position: relative;
    top: 0;
    max-height: none;
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets Portrait & Large Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .nav-menu, .nav-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .section {
    padding: 3.5rem 0;
  }
  .hero {
    padding: 7.75rem 0 3.5rem;
  }
  .hero-header-block {
    margin-bottom: 2rem;
  }
  .hero-stats-grid {
    gap: 0.65rem;
    max-width: 100%;
  }
  .hero-stat-card {
    padding: 0.85rem 0.5rem;
  }
  .hero-stat-card .stat-number {
    font-size: 1.35rem;
  }
  .hero-stat-card .stat-label {
    font-size: 0.725rem;
  }
  .showcase-image {
    min-height: 280px;
    max-height: 360px;
  }
  .showcase-card-left {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    max-width: none;
    padding: 0.85rem 1rem;
  }
  .showcase-card-right {
    display: none;
  }
  .services-grid, .products-grid, .portfolio-grid, .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 1.75rem 1.5rem;
  }
  .security-highlight-card {
    padding: 2rem 1.5rem;
    gap: 1.75rem;
    border-radius: var(--radius-md);
  }
  .security-metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .sec-metric-item {
    padding: 1rem 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .legal-hero {
    padding: 6.5rem 0 2.5rem;
  }
  .legal-content {
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-md);
  }
  .modal-container {
    padding: 1.75rem 1.5rem;
    margin: 1rem;
    max-width: 95vw;
  }
}

/* Standard Mobile Devices (max-width: 640px) */
@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .btn-lg {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .showcase-tag-top {
    top: 0.65rem;
    left: 0.65rem;
    font-size: 0.725rem;
    padding: 0.35rem 0.75rem;
  }
  .showcase-card-icon {
    width: 34px;
    height: 34px;
  }
  .showcase-card-title {
    font-size: 0.85rem;
  }
  .showcase-card-sub {
    font-size: 0.725rem;
  }
  .security-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }
  .security-cta-group .btn {
    width: 100%;
    text-align: center;
  }
  .security-highlight-card {
    padding: 1.5rem 1rem;
  }
  .sec-metric-item {
    padding: 0.9rem 1rem;
  }
  .sec-metric-val {
    font-size: 1.25rem;
  }
  .trust-banner {
    padding: 2rem 0;
  }
  .trust-logos {
    gap: 1.25rem 2rem;
  }
  .trust-logo-item {
    font-size: 1rem;
  }
  .products-filter-bar {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  .filter-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
    flex: 1 1 auto;
    text-align: center;
  }
  .product-header-banner {
    padding: 1.25rem 1.25rem 0.75rem;
  }
  .product-content {
    padding: 0 1.25rem 1.25rem;
  }
  .product-actions {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }
  .product-actions .btn {
    width: 100%;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .social-links {
    justify-content: center;
  }
  .faq-question {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }
  .faq-answer {
    padding: 0 1.25rem;
  }
  .faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
  }
  .modal-container {
    padding: 1.5rem 1rem;
  }
}

/* Small SmartPhones & Compact Viewports (max-width: 480px) */
@media (max-width: 480px) {
  .hero {
    padding: 7.25rem 0 3rem;
  }
  h1, .hero-title {
    font-size: 1.95rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  h3 {
    font-size: 1.2rem;
  }
  .badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
  }
  .brand-logo-img {
    max-width: 155px;
    height: 32px;
  }
  .hero-stats-grid {
    gap: 0.45rem;
  }
  .hero-stat-card {
    padding: 0.75rem 0.3rem;
    border-radius: var(--radius-sm);
  }
  .hero-stat-card .stat-number {
    font-size: 1.2rem;
  }
  .hero-stat-card .stat-label {
    font-size: 0.675rem;
    letter-spacing: -0.01em;
  }
  .card-light {
    padding: 1.25rem;
  }
  .service-card {
    padding: 1.25rem;
  }
  .client-card {
    padding: 1.25rem;
  }
  .legal-content {
    padding: 1.25rem 1rem;
    font-size: 0.9375rem;
  }
  .legal-content h2 {
    font-size: 1.35rem;
  }
  .legal-content h3 {
    font-size: 1.1rem;
  }
  .form-card {
    padding: 1.25rem 1rem;
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

