/* ==========================================================================
   JARECHA INVESTMENTS LIMITED — MASTER STYLESHEET
   Pure Vanilla CSS3 — Zero Build Step Required
   ========================================================================== */

:root {
  --black: #050608;
  --navy: #071A2F;
  --navy-light: #0D2945;
  --yellow: #F5C400;
  --yellow-light: #FFD83D;
  --white: #F7F8FA;
  --muted: #9AA4B2;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-light: rgba(7, 26, 47, 0.1);
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

::selection {
  background-color: var(--yellow);
  color: var(--black);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

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

/* Typography Utilities */
.font-display {
  font-family: var(--font-display);
}

.text-yellow {
  color: var(--yellow);
}

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

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-light));
  width: 0%;
  z-index: 1000;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(245, 196, 0, 0.6);
}

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

@media (min-width: 640px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 1.25rem 0;
  transition: all 0.35s ease;
  background: transparent;
}

.navbar.scrolled {
  padding: 0.85rem 0;
  background: rgba(7, 26, 47, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

.footer-logo-img {
  height: 42px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  margin-bottom: 0.75rem;
  border-radius: 4px;
}

@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-logo {
    min-width: 0;
    gap: 0.35rem;
    font-size: 1.2rem;
  }

  .brand-logo-img {
    height: 32px;
    max-width: 82px;
  }
}

.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--yellow);
  display: inline-block;
}

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

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(247, 248, 250, 0.72);
  position: relative;
  padding: 0.5rem 0.15rem;
  transition: color 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  color: #ffffff;
  font-weight: 600;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--yellow);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(245, 196, 0, 0.4);
  transition: width 0.25s var(--ease-out-expo);
}

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

.nav-link.active::after {
  width: 100%;
  background-color: var(--yellow);
  box-shadow: 0 0 12px rgba(245, 196, 0, 0.6);
}

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

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background-color: var(--yellow);
  color: var(--black);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(245, 196, 0, 0.25);
  transition: all 0.2s ease;
}

.nav-cta-btn:hover {
  background-color: var(--yellow-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 196, 0, 0.4);
}

@media (max-width: 1023px) {
  .nav-cta-btn {
    display: none;
  }
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 82px;
  left: 0;
  right: 0;
  background: rgba(7, 26, 47, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 890;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s var(--ease-out-expo);
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

body.menu-open {
  overflow: hidden;
}

.mobile-drawer a,
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(247, 248, 250, 0.8);
  border-radius: 6px;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mobile-drawer a:hover,
.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding-left: 1.15rem;
}

/* Mobile Navbar Active State */
.mobile-drawer a.active,
.mobile-nav-link.active {
  background: rgba(245, 196, 0, 0.12);
  color: #ffffff;
  font-weight: 700;
  border-left: 3px solid var(--yellow);
  box-shadow: inset 0 0 16px rgba(245, 196, 0, 0.05);
}

.mobile-drawer a.active::after,
.mobile-nav-link.active::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--yellow);
  box-shadow: 0 0 8px rgba(245, 196, 0, 0.8);
  display: inline-block;
  flex-shrink: 0;
}

/* Common Section Structure & Visual Rhythm */
section {
  position: relative;
  overflow: hidden;
}

.section-padding {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}

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

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

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

.bg-light h2, .bg-light h3, .bg-light h4 {
  color: var(--navy);
}

/* Badges & Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}

.badge-yellow {
  background-color: rgba(245, 196, 0, 0.12);
  border: 1px solid rgba(245, 196, 0, 0.3);
  color: var(--yellow);
}

.badge-navy {
  background-color: rgba(7, 26, 47, 0.06);
  border: 1px solid rgba(7, 26, 47, 0.12);
  color: var(--navy);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--yellow);
}

/* Headings */
.heading-display {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.heading-section {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--yellow);
  color: var(--black);
  box-shadow: 0 4px 16px rgba(245, 196, 0, 0.25);
}

.btn-primary:hover {
  background-color: var(--yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 196, 0, 0.4);
}

.btn-secondary {
  background-color: var(--navy);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background-color: var(--navy-light);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--navy);
  border-color: rgba(7, 26, 47, 0.2);
}

.btn-outline-light:hover {
  background-color: rgba(7, 26, 47, 0.05);
  border-color: var(--navy);
}

