/**
 * Smyle Solutions - Official Material 3 Web (M3) Design System
 * Theme Color Tokens Derived from Smyle 3D Logo (Midnight Navy, Chrome Silver, Sapphire Glint)
 * Compliant with Google Material 3 Web (@material/web) Guidelines
 */

:root {
  /* ==========================================================================
     1. M3 COLOR TOKENS (OFFICIAL SMYLE LOGO COLOR HARMONY)
     ========================================================================== */
  
  /* Primary Tonal Palette (Smyle Deep Midnight Navy: #031738 from 'SMYLE' text) */
  --md-sys-color-primary: #031738;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #dbeafe;
  --md-sys-color-on-primary-container: #031738;

  /* Secondary Tonal Palette (Smyle Metallic Chrome Slate: #526071 from 'SOLUTIONS' text) */
  --md-sys-color-secondary: #526071;
  --md-sys-color-on-secondary: #ffffff;
  --md-sys-color-secondary-container: #e2e8f0;
  --md-sys-color-on-secondary-container: #1e293b;

  /* Tertiary Tonal Palette (Smyle Electric Sapphire Blue: #0284c7 from 3D Swirl Sheen) */
  --md-sys-color-tertiary: #0284c7;
  --md-sys-color-on-tertiary: #ffffff;
  --md-sys-color-tertiary-container: #e0f2fe;
  --md-sys-color-on-tertiary-container: #0369a1;

  /* Error */
  --md-sys-color-error: #ba1a1a;
  --md-sys-color-on-error: #ffffff;
  --md-sys-color-error-container: #ffdad6;
  --md-sys-color-on-error-container: #410002;

  /* Background & Surface Roles (Cool Architectural Platinum & Crisp White) */
  --md-sys-color-background: #f8fafc;
  --md-sys-color-on-background: #0f172a;
  --md-sys-color-surface: #ffffff;
  --md-sys-color-on-surface: #0f172a;
  --md-sys-color-surface-variant: #e2e8f0;
  --md-sys-color-on-surface-variant: #475569;
  --md-sys-color-surface-container-lowest: #ffffff;
  --md-sys-color-surface-container-low: #f1f5f9;
  --md-sys-color-surface-container: #e8edf4;
  --md-sys-color-surface-container-high: #dfe5ef;
  --md-sys-color-surface-container-highest: #cbd5e1;

  /* Outlines (Metallic Silver Chrome Rules) */
  --md-sys-color-outline: #94a3b8;
  --md-sys-color-outline-variant: #e2e8f0;

  /* ==========================================================================
     2. M3 SHAPE & CORNER TOKENS
     ========================================================================== */
  --md-sys-shape-corner-none: 0px;
  --md-sys-shape-corner-extra-small: 4px;
  --md-sys-shape-corner-small: 8px;
  --md-sys-shape-corner-medium: 12px;
  --md-sys-shape-corner-large: 16px;
  --md-sys-shape-corner-extra-large: 28px;
  --md-sys-shape-corner-full: 9999px;

  /* ==========================================================================
     3. M3 TYPOGRAPHY & ELEVATION
     ========================================================================== */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-tagline: 'Georgia', 'Cambria', serif;
  --md-ref-typeface-brand: var(--font-main);
  --md-ref-typeface-plain: var(--font-main);

  --shadow-elevation-1: 0 1px 3px 1px rgba(0,0,0,0.08), 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-elevation-2: 0 2px 6px 2px rgba(0,0,0,0.08), 0 1px 2px 0 rgba(0,0,0,0.04);
  --shadow-elevation-3: 0 4px 8px 3px rgba(0,0,0,0.08), 0 1px 3px 0 rgba(0,0,0,0.04);

  /* Transition */
  --transition-m3: 0.2s cubic-bezier(0.2, 0, 0, 1);
}

/* ==========================================================================
   4. CANONICAL CSS RESET (PROTECTS MATERIAL WEB HOST PADDING)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Reset text elements ONLY, NEVER reset padding on * */
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.5;
  color: var(--md-sys-color-on-surface);
  background-color: var(--md-sys-color-surface);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

