/* ==========================================================================
   BSL - BAE Systems Strategic Aerospace Services
   High-Fidelity Design System & Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Color Palette Tokens */
  --color-burgundy-900: #2b0412;
  --color-burgundy-800: #4a0921;
  --color-burgundy-700: #821445;
  /* Primary Brand Standard Crimson (#821445) */
  --color-brand-primary: #821445;
  --color-burgundy-600: #961851;
  --color-crimson-500: #821445;
  /* Enforce #821445 standard across crimson tokens */
  --color-magenta-accent: #d12c71;
  --color-magenta-light: #fbebf2;

  --color-navy-900: #0c1424;
  --color-navy-800: #15233d;
  --color-navy-700: #1d335a;
  --color-navy-accent: #26467c;

  --color-slate-900: #111116;
  --color-slate-800: #1f1f26;
  --color-slate-600: #4a4b57;
  --color-slate-400: #888996;
  --color-slate-200: #e2e3e9;
  --color-slate-100: #f4f5f8;
  --color-white: #ffffff;

  /* Gradients */
  --gradient-wine-hero: linear-gradient(135deg, rgba(43, 4, 18, 0.82) 0%, rgba(99, 12, 52, 0.45) 60%, rgba(21, 35, 61, 0.7) 100%);
  --gradient-wine-radial: radial-gradient(circle at 80% 20%, #851246 0%, #52092a 50%, #2f0416 100%);
  --gradient-stats-bg: linear-gradient(160deg, #600c31 0%, #3a061c 100%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;

  /* Shadows & Glass */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(99, 12, 52, 0.15);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.25);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: 1px solid rgba(255, 255, 255, 0.3);
  --glass-blur: backdrop-filter: blur(16px);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-full: 0px;
  /* Strictly NO rounded corners */
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-white);
  color: var(--color-slate-800);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-slate-900);
}

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

ul,
ol {
  list-style: none;
}

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

button,
input {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: transparent;
}

/* ==========================================================================
   Utility Classes & Design Tokens
   ========================================================================== */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 4vw;
}

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

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

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

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

.text-muted {
  color: var(--color-slate-600);
}

.bg-burgundy {
  background-color: var(--color-burgundy-700);
}

.bg-light {
  background-color: var(--color-slate-100);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f4;
}

::-webkit-scrollbar-thumb {
  background: var(--color-burgundy-700);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-crimson-500);
}

/* Button Component Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  padding: 0.85rem 2rem;
  border-radius: 0px !important;
  /* Strictly NO ROUNDED CORNER */
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-burgundy-700);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  background-color: var(--color-burgundy-700);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 12, 52, 0.4);
}

.btn-white:hover .icon-circle {
  background-color: var(--color-white);
  color: var(--color-burgundy-700);
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--color-white);
  padding: 0.75rem 1.75rem;
}

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

.btn-careers {
  background-color: var(--color-white);
  color: var(--color-slate-900);
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}

.btn-careers .icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-burgundy-700);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-bounce);
}

.btn-careers:hover .icon-circle {
  transform: translateX(4px) scale(1.08);
  background-color: var(--color-magenta-accent);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.25rem 0;
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
}

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

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

.logo-icon {
  width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition-fast);
}

.header.scrolled .logo-icon {
  filter: none;
}

.header.scrolled .logo-icon path {
  fill: var(--color-burgundy-700);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  margin-right: 2.5rem;
}

.nav-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-white);
  position: relative;
  transition: var(--transition-fast);
}

.header.scrolled .nav-item {
  color: var(--color-slate-800);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-magenta-accent);
  transition: var(--transition-smooth);
}

.nav-item:hover {
  color: var(--color-magenta-accent) !important;
}

.nav-item:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  color: var(--color-white);
  font-size: 1.5rem;
}

.header.scrolled .mobile-menu-btn {
  color: var(--color-slate-900);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  background-color: var(--color-navy-900);
  overflow: hidden;
}

.hero-bg,
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(115deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.05) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero h1,
.hero h2,
.hero h3,
.hero p,
.hero-description {
  color: var(--color-white) !important;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 900px;
}

