/* ==========================================================================
   DATATECH SOLUTIONS MYANMAR (datatech-mm.com)
   Executive Research & Data Systems Theme - Modern, Professional & High-Performance
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables (Executive Technology & Research Palette)
   -------------------------------------------------------------------------- */
:root {
  /* Surface & Background Colors */
  --bg-main: #ffffff;
  --bg-surface: #f6f9fc;
  --bg-surface-alt: #edf2f7;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-input: #ffffff;
  --bg-pill: rgba(22, 119, 255, 0.08);

  /* Brand Accents */
  --navy-primary: #0b1f3a;
  --navy-light: #162c4e;
  --blue-primary: #1677ff;
  --blue-dark: #0958d9;
  --blue-soft: #e6f4ff;
  --teal-accent: #14b8a6;
  --teal-soft: #f0fdfa;
  --emerald-accent: #059669;
  --emerald-bg: rgba(5, 150, 105, 0.08);
  --amber-accent: #d97706;
  --amber-bg: rgba(217, 119, 6, 0.08);
  --rose-accent: #e11d48;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0b1f3a 0%, #1677ff 100%);
  --grad-blue: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
  --grad-teal: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  --grad-text: linear-gradient(135deg, #0b1f3a 0%, #1677ff 52%, #06b6d4 100%);
  --grad-soft-hero: linear-gradient(180deg, #f6f9fc 0%, #ffffff 100%);

  /* Text Colors */
  --text-pure: #0b1f3a;
  --text-primary: #172033;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  /* Borders & Shadows */
  --border-subtle: #e2e8f0;
  --border-card: #e2e8f0;
  --border-card-hover: #93c5fd;
  --border-strong: #cbd5e1;

  --shadow-xs: 0 1px 3px rgba(11, 31, 58, 0.05);
  --shadow-sm: 0 4px 12px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 10px 25px -4px rgba(11, 31, 58, 0.08), 0 4px 10px -2px rgba(11, 31, 58, 0.03);
  --shadow-lg: 0 20px 35px -8px rgba(11, 31, 58, 0.1), 0 8px 16px -4px rgba(11, 31, 58, 0.04);

  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Dimensions & Curves */
  --container-max: 1220px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Core Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(11, 31, 58, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 31, 58, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   3. Typography & Utilities
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-pure);
}

h1 { 
  font-size: clamp(2rem, 3.2vw, 2.75rem); 
  font-weight: 800; 
  line-height: 1.25;
}
h2 { font-size: clamp(1.65rem, 2.5vw, 2.15rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--blue-primary);
  text-decoration: none;
  transition: all var(--trans-fast);
}

a:hover {
  color: var(--blue-dark);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

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

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

.text-teal {
  color: var(--teal-accent);
}

.section {
  padding: 5rem 0;
  position: relative;
}

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

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

.section-header p {
  margin-top: 0.85rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--bg-pill);
  color: var(--blue-primary);
  border: 1px solid rgba(22, 119, 255, 0.2);
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald-accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--emerald-accent);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

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

.btn-primary {
  background: var(--grad-blue);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 119, 255, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: var(--blue-primary);
  color: var(--blue-primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   5. Header & Navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0.9rem 0;
  transition: all var(--trans-normal);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header.scrolled {
  padding: 0.7rem 0;
  box-shadow: var(--shadow-sm);
}

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

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

.brand-logo img {
  height: 40px;
  width: auto;
}

nav {
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color var(--trans-fast);
  position: relative;
  padding: 0.35rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-primary);
  transition: width var(--trans-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-pure);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section, .hero {
  padding-top: calc(76px + 3.5rem);
  padding-bottom: 4.5rem;
  position: relative;
  background: var(--grad-soft-hero);
}

.page-hero {
  padding-top: calc(76px + 2.75rem);
  padding-bottom: 2.75rem;
  position: relative;
  background: var(--grad-soft-hero);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-headline {
  margin-bottom: 1.25rem;
}

.hero-subtext {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  max-width: 620px;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item, .stat-box {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-primary);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Realistic Technical IDE Environment Panel */
.ide-window {
  background: #0b1f3a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -12px rgba(11, 31, 58, 0.4), 0 0 0 1px rgba(22, 119, 255, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ide-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: #071527;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ide-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.ide-dot-red { background: #ff5f56; }
.ide-dot-yellow { background: #ffbd2e; }
.ide-dot-green { background: #27c93f; }

.ide-tab-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #94a3b8;
}

.ide-table-wrapper {
  overflow-x: auto;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.ide-table-wrapper::-webkit-scrollbar {
  height: 6px;
}
.ide-table-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.ide-table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
}

.ide-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #cbd5e1;
  text-align: left;
  white-space: nowrap;
}

.ide-table th {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.65rem 0.85rem;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ide-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ide-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.ide-table td.kw { color: #38bdf8; font-weight: 600; }
.ide-table td.var { color: #fde047; }
.ide-table td.lbl { color: #e2e8f0; }
.ide-table td.filter { color: #34d399; }

.ide-capability-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.25rem;
  background: #071527;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ide-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(22, 119, 255, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(22, 119, 255, 0.3);
}

.ide-pill.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.3);
}

.ide-pill.amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.3);
}

.hero-feature-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  font-size: 0.88rem;
  box-shadow: var(--shadow-xs);
}

.hero-feature-row svg {
  color: var(--blue-primary);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   7. Trust / Supported Institutions Strip
   -------------------------------------------------------------------------- */
.trust-strip {
  padding: 2.25rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

.trust-title {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.trust-tag svg {
  color: var(--blue-primary);
}

/* --------------------------------------------------------------------------
   8. Core Services (6 Standardized Cards)
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: all var(--trans-normal);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-md);
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--blue-soft);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-pure);
}

.service-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.service-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.service-features-list li svg {
  color: var(--blue-primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-primary);
  margin-top: auto;
}

.service-link:hover {
  color: var(--blue-dark);
  gap: 0.6rem;
}

/* --------------------------------------------------------------------------
   9. Visual Survey Lifecycle (8-Stage Workflow)
   -------------------------------------------------------------------------- */
.lifecycle-wrapper {
  position: relative;
  padding: 1rem 0;
}

.lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.lifecycle-step {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-normal);
  box-shadow: var(--shadow-xs);
}

.lifecycle-step:hover {
  transform: translateY(-3px);
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-md);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.step-icon {
  color: var(--blue-primary);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-pure);
}

.step-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.step-deliverable {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-accent);
  background: var(--teal-soft);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-top: auto;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   10. Selected Technical Work (Case Studies)
   -------------------------------------------------------------------------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.work-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: all var(--trans-normal);
}

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

.work-card-header {
  padding: 1.5rem 1.75rem 1rem 1.75rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.work-platform-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 0.6rem;
}

.work-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.35;
}

.work-card-body {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-problem-solution {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.work-deliverables-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.work-deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.work-deliverables-list li svg {
  color: var(--emerald-accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   11. Institutional Training Programs
   -------------------------------------------------------------------------- */
.training-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.training-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: all var(--trans-normal);
}

.training-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-md);
}

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

.training-level-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  background: var(--blue-soft);
  color: var(--blue-primary);
  border-radius: var(--radius-sm);
}

.training-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text-pure);
}

.training-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.training-meta-box {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.84rem;
}

.training-meta-item strong {
  display: block;
  color: var(--text-pure);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.15rem;
}

.training-takeaways {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.training-takeaways li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.training-takeaways li svg {
  color: var(--blue-primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.training-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   12. Problem -> Solution -> Outcome Matrix
   -------------------------------------------------------------------------- */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.matrix-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: all var(--trans-normal);
}

.matrix-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-md);
}

.matrix-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  min-height: 52px;
}

.matrix-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.matrix-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.matrix-row {
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.matrix-row.problem {
  background: rgba(244, 63, 94, 0.05);
  border-left: 3px solid var(--rose-accent);
}

.matrix-row.solution {
  background: rgba(22, 119, 255, 0.05);
  border-left: 3px solid var(--blue-primary);
}

.matrix-row.outcome {
  background: rgba(16, 185, 129, 0.05);
  border-left: 3px solid var(--emerald-accent);
}

.matrix-label {
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.matrix-row.problem .matrix-label { color: var(--rose-accent); }
.matrix-row.solution .matrix-label { color: var(--blue-primary); }
.matrix-row.outcome .matrix-label { color: var(--emerald-accent); }

/* --------------------------------------------------------------------------
   13. Thematic Research Coverage
   -------------------------------------------------------------------------- */
.thematic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.thematic-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--trans-normal);
}

.thematic-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-sm);
}