svg {
  display: inline-block;
  vertical-align: middle;
}

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

ul, ol {
  list-style: none;
}

/* ==========================================================================
   5. MATERIAL 3 COMPONENT EXPLICIT PADDING & DIMENSION RULES
   ========================================================================== */
md-filled-button,
md-outlined-button,
md-elevated-button,
md-text-button {
  display: inline-flex;
  vertical-align: middle;
  --md-filled-button-container-height: 44px;
  --md-outlined-button-container-height: 44px;
  --md-filled-button-leading-space: 24px;
  --md-filled-button-trailing-space: 24px;
  --md-filled-button-with-leading-icon-leading-space: 16px;
  --md-filled-button-with-leading-icon-trailing-space: 24px;
  --md-outlined-button-leading-space: 24px;
  --md-outlined-button-trailing-space: 24px;
  --md-outlined-button-with-leading-icon-leading-space: 16px;
  --md-outlined-button-with-leading-icon-trailing-space: 24px;
}

md-filter-chip,
md-assist-chip {
  display: inline-flex;
  vertical-align: middle;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   6. M3 TOP APP BAR & HEADER
   ========================================================================== */
.top-bar {
  background: var(--md-sys-color-primary);
  color: #d6e3ff;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d6e3ff;
  transition: var(--transition-m3);
}
.top-bar-item:hover {
  color: #ffffff;
}
.top-tagline-text {
  font-family: var(--font-tagline);
  font-style: italic;
  color: #cbe6ff;
  font-size: 0.9rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--md-sys-color-surface);
  border-bottom: 1px solid var(--md-sys-color-surface-container-high);
  transition: var(--transition-m3);
}
.site-header.scrolled {
  background: var(--md-sys-color-surface-container-low);
  box-shadow: var(--shadow-elevation-2);
}
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 96px;
  transition: height 0.3s cubic-bezier(0.2, 0, 0, 1);
}
.site-header.scrolled .nav-wrapper {
  height: 78px;
}
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 6px 0;
}
.brand-logo img {
  height: 76px;
  max-height: 78px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s cubic-bezier(0.2, 0, 0, 1), transform 0.25s cubic-bezier(0.2, 0, 0, 1);
}
.brand-logo:hover img {
  transform: scale(1.03);
}
.site-header.scrolled .brand-logo img {
  height: 62px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--md-sys-color-on-surface-variant);
  padding: 10px 16px;
  border-radius: var(--md-sys-shape-corner-full);
  transition: var(--transition-m3);
}
.nav-link:hover {
  background: var(--md-sys-color-surface-container);
  color: var(--md-sys-color-primary);
}
.nav-link.active {
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--md-sys-color-primary);
  border-radius: var(--md-sys-shape-corner-medium);
  transition: background 0.2s ease;
}
.mobile-toggle:hover {
  background: var(--md-sys-color-surface-container);
}
.mobile-toggle svg {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  display: block;
  stroke: currentColor;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  background: var(--md-sys-color-surface);
  z-index: 2000;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  transform: translateX(105%);
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.mobile-drawer.open {
  transform: translateX(0);
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 29, 55, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1999;
  display: none;
}
.drawer-backdrop.open {
  display: block;
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
}
.drawer-header img {
  height: 64px;
  width: auto;
  object-fit: contain;
}
.drawer-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--md-sys-color-on-surface);
}
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.drawer-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--md-sys-color-on-surface);
  padding: 12px 16px;
  border-radius: var(--md-sys-shape-corner-large);
  transition: var(--transition-m3);
}
.drawer-link.active, .drawer-link:hover {
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}