/* HERO SECTION */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 7.5rem;
  padding-bottom: 5rem;
  background-color: var(--black);
  background-image: 
    linear-gradient(135deg, rgba(5, 6, 8, 0.28) 0%, rgba(7, 26, 47, 0.2) 55%, rgba(5, 6, 8, 0.38) 100%),
    url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: transparent;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transition: opacity 1.2s ease;
}

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

.hero-grid > * {
  min-width: 0;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
  }
}

.hero-text-content {
  max-width: 680px;
}

/* =========================================================================
   HERO ENTRANCE SEQUENCE ORCHESTRATION
   ========================================================================= */

/* Default transition config for entrance sequence elements */
.hero-seq-item {
  transition-property: opacity, transform, filter;
  transition-timing-function: var(--ease-out-expo);
  will-change: opacity, transform;
}

/* Initial state during entrance sequence load */
.hero-loading .hero-seq-badge {
  opacity: 0;
  transform: translateY(-20px);
}

.hero-loading .hero-seq-headline-1 {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(4px);
}

.hero-loading .hero-seq-headline-2 {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(4px);
}

.hero-loading .hero-seq-desc {
  opacity: 0;
  transform: translateY(26px);
}

.hero-loading .hero-seq-ctas {
  opacity: 0;
  transform: translateY(24px);
}

.hero-loading .hero-seq-stats {
  opacity: 0;
  transform: translateY(22px);
}

.hero-loading .hero-seq-media {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  filter: blur(6px);
}

.hero-loading .hero-seq-telemetry {
  opacity: 0;
  transform: translateY(35px) scale(0.94);
}

/* Entered state with calculated cascading delays */
.hero-entered .hero-seq-badge {
  opacity: 1;
  transform: translateY(0);
  transition-duration: 0.8s;
  transition-delay: 0.15s;
}

.hero-entered .hero-seq-headline-1 {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-duration: 0.9s;
  transition-delay: 0.3s;
}

.hero-entered .hero-seq-headline-2 {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-duration: 0.95s;
  transition-delay: 0.45s;
}

.hero-entered .hero-seq-desc {
  opacity: 1;
  transform: translateY(0);
  transition-duration: 0.9s;
  transition-delay: 0.6s;
}

.hero-entered .hero-seq-ctas {
  opacity: 1;
  transform: translateY(0);
  transition-duration: 0.9s;
  transition-delay: 0.75s;
}

.hero-entered .hero-seq-stats {
  opacity: 1;
  transform: translateY(0);
  transition-duration: 0.95s;
  transition-delay: 0.9s;
}

.hero-entered .hero-seq-media {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition-duration: 1.1s;
  transition-delay: 0.4s;
}

.hero-entered .hero-seq-telemetry {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-duration: 0.95s;
  transition-delay: 1.05s;
}

/* Badge Enhancements */
.hero-badge-tag {
  font-family: monospace;
  font-size: 0.625rem;
  background: rgba(245, 196, 0, 0.2);
  color: var(--yellow);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  letter-spacing: 0.12em;
  margin-left: 0.35rem;
}

.pulse-beacon {
  box-shadow: 0 0 0 0 rgba(245, 196, 0, 0.7);
  animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 196, 0, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(245, 196, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 196, 0, 0); }
}

/* Headline */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.2vw, 5.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.75rem;
  overflow: hidden;
}

.hero-headline span {
  display: block;
}

.hero-headline .text-gradient {
  background: linear-gradient(90deg, #ffffff 15%, var(--yellow) 55%, #ffffff 85%, var(--yellow) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: headlineGleam 6s ease-in-out infinite alternate;
}

@keyframes headlineGleam {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

/* Primary Button Shine Accent */
.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  pointer-events: none;
}

.hero-entered .btn-shine::after {
  animation: btnShineSweep 4s ease-in-out infinite 2s;
}

@keyframes btnShineSweep {
  0% { left: -70%; }
  25% { left: 140%; }
  100% { left: 140%; }
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  position: relative;
}

.hero-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 0%;
  background: linear-gradient(90deg, rgba(245, 196, 0, 0.6), rgba(255, 255, 255, 0.1));
  transition: width 1s var(--ease-out-expo) 0.8s;
}

.hero-entered .hero-stats::before {
  width: 100%;
}

.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-item .stat-num span:last-child {
  color: var(--yellow);
}

.stat-item .stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Hero Media & Telemetry Badge */
.hero-media-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  background: #071A2F;
}

.hero-image-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 32%;
  display: block;
  filter: brightness(0.92) contrast(1.04);
  transition: transform 0.6s var(--ease-out-expo);
}

.reveal-on-scroll img {
  transition: opacity 0.8s ease, transform 0.8s var(--ease-out-expo);
}

.reveal-on-scroll:not(.is-visible) img {
  opacity: 0.7;
  transform: scale(1.015);
}

.hero-image-card:hover img {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .hero-image-card img {
    height: 380px;
    object-position: center center;
  }
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 47, 0.15) 0%, rgba(5, 6, 8, 0.8) 100%);
  pointer-events: none;
}

/* Subtle High-Tech Scanline over Image */
.hero-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 196, 0, 0.85), transparent);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-entered .hero-scanline {
  animation: heroScanSweep 4s ease-in-out infinite 1.4s;
}

@keyframes heroScanSweep {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 0.9; }
  85% { opacity: 0.9; }
  100% { top: 100%; opacity: 0; }
}

/* Corner Matrix Brackets */
.hero-corner-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-corner-decorations .corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--yellow);
  border-style: solid;
  opacity: 0.75;
}

.hero-corner-decorations .corner.tl {
  top: 12px;
  left: 12px;
  border-width: 2px 0 0 2px;
}

.hero-corner-decorations .corner.tr {
  top: 12px;
  right: 12px;
  border-width: 2px 2px 0 0;
}

.hero-corner-decorations .corner.bl {
  bottom: 12px;
  left: 12px;
  border-width: 0 0 2px 2px;
}

.hero-corner-decorations .corner.br {
  bottom: 12px;
  right: 12px;
  border-width: 0 2px 2px 0;
}

/* Telemetry Badge */
.telemetry-card {
  position: absolute;
  bottom: -20px;
  left: 20px;
  right: 20px;
  background: rgba(7, 26, 47, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(245, 196, 0, 0.3);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  z-index: 3;
}

@media (min-width: 640px) {
  .telemetry-card {
    left: auto;
    right: -20px;
    width: 330px;
  }
}

.telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.telemetry-live {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
}

.telemetry-loc-code {
  font-size: 0.6875rem;
  font-family: monospace;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pulse-circle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--yellow);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 196, 0, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(245, 196, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 196, 0, 0); }
}

.telemetry-content {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
}

.telemetry-sub {
  font-size: 0.6875rem;
  color: var(--muted);
}

.telemetry-meter {
  margin-top: 0.65rem;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.telemetry-meter-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--yellow), #ffffff);
  transition: width 1.3s cubic-bezier(0.16, 1, 0.3, 1) 1.1s;
}

.hero-entered .telemetry-meter-bar {
  width: 100%;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .hero-seq-item,
  .hero-loading .hero-seq-item,
  .hero-entered .hero-seq-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .telemetry-meter-bar {
    width: 100% !important;
    transition: none !important;
  }
  .hero-scanline,
  .btn-shine::after,
  .hero-headline .text-gradient {
    animation: none !important;
  }
}

/* INTRO SECTION (LIGHT) */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
  }
}

.intro-lead {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.intro-body {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(7, 26, 47, 0.8);
  margin-bottom: 2rem;
}

.intro-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pillar-card {
  padding: 1.75rem;
  background-color: #ffffff;
  border: 1px solid var(--card-border-light);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(7, 26, 47, 0.04);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(7, 26, 47, 0.25);
  box-shadow: 0 10px 30px rgba(7, 26, 47, 0.08);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pillar-desc {
  font-size: 0.875rem;
  color: rgba(7, 26, 47, 0.7);
  line-height: 1.6;
}

/* SERVICES SECTION (NAVY) */
.service-group-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 6rem;
  padding-bottom: 6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-group-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

@media (min-width: 1024px) {
  .service-group-row {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }

  .service-group-row.reverse {
    direction: rtl;
  }

  .service-group-row.reverse > * {
    direction: ltr;
  }
}

.service-group-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.04em;
}

.service-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .service-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.overview-service-card {
  background: rgba(13, 41, 69, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.overview-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 196, 0, 0.35);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--yellow);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.service-group-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.service-group-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-item-row {
  padding: 1.25rem 1.5rem;
  background: rgba(13, 41, 69, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.service-item-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--yellow);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-item-row:hover {
  background: rgba(13, 41, 69, 0.8);
  border-color: rgba(245, 196, 0, 0.35);
  transform: translateX(4px);
}

.service-item-row:hover::before {
  opacity: 1;
}

.service-item-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #ffffff;
}

.service-item-arrow {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--yellow);
  font-size: 0.8125rem;
  font-weight: 700;
  transition: transform 0.25s ease;
}