.hero-main-title {
  font-size: clamp(3rem, 5.5vw, 5.25rem);
  font-weight: 600;
  color: var(--color-white) !important;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 2.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-actions-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Explicitly Enforce Zero Rounded Corners on All Hero Buttons */
.hero .btn,
.hero-actions-left .btn,
.hero-sub-card .btn {
  border-radius: 0px !important;
}

.hero-sub-card {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.hero-description {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 480px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.badge-jv {
  margin-top: 0;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--color-white) !important;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  align-self: flex-start;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.badge-jv:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.badge-jv i {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1.1rem;
}

/* ==========================================================================
   At Glance Section
   ========================================================================== */
.at-glance {
  position: relative;
  padding: 7rem 0;
  background-color: var(--color-white);
  overflow: hidden;
}

.glance-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.glance-text {
  max-width: 620px;
  position: relative;
  z-index: 5;
}

.eyebrow {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-slate-800);
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.glance-title {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  color: var(--color-burgundy-700);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 2rem;
}

.glance-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-burgundy-700);
  font-size: 2.25rem;
  background-color: transparent;
  transition: var(--transition-bounce);
  padding: 0;
}

.glance-arrow:hover {
  transform: translate(6px, 6px);
  color: var(--color-crimson-500);
}

.glance-graphic {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-burgundy-700) 0%, var(--color-burgundy-900) 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

/* Subtle pattern overlay on glance graphic */
.glance-graphic::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  padding: 6rem 0 8rem;
  background-color: var(--color-white);
  position: relative;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}

.services-eyebrow {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 0.75rem;
}

.services-title {
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-slate-400);
  letter-spacing: -1px;
}

.services-title span.active {
  color: var(--color-slate-800);
}

.see-all-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-slate-900);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--color-slate-800);
  transition: var(--transition-fast);
}

.see-all-link:hover {
  color: var(--color-burgundy-700);
  border-color: var(--color-burgundy-700);
  transform: translateX(4px);
}

/* Services Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  /* Tight gapless corporate grid alignment */
  margin-bottom: 3.5rem;
}

.service-card {
  position: relative;
  height: auto;
  aspect-ratio: 3 / 4;
  /* Standardized 3:4 Vertical Corporate Card Ratio */
  border-radius: 0px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.25rem, 2vw, 2.25rem);
  /* Fluid padding adapts without gaps */
  background-color: #F8FAFC;
  /* Solid clean background - NO black space */
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: var(--transition-smooth);
}

.service-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Guarantees zero black borders or void gaps */
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.service-card:hover .service-bg {
  transform: scale(1.08);
}

/* Solid Brand Shields - Zero Gradients or Black Space */
.card-hr::before {
  background-color: rgba(130, 20, 69, 0.68);
}

.card-training::before {
  background-color: rgba(15, 23, 42, 0.68);
}

.card-procurement::before {
  background-color: rgba(30, 41, 59, 0.68);
}

.card-top-action {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 5;
  transition: var(--transition-bounce);
}

.action-pink {
  background-color: var(--color-burgundy-700);
  color: var(--color-white);
}

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

.service-card:hover .card-top-action {
  transform: scale(1.15) rotate(45deg);
}

.card-icon-left {
  position: absolute;
  top: 2rem;
  left: 2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2.25rem;
  z-index: 5;
}

.card-content {
  position: relative;
  z-index: 5;
}

.card-brand-tag {
  font-size: clamp(0.68rem, 0.8vw, 0.75rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.card-title {
  font-size: clamp(1.65rem, 2.2vw, 2.35rem);
  /* Text adjusts based on 3:4 dimensions */
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin: 0;
}

.card-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.82rem, 0.95vw, 0.96rem);
  /* Fluid text scaling without gaps */
  margin: 0.5rem 0 1rem;
  line-height: 1.45;
}