/* ==========================================================================
   7. M3 FULL-WIDTH SLIDING HERO CAROUSEL
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  min-height: 620px;
  height: 82vh;
  max-height: 760px;
  overflow: hidden;
  background: var(--md-sys-color-primary);
}

.hero-slider-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-slide-bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.92);
  transform: scale(1.02);
  transition: transform 7s ease-out;
}

.hero-slide.active .hero-slide-bg img {
  transform: scale(1.08);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, 
    rgba(3, 23, 56, 0.90) 0%, 
    rgba(3, 23, 56, 0.80) 45%, 
    rgba(3, 23, 56, 0.45) 75%, 
    rgba(3, 23, 56, 0.65) 100%
  );
  backdrop-filter: blur(1px);
}

.hero-slide-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 40px;
  padding-bottom: 60px;
}

.hero-slide-content {
  max-width: 800px;
  color: #ffffff;
}

.hero-slide .hero-badge-wrap {
  display: inline-flex;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.hero-slide.active .hero-badge-wrap {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide .hero-badge-wrap md-assist-chip {
  --md-assist-chip-container-color: rgba(11, 29, 55, 0.7);
  --md-assist-chip-outline-color: rgba(56, 189, 248, 0.45);
  --md-assist-chip-label-text-color: #e0f2fe;
  --md-assist-chip-label-text-weight: 600;
  backdrop-filter: blur(8px);
}

.hero-slide-title {
  font-size: 3.4rem;
  line-height: 1.14;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.hero-slide.active .hero-slide-title {
  opacity: 1;
  transform: translateY(0);
}

.hero-accent {
  color: #38bdf8;
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-slide-tagline {
  font-family: var(--font-tagline);
  font-style: italic;
  font-size: 1.35rem;
  color: #bae6fd;
  margin-bottom: 18px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.hero-slide.active .hero-slide-tagline {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-desc {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #e2e8f0;
  margin-bottom: 32px;
  max-width: 700px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.hero-slide.active .hero-slide-desc {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s;
}

.hero-slide.active .hero-slide-actions {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-actions md-filled-button {
  --md-filled-button-container-color: #0284c7;
  --md-filled-button-label-text-color: #ffffff;
  --md-filled-button-icon-color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.hero-slide-actions md-filled-button:hover {
  --md-filled-button-container-color: #0369a1;
}

.hero-slide-actions md-outlined-button {
  --md-outlined-button-outline-color: rgba(255, 255, 255, 0.65);
  --md-outlined-button-label-text-color: #ffffff;
  --md-outlined-button-icon-color: #ffffff;
  backdrop-filter: blur(4px);
}

.hero-slide-actions md-outlined-button:hover {
  --md-outlined-button-outline-color: #ffffff;
  --md-outlined-button-container-color: rgba(255, 255, 255, 0.12);
}

/* Slider Controls: Floating Glassmorphic Arrows */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(11, 29, 55, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
  padding: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-arrow-prev {
  left: 28px;
}

.hero-arrow-next {
  right: 28px;
}

.hero-slider-arrow:hover {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
}

.hero-slider-arrow md-icon {
  font-size: 28px;
  pointer-events: none;
}

/* Slider Indicators: Modern Bottom Bar */
.hero-slider-indicators {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 29, 55, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 12px;
  border-radius: var(--md-sys-shape-corner-full);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hero-slider-dot {
  background: transparent;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--md-sys-shape-corner-full);
  transition: all 0.25s ease;
}

.hero-slider-dot .dot-bar {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: all 0.35s cubic-bezier(0.2, 0, 0, 1);
  display: inline-block;
}

.hero-slider-dot .dot-title {
  display: none;
  white-space: nowrap;
}

.hero-slider-dot:hover {
  color: #ffffff;
}

.hero-slider-dot:hover .dot-bar {
  background: rgba(255, 255, 255, 0.9);
}

.hero-slider-dot.active {
  background: rgba(255, 255, 255, 0.14);
  color: #38bdf8;
}

.hero-slider-dot.active .dot-bar {
  width: 24px;
  height: 8px;
  border-radius: 4px;
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
}

@media (min-width: 860px) {
  .hero-slider-dot.active .dot-title {
    display: inline-block;
  }
}

@media (max-width: 991px) {
  .hero-slider-section {
    min-height: 580px;
    height: 85vh;
    max-height: 720px;
  }
  .hero-slide-container {
    padding-top: 40px;
    padding-bottom: 70px;
  }
  .hero-slide-title {
    font-size: 2.3rem;
  }
  .hero-slide-desc {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .hero-slide-overlay {
    background: linear-gradient(180deg, 
      rgba(3, 23, 56, 0.85) 0%, 
      rgba(3, 23, 56, 0.65) 50%, 
      rgba(3, 23, 56, 0.85) 100%
    );
  }
  .hero-slider-arrow {
    width: 44px;
    height: 44px;
  }
  .hero-arrow-prev {
    left: 14px;
  }
  .hero-arrow-next {
    right: 14px;
  }
}

@media (max-width: 576px) {
  .hero-slider-section {
    min-height: 560px;
    height: 88vh;
    max-height: 680px;
  }
  .hero-slide-container {
    padding-top: 24px;
    padding-bottom: 60px;
  }
  .hero-slide-overlay {
    background: linear-gradient(180deg, 
      rgba(3, 23, 56, 0.82) 0%, 
      rgba(3, 23, 56, 0.58) 45%, 
      rgba(3, 23, 56, 0.85) 100%
    );
  }
  .hero-slide-title {
    font-size: 1.85rem;
    line-height: 1.22;
    margin-bottom: 10px;
  }
  .hero-slide-tagline {
    font-size: 1.05rem;
    margin-bottom: 12px;
  }
  .hero-slide-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }
  .hero-slide .hero-badge-wrap {
    margin-bottom: 12px;
  }
  .hero-slide-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .hero-slide-actions md-filled-button,
  .hero-slide-actions md-outlined-button {
    width: 100%;
  }
  .hero-slider-arrow {
    display: none;
  }
  .hero-slider-indicators {
    bottom: 16px;
    padding: 4px 8px;
  }
}

/* 4-Column Visual Domain Grid */
.visual-domains-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.visual-domain-card {
  background: var(--md-sys-color-surface);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-large);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-m3);
}
.visual-domain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevation-2);
  border-color: var(--md-sys-color-primary);
}
.visual-domain-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: var(--md-sys-color-surface-container);
}
.visual-domain-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.visual-domain-card:hover .visual-domain-img-wrap img {
  transform: scale(1.05);
}
.visual-domain-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.visual-domain-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--md-sys-color-primary);
  margin-bottom: 8px;
}
.visual-domain-desc {
  font-size: 0.885rem;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

/* ==========================================================================
   8. M3 METRICS BAR
   ========================================================================== */
.stats-bar {
  background: var(--md-sys-color-surface);
  border-bottom: 1px solid var(--md-sys-color-surface-container-high);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-card {
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-surface-container-high);
  border-radius: var(--md-sys-shape-corner-large);
  padding: 24px 16px;
  transition: var(--transition-m3);
}
.stat-card:hover {
  background: var(--md-sys-color-surface-container);
  box-shadow: var(--shadow-elevation-1);
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--md-sys-color-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-number span {
  color: var(--md-sys-color-tertiary);
}
.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--md-sys-color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   9. M3 SECTION STYLES & CARDS
   ========================================================================== */
.section {
  padding: 80px 0;
}
.section-alt {
  background-color: var(--md-sys-color-surface-container-low);
}
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 48px;
}
.section-pill-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--md-sys-color-primary);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.6;
}

