:root {
  --bg: #020617;
  --bg-alt: #050a1a;
  --bg-soft: #0b1121;
  --accent: #22d3ee;
  --accent-soft: rgba(34, 211, 238, 0.12);
  --text: #f9fafb;
  --muted: #9ca3af;
  --border: #1f2937;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 35px rgba(0, 0, 0, 0.45);
  --transition-fast: 0.18s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    Segoe UI, sans-serif;
  background: linear-gradient(to right, #243C57, #4B799E);
  line-height: 1.6;
}

/* Layout */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: linear-gradient(to right, #243C57, #4B799E);
}

.section-title {
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 640px;
  color: var(--muted);
}

/* Header & nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  backdrop-filter: blur(14px);
  background: linear-gradient(to right, #243C57, #4B799E);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-image {
  height: 44px;
  width: auto;
  display: block;
}

.logo-main {
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #ffffff !important;
}

.logo-sub {
  font-size: 0.72rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.25rem 0.4rem;
  border-radius: 999px;
  transition: color var(--transition-fast),
  background-color var(--transition-fast), transform var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text);
  background-color: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

.nav-cta {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.nav-login {
  font-size: 0.85rem;
  color: var(--muted);
}

/* HERO SECTION – full browser width background, minimal cropping */
.hero {
  position: relative;

  /* break out of the .container width so the background spans edge-to-edge */
  width: 100vw;
  margin-left: calc(50% - 50vw);

  padding: 5rem 0 5rem;
  overflow: hidden;

  /* full-bleed aircraft image */
  background:
    linear-gradient(
      135deg,
      rgba(2, 6, 23, 0.78),
      rgba(2, 6, 23, 0.52),
      rgba(2, 6, 23, 0.26)
    ),
    url("/images/hero-cseries.webp") center center / 100% no-repeat;

  background-color: #020617;

  /* make the hero tall enough so most of the aircraft is visible */
  min-height: 70vh;

  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 3.3vw, 3rem);
  line-height: 1.1;
  margin: 0 0 0.7rem;
  color: #ffffff;
}

.hero-highlight {
  color: var(--accent);
}

.hero-subtitle {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition-fast),
    border-color var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn.primary {
  background: linear-gradient(135deg, #22d3ee, #38bdf8);
  color: #020617;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(34, 211, 238, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(56, 189, 248, 0.45);
}

.btn.secondary {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.7);
}

.btn.secondary:hover {
  background: rgba(30, 64, 175, 0.8);
  transform: translateY(-1px);
}

.btn.full-width {
  width: 100%;
}

/* Cards & panels */
.hero-card {
  background: rgba(15, 23, 42, 0.8);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
}

.hero-card h2 {
  font-size: 1.1rem;
  color: #20d4eb;
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.93rem;
}

/* Solutions cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.5);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1rem;
  color: #20d4eb; /* bright aqua accent */
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Stats number color adjustment */
.stat-box h3,
.stats h3,
.stat strong {
  color: #cbd5e1 !important;
}

/* Two-column sections */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.05fr);
  gap: 2.2rem;
  align-items: flex-start;
}

/* Headings inside the two-column section */
.two-column h2,
.two-column h3 {
  color: #20d4eb;
  margin-top: 0;
  line-height: 1.3;
}

/* Paragraph text inside the two-column section */
.two-column p {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
}

.info-panel {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.info-panel h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: #20d4eb;
}

/* Accent title color inside hero info box */
.info-box h3,
.hero .info-box h3 {
  color: #20d4eb;
}

.info-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

/* Metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.metric-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.1rem;
  text-align: center;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.metric-value {
  font-size: 1.6rem;
  font-weight: 650;
  color: #20d4eb;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Contact & forms */
.contact-block {
  align-items: stretch;
}

.contact-details {
  color: var(--muted);
}

.contact-details a {
  color: var(--accent);
  text-decoration: none;
}

.contact-form {
  padding: 1.4rem 1.3rem;
}

.hidden {
  display: none;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.form-group label {
  font-size: 0.82rem;
  color: #e5e7eb;
}

.form-group input,
.form-group textarea {
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.55rem 0.7rem;
  background: rgba(15, 23, 42, 0.95);
  color: var(--text);
  font-size: 0.9rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.5);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.faq-item {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius-lg);
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  cursor: pointer;
  color: #20d4eb;
  font-weight: 650;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: #020617;
  padding-top: 1.6rem;
  padding-bottom: 1rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  font-weight: 550;
  margin-bottom: 0.3rem;
}

.footer-contact-list {
  list-style: none;
  margin: 0.15rem 0 0.35rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  display: inline-block;
  color: var(--accent);
  opacity: 0.95;
}

.footer-contact-icon--solid {
  color: var(--accent);
}

.footer-contact-list a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-list a:focus,
.footer-contact-list a:hover {
  color: var(--text);
}

.footer-links {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-subscribe h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.subscribe-form {
  max-width: 360px;
}

.subscribe-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.subscribe-row input[type="email"] {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.5rem 0.8rem;
  background: #020617;
  color: var(--text);
  font-size: 0.88rem;
}

.subscribe-row input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}

.subscribe-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.2rem 0;
}

.social-link a {
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
}

.footer-bottom {
  margin-top: 1.4rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.back-to-top {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.8rem;
}

/* Mobile menu - hidden on desktop */
.mobile-menu-toggle {
  display: none;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
}

/* Responsiveness */
@media (max-width: 980px) {
  .hero-inner,
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  /* Mobile header: show only Blog + Links */
  .nav-links {
    display: flex;
    gap: 0.65rem;
    font-size: 0.9rem;
  }

  .nav-links .nav-cta {
    display: none;
  }

  /* Remove hamburger/menu overlay on mobile */
  .mobile-menu-toggle,
  .mobile-menu {
    display: none !important;
  }

  .logo-image {
    height: 36px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding-top: 3rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.6rem, 100%);
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .metrics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
  }
  /* Make paragraph text inside dark panels white for better contrast */
    .info-panel p,
    .info-panel li,
    .info-box p,
    .info-box li {
    color: #ffffff !important;
  }
  /* Force NorthStar text color in header logo */
    .site-header .logo .logo-main {
      color: var(--text) !important;
  }
}