.thematic-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.thematic-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-pure);
}

.thematic-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. Specialist Profile (Nay Lin Soe)
   -------------------------------------------------------------------------- */
.profile-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.profile-card-left {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.profile-avatar-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem auto;
}

.profile-avatar-svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.profile-verified-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 32px;
  height: 32px;
  background: var(--blue-primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
}

.profile-name {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--text-pure);
}

.profile-role {
  font-size: 0.92rem;
  color: var(--blue-primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.profile-credentials-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  text-align: left;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.cred-box strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.cred-box span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-pure);
}

.profile-tech-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.p-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.p-tag.highlight {
  background: var(--blue-soft);
  color: var(--blue-primary);
  border-color: rgba(22, 119, 255, 0.25);
}

.profile-channels {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  color: #ffffff !important;
  text-decoration: none;
}

.btn-facebook { background: #1877f2; }
.btn-youtube { background: #ff0000; }
.btn-linkedin { background: #0a66c2; }
.btn-viber { background: #7360f2; }

/* --------------------------------------------------------------------------
   15. Knowledge Hub Video Cards
   -------------------------------------------------------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.video-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: all var(--trans-normal);
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-md);
}

.video-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b1f3a;
  overflow: hidden;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-normal);
}

.video-card:hover .video-thumb-img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: rgba(22, 119, 255, 0.9);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all var(--trans-fast);
}

.video-card:hover .play-overlay {
  background: #ff0000;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-category-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 0.35rem;
}

.video-title {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-pure);
  margin-bottom: 0.75rem;
}

.video-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   16. Downloadable Resources & Toolkits
   -------------------------------------------------------------------------- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.resource-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: all var(--trans-normal);
}

.resource-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-md);
}

.resource-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 700;
  background: var(--blue-soft);
  color: var(--blue-primary);
  margin-bottom: 0.85rem;
  width: fit-content;
}

.resource-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.resource-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.resource-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-primary);
  margin-top: auto;
}

.resource-download-btn:hover {
  color: var(--blue-dark);
  gap: 0.6rem;
}

/* --------------------------------------------------------------------------
   17. Direct Contact & Consultation Form
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--blue-soft);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.contact-method p, .contact-method a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-pure);
}

.contact-form-box {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-pure);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-input);
  transition: all var(--trans-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.15);
}

/* --------------------------------------------------------------------------
   18. Sub-Page Hero & Breadcrumbs
   -------------------------------------------------------------------------- */
.page-hero {
  padding-top: 8rem;
  padding-bottom: 3.5rem;
  background: var(--grad-soft-hero);
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero-content {
  max-width: 820px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--text-muted);
}

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

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--navy-primary);
  color: #e2e8f0;
  padding: 2.25rem 0 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.35fr;
  gap: 2.5rem;
  margin-bottom: 1.75rem;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem 1rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.85rem;
  transition: color var(--trans-fast);
  white-space: nowrap;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   20. IDE & Code Environment Mockup
   -------------------------------------------------------------------------- */
.ide-window {
  background: #0f172a;
  border-radius: var(--radius-lg);
  border: 1px solid #334155;
  box-shadow: 0 20px 40px -10px rgba(11, 31, 58, 0.35);
  overflow: hidden;
}

.ide-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: #1e293b;
  border-bottom: 1px solid #334155;
}

.ide-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ide-dot-red { background: #ef4444; }
.ide-dot-yellow { background: #f59e0b; }
.ide-dot-green { background: #10b981; }

.ide-tab-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 500;
}

.ide-tab-title svg {
  color: #38bdf8;
}

.ide-table-wrapper {
  overflow-x: auto;
  padding: 0.75rem 1rem;
}

.ide-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #e2e8f0;
}

.ide-table th {
  text-align: left;
  padding: 0.4rem 0.5rem;
  color: #94a3b8;
  font-weight: 600;
  border-bottom: 1px solid #334155;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.ide-table td {
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.4);
  white-space: nowrap;
}

.ide-table .kw { color: #38bdf8; font-weight: 600; }
.ide-table .var { color: #f1f5f9; }
.ide-table .lbl { color: #fde047; }
.ide-table .filter { color: #a7f3d0; }

.ide-capability-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #1e293b;
  border-top: 1px solid #334155;
}

.ide-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.ide-pill.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.ide-pill.amber {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

/* --------------------------------------------------------------------------
   21. 4-Phase Grouped Lifecycle Grid
   -------------------------------------------------------------------------- */
.lifecycle-phases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.phase-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--trans-normal);
  display: flex;
  flex-direction: column;
}

.phase-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-md);
}

.engagement-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.phase-header {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--blue-soft);
}

.phase-num {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-primary);
}