/* Company Overview Grid */
.overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.overview-text h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--md-sys-color-primary);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.4px;
}
.overview-text p {
  font-size: 1.05rem;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.7;
  margin-bottom: 16px;
}
.overview-card-box {
  background: var(--md-sys-color-primary);
  color: #ffffff;
  padding: 40px 36px;
  border-radius: var(--md-sys-shape-corner-extra-large);
  box-shadow: 0 16px 40px -10px rgba(3, 23, 56, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}
.overview-card-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 50%, #94a3b8 100%);
}
.overview-card-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}
.overview-card-box p {
  font-size: 1rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 24px;
}

/* M3 Competency Cards (3 Pillars) */
.competencies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.competency-card {
  background: var(--md-sys-color-surface);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-extra-large);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-m3);
}
.competency-card:hover {
  box-shadow: var(--shadow-elevation-2);
  border-color: var(--md-sys-color-primary);
}
.competency-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--md-sys-shape-corner-medium);
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.competency-icon-wrap svg {
  width: 28px;
  height: 28px;
}
.competency-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--md-sys-color-primary);
  margin-bottom: 12px;
}
.competency-desc {
  font-size: 0.95rem;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* ==========================================================================
   10. M3 PARTNER BRANDS & CHIPS
   ========================================================================== */
.partner-filter-container {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}
.partner-card {
  background: var(--md-sys-color-surface);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-large);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-m3);
}
.partner-card:hover {
  box-shadow: var(--shadow-elevation-2);
  border-color: var(--md-sys-color-primary);
}
.partner-logo-holder {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 6px;
  background: var(--md-sys-color-surface-container-low);
  border-radius: var(--md-sys-shape-corner-small);
}
.partner-logo-holder img,
.partner-logo-holder svg {
  max-height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.partner-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--md-sys-color-tertiary);
  background: var(--md-sys-color-tertiary-container);
  padding: 3px 8px;
  border-radius: var(--md-sys-shape-corner-extra-small);
  margin-bottom: 8px;
}
.partner-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--md-sys-color-primary);
  margin-bottom: 8px;
}
.partner-summary {
  font-size: 0.885rem;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}
