/* ==========================================================================
   OWNTECH SYSTEMS PVT LTD - OFFICIAL STYLESHEET
   Brand Identity Guidelines: Version 1.0 (November 2026)
   Colors:
     Primary: Sky Blue (#01A4EA) - Energy & Innovation
     Secondary: Deep Navy (#012948) - Trust & Contrast
     Ice: #F2F9FD | Slate: #536A7D | White: #FFFFFF
   Typography: Lato (Heavy 900, Bold 700, Regular 400, Light 300)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700&display=swap');

:root {
  /* Brand Guidelines Tokens */
  --color-primary: #01A4EA;        /* Sky Blue */
  --color-primary-hover: #0093d3;
  --color-primary-light: #e6f6fd;
  --color-primary-glow: rgba(1, 164, 234, 0.25);
  
  --color-navy: #012948;           /* Deep Navy */
  --color-navy-dark: #001b31;
  --color-navy-surface: #061c30;
  --color-navy-card: #0b243d;
  
  --color-ice: #F2F9FD;            /* Ice Background */
  --color-slate: #536A7D;          /* Slate Body & Secondary Text */
  --color-slate-light: #8ea1b0;
  --color-white: #FFFFFF;
  
  --border-light: rgba(83, 106, 125, 0.16);
  --border-blue: rgba(1, 164, 234, 0.3);
  --border-dark: rgba(255, 255, 255, 0.1);
  
  --shadow-sm: 0 2px 8px rgba(1, 41, 72, 0.06);
  --shadow-md: 0 8px 24px rgba(1, 41, 72, 0.08);
  --shadow-lg: 0 16px 40px rgba(1, 41, 72, 0.12);
  --shadow-glow: 0 8px 30px rgba(1, 164, 234, 0.35);

  --font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1240px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  color: var(--color-slate);
  background-color: #FFFFFF;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-navy);
  font-family: var(--font-family);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

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

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

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

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