.card-link {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.card-link:hover {
  color: var(--color-magenta-accent);
  transform: translateX(4px);
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 1rem;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid var(--color-slate-400);
  transition: var(--transition-fast);
  cursor: pointer;
}

.dot.active {
  background-color: var(--color-burgundy-700);
  border-color: var(--color-burgundy-700);
  transform: scale(1.2);
}

.carousel-arrows {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
  cursor: pointer;
}

.arrow-prev {
  border: 1px solid var(--color-slate-200);
  color: var(--color-slate-600);
}

.arrow-prev:hover {
  border-color: var(--color-burgundy-700);
  color: var(--color-burgundy-700);
}

.arrow-next {
  background-color: var(--color-burgundy-700);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(99, 12, 52, 0.3);
}

.arrow-next:hover {
  background-color: var(--color-crimson-500);
  transform: translateX(3px);
}

/* ==========================================================================
   Recognised for Excellence Section
   ========================================================================== */
.excellence-section {
  padding: 5rem 0;
  background-color: var(--color-slate-100);
}

.center-title {
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 300;
  margin-bottom: 3.5rem;
  color: var(--color-slate-600);
}

.center-title strong {
  font-weight: 700;
  color: var(--color-burgundy-700);
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  /* Tight corporate grid without gaps */
  width: 100%;
}

.badge-card {
  background-color: var(--color-white);
  width: 100%;
  height: auto;

  border-radius: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 1.5vw, 1.5rem);
  /* Responsive padding prevents gaps */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.badge-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(99, 12, 52, 0.12);
  border-bottom: 3px solid var(--color-burgundy-700);
}

.badge-img {
  width: 100%;
  height: 100%;
  max-height: 88%;
  max-width: 90%;
  object-fit: contain;
  filter: grayscale(10%);
  transition: var(--transition-fast);
}

.badge-card:hover .badge-img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

/* ==========================================================================
   Verifiable Credentials / Statistics Section
   ========================================================================== */
.stats-section {
  padding: 7rem 0;
  background: var(--gradient-stats-bg);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

/* Background diagonal dynamic watermark pattern */
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 2px, transparent 2px, transparent 30px);
  pointer-events: none;
}

.stats-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: flex-end;
  gap: 4rem;
  margin-bottom: 4.5rem;
  position: relative;
  z-index: 2;
}

.stats-section h1,
.stats-section h2,
.stats-section h3,
.stats-eyebrow-title,
.stats-main-title {
  color: var(--color-white) !important;
}

.stats-eyebrow-title {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
}