.partner-features {
  border-top: 1px solid var(--md-sys-color-surface-container-high);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.partner-feature-bullet {
  font-size: 0.825rem;
  color: var(--md-sys-color-on-surface);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.partner-feature-bullet::before {
  content: '✓';
  color: var(--md-sys-color-tertiary);
  font-weight: bold;
}

/* ==========================================================================
   11. M3 SOLUTIONS GRID
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.solution-box {
  background: var(--md-sys-color-surface);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-extra-large);
  padding: 32px;
  display: flex;
  gap: 20px;
  transition: var(--transition-m3);
}
.solution-box:hover {
  box-shadow: var(--shadow-elevation-2);
  border-color: var(--md-sys-color-primary);
}
.solution-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--md-sys-shape-corner-medium);
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.solution-icon-box svg {
  width: 26px;
  height: 26px;
}
.solution-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--md-sys-color-primary);
  margin-bottom: 8px;
}
.solution-content p {
  font-size: 0.95rem;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.6;
  margin-bottom: 14px;
}
.solution-partner-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.solution-tag {
  font-size: 0.775rem;
  font-weight: 600;
  background: var(--md-sys-color-surface-container);
  color: var(--md-sys-color-secondary);
  padding: 4px 10px;
  border-radius: var(--md-sys-shape-corner-small);
}

/* ==========================================================================
   12. M3 CTA BANNER
   ========================================================================== */
.cta-banner {
  background: var(--md-sys-color-primary);
  color: #ffffff;
  padding: 56px 40px;
  border-radius: var(--md-sys-shape-corner-extra-large);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-content {
  max-width: 680px;
}
.cta-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
}
.cta-desc {
  font-size: 1.05rem;
  color: #d6e3ff;
  line-height: 1.6;
}
.cta-tagline {
  font-family: var(--font-tagline);
  font-style: italic;
  font-size: 1.15rem;
  color: #cbe6ff;
  margin-top: 8px;
}

/* ==========================================================================
   13. M3 CONTACT PAGE & FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 36px;
}
.contact-info-panel {
  background: var(--md-sys-color-primary);
  color: #ffffff;
  border-radius: var(--md-sys-shape-corner-extra-large);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--md-sys-shape-corner-medium);
  background: rgba(214, 227, 255, 0.15);
  color: #cbe6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-label {
  font-size: 0.825rem;
  text-transform: uppercase;
  color: #c4c7d0;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}

.contact-form-card {
  background: var(--md-sys-color-surface);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-extra-large);
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  margin-bottom: 16px;
}
.alert {
  padding: 14px 18px;
  border-radius: var(--md-sys-shape-corner-large);
  margin-bottom: 20px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.alert-error {
  background: var(--md-sys-color-error-container);
  color: var(--md-sys-color-on-error-container);
  border: 1px solid var(--md-sys-color-error);
}

/* ==========================================================================
   13.1 INNER PAGE HERO BANNER
   ========================================================================== */
.page-hero-banner {
  position: relative;
  background: var(--md-sys-color-primary);
  color: #ffffff;
  padding: 80px 0 90px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.page-hero-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.page-hero-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.25) contrast(1.1);
}
.page-hero-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, 
    rgba(3, 23, 56, 0.95) 0%, 
    rgba(3, 23, 56, 0.88) 50%, 
    rgba(2, 132, 199, 0.35) 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.page-hero-banner .hero-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.page-hero-banner md-assist-chip {
  --md-assist-chip-container-color: rgba(3, 23, 56, 0.7);
  --md-assist-chip-outline-color: rgba(56, 189, 248, 0.45);
  --md-assist-chip-label-text-color: #e0f2fe;
  --md-assist-chip-label-text-weight: 600;
  backdrop-filter: blur(8px);
}
.page-hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.8px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}
.page-hero-tagline {
  font-family: var(--font-tagline);
  font-style: italic;
  color: #7dd3fc;
  font-size: 1.35rem;
  margin-bottom: 16px;
}
.page-hero-desc {
  font-size: 1.15rem;
  color: #dbeafe;
  line-height: 1.65;
  max-width: 700px;
  margin: 0 auto;
}

