/* R Technology Marine Matrix - Custom Stylesheet */

/* Fonts Import */
@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@400;500;700;800&f[]=satoshi@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Base Overrides */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Satoshi', sans-serif;
  background-color: #F8FBFF; /* Neutral Surface */
  color: #0A192F; /* Deep Navy Typography */
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Custom Typography */
.font-display {
  font-family: 'Cabinet Grotesk', 'Satoshi', sans-serif;
  font-weight: 700;
}

.font-body {
  font-family: 'Satoshi', sans-serif;
}

.font-mono-custom {
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.05em;
}

/* Hard-Edge Theme: No Rounded Corners Allowed */
* {
  border-radius: 0px !important;
}

/* 4x4px Square Electric Cyan Bullets for Lists */
.cyan-square-list {
  list-style: none;
  padding-left: 0;
}

.cyan-square-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.cyan-square-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  background-color: #00E5FF; /* Electric Cyan */
  transform: translateY(-50%);
}

/* Machined Precision Hover: Vertical Lift + Primary Blue Electronic Glow */
.machined-glow-hover {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.machined-glow-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(29, 82, 160, 0.12); /* primary blue outer glow */
  border-color: #1D52A0; /* Highlight with Anchor Blue border on hover */
}

/* Fade-In Up Animation via Intersection Observer */
.fade-in-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Active Link State Indicator */
.nav-link-active {
  color: #1D52A0 !important; /* Anchor Blue text */
  border-bottom: 3px solid #00E5FF !important; /* Electric Cyan highlight */
  padding-bottom: 4px;
}

/* Accordion Animation */
.accordion-body {
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom styles for select option drop-downs in dark mode theme */
#form-service option {
  background-color: #070e1b;
  color: #ffffff;
  padding: 8px;
}