.service-item-row:hover .service-item-arrow {
  transform: translateX(4px);
}

.service-img-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.service-img-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.service-img-wrapper:hover img {
  transform: scale(1.04);
}

/* SERVICE FEATURE SPOTLIGHT (LIGHT) */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .spotlight-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }
}

.spotlight-card {
  background: #ffffff;
  border: 1px solid var(--card-border-light);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 15px 40px rgba(7, 26, 47, 0.06);
}

.spotlight-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .spotlight-features {
    grid-template-columns: 1fr 1fr;
  }
}

.feat-box {
  padding: 1.25rem;
  background-color: var(--white);
  border-radius: 8px;
  border-left: 3px solid var(--yellow);
}

.feat-box-title {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.feat-box-text {
  font-size: 0.8125rem;
  color: rgba(7, 26, 47, 0.75);
}

/* WHY JARECHA (BLACK) */
.principles-list {
  display: flex;
  flex-direction: column;
  margin-top: 4rem;
}

.principle-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

@media (min-width: 768px) {
  .principle-row {
    grid-template-columns: 80px 240px 1fr;
    align-items: baseline;
    gap: 3rem;
  }
}

.principle-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--yellow);
}

.principle-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
}

.principle-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

/* INDUSTRIES SECTION (NAVY) */
.industries-list {
  display: flex;
  flex-direction: column;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.industry-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.industry-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--yellow);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.industry-item:hover {
  background-color: rgba(13, 41, 69, 0.5);
  padding-left: 1.75rem;
}

.industry-item:hover::before {
  opacity: 1;
}

.industry-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.industry-num {
  font-size: 0.8125rem;
  font-family: monospace;
  color: var(--yellow);
}

.industry-detail {
  font-size: 0.875rem;
  color: var(--muted);
  display: none;
}

@media (min-width: 768px) {
  .industry-detail {
    display: block;
  }
}

.industry-arrow {
  color: var(--yellow);
  transition: transform 0.25s ease;
}

.industry-item:hover .industry-arrow {
  transform: translateX(6px);
}

/* When an industry is hovered, others dim subtly */
.industries-list:hover .industry-item:not(:hover) {
  opacity: 0.45;
}

/* CLIENTS & PARTNERS (LIGHT) */
.clients-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