.phase-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-primary);
}

.phase-substeps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.phase-substep {
  padding: 0.85rem;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.phase-substep h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-pure);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.phase-substep p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.phase-deliverable-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue-primary);
  background: var(--blue-soft);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

/* --------------------------------------------------------------------------
   22. Visual Work / Code Mockups for Services & Case Studies
   -------------------------------------------------------------------------- */
.work-visual-box {
  background: #0f172a;
  border-radius: var(--radius-md);
  border: 1px solid #334155;
  padding: 1rem;
  margin-top: 1rem;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.6;
}

.work-visual-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid #334155;
  font-size: 0.74rem;
  color: #94a3b8;
  font-weight: 600;
}

.qc-table-mini {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.74rem;
}

.qc-table-mini th {
  color: #94a3b8;
  padding: 0.25rem 0.4rem;
  border-bottom: 1px solid #334155;
  text-align: left;
}

.qc-table-mini td {
  padding: 0.35rem 0.4rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

.flag-badge {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
}

.flag-ok { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.flag-speeder { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.flag-callback { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }

/* --------------------------------------------------------------------------
   23. FAQ Accordion Component
   -------------------------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--trans-fast);
}

.faq-item.active {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-sm);
}

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

.faq-question:hover {
  color: var(--blue-primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--trans-fast), background var(--trans-fast);
  color: var(--blue-primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--blue-soft);
}

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

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

/* --------------------------------------------------------------------------
   24. Institutional Testimonials
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.testimonial-quote {
  font-size: 0.96rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.testimonial-role {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   25. Compact Thematic Sectors Grid
   -------------------------------------------------------------------------- */
.thematic-compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.thematic-compact-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--trans-fast);
}

.thematic-compact-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-sm);
}