/* Value-Add Advantage 4-Grid */
.value-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.value-pillar-card {
  background: var(--md-sys-color-surface);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-large);
  padding: 24px 20px;
  transition: var(--transition-m3);
  display: flex;
  flex-direction: column;
}
.value-pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--md-sys-color-tertiary);
  box-shadow: 0 10px 24px -6px rgba(2, 132, 199, 0.15);
}
.value-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--md-sys-shape-corner-medium);
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.value-pillar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--md-sys-color-primary);
  margin-bottom: 8px;
}
.value-pillar-desc {
  font-size: 0.9rem;
  color: var(--md-sys-color-secondary);
  line-height: 1.55;
}

/* Quote Callout Box */
.quote-callout-box {
  background: linear-gradient(135deg, rgba(3, 23, 56, 0.04) 0%, rgba(2, 132, 199, 0.08) 100%);
  border-left: 4px solid var(--md-sys-color-tertiary);
  border-radius: 0 var(--md-sys-shape-corner-large) var(--md-sys-shape-corner-large) 0;
  padding: 24px 28px;
  margin-top: 28px;
}
.quote-callout-text {
  font-size: 1.1rem;
  font-style: italic;
  font-family: var(--font-tagline);
  color: var(--md-sys-color-primary);
  line-height: 1.6;
  margin-bottom: 8px;
}
.quote-callout-author {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--md-sys-color-secondary);
}

/* Brand Strip on About page */
.about-partners-strip {
  background: var(--md-sys-color-surface-container-low);
  padding: 48px 0;
  border-top: 1px solid var(--md-sys-color-surface-container-high);
  border-bottom: 1px solid var(--md-sys-color-surface-container-high);
}
.about-partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px 48px;
}
.about-partner-item {
  height: 40px;
  display: flex;
  align-items: center;
  opacity: 0.75;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.about-partner-item:hover {
  opacity: 1;
  transform: scale(1.08);
}
.about-partner-item img,
.about-partner-item svg {
  max-height: 36px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}

/* Strategic Technology Arenas / Domain Showcase */
.domain-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.domain-card {
  position: relative;
  border-radius: var(--md-sys-shape-corner-large);
  overflow: hidden;
  background: var(--md-sys-color-surface);
  border: 1px solid var(--md-sys-color-outline-variant);
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s cubic-bezier(0.2, 0, 0, 1), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.domain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -8px rgba(3, 23, 56, 0.16);
  border-color: var(--md-sys-color-tertiary);
}
.domain-card-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--md-sys-color-primary);
}
.domain-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1);
}
.domain-card:hover .domain-card-img-wrap img {
  transform: scale(1.08);
}
.domain-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(3, 23, 56, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #7dd3fc;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--md-sys-shape-corner-full);
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.domain-card-body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.domain-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--md-sys-color-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}
.domain-card-desc {
  font-size: 0.88rem;
  color: var(--md-sys-color-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}
.domain-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--md-sys-color-tertiary);
  transition: gap 0.2s ease, color 0.2s ease;
  margin-top: auto;
}
.domain-card-link:hover {
  color: #0369a1;
  gap: 10px;
}
.domain-card-link md-icon {
  font-size: 18px;
}