@media (min-width: 640px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.client-card {
  background: #ffffff;
  border: 1px solid var(--card-border-light);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.client-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--yellow);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.client-card:hover {
  transform: translateY(-4px);
  border-color: rgba(7, 26, 47, 0.25);
  box-shadow: 0 16px 36px rgba(7, 26, 47, 0.08);
}

.client-card:hover::after {
  opacity: 1;
}

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

.client-tag {
  font-size: 0.6875rem;
  font-family: monospace;
  text-transform: uppercase;
  color: rgba(7, 26, 47, 0.5);
  font-weight: 600;
}

.client-loc {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  background: rgba(7, 26, 47, 0.05);
  border-radius: 4px;
  color: var(--navy);
}

.client-logo-box {
  width: 100%;
  height: 96px;
  background: #ffffff;
  border: 1px solid rgba(7, 26, 47, 0.08);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(7, 26, 47, 0.03);
  transition: all 0.3s ease;
}

.client-card:hover .client-logo-box {
  border-color: rgba(245, 196, 0, 0.5);
  box-shadow: 0 6px 20px rgba(7, 26, 47, 0.07);
}

.client-logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.client-card:hover .client-logo-img {
  transform: scale(1.04);
}

.client-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.client-sub {
  font-size: 0.75rem;
  color: rgba(7, 26, 47, 0.6);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.client-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(7, 26, 47, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(7, 26, 47, 0.65);
}

/* COMPLIANCE SECTION (NAVY) */
.compliance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 640px) {
  .compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .compliance-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.compliance-card {
  background: rgba(13, 41, 69, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.compliance-card:hover {
  background: rgba(13, 41, 69, 0.85);
  border-color: rgba(245, 196, 0, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.compliance-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(7, 26, 47, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}

.compliance-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.compliance-meta {
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}

.compliance-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* FINAL CTA & CONTACT FORM (BLACK) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.contact-info-card {
  background: rgba(7, 26, 47, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}

.contact-info-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

/* Form Card */
.form-box {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

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

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

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(13, 41, 69, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 2px rgba(245, 196, 0, 0.2);
}

.form-select option {
  background: var(--navy);
  color: #ffffff;
}

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

/* Inline Success State */
.form-success-box {
  display: none;
  padding: 3rem 2rem;
  text-align: center;
  background: rgba(13, 41, 69, 0.7);
  border: 1px solid rgba(245, 196, 0, 0.35);
  border-radius: 12px;
  animation: fadeIn 0.4s ease forwards;
}

.form-success-box.show {
  display: block;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(245, 196, 0, 0.15);
  border: 2px solid var(--yellow);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

/* FOOTER */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

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

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
  }
}

.footer-title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}

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

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--yellow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  background: none;
  border: none;
}

.back-to-top:hover {
  color: var(--yellow-light);
}

/* FLOATING WHATSAPP CTA */
.floating-whatsapp {
  display: none !important;
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.whatsapp-btn-desktop {
  display: none;
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .whatsapp-btn-desktop {
    display: flex;
  }
}

.whatsapp-btn-desktop:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
  background: #20ba59;
}

.whatsapp-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  animation: pulseGreen 2s infinite;
  pointer-events: none;
}

@keyframes pulseGreen {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

.whatsapp-tooltip {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 270px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 0.75rem;
}

.whatsapp-btn-desktop:hover + .whatsapp-tooltip,
.whatsapp-tooltip:hover {
  display: block;
}

.whatsapp-btn-mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(7, 26, 47, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.floating-whatsapp .whatsapp-btn-mobile ~ .whatsapp-btn-mobile,
.floating-whatsapp .whatsapp-tooltip ~ .whatsapp-tooltip {
  display: none;
}

@media (min-width: 640px) {
  .whatsapp-btn-mobile {
    display: none;
  }
}

.whatsapp-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MODAL */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.25s ease forwards;
}

.modal-card {
  width: 100%;
  max-width: 620px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  color: #ffffff;
  animation: scaleUp 0.3s var(--ease-out-expo) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(13, 41, 69, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close:hover {
  color: #ffffff;
  background: var(--navy-light);
}

.modal-capabilities {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

@media (min-width: 640px) {
  .modal-capabilities {
    grid-template-columns: 1fr 1fr;
  }
}

.modal-cap-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  padding: 0.6rem 0.8rem;
  background: rgba(13, 41, 69, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

/* Scroll Animation & Interactive Micro-Interactions System */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.reveal-fade-left {
  transform: translateX(-36px);
}

.reveal-on-scroll.reveal-fade-right {
  transform: translateX(36px);
}

.reveal-on-scroll.reveal-scale {
  transform: scale(0.95) translateY(20px);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  filter: blur(0);
}

/* Stagger Groups: automatic cascade across direct children */
.stagger-group > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.stagger-group.is-visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-group.is-visible > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger-group.is-visible > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger-group.is-visible > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.stagger-group.is-visible > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.stagger-group.is-visible > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }
.stagger-group.is-visible > *:nth-child(7) { transition-delay: 0.65s; opacity: 1; transform: translateY(0); }
.stagger-group.is-visible > *:nth-child(8) { transition-delay: 0.75s; opacity: 1; transform: translateY(0); }

/* Interactive Micro-Interactions & Hover Polish */
.btn svg,
.btn-outline-light svg,
.btn-secondary svg,
.btn-primary svg {
  transition: transform 0.25s var(--ease-out-expo);
}

.btn:hover svg,
.btn-outline-light:hover svg,
.btn-secondary:hover svg,
.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn:active,
.btn-outline-light:active,
.btn-secondary:active {
  transform: scale(0.98);
}

/* Progress bar gold glow */
#scroll-progress {
  background: linear-gradient(90deg, #F5C400, #FFE066);
  box-shadow: 0 0 10px rgba(245, 196, 0, 0.7);
  transition: width 0.1s ease-out;
}

/* Service Item Row Hover Dynamics */
.service-item-row {
  transition: all 0.28s var(--ease-out-expo);
}

.service-item-row:hover {
  transform: translateX(6px);
  background: rgba(13, 41, 69, 0.88);
  border-color: rgba(245, 196, 0, 0.4);
}

.service-item-row .service-item-arrow {
  transition: transform 0.25s var(--ease-out-expo), color 0.2s;
}

.service-item-row:hover .service-item-arrow {
  transform: translateX(4px);
  color: #ffffff;
}

/* Pillar Card Hover Accent Line */
.pillar-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo), border-color 0.3s;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--yellow);
  transition: width 0.35s var(--ease-out-expo);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(7, 26, 47, 0.08);
  border-color: rgba(7, 26, 47, 0.25);
}

.pillar-card:hover::before {
  width: 100%;
}

/* Principle Row Hover Micro-Interaction */
.principle-row {
  transition: all 0.3s var(--ease-out-expo);
  border-radius: 6px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.principle-row:hover {
  background: rgba(255, 255, 255, 0.035);
  transform: translateX(6px);
}

.principle-num {
  transition: transform 0.3s var(--ease-out-expo), color 0.3s;
}

.principle-row:hover .principle-num {
  color: var(--yellow-light);
  transform: scale(1.08);
}

/* Feature box hover */
.feat-box {
  transition: transform 0.25s var(--ease-out-expo), border-color 0.25s, background 0.25s;
}

.feat-box:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 196, 0, 0.4);
  background: rgba(7, 26, 47, 0.06);
}

/* Compliance Card Hover */
.compliance-card {
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s, box-shadow 0.3s;
}

.compliance-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 196, 0, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

/* Industry Card Hover Image Zoom */
.industry-card {
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), border-color 0.35s;
  overflow: hidden;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
  border-color: rgba(245, 196, 0, 0.35);
}

.industry-card img {
  transition: transform 0.6s var(--ease-out-expo);
}

.industry-card:hover img {
  transform: scale(1.06);
}

/* Status Badge Pulse Beacon */
.badge-dot {
  position: relative;
}

.badge-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--yellow);
  animation: badgeDotPulse 2.2s infinite ease-out;
}

@keyframes badgeDotPulse {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* Form Inputs Interactive Focus Ring */
.form-group input,
.form-group select,
.form-group textarea {
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.2);
  background: rgba(7, 26, 47, 0.9);
}

/* Success submission bouncy spring */
.form-success-box.show {
  display: block;
  animation: successSpring 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes successSpring {
  0% { opacity: 0; transform: scale(0.92) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Stats Counter Section on About Page */
.about-stats-ribbon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .about-stats-ribbon {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.about-stat-item {
  padding: 1.25rem;
  background: rgba(7, 26, 47, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s;
}

.about-stat-item:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 196, 0, 0.4);
}

.about-stat-item .stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.about-stat-item .stat-num span:last-child {
  color: var(--yellow);
}

.about-stat-item .stat-label {
  font-size: 0.8125rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

/* Light Background Variation */
.bg-light .about-stats-ribbon {
  border-top-color: rgba(7, 26, 47, 0.12);
}

.bg-light .about-stat-item {
  background: #ffffff;
  border: 1px solid var(--card-border-light);
  box-shadow: 0 4px 16px rgba(7, 26, 47, 0.04);
}

.bg-light .about-stat-item:hover {
  border-color: rgba(7, 26, 47, 0.3);
  box-shadow: 0 8px 24px rgba(7, 26, 47, 0.08);
}

.bg-light .about-stat-item .stat-num {
  color: var(--navy);
}

.bg-light .about-stat-item .stat-num span:last-child {
  color: #c99c00;
}

.bg-light .about-stat-item .stat-label {
  color: var(--text-muted);
}

/* Reduced Motion Safety */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .stagger-group > *,
  .about-stat-item,
  .pillar-card,
  .service-item-row,
  .client-card,
  .compliance-card,
  .industry-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .badge-dot::after {
    animation: none !important;
  }
}

/* ==================================================
   CLIENT IMAGE INTEGRATION & SHOWCASE STYLES
   ================================================== */

/* Service Image Wrapper with Secondary Thumbnail */
.service-img-wrapper {
  background: #071A2F;
}

.service-img-wrapper.has-secondary {
  position: relative;
}

.service-secondary-thumb {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 175px;
  height: 115px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--yellow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75);
  background: var(--navy);
  z-index: 3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-group-row.reverse .service-secondary-thumb {
  right: auto;
  left: 1.25rem;
}

.service-secondary-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
}

.service-secondary-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-secondary-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(5, 6, 8, 0.88);
  font-size: 0.625rem;
  font-family: monospace;
  color: var(--yellow);
  text-transform: uppercase;
  padding: 3px 6px;
  text-align: center;
  letter-spacing: 0.05em;
  font-weight: 700;
}

@media (max-width: 640px) {
  .service-secondary-thumb {
    width: 135px;
    height: 90px;
    bottom: 0.75rem;
    right: 0.75rem;
  }
  .service-group-row.reverse .service-secondary-thumb {
    left: auto;
    right: 0.75rem;
  }
}

/* Corporate Fleet Card (Why Us / Operations) */
.corporate-fleet-card {
  background: #071A2F;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
}

.fleet-img-container {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #050608;
}

.fleet-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.6s var(--ease-out-expo);
  display: block;
}

.corporate-fleet-card:hover .fleet-main-img {
  transform: scale(1.02);
}

.fleet-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 47, 0.1) 0%, rgba(5, 6, 8, 0.8) 100%);
  pointer-events: none;
}

