/* ================================================================
   GLOBAL.CSS — RusiTech LLC
   Reusable components: nav, footer, buttons, cards, utilities
   ================================================================ */


/* ----------------------------------------------------------------
   CSS CUSTOM PROPERTIES (Design Tokens)
---------------------------------------------------------------- */
:root {
  /* Colors */
  --color-ink:          #0e0e0e;
  --color-ink-60:       rgba(14, 14, 14, 0.6);
  --color-ink-30:       rgba(14, 14, 14, 0.3);
  --color-ink-10:       rgba(14, 14, 14, 0.08);
  --color-paper:        #f5f3ef;
  --color-paper-pure:   #fafaf8;
  --color-paper-dark:   #eceae4;
  --color-accent:       #1a3a5c;
  --color-accent-hover: #142e4a;
  --color-accent-light: #e8eef5;
  --color-gold:         #b8860b;
  --color-gold-light:   #f5edda;
  --color-rule:         rgba(14, 14, 14, 0.12);
  --color-rule-light:   rgba(14, 14, 14, 0.06);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  /* Spacing Scale */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   40px;
  --space-2xl:  64px;
  --space-3xl:  96px;
  --space-4xl:  128px;

  /* Layout */
  --container-max:  1160px;
  --container-pad:  clamp(20px, 5vw, 60px);
  --nav-height:     72px;
  --border-radius:  6px;
  --border-radius-lg: 12px;

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.25s ease;
  --transition-slow:   0.45s ease;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(14, 14, 14, 0.06),
                0 1px 2px rgba(14, 14, 14, 0.04);
  --shadow-md:  0 4px 16px rgba(14, 14, 14, 0.08),
                0 2px 6px  rgba(14, 14, 14, 0.04);
  --shadow-lg:  0 12px 40px rgba(14, 14, 14, 0.12),
                0 4px 12px  rgba(14, 14, 14, 0.06);
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-paper);
  color: var(--color-ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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


/* ----------------------------------------------------------------
   ACCESSIBILITY
---------------------------------------------------------------- */

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  background: var(--color-accent);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 500;
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

/* Focus Visible */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

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


/* ----------------------------------------------------------------
   LAYOUT UTILITIES
---------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ----------------------------------------------------------------
   PRELOADER
---------------------------------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--color-ink);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-md);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.preloader-ring {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-top-color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  animation: preloader-spin 0.9s linear infinite;
}

.preloader-wordmark {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
}

@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}


/* ----------------------------------------------------------------
   NAVIGATION
---------------------------------------------------------------- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition-base),
              box-shadow var(--transition-base),
              backdrop-filter var(--transition-base);
}

#site-header.scrolled {
  background: rgba(245, 243, 239, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-rule),
              0 4px 20px rgba(14, 14, 14, 0.06);
}

.nav-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

@media (max-width: 900px) {
  .nav-container {
    padding-inline: var(--space-lg);
  }

  .nav-hamburger {
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav-logo-img {
    height: 44px;
  }
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 3px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-word {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: 0.01em;
}

.nav-logo-accent {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.01em;
}

.nav-logo-llc {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--color-ink-60);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 4px;
  align-self: center;
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-left: auto;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-ink-60);
  letter-spacing: 0.02em;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color var(--transition-fast),
              border-color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-ink);
  border-bottom-color: var(--color-ink-30);
}

/* Nav CTA */
.nav-cta {
  flex-shrink: 0;
  margin-left: var(--space-md);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-sm);
  margin-left: 0;
  
  border-radius: var(--border-radius);
  transition: background var(--transition-fast);
}

.nav-hamburger:hover {
  background: var(--color-ink-10);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform var(--transition-base),
              opacity var(--transition-base);
  transform-origin: center;
}

/* Hamburger Open State */
.nav-hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-paper-pure);
  border-top: 1px solid var(--color-rule);
  border-bottom: 1px solid var(--color-rule);
  padding: var(--space-xl) var(--container-pad);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-slow),
              opacity var(--transition-slow),
              visibility var(--transition-slow);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-nav-link {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-ink-60);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-rule-light);
  transition: color var(--transition-fast);
}

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

.mobile-cta {
  align-self: flex-start;
}