ul, ol {
  list-style: none;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

.section-ice {
  background-color: var(--color-ice);
}

.section-dark {
  background-color: var(--color-navy);
  color: #ccd6df;
}

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

.section-dark p {
  color: #a5b9c9;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.badge-navy {
  background-color: rgba(1, 41, 72, 0.08);
  color: var(--color-navy);
}

.badge-dark {
  background-color: rgba(1, 164, 234, 0.15);
  color: var(--color-primary);
  border: 1px solid var(--border-blue);
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--color-slate);
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(1, 164, 234, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(1, 164, 234, 0.45);
}

.btn-navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.btn-navy:hover {
  background-color: var(--color-navy-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(1, 41, 72, 0.25);
}

.btn-outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
  background: transparent;
}

.btn-outline-white:hover {
  border-color: var(--color-white);
  background-color: var(--color-white);
  color: var(--color-navy);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

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

.btn-icon-right svg {
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon-right svg {
  transform: translateX(4px);
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */
.announcement-bar {
  background-color: var(--color-navy-dark);
  color: #bed0de;
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.announcement-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.status-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

.announcement-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.announcement-right a {
  color: #bed0de;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

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

/* Main Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(1, 41, 72, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.25s ease;
}

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

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-navy);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, rgba(1, 164, 234, 0.12) 0%, rgba(242, 249, 253, 0.6) 50%, #ffffff 100%);
  overflow: hidden;
  padding: 4rem 0 5rem 0;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-text {
  max-width: 650px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  background: rgba(1, 164, 234, 0.08);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(1, 164, 234, 0.25);
}

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

.hero-title span.text-highlight {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--color-slate);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.hero-highlights {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

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

.stat-number {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}

/* Hero Visual / Card Matrix */
.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-pillar-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(1, 164, 234, 0.2);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
}

.hero-pillar-card:hover {
  transform: translateX(8px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

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

.hero-pillar-card:nth-child(2) .pillar-icon-box {
  background: rgba(1, 41, 72, 0.08);
  color: var(--color-navy);
}

.hero-pillar-card:nth-child(3) .pillar-icon-box {
  background: rgba(1, 164, 234, 0.15);
  color: var(--color-primary);
}

.pillar-card-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: var(--color-navy);
}

.pillar-card-info p {
  font-size: 0.85rem;
  color: var(--color-slate);
  line-height: 1.4;
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: float 4s ease-in-out infinite;
}

/* ==========================================================================
   KEY PILLARS SECTION & HORIZONTAL SCROLL PARALLAX
   ========================================================================== */
.pillars-parallax-section {
  position: relative;
  height: 320vh; /* Smooth vertical scroll duration for horizontal glide */
  background: var(--color-ice);
  box-sizing: border-box;
}

.pillars-sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.25rem 0 2.25rem 0;
  box-sizing: border-box;
  background: radial-gradient(circle at 10% 20%, rgba(1, 164, 234, 0.08) 0%, #F2F9FD 50%, #e8f4fc 100%);
  z-index: 10;
}

/* Ambient Parallax Blobs */
.parallax-ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
  will-change: transform;
}

.parallax-ambient-blob.blob-1 {
  width: 440px;
  height: 440px;
  background: rgba(1, 164, 234, 0.2);
  top: 15%;
  left: 15%;
}

.parallax-ambient-blob.blob-2 {
  width: 520px;
  height: 520px;
  background: rgba(1, 41, 72, 0.1);
  bottom: 8%;
  right: 12%;
}

.parallax-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(1, 41, 72, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

/* Pinned Header & Controls */
.pillars-pinned-header {
  position: relative;
  z-index: 5;
  width: 100%;
}

.pillars-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(83, 106, 125, 0.16);
}

.pillars-header-left {
  max-width: 640px;
}

.pillars-main-title {
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  color: var(--color-navy);
  margin-top: 0.35rem;
  line-height: 1.2;
}

.pillars-header-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  flex-shrink: 0;
}

.pillars-progress-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.mobile-autoscroll-badge {
  display: none;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(1, 164, 234, 0.12);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.auto-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: inline-block;
  box-shadow: 0 0 6px var(--color-primary);
  animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pillars-active-tag {
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  background: var(--color-primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.pillars-counter {
  color: var(--color-navy);
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
}

.pillars-progress-track {
  width: 220px;
  height: 6px;
  background: rgba(1, 41, 72, 0.12);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.pillars-progress-fill {
  height: 100%;
  width: 15%;
  background: linear-gradient(90deg, var(--color-primary), #00d2ff);
  border-radius: var(--radius-pill);
  transition: width 0.08s linear;
}

.pillars-nav-buttons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pillar-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--color-white);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.pillar-nav-btn:hover {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
  transform: scale(1.08);
}

/* Track Viewport & Moving Track */
.pillars-track-viewport {
  position: relative;
  z-index: 5;
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0 2rem 0;
  display: flex;
  align-items: center;
}

.pillars-parallax-track {
  display: flex;
  gap: 2.25rem;
  padding-left: max(1.5rem, calc((100vw - var(--container-max)) / 2 + 1.5rem));
  padding-right: 6rem;
  will-change: transform;
  align-items: stretch;
}

/* Card Slides */
.pillar-card-slide {
  flex: 0 0 440px;
  max-width: 440px;
  box-sizing: border-box;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.pillar-card-slide.pillar-box {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  min-height: 480px;
}

.pillar-card-slide.in-focus {
  border-color: var(--color-primary);
  box-shadow: 0 14px 40px rgba(1, 164, 234, 0.22);
  transform: translateY(-4px);
}

.pillar-card-action {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.pillar-card-action .btn {
  flex-shrink: 0;
  max-width: 100%;
}

.slide-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Parallax Watermark Number */
.pillar-parallax-number {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(1, 41, 72, 0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  transition: transform 0.1s linear, color 0.3s ease;
}

.pillar-card-slide:hover .pillar-parallax-number,
.pillar-card-slide.in-focus .pillar-parallax-number {
  color: rgba(1, 164, 234, 0.22);
}

/* Intro & Outro Special Slides */
.pillar-card-slide.intro-card {
  flex: 0 0 380px;
  background: linear-gradient(145deg, var(--color-navy), #06223b);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 480px;
}

.intro-card-inner h3 {
  color: var(--color-white);
  font-size: 1.7rem;
  line-height: 1.3;
  margin: 1rem 0;
}

.intro-card-inner p {
  color: #bed0de;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.scroll-instruction {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(1, 164, 234, 0.12);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-blue);
  animation: pulseGlow 2.5s infinite;
}

.instruction-arrow {
  display: flex;
  align-items: center;
  animation: floatHorizontal 2s ease-in-out infinite;
}

@keyframes floatHorizontal {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.pillar-card-slide.synergy-card {
  flex: 0 0 400px;
  background: var(--color-white);
  border: 2px dashed var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-md);
  min-height: 480px;
}

.synergy-card-inner h3 {
  font-size: 1.6rem;
  color: var(--color-navy);
  margin: 0.85rem 0;
}

.synergy-card-inner p {
  font-size: 0.9rem;
  color: var(--color-slate);
  margin-bottom: 1.5rem;
}

.synergy-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-ice);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-navy);
}

.flow-node {
  background: var(--color-white);
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.flow-arrow {
  color: var(--color-primary);
  font-size: 1rem;
}

/* Mobile & Tablet Fallbacks for Pillars */
@media (max-width: 900px) {
  .pillar-card-action {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding-top: 1rem;
  }

  .pillar-card-action .btn {
    width: 100%;
    min-height: 44px;
    padding: 0.75rem 1rem;
    white-space: normal;
  }

  .pillar-card-action .slide-tag {
    text-align: center;
    line-height: 1.5;
  }

  .mobile-autoscroll-badge {
    display: inline-flex;
  }

  .pillars-parallax-section {
    height: auto;
  }

  .pillars-sticky-container {
    position: relative;
    height: auto;
    padding: 3.5rem 0 3rem 0;
  }

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

  .pillars-header-controls {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .pillars-progress-track {
    width: 130px;
  }

  .pillars-track-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.5rem;
  }

  .pillars-parallax-track {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    gap: 1.5rem;
  }

  .pillar-card-slide {
    flex: 0 0 85vw;
    max-width: 85vw;
    scroll-snap-align: center;
    min-height: auto;
  }

  .pillar-card-slide.intro-card,
  .pillar-card-slide.synergy-card {
    flex: 0 0 85vw;
    max-width: 85vw;
    scroll-snap-align: center;
  }
}

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

.pillar-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 2.75rem 2.25rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pillar-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: var(--transition);
}

.pillar-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-blue);
}

.pillar-box:hover::before {
  background: var(--color-primary);
}

.pillar-number {
  font-size: 2.75rem;
  font-weight: 900;
  color: rgba(1, 41, 72, 0.12);
  line-height: 1;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.pillar-box:hover .pillar-number {
  color: var(--color-primary);
  opacity: 0.35;
}

.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--color-ice);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(1, 164, 234, 0.2);
}

.pillar-title {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--color-slate);
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.pillar-features {
  margin-bottom: 2rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border-light);
}

.pillar-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
  color: var(--color-navy);
  font-weight: 500;
}

.pillar-features li svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   INTERACTIVE PILLARS TAB SHOWCASE
   ========================================================================== */
.tabs-control {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

.tab-btn.active {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
  box-shadow: 0 4px 14px rgba(1, 41, 72, 0.2);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  animation: fadeIn 0.4s ease forwards;
}

.tab-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.tab-info p.lead {
  font-size: 1.1rem;
  color: var(--color-slate);
  margin-bottom: 1.5rem;
}

.tab-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-navy);
}

.check-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.tab-visual {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.visual-mockup-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.dot-red, .dot-yellow, .dot-green {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup-item {
  background: var(--color-ice);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-primary);
}

.mockup-item strong {
  display: block;
  color: var(--color-navy);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.mockup-item span {
  font-size: 0.85rem;
  color: var(--color-slate);
}

/* ==========================================================================
   METRICS & STATS BAR
   ========================================================================== */
.stats-strip {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: center;
}

.stat-card {
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.25rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.counter-value {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.counter-suffix {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-primary);
}

.stat-desc {
  font-size: 0.95rem;
  color: #ccd6df;
  font-weight: 500;
}

/* ==========================================================================
   PROJECT ESTIMATOR / CONFIGURATOR WIDGET
   ========================================================================== */
.estimator-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.estimator-inputs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.estimator-group-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.85rem;
}

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

.service-option-card {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: #ffffff;
}

.service-option-card:hover {
  border-color: var(--color-primary);
}

.service-option-card.selected {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.service-option-card svg {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.service-option-card span {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-navy);
}

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

.tier-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.tier-card.selected {
  border-color: var(--color-navy);
  background: var(--color-navy);
  color: var(--color-white);
}

.tier-card.selected .tier-title {
  color: var(--color-white);
}

.tier-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-navy);
}

.tier-sub {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Estimator Result Output */
.estimator-output {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.output-header h4 {
  color: var(--color-white);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.output-header p {
  color: #a5b9c9;
  font-size: 0.85rem;
}

.output-summary-box {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: #bed0de;
}

.summary-row:last-child {
  margin-bottom: 0;
}

.summary-row strong {
  color: var(--color-white);
  text-align: right;
  max-width: 60%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.output-timeline {
  margin-bottom: 1.5rem;
}

.output-timeline-label {
  font-size: 0.8rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.output-timeline-val {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-white);
}

/* ==========================================================================
   TECH ARSENAL & FRAMEWORKS
   ========================================================================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.tech-item {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

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

.tech-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.tech-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-navy);
}

/* ==========================================================================
   CASE STUDIES & SUCCESS STORIES
   ========================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.case-card {
  min-width: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-blue);
}

.case-badge-bar {
  padding: 1.5rem 1.5rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  align-items: center;
}

.case-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.case-body {
  padding: 1.5rem;
  flex-grow: 1;
}

.case-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-navy);
}

.case-desc {
  font-size: 0.9rem;
  color: var(--color-slate);
  margin-bottom: 1.5rem;
}

.case-metric {
  background: var(--color-ice);
  padding: 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.case-metric-value {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1;
}

.case-metric-text {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.8rem;
  color: var(--color-slate);
  font-weight: 700;
}

/* ==========================================================================
   BRAND VALUES & WHY CHOOSE US
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-primary);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(1, 164, 234, 0.2);
}

.value-card:hover::before {
  opacity: 1;
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(1, 164, 234, 0.2);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.value-card h3 {
  font-size: 1.35rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.92rem;
  color: #a5b9c9;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-question {
  padding: 1.35rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-navy);
  user-select: none;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-ice);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  padding: 0 1.75rem 1.5rem 1.75rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--color-slate);
  line-height: 1.65;
}

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card-info {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

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

.contact-detail h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-detail p,
.contact-detail a {
  font-size: 0.95rem;
  color: var(--color-slate);
}

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

.form-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 2.75rem;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-family);
  font-size: 0.95rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--color-ice);
  color: var(--color-navy);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(1, 164, 234, 0.15);
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-navy);
  color: #a5b9c9;
  padding-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin: 1.25rem 0 1.5rem 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #a5b9c9;
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  height: 48px;
  width: auto;
}

.footer-heading {
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-primary);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #ccd6df;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-family: var(--font-family);
  font-size: 0.9rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.footer-bottom {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}

.footer-bottom .footer-credit {
  margin-top: 1.25rem;
  text-align: center;
  font-size: .8rem;
  color: #a5b9c9;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #72d4ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-credit a:hover { color: #ffffff; }

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

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

/* ==========================================================================
   MODAL & TOAST
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 41, 72, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-slate);
}

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   SUBPAGE STYLING (About, Products, Software, BPO)
   ========================================================================== */
.subpage-hero {
  background: radial-gradient(circle at 90% 10%, rgba(1, 164, 234, 0.15) 0%, #012948 70%);
  color: var(--color-white);
  padding: 6rem 0 5rem 0;
  position: relative;
  overflow: hidden;
}

.subpage-hero h1 {
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.subpage-hero p.lead {
  font-size: 1.25rem;
  color: #bed0de;
  max-width: 700px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: #bed0de;
}

.breadcrumb a:hover {
  color: var(--color-white);
}

/* Feature Details Grid */
.details-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.details-split:nth-child(even) {
  direction: rtl;
}

.details-split:nth-child(even) > * {
  direction: ltr;
}

.details-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  background: var(--color-ice);
  padding: 2.5rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-highlights {
    justify-content: center;
  }

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

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .stat-card:nth-child(2)::after {
    display: none;
  }

  .estimator-wrapper {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--color-white);
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    gap: 1.25rem;
    align-items: flex-start;
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }

  .header-cta-btn {
    display: none;
  }

  .announcement-right {
    display: none;
  }

  .pillars-grid,
  .cases-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .tab-content.active {
    grid-template-columns: 1fr;
  }

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

  .service-select-grid,
  .tier-select-grid {
    grid-template-columns: 1fr;
  }

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

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

  .details-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}


/* Small-screen layout and touch controls shared by all public pages. */
.hero-content > *, .details-split > *, .contact-grid > *,
.estimator-wrapper > *, .footer-top > *, .form-row > *, .tab-content > * {
  min-width: 0;
}
.contact-detail, .footer-brand, .detail-value { overflow-wrap: anywhere; }
.newsletter-input { min-width: 0; }
.btn svg, .badge svg, .hero-tagline svg { flex-shrink: 0; }
section[id] { scroll-margin-top: 88px; }
.modal-card {
  max-height: calc(100dvh - 3rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

@media (max-width: 1024px) {
  .header-inner { height: 72px; gap: 1rem; }
  .brand-logo { min-width: 0; }
  .brand-logo img { max-width: 220px; height: auto; max-height: 48px; }
  .mobile-toggle { display: block; min-width: 44px; min-height: 44px; }
  .header-cta-btn, .announcement-right { display: none; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-menu.open { transform: none; visibility: visible; opacity: 1; pointer-events: auto; }
  .nav-link { display: block; padding: 0.7rem 0; min-height: 44px; }
  .details-split { gap: 2rem; }
}

@media (max-width: 900px) {
  .pillars-header-controls, .pillars-progress-info { flex-wrap: wrap; gap: .75rem; }
  .pillar-nav-btn { width: 44px; height: 44px; }
}

@media (max-width: 768px) {
  .container { padding-inline: 1rem; }
  .header-inner {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: .5rem;
  }
  .header-inner .brand-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    justify-content: center;
    max-width: 100%;
  }
  .header-inner .brand-logo img { max-width: 100%; }
  .header-inner .header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
  .announcement-bar { padding-block: .65rem; line-height: 1.5; }
  .announcement-left { align-items: flex-start; min-width: 0; gap: .6rem; }
  .announcement-left .status-dot { margin-top: .35rem; }
  .announcement-left > span:last-child { min-width: 0; text-wrap: pretty; }
  .announcement-left strong { display: block; margin-bottom: .15rem; }
  .operational-showcase .section-title {
    font-size: clamp(1.5rem, 6vw, 1.85rem);
    line-height: 1.3;
    text-wrap: balance;
  }
  .cases-grid { gap: 1.25rem; }
  .case-badge-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.25rem 0;
    gap: .5rem;
  }
  .case-tag { max-width: 100%; }
  .case-body { padding: 1rem 1.25rem 1.25rem; }
  .case-title { line-height: 1.4; }
  .case-desc { margin-bottom: 1.25rem; }
  .case-metric {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }
  .case-metric-text { font-size: .875rem; line-height: 1.5; }
  .section { padding-block: 3rem; }
  .section-header { margin-bottom: 2rem; }
  .hero {
    min-height: auto;
    padding: 2.75rem 0 2.5rem;
    background:
      radial-gradient(ellipse at 85% 5%, rgba(1, 164, 234, .16), transparent 45%),
      linear-gradient(180deg, #f6fbff 0%, #ffffff 60%, #edf7fc 100%);
  }
  .hero #hero-canvas { opacity: .2; }
  .hero-content { gap: 1.75rem; max-width: 560px; }
  .hero-title, .subpage-hero h1 { font-size: clamp(2rem, 7.5vw, 3rem); overflow-wrap: anywhere; }
  .hero .hero-title {
    font-size: clamp(2rem, 8.5vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -.035em;
    text-wrap: balance;
    margin-bottom: 1.25rem;
    overflow-wrap: normal;
  }
  .hero-title span.text-highlight {
    display: block;
    margin-top: .2rem;
    color: #008bc7;
  }
  .hero-title br { display: none; }
  .hero-description, .subpage-hero p.lead, .section-subtitle { font-size: 1rem; }
  .hero-description { font-size: .95rem; line-height: 1.75; max-width: 38ch; margin: 0 auto 1.5rem; text-wrap: pretty; }
  .hero-tagline {
    font-size: .65rem;
    letter-spacing: .07em;
    padding: .5rem .75rem;
    margin-bottom: 1.25rem;
    background: rgba(255, 255, 255, .85);
    border-color: rgba(1, 164, 234, .2);
    box-shadow: 0 3px 12px rgba(1, 41, 72, .04);
  }
  .hero-actions { flex-direction: column; gap: .65rem; margin-bottom: 1.75rem; }
  .hero-actions .btn { width: 100%; min-height: 52px; border-radius: 12px; font-size: .95rem; }
  .hero-actions .btn-primary {
    background: linear-gradient(120deg, #0085c1, #01a4ea);
    box-shadow: 0 6px 18px rgba(1, 164, 234, .2);
  }
  .hero-actions .btn-outline { background: rgba(255, 255, 255, .8); border: 1px solid #b8dbea; color: var(--color-navy); }
  .hero-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    padding: 1.25rem .5rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: linear-gradient(120deg, #012948, #064368);
    box-shadow: 0 8px 24px rgba(1, 41, 72, .1);
  }
  .hero-stat-item { min-width: 0; padding-inline: .4rem; justify-content: flex-start; gap: .5rem; }
  .hero-stat-item + .hero-stat-item { border-left: 1px solid rgba(255, 255, 255, .16); }
  .hero-highlights .stat-number { color: #ffffff; font-size: clamp(1rem, 4.7vw, 1.5rem); letter-spacing: -.025em; white-space: nowrap; }
  .hero-highlights .stat-label { color: #c4e1ef; font-size: .65rem; line-height: 1.45; text-transform: none; letter-spacing: 0; margin-top: 0; text-wrap: balance; }
  .hero-card-stack { gap: .75rem; }
  .hero-pillar-card {
    padding: 1.1rem 1rem;
    gap: .85rem;
    text-align: left;
    border-radius: 14px;
    border-color: #dceaf2;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 4px 14px rgba(1, 41, 72, .04);
  }
  .hero-pillar-card .pillar-icon-box { width: 46px; height: 46px; border-radius: 12px; }
  .hero-pillar-card .pillar-card-info { min-width: 0; }
  .hero-pillar-card h4 { font-size: .95rem; line-height: 1.35; margin-bottom: .3rem; }
  .hero-pillar-card p { font-size: .8rem; line-height: 1.5; }
  .hero .floating-badge {
    position: static;
    align-self: center;
    font-size: .65rem;
    padding: .6rem .75rem;
    margin-top: .25rem;
    background: transparent;
    color: var(--color-slate);
    border: 0;
    box-shadow: none;
    animation: none;
  }
  .btn { white-space: normal; min-height: 44px; }
  .btn-lg { padding: .85rem 1rem; font-size: 1rem; }
  .subpage-hero { padding: 3rem 0; }
  .breadcrumb { flex-wrap: wrap; }
  .estimator-wrapper, .form-box, .details-media, .tab-visual { padding: 1.25rem; }
  .estimator-wrapper { gap: 1.5rem; }
  .estimator-output { padding: 1.25rem; }
  .output-summary-box { padding: 1rem; }
  .summary-row {
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    margin-bottom: 1rem;
  }
  .summary-row strong {
    max-width: 100%;
    width: 100%;
    text-align: left;
    line-height: 1.6;
  }
  .form-control, .newsletter-input { font-size: 16px; min-width: 0; }
  .contact-card-info { gap: .75rem; }
  .contact-icon-bubble { flex-shrink: 0; }
  .details-split { margin-bottom: 3rem; }
  .details-split:nth-child(even) { direction: ltr; }
  .tab-content.active { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .tab-info h3 { font-size: 1.5rem; line-height: 1.35; margin-bottom: .75rem; text-wrap: balance; }
  .tab-info p.lead { font-size: 1rem; line-height: 1.65; margin-bottom: 1.25rem; }
  .tab-info > .btn { width: 100%; }
  .tab-check-grid { grid-template-columns: minmax(0, 1fr); gap: .75rem; margin-bottom: 1.5rem; }
  .tabs-control { flex-direction: column; align-items: stretch; gap: .5rem; margin-bottom: 1.5rem; }
  .tab-btn { justify-content: center; padding: .75rem 1rem; min-height: 44px; width: 100%; }
  .tab-btn svg { flex-shrink: 0; }
  .tab-btn.active { box-shadow: var(--shadow-sm); }
  .visual-mockup-header > .dot-red,
  .visual-mockup-header > .dot-yellow,
  .visual-mockup-header > .dot-green { flex-shrink: 0; }
  .visual-mockup-header > span:last-child { min-width: 0; overflow-wrap: anywhere; }
  .stats-grid { gap: 2rem 1rem; }
  .stat-card::after { display: none; }
  .counter-value { font-size: 2rem; }
  .counter-suffix { font-size: 1.5rem; }
  .footer-bottom-inner > div { flex-wrap: wrap; justify-content: center; }
  .site-footer { padding-top: 2.5rem; }
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.25rem;
    margin-bottom: 2rem;
  }
  .footer-brand, .footer-newsletter { grid-column: 1 / -1; }
  .footer-brand { text-align: center; }
  .footer-logo { max-width: 200px; }
  .footer-logo img { width: 100%; height: auto; max-height: 48px; object-fit: contain; }
  .footer-brand p { max-width: 42ch; margin: 1rem auto; font-size: .875rem; line-height: 1.7; }
  .footer-brand .social-links { justify-content: center; gap: .75rem; }
  .social-btn { width: 44px; height: 44px; }
  .footer-heading { font-size: 1rem; margin-bottom: .75rem; }
  .footer-links li { margin-bottom: .15rem; }
  .footer-links a { display: flex; align-items: center; min-height: 44px; font-size: .85rem; line-height: 1.45; padding-block: .5rem; }
  .footer-links a:hover { padding-left: 0; }
  .footer-newsletter {
    padding: 1.25rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
  }
  .newsletter-form { width: 100%; align-items: stretch; }
  .newsletter-input { width: 0; flex: 1 1 0; padding: .75rem; }
  .newsletter-form .btn { flex: 0 0 44px; padding-inline: .5rem; }
  .footer-bottom { padding: 1.25rem 0 max(1.25rem, env(safe-area-inset-bottom)); }
  .footer-bottom-inner { gap: .75rem; }
  .footer-bottom-inner > p { max-width: 38ch; font-size: .75rem; line-height: 1.7; text-wrap: balance; }
  .footer-legal-links { gap: 0 1rem; }
  .footer-legal-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .75rem; }
  .footer-bottom .footer-credit { margin-top: .75rem; }
  .modal-overlay { padding: 1rem; }
  .modal-card { padding: 2.75rem 1.25rem 1.25rem; max-height: calc(100dvh - 2rem); }
  .modal-close { top: .25rem; right: .5rem; width: 44px; height: 44px; }
  .toast { bottom: 1rem; right: 1rem; left: 1rem; padding: 1rem; overflow-wrap: anywhere; }
  .section-dark .container > .cta-actions { flex-wrap: wrap; }
  .details-media .panel-heading { flex-wrap: wrap; gap: .5rem; }
}

@media (max-width: 480px) {
  .hero-actions > .btn, .cta-actions > .btn, .tab-btn { width: 100%; }
  .pillar-box, .value-card { padding: 1.5rem; }
  .pillar-card-slide.pillar-box, .pillar-card-slide.intro-card,
  .pillar-card-slide.synergy-card { padding: 1.5rem 1.25rem; min-height: auto; }
  .pillars-progress-track { width: 100%; order: 3; }
  .pillars-progress-info { gap: .5rem; }
  .mobile-autoscroll-badge { display: none; }
  .synergy-flow { flex-wrap: wrap; gap: .35rem; padding: .75rem .5rem; }
  .details-media { padding: .75rem; }
}

/* ==========================================================================
   LEGAL PAGES STYLING (Privacy Policy & Terms and Conditions)
   ========================================================================== */
.legal-wrapper {
  padding: 4.5rem 0 6rem 0;
  background-color: var(--color-white);
}

.legal-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}

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

.legal-sidebar-heading {
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-navy);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--color-primary-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.legal-toc-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: var(--color-slate);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  line-height: 1.35;
}

.legal-toc-link:hover,
.legal-toc-link.active {
  background: var(--color-primary-light);
  color: var(--color-navy);
  font-weight: 700;
  transform: translateX(3px);
}

.legal-toc-num {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--color-primary);
  width: 1.6rem;
  flex-shrink: 0;
}

.legal-sidebar-card {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--color-ice);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.legal-sidebar-card h5 {
  font-size: 0.92rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.legal-sidebar-card p {
  color: var(--color-slate);
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  line-height: 1.5;
}

.legal-content {
  color: var(--color-slate);
  font-size: 1rem;
  line-height: 1.8;
}

.legal-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  padding: 1.25rem 1.75rem;
  background: var(--color-ice);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 2.5rem;
}

.legal-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-navy);
}

.legal-meta-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.legal-meta-item strong {
  color: var(--color-navy);
}

.legal-section {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-light);
  scroll-margin-top: 110px;
}

.legal-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.legal-section-num {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--color-primary);
  font-family: var(--font-family);
  background: var(--color-primary-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.legal-section h2 {
  font-size: 1.65rem;
  color: var(--color-navy);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

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

.legal-section p {
  margin-bottom: 1.25rem;
  color: #4a6174;
}

.legal-section ul,
.legal-section ol {
  margin: 0 0 1.5rem 1.5rem;
  padding: 0;
}

.legal-section li {
  margin-bottom: 0.6rem;
  color: #4a6174;
  line-height: 1.7;
}

.legal-section strong {
  color: var(--color-navy);
}

.legal-callout {
  background: var(--color-ice);
  border-left: 4px solid var(--color-primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}

.legal-callout.callout-navy {
  border-left-color: var(--color-navy);
  background: #f7fafc;
}

.legal-callout-title {
  font-weight: 700;
  color: var(--color-navy);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-callout p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-slate);
  line-height: 1.6;
}

.legal-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border-light);
}

.legal-table th {
  background: var(--color-ice);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table tr:hover td {
  background: #fafcfe;
}

.legal-contact-card {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
}

.legal-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.legal-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.legal-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.legal-contact-text h5 {
  font-size: 0.9rem;
  color: var(--color-navy);
  margin-bottom: 0.2rem;
}

.legal-contact-text p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--color-slate);
}

.legal-contact-text a {
  color: var(--color-primary);
  text-decoration: none;
}

.legal-contact-text a:hover {
  text-decoration: underline;
}

.legal-action-bar {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.legal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(1, 164, 234, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(1, 164, 234, 0.2);
}

@media (max-width: 992px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .legal-sidebar {
    position: static;
    max-height: none;
  }
}

@media print {
  .announcement-bar,
  .site-header,
  .legal-sidebar,
  .site-footer,
  .modal-overlay,
  .legal-action-bar,
  .breadcrumb {
    display: none !important;
  }
  .subpage-hero {
    background: #012948 !important;
    color: #fff !important;
    padding: 2rem 0 !important;
  }
  .legal-wrapper {
    padding: 1rem 0 !important;
  }
  .legal-grid {
    display: block !important;
  }
  .legal-content {
    font-size: 11pt !important;
    line-height: 1.5 !important;
  }
  .legal-section {
    page-break-inside: avoid;
  }
}