/* ==========================================================================
   14. M3 FOOTER
   ========================================================================== */
.site-footer {
  background: var(--md-sys-color-surface-container);
  color: var(--md-sys-color-on-surface-variant);
  padding-top: 64px;
  border-top: 1px solid var(--md-sys-color-surface-container-high);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
  gap: 36px;
  margin-bottom: 24px;
}
.footer-brand img {
  height: 72px;
  width: auto;
  margin-bottom: 16px;
  object-fit: contain;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1);
}
.footer-brand a:hover img {
  transform: scale(1.03);
}
.footer-tagline {
  font-family: var(--font-tagline);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--md-sys-color-primary);
  margin-bottom: 12px;
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--md-sys-color-secondary);
  margin-bottom: 20px;
}
.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--md-sys-color-primary);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--md-sys-color-tertiary);
  border-radius: 1px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  font-size: 0.9rem;
  color: var(--md-sys-color-secondary);
  transition: var(--transition-m3);
}
.footer-link:hover {
  color: var(--md-sys-color-primary);
  transform: translateX(3px);
}
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--md-sys-color-secondary);
}
.footer-contact-item svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  color: var(--md-sys-color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-link {
  color: var(--md-sys-color-primary);
  font-weight: 600;
  transition: var(--transition-m3);
}
.footer-contact-link:hover {
  color: var(--md-sys-color-tertiary);
}
.footer-contact-link.highlight {
  color: var(--md-sys-color-tertiary);
}

.footer-bottom-wrap {
  background: var(--md-sys-color-primary);
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  margin-top: 32px;
}
.footer-bottom {
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-tagline {
  font-family: var(--font-tagline);
  font-style: italic;
  font-size: 0.95rem;
  color: #7dd3fc;
}

/* ==========================================================================
   15. MATERIAL 3 FLOATING ACTION BUTTON (M3 FAB)
   ========================================================================== */
.m3-fab-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}
.m3-fab-wrapper md-fab {
  --md-fab-container-color: #25d366;
  --md-fab-icon-color: #ffffff;
  --md-fab-label-text-color: #ffffff;
  --md-fab-container-shape: var(--md-sys-shape-corner-large);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   16. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.6rem; }
  .overview-grid { grid-template-columns: 1fr; gap: 32px; }
  .competencies-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .visual-domains-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .domain-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
  .top-bar { display: none !important; }
  .nav-menu { display: none !important; }
  .nav-actions md-filled-button { display: none !important; }
  .mobile-toggle { display: flex !important; align-items: center; justify-content: center; }
  .nav-wrapper { height: 80px; }
  .brand-logo img { height: 62px; max-height: 64px; }
  .site-header.scrolled .nav-wrapper { height: 72px; }
  .site-header.scrolled .brand-logo img { height: 54px; }
  .hero-title { font-size: 2.1rem; }
  .hero-tagline { font-size: 1.15rem; }
  .page-hero-banner { padding: 60px 0 70px; }
  .page-hero-title { font-size: 2.2rem; }
  .value-pillars-grid { grid-template-columns: 1fr; }
  .visual-domains-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .domain-cards-grid { grid-template-columns: 1fr; }
  .about-partners-grid { gap: 24px 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.85rem; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { text-align: center; justify-content: center; }
}

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

@media (max-width: 480px) {
  .nav-wrapper { height: 76px; }
  .brand-logo img { height: 58px; }
  .page-hero-title { font-size: 1.85rem; }
  .quote-callout-box { padding: 18px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions md-filled-button,
  .hero-actions md-outlined-button { width: 100%; }
}