/* ----------------------------------------------------------------
   BUTTONS
---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 24px;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast),
              box-shadow var(--transition-fast),
              transform var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.98);
}

/* Primary */
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: var(--shadow-md);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-rule);
}

.btn-ghost:hover {
  background: var(--color-ink-10);
  border-color: var(--color-ink-30);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent-light);
}

/* Sizes */
.btn-lg {
  font-size: 14px;
  padding: 14px 32px;
}

.btn-sm {
  font-size: 12px;
  padding: 8px 16px;
}


/* ----------------------------------------------------------------
   CARDS — Service Card
---------------------------------------------------------------- */
.service-card {
  background: var(--color-paper-pure);
  border: 1px solid var(--color-rule);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: box-shadow var(--transition-base),
              border-color var(--transition-base),
              transform var(--transition-base);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-ink-30);
  transform: translateY(-2px);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent-light);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.service-card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.3;
}

.service-card-desc {
  font-size: 15px;
  color: var(--color-ink-60);
  line-height: 1.7;
  flex: 1;
}

.service-card-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: none;
  margin-top: auto;
  transition: gap var(--transition-fast),
              opacity var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card-link:hover {
  opacity: 0.75;
}


/* ----------------------------------------------------------------
   CARDS — Credential Card
---------------------------------------------------------------- */
.credential-card {
  background: var(--color-paper-pure);
  border: 1px solid var(--color-rule);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: box-shadow var(--transition-base);
}

.credential-card:hover {
  box-shadow: var(--shadow-sm);
}

.credential-card--accent {
  background: var(--color-accent-light);
  border-color: rgba(26, 58, 92, 0.2);
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-md);
}

.credential-number {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 300;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.credential-label {
  font-size: 14px;
  color: var(--color-ink-60);
  line-height: 1.5;
}

.credential-icon {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}


/* ----------------------------------------------------------------
   CARDS — Stat Card
---------------------------------------------------------------- */
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  border-right: 1px solid var(--color-rule);
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 300;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-suffix {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  color: var(--color-accent);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-ink-60);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 140px;
}


/* ----------------------------------------------------------------
   SECTION TYPOGRAPHY UTILITIES
---------------------------------------------------------------- */
.section-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-ink);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-lg);
}

.section-title em {
  font-style: italic;
  color: var(--color-accent);
}

.section-sub {
  font-size: 17px;
  color: var(--color-ink-60);
  line-height: 1.75;
  max-width: 580px;
}


/* ----------------------------------------------------------------
   SCROLL REVEAL ANIMATIONS
---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease,
              transform 0.65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }


/* ----------------------------------------------------------------
   SCROLL TO TOP BUTTON (Mobile)
---------------------------------------------------------------- */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition-base),
              visibility var(--transition-base),
              transform var(--transition-base);
  z-index: 500;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--color-accent-hover);
}

/* Only show on mobile */
@media (min-width: 769px) {
  .scroll-top-btn {
    display: none;
  }
}


/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
.site-footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-xl);
  align-items: start;
}

/* Footer Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}

.footer-logo-img {
  height: 60px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-wordmark {
  display: block;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
}

.footer-accent {
  color: #7ba3c8;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  max-width: 260px;
}

/* Footer Nav */
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Footer Contact */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-contact a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-address {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin-top: var(--space-sm);
}

.footer-linkedin {
  display: inline-block;
  margin-top: var(--space-md);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #7ba3c8 !important;
}

/* Footer Bottom */
.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.04em;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-logo-img {
    margin-inline: auto;
  }

  .footer-tagline {
    max-width: 100%;
    text-align: center;
  }

  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md) var(--space-xl);
  }

  .footer-contact {
    align-items: center;
  }

  .footer-address {
    text-align: center;
  }

  .footer-bottom {
    text-align: center;
  }
}


/* ----------------------------------------------------------------
   RESPONSIVE — NAVIGATION
---------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}


/* ----------------------------------------------------------------
   RESPONSIVE — FOOTER
---------------------------------------------------------------- */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-md) var(--space-xl);
  }
}