.stats-main-title {
  font-size: clamp(2.5rem, 3.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  /* Tight alignment without empty gap voids */
  position: relative;
  z-index: 2;
}

.stat-card {
  position: relative;
  padding: clamp(1.25rem, 2vw, 2rem);
  /* Fluid responsive card padding */
  border-radius: 0px;
  overflow: hidden;
  transition: var(--transition-smooth);
  height: auto;
  aspect-ratio: 3 / 4;
  /* Standardized 3:4 Vertical Corporate Card Ratio */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card.card-dark {
  background-color: #4A0E28;
  /* Solid deep crimson tone - NO black space */
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-card.card-dark:hover {
  background-color: #631235;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

.stat-card.card-light {
  background: var(--color-white);
  color: var(--color-slate-900) !important;
}

.stat-card.card-light .stat-number,
.stat-card.card-light .stat-label {
  color: var(--color-slate-900) !important;
}

.stat-card.card-light:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.stat-watermark {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: clamp(5rem, 7.5vw, 7.5rem);
  /* Text scales dynamically */
  font-weight: 900;
  line-height: 1;
  font-family: var(--font-heading);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.card-dark .stat-watermark {
  color: rgba(255, 255, 255, 0.05);
}

.card-light .stat-watermark {
  color: rgba(0, 0, 0, 0.04);
}

.stat-card:hover .stat-watermark {
  transform: scale(1.05) translate(-5px, 5px);
}

.card-dark:hover .stat-watermark {
  color: rgba(255, 255, 255, 0.09);
}

.card-light:hover .stat-watermark {
  color: rgba(130, 20, 69, 0.08);
}

.stat-icon {
  font-size: clamp(1.85rem, 2.5vw, 2.5rem);
  margin-bottom: auto;
  transition: var(--transition-bounce);
}

.card-dark .stat-icon {
  color: #FFA3CD;
}

.card-light .stat-icon {
  color: #821445;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(10deg);
}

.stat-number {
  font-size: clamp(2.35rem, 3.5vw, 3.8rem);
  /* Text adjusts based on vertical 3:4 stature */
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.35rem;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: clamp(0.92rem, 1.1vw, 1.2rem);
  /* Fluid text adaptation */
  font-weight: 600;
  opacity: 0.9;
}

/* ==========================================================================
   What is ICV? Banner
   ========================================================================== */
.icv-section {
  padding: 6rem 0;
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.icv-container {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  align-items: center;
  gap: 5rem;
  position: relative;
  z-index: 3;
}

.icv-title {
  font-size: clamp(2.5rem, 3.5vw, 3.5rem);
  font-weight: 300;
  color: var(--color-slate-700);
  line-height: 1.2;
}

.icv-title strong {
  font-weight: 900;
  color: var(--color-burgundy-700);
  display: block;
  letter-spacing: -1px;
}

.icv-arrow-divider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-slate-300);
  font-size: 2.5rem;
  font-weight: 200;
}

.icv-content p {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-slate-600);
  margin-bottom: 1.5rem;
}

.icv-content p.highlight-box {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-burgundy-700);
  padding-left: 1.5rem;
  border-left: 4px solid var(--color-burgundy-700);
}

.icv-shield-watermark {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  opacity: 0.04;
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   Our Values Section (Solid Colors, Minimal Padding & Tiny Linear Icons)
   ========================================================================== */
.values-section-modern {
  padding: 4.5rem 0 5rem;
  /* Minimal compact section padding */
  background-color: #F8FAFC;
  /* Solid clean studio backdrop - No gradients */
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  position: relative;
}

/* Minimalist Editorial & Solid Corporate Header */
.values-modern-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  /* Minimal bottom margin */
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.values-modern-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modern-eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 3px;
  background-color: #821445;
  /* Solid BAE Systems corporate brand accent */
}

.values-eyebrow-text {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-slate-900);
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.values-title-modern {
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  /* Crisp corporate typographic proportions */
  font-weight: 300;
  color: #475569;
  line-height: 1.12;
  letter-spacing: -1px;
  text-align: right;
  font-family: var(--font-heading);
}

.values-title-modern span {
  font-weight: 800;
  color: var(--color-slate-900);
}

/* Compact 4-Column Architectural Matrix Grid */
.values-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  /* Tight alignment without empty gaps */
  align-items: stretch;
}

/* Minimal Padding Corporate Solid Cards */
.value-matrix-card {
  background-color: #FFFFFF;
  /* Pure solid white - ZERO GRADIENTS, NO black space */
  border-radius: 0px;
  /* Strict 0px corporate hardware geometry */
  border: 1px solid #E2E8F0;
  padding: clamp(1rem, 1.35vw, 1.35rem);
  /* Responsive compact executive padding */
  height: auto;
  aspect-ratio: 3 / 4;
  /* Standardized 3:4 Vertical Corporate Card Ratio */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.value-matrix-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.09);
  border-color: #821445;
  /* Crisp #821445 border accent on hover */
  z-index: 5;
}

/* Signature Solid #821445 Brand Accent Card ("Trust") - NO GRADIENTS */
.value-matrix-card.card-signature-highlight {
  background-color: #821445;
  /* Pure solid #821445 Crimson - ZERO GRADIENTS */
  border: 1px solid #6D0F38;
  box-shadow: 0 8px 24px rgba(130, 20, 69, 0.25);
}

.value-matrix-card.card-signature-highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(130, 20, 69, 0.38);
  border-color: #FFFFFF;
}

/* Card Top Section (Numerals & Structured Badges) */
.value-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  /* Minimal gap */
}

.value-num-modern {
  font-size: 1.65rem;
  /* Sleek compact numeral */
  font-weight: 300;
  line-height: 1;
  font-family: var(--font-heading);
  color: #64748B;
  letter-spacing: -1px;
  transition: var(--transition-fast);
}

.value-num-modern small {
  font-size: 1.2rem;
  color: #821445;
  /* Solid #821445 slash accent */
  font-weight: 400;
}

.value-matrix-card:hover .value-num-modern {
  color: #0F172A;
}

.value-num-modern.text-rose {
  color: rgba(255, 255, 255, 0.7);
}

.value-num-modern.text-rose small {
  color: #FFFFFF;
}

.card-signature-highlight:hover .value-num-modern.text-rose {
  color: #FFFFFF;
}