.fleet-telemetry-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fleet-meta-bar {
  padding: 1.75rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #071A2F;
}

/* Corporate Showcase Card (About Us) */
.corporate-showcase-card {
  background: #ffffff;
  border: 1px solid var(--card-border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(7, 26, 47, 0.06);
}

.showcase-img-container {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #071A2F;
}

.showcase-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.6s var(--ease-out-expo);
  display: block;
}

.corporate-showcase-card:hover .showcase-main-img {
  transform: scale(1.02);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 47, 0.05) 0%, rgba(7, 26, 47, 0.65) 100%);
  pointer-events: none;
}

.showcase-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(7, 26, 47, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--yellow);
}

.showcase-caption {
  padding: 1.75rem;
  background: #ffffff;
}

/* Project Evidence Card (Authentic Operations & Project 1) */
.project-evidence-card {
  background: #ffffff;
  border: 1px solid var(--card-border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(7, 26, 47, 0.08);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .project-evidence-card {
    grid-template-columns: 1.2fr 1fr;
  }
}

.project-img-wrapper {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #071A2F;
}

.project-evidence-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}

.project-evidence-card:hover .project-evidence-img {
  transform: scale(1.02);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 47, 0.05) 0%, rgba(7, 26, 47, 0.5) 100%);
  pointer-events: none;
}