.thematic-compact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.thematic-compact-info h4 {
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
  color: var(--text-pure);
}

.thematic-compact-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   26. Resource Previews & Direct Downloads
   -------------------------------------------------------------------------- */
.resource-preview-thumb {
  background: #0f172a;
  border-radius: var(--radius-sm);
  border: 1px solid #334155;
  padding: 0.75rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #cbd5e1;
  max-height: 120px;
  overflow: hidden;
  position: relative;
}

.resource-preview-thumb::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35px;
  background: linear-gradient(transparent, #0f172a);
}

.btn-download-direct {
  background: var(--emerald-accent);
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
}

.btn-download-direct:hover {
  background: #047857;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   27. Legal & Security Pages
   -------------------------------------------------------------------------- */
.legal-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
}

.legal-header {
  padding: 1.75rem 2rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-body {
  padding: 2.25rem 2rem;
}

.legal-body h3 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--navy-primary);
}

.legal-body h3:first-child {
  margin-top: 0;
}

.legal-body p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.legal-body ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-body li {
  color: var(--text-secondary);
}

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

.contact-highlight-box {
  background: var(--bg-surface);
  border-left: 4px solid var(--blue-primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   28. Modal & Toast
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 31, 58, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy-primary);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  display: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-left: 4px solid var(--teal-accent);
}

/* --------------------------------------------------------------------------
   29. Responsive Media Queries & Mobile Polish
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid, .profile-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid, .work-grid, .thematic-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lifecycle-phases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .engagement-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .thematic-compact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .matrix-grid, .video-grid, .resources-grid, .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-subtle);
    display: none;
    gap: 1.25rem;
  }

  .nav-links.mobile-active {
    display: flex;
  }

  .services-grid, .work-grid, .thematic-grid, .training-grid, .matrix-grid, .video-grid, .resources-grid, .testimonials-grid, .thematic-compact-grid, .security-grid {
    grid-template-columns: 1fr;
  }

  .lifecycle-phases-grid {
    grid-template-columns: 1fr;
  }

  .engagement-steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .legal-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
}