/* ----------------------------------------------------------------
   RESPONSIVE — STAT CARDS
---------------------------------------------------------------- */
@media (max-width: 600px) {
  .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--color-rule);
    padding: var(--space-lg);
  }

  .stat-card:last-child {
    border-bottom: none;
  }
}





/* ================================================================
   MOBILE FIXES — Typography alignment & footer
   ================================================================ */

@media (max-width: 768px) {

  /* ── Section Headers ────────────────────────────────────────── */
  .section-header {
    text-align: center;
  }

  .section-header .section-sub {
    margin-inline: auto;
  }

  .section-eyebrow {
    display: block;
    text-align: center;
  }

  /* ── Hero ───────────────────────────────────────────────────── */
  .hero-content {
    text-align: center;
  }

  .hero-eyebrow {
    margin-inline: auto;
  }

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

  .hero-trust {
    justify-content: center;
    text-align: center;
  }

  /* ── Page Hero (About, Services, etc.) ─────────────────────── */
  .page-hero-inner {
    text-align: center;
  }

  .page-hero-eyebrow {
    display: block;
    text-align: center;
  }

  /* ── Mission ────────────────────────────────────────────────── */
  .mission-quote {
    text-align: center;
  }

  /* ── Why Section ────────────────────────────────────────────── */
  .why-text {
    text-align: center;
  }

  .why-item {
    text-align: left;
  }

  .why-text .btn {
    align-self: center;
  }

  /* ── CTA Section ────────────────────────────────────────────── */
  .cta-inner {
    text-align: center;
  }

  /* ── Patent Stats ───────────────────────────────────────────── */
  .patent-stats {
    justify-content: center;
    text-align: center;
  }

  /* ── Contact Left ───────────────────────────────────────────── */
  .contact-left-top {
    text-align: center;
  }

  .contact-trust {
    justify-content: center;
  }

  /* ── Footer Fix ─────────────────────────────────────────────── */
  .footer-inner {
    text-align: center;
  }

  .footer-nav ul {
    justify-content: center;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-address {
    text-align: center;
  }

  .footer-linkedin {
    text-align: center;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-tagline {
    text-align: center;
    margin-inline: auto;
  }

  /* ── Bio Section ────────────────────────────────────────────── */
  .bio-block {
    text-align: center;
  }

  .bio-block p {
    text-align: left;
  }

  .bio-sidebar-info {
    text-align: center;
  }

  .bio-info-item {
    align-items: center;
  }

  /* ── Credentials ────────────────────────────────────────────── */
  .cred-card {
    text-align: center;
  }

  /* ── Process Steps ──────────────────────────────────────────── */
  .process-step {
    text-align: center;
  }

  /* ── Service Detail ─────────────────────────────────────────── */
  .service-detail-content {
    text-align: center;
  }

  .service-detail-list li {
    text-align: left;
  }

  .service-detail-cta {
    text-align: center;
  }

}

/* ── Mobile hamburger button fix ─────────────────────────────────────────────── */

@media (max-width: 900px) {
.nav-container {
  padding-inline: 16px;
}


  .nav-logo-img {
    height: 40px;
    width: auto;
  }

  .nav-hamburger {
    margin-left: auto;
    margin-right: 0;
    flex-shrink: 0;
  }
}

/* ================================================================
   RusiTech LLC PNG LOGO CSS
  
   ================================================================ */
.nav-logo-img {
  height: 205px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
  opacity: 0.85;
  margin-bottom: var(--space-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  padding-top: 8px; /* Adjust this value to move the logo down */
}

.footer-logo-img {
  height: 90px;
  width: auto;
  display: block;
  margin-bottom: var(--space-md);
  filter: brightness(0) invert(1);
  opacity: 0.85;
}


/* ── Final Mobile Nav hamburger button Safety Fix ─────────────────────────────── */
/* ── Final Mobile Nav Safety Fix ─────────────────────────────── */
@media (max-width: 900px) {
  .nav-container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 20px;
    gap: 12px;
    overflow: hidden;
  }

  .nav-logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 60px);
    overflow: hidden;
    padding-top: 4px;
  }

 .nav-logo-img {
  height: clamp(92px, 22vw, 124px);
    width: auto;
  max-width: 100%;
  object-fit: contain;
}


  .nav-hamburger {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    margin-right: 0;
  }
}