.project-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(7, 26, 47, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--yellow);
}

.project-evidence-info {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

/* Smart Office Solutions Showcase */
.smart-office-showcase {
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.smart-office-header {
  margin-bottom: 2rem;
}

.smart-office-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .smart-office-hero-grid {
    grid-template-columns: 1.25fr 0.95fr;
  }
}

.smart-office-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #071A2F;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.smart-office-item.primary {
  height: 350px;
}

.smart-office-item.secondary {
  height: 350px;
}

.smart-office-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.smart-office-item:hover img {
  transform: scale(1.03);
}

.smart-office-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 6, 8, 0.92) 100%);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
}

.smart-office-tag span {
  display: block;
  font-size: 0.6875rem;
  font-family: monospace;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

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

@media (min-width: 1024px) {
  .smart-office-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.smart-office-gallery .smart-office-item {
  height: 200px;
}

/* Branding Showcase Dual Grid */
.branding-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .branding-showcase-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.branding-showcase-item {
  position: relative;
  height: 270px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #071A2F;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.branding-showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.branding-showcase-item:hover img {
  transform: scale(1.03);
}

.branding-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 6, 8, 0.92) 100%);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
}

.branding-tag span {
  display: block;
  font-size: 0.6875rem;
  font-family: monospace;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

/* Service Detail Modal Image */
.modal-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: rgba(5, 6, 8, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