/* Corporate Badges with Tiny Linear Icons */
.value-badge-realistic {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  /* Minimal compact badge padding */
  background-color: #F1F5F9;
  /* Solid color background */
  border: 1px solid #E2E8F0;
  color: #334155;
  font-size: 0.68rem;
  /* Executive micro typography */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-fast);
}

.tiny-linear-icon {
  width: 13px;
  height: 13px;
  stroke-width: 1.5px;
  color: #821445;
  /* Standard solid #821445 accent for linear icon */
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.value-matrix-card:hover .value-badge-realistic {
  background-color: #E2E8F0;
  border-color: #821445;
}

/* Solid Crimson Badge on Highlight Card */
.value-badge-realistic.badge-crimson {
  background-color: #991C53;
  /* Pure solid contrast tone - No blurs/gradients */
  color: #FFFFFF;
  border: 1px solid #B02764;
}

.value-badge-realistic.badge-crimson .tiny-linear-icon {
  color: #FFFFFF !important;
}

/* Compact Recessed Observation Windows - Zero Black Space */
.value-image-frame {
  width: 100%;
  flex: 1 1 auto;
  /* Expands dynamically to prevent empty gaps */
  min-height: 130px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  /* Tight spacing without voids */
  border-radius: 0px;
  position: relative;
  background-color: transparent;
  /* ZERO BLACK SPACE */
  border: 1px solid #E2E8F0;
}

.frame-highlight {
  border-color: rgba(255, 255, 255, 0.2);
}

.value-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Guarantees complete photographic coverage with NO black space */
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: grayscale(10%) contrast(105%);
}

.thumb-highlight {
  filter: grayscale(0%) contrast(108%);
}

.value-optical-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.12);
  /* Subtle solid tint - ZERO GRADIENTS */
  transition: opacity 0.4s ease;
  z-index: 2;
  pointer-events: none;
}

.overlay-crimson {
  background-color: rgba(15, 23, 42, 0.18);
  /* Solid translucent tint */
}

.value-matrix-card:hover .value-thumb {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(108%);
}

.value-matrix-card:hover .value-optical-overlay {
  opacity: 0;
  /* Clear optical window instantly on hover */
}

/* Card Typography & Body (Fluid Responsive Text Adjustment) */
.value-card-body {
  flex: 0 0 auto;
  margin-bottom: 0.85rem;
  /* Tight vertical gap */
}

.value-title-minimal {
  font-size: clamp(1.15rem, 1.3vw, 1.35rem);
  /* Fluid text adjusts to 3:4 container */
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.35rem;
  /* Minimal spacing without gaps */
  letter-spacing: -0.3px;
  transition: color 0.2s ease;
  font-family: var(--font-heading);
}

.value-matrix-card:hover .value-title-minimal {
  color: #821445;
  /* Immediate transition to solid #821445 */
}

.value-title-minimal.text-white {
  color: #FFFFFF !important;
}

.card-signature-highlight:hover .value-title-minimal.text-white {
  color: #FFFFFF !important;
}

.value-desc-minimal {
  font-size: clamp(0.8rem, 0.88vw, 0.88rem);
  /* Executive fluid read size */
  color: #475569;
  line-height: 1.48;
  margin-bottom: 0;
}

.value-desc-minimal.text-white-opacity {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* Minimalist Footer Action Section */
.value-card-footer {
  padding-top: 0.85rem;
  /* Compact footer padding */
  border-top: 1px solid #E2E8F0;
}

.card-signature-highlight .value-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.value-action-link {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s ease;
}

.tiny-linear-arrow {
  width: 12px;
  height: 12px;
  stroke-width: 1.5px;
  color: #821445;
  /* Solid BSL Crimson linear arrow */
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-action-link.text-white {
  color: #FFFFFF !important;
}

.value-action-link.text-white .tiny-linear-arrow {
  color: #FFFFFF !important;
}

.value-matrix-card:hover .value-action-link {
  color: #821445;
}

.card-signature-highlight:hover .value-action-link.text-white {
  color: #FFFFFF !important;
}

.value-matrix-card:hover .tiny-linear-arrow {
  transform: translateX(5px);
}

/* Solid #821445 Top Hardware Accent Bar */
.value-hover-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #821445;
  /* Pure solid #821445 accent trim */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.value-matrix-card:hover .value-hover-border {
  transform: scaleX(1);
}

.value-hover-border.border-rose {
  background-color: #FFFFFF;
  transform: scaleX(1);
  opacity: 1;
}

/* ==========================================================================
   Certificates Gallery
   ========================================================================== */
.certificates-section {
  padding: 6rem 0;
  background-color: var(--color-slate-100);
  text-align: center;
}

.cert-eyebrow {
  color: var(--color-burgundy-700);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cert-title {
  font-size: clamp(2.5rem, 3.5vw, 3.5rem);
  color: var(--color-slate-400);
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 3.5rem;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  /* Tight corporate alignment without gaps */
  align-items: stretch;
}

.cert-card {
  background-color: var(--color-white);
  /* Pure solid white, zero black space */
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  /* Standardized 3:4 Vertical Corporate Card Ratio */
  padding: clamp(0.35rem, 0.6vw, 0.6rem);
  border-radius: 0px;
  border: 1px solid var(--color-slate-200);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cert-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 45px rgba(99, 12, 52, 0.15);
  z-index: 5;
  border-color: var(--color-burgundy-700);
}

.cert-document-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Zero black borders or empty gaps */
  border: none;
  padding: 0;
}

/* ==========================================================================
   Call to Action Banner ("We'd Love To Talk.")
   ========================================================================== */
.cta-banner {
  padding: 6rem 0;
  background: var(--gradient-wine-radial);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(214, 43, 119, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: flex-end;
  gap: 4rem;
}

.cta-title {
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

.newsletter-box {
  max-width: 450px;
}

.newsletter-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  display: block;
}

.newsletter-input-group {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 0.5rem;
  transition: var(--transition-fast);
}

.newsletter-input-group:focus-within {
  border-bottom-color: var(--color-magenta-accent);
}

.newsletter-input {
  background: transparent;
  width: 100%;
  color: var(--color-white);
  font-size: 1.15rem;
  padding: 0.25rem 0;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.btn-submit-arrow {
  background-color: var(--color-white);
  color: var(--color-burgundy-700);
  width: 42px;
  height: 38px;
  border-radius: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-bounce);
}

.btn-submit-arrow:hover {
  background-color: var(--color-magenta-accent);
  color: var(--color-white);
  transform: translateX(4px);
}

.cta-contact-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.cta-subtext {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 360px;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.btn-outline-wine {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--color-white);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-outline-wine:hover {
  background: var(--color-white);
  color: var(--color-burgundy-700);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #080b11;
  color: var(--color-slate-400);
  padding: 5rem 0 2.5rem;
  font-size: 0.95rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr auto;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-logo {
  width: 140px;
  margin-bottom: 1.5rem;
}

.footer-brand .footer-logo path {
  fill: var(--color-burgundy-700);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  max-width: 380px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-bounce);
}

.social-icon:hover {
  background: var(--color-burgundy-700);
  transform: translateY(-3px) scale(1.1);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(99, 12, 52, 0.4);
}

.footer-col-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-white);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  color: var(--color-slate-400);
  transition: var(--transition-fast);
}

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

.back-to-top {
  width: 50px;
  height: 50px;
  background-color: var(--color-white);
  color: var(--color-slate-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-md);
}

.back-to-top:hover {
  background-color: var(--color-burgundy-700);
  color: var(--color-white);
  transform: translateY(-5px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--color-slate-600);
}

/* ==========================================================================
   Interactive Modals & Toast Alerts
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toast {
  background: var(--color-slate-900);
  color: var(--color-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--color-magenta-accent);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

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

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

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

.modal-content {
  background: var(--color-white);
  width: 90%;
  max-width: 560px;
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--color-slate-400);
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-burgundy-700);
  transform: rotate(90deg);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-slate-800);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-burgundy-700);
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 12, 52, 0.1);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {

  .hero-grid,
  .glance-container,
  .stats-header,
  .icv-container,
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

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

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .values-modern-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .values-title-modern {
    text-align: left;
  }

  .glance-graphic {
    position: relative;
    width: 100%;
    height: 300px;
    clip-path: none;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .services-grid,
  .stats-grid,
  .cert-grid,
  .badges-grid,
  .values-matrix-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .badge-card {
    width: 100%;
  }

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

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