/* ================================================================
   AIQA — Site Stylesheet
   Companion to Tailwind CDN config in _Layout.cshtml
   ================================================================ */

:root {
    --bg-primary: #070d1f;
    --bg-secondary: #0d1535;
    --card-bg: #111d3f;
    --accent: #2563eb;
    --violet: #7c3aed;
    --text-primary: #f0f4ff;
    --text-muted: #8b9cc8;
    --border-color: rgba(99,120,200,0.15);
    --footer-bg: #040810;
}


/* ── Reset / Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
}

body { margin: 0; overflow-x: hidden; }

h1, h2, h3, h4, h5, h6 { font-family: 'Syne', sans-serif; }

/* ── Custom scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar         { width: 8px; }
::-webkit-scrollbar-track   { background: var(--bg-primary); }
::-webkit-scrollbar-thumb   {
  background: linear-gradient(180deg, var(--accent), var(--violet));
  border-radius: 4px;
}

/* ── Scroll progress bar ──────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  z-index: 1001;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ── Navbar ───────────────────────────────────────────────────── */
#navbar {
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
  background: rgba(7,13,31,0.97) !important;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

/* Services dropdown */
.nav-dropdown-parent { position: relative; }
.nav-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}
.nav-dropdown-parent:hover .nav-dropdown,
.nav-dropdown-parent:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ── Mobile menu ──────────────────────────────────────────────── */
#mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
#mobile-menu.open {
  transform: translateX(0);
}

/* ── Section reveal (Intersection Observer) ───────────────────── */
.reveal-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Ticker animation ─────────────────────────────────────────── */
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-track {
  animation: tickerScroll 30s linear infinite;
}

/* ── Stat counter ─────────────────────────────────────────────── */
.stat-counter { font-variant-numeric: tabular-nums; }

/* ── Contact form ─────────────────────────────────────────────── */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.625rem;
  color: var(--text-primary);
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.form-input::placeholder { color: var(--text-muted); }

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

/* ── Compliance badge grid ────────────────────────────────────── */
.compliance-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(220, 38, 38, 0.3);
  background: rgba(220, 38, 38, 0.07);
  color: #fca5a5;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ── Responsive utilities ─────────────────────────────────────── */
@media (max-width: 768px) {
  .ticker-track { animation-duration: 18s; }
}

/* ── Print ────────────────────────────────────────────────────── */
@media print {
  #navbar, #scroll-progress, #mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
}
/* ── Scroll Progress ── */
#scroll-progress-a1b2 {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    z-index: 1100;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    pointer-events: none;
    transition: width 0.05s linear;
}

/* ── Navbar shell ── */
#navbar-main-c3d4 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 72px;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-bottom 0.4s ease, box-shadow 0.4s ease;
}

    #navbar-main-c3d4.scrolled {
        background: rgba(7,13,31,0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(99,120,200,0.2);
        box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    }

.navbar-inner-e5f6 {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* ── Logo ── */
.logo-link-g7h8 {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-wordmark-i9j0 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 22px;
    background: linear-gradient(90deg, #f0f4ff, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Desktop nav ── */
.desktop-nav-k1l2 {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link-m3n4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    font-family: 'Inter',sans-serif;
}

    .nav-link-m3n4:hover, .nav-link-m3n4.active-dropdown {
        color: var(--text-primary);
        background: rgba(255,255,255,0.05);
    }

.chevron-icon-o5p6 {
    width: 16px;
    height: 16px;
    transition: transform 0.25s;
    flex-shrink: 0;
}

    .chevron-icon-o5p6.rotated {
        transform: rotate(180deg);
    }

/* ── Dropdown ── */
.dropdown-wrapper-q7r8 {
    position: relative;
}

.dropdown-panel-s9t0 {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(13,21,53,0.98);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(99,120,200,0.2);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    min-width: 240px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 1001;
}

    .dropdown-panel-s9t0.open {
        opacity: 1;
        pointer-events: all;
        transform: translateX(-50%) translateY(0);
    }

.dropdown-item-u1v2 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

    .dropdown-item-u1v2:hover {
        background: rgba(37,99,235,0.1);
        color: var(--text-primary);
    }

.dropdown-icon-w3x4 {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Compliance grid ── */
.compliance-label-y5z6 {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    padding: 6px 10px;
}

.compliance-divider-a7b8 {
    border-top: 1px solid rgba(99,120,200,0.15);
    margin: 6px 4px;
}

.compliance-grid-c9d0 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.compliance-item-e1f2 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

    .compliance-item-e1f2:hover {
        background: rgba(37,99,235,0.1);
        color: var(--text-primary);
    }

.compliance-badge-g3h4 {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(220,38,38,0.12);
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
}

/* ── CTA button ── */
.cta-btn-i5j6 {
    padding: 9px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg,#2563eb,#7c3aed);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    font-family: 'Inter',sans-serif;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
}

    .cta-btn-i5j6:hover {
        opacity: 0.9;
        box-shadow: 0 8px 24px rgba(37,99,235,0.35);
    }

/* ── Hamburger ── */
.hamburger-btn-k7l8 {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.hamburger-lines-m9n0 {
    width: 22px;
    height: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-line-o1p2 {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.68,-0.55,0.27,1.55), opacity 0.3s;
    transform-origin: center;
}

.hamburger-btn-k7l8.open .hamburger-line-o1p2:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn-k7l8.open .hamburger-line-o1p2:nth-child(2) {
    opacity: 0;
}

.hamburger-btn-k7l8.open .hamburger-line-o1p2:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile overlay ── */
.mobile-overlay-q3r4 {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(7,13,31,0.98);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

    .mobile-overlay-q3r4.open {
        transform: translateX(0);
    }

.mobile-top-bar-s5t6 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 72px;
    flex-shrink: 0;
}

.mobile-close-btn-u7v8 {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-content-w9x0 {
    padding: 0 24px 32px;
    flex: 1;
}

.mobile-group-label-y1z2 {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 24px 0 8px;
    padding-left: 14px;
}

    .mobile-group-label-y1z2:first-child {
        margin-top: 0;
    }

.mobile-nav-link-a3b4 {
    display: block;
    padding: 11px 14px;
    border-radius: 10px;
    color: #c7d2fe;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

    .mobile-nav-link-a3b4:hover {
        background: rgba(37,99,235,0.1);
        color: var(--text-primary);
    }

.mobile-divider-c5d6 {
    border: none;
    border-top: 1px solid rgba(99,120,200,0.15);
    margin: 24px 0;
}

.mobile-cta-e7f8 {
    margin-top: 32px;
    padding: 14px;
    width: 100%;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Inter',sans-serif;
    background: linear-gradient(135deg,#2563eb,#7c3aed);
    color: #fff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s, box-shadow 0.2s;
}

    .mobile-cta-e7f8:hover {
        opacity: 0.9;
        box-shadow: 0 8px 24px rgba(37,99,235,0.35);
    }

/* ── Responsive ── */
@media (max-width: 1023px) {
    .desktop-nav-k1l2, .cta-desktop-w5x6 {
        display: none !important;
    }

    .hamburger-btn-k7l8 {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .hamburger-btn-k7l8 {
        display: none !important;
    }
}
/* Background utilities added to centralize inline background rules */
.bg-img-cover {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  /* image must be provided via --bg-img variable, e.g. --bg-img: url('/path/to/img.jpg') */
  background-image: var(--bg-img);
}

/* Service-specific gradient overlays (compose with --bg-img) */
.bg-grad-ai { background-image: linear-gradient(135deg, #1a0d3f, #0d1535), var(--bg-img) !important; }
.bg-grad-hardware { background-image: linear-gradient(135deg, #1f1200, #0d1535), var(--bg-img) !important; }
.bg-grad-testing { background-image: linear-gradient(135deg, #0c1f2e, #0d1535), var(--bg-img) !important; }
.bg-grad-privacy { background-image: linear-gradient(135deg, #1f0d0d, #0d1535), var(--bg-img) !important; }
.bg-grad-cloud { background-image: linear-gradient(135deg, #071f14, #0d1535), var(--bg-img) !important; }
.bg-grad-software { background-image: linear-gradient(135deg, #0d1535, #070d1f), var(--bg-img) !important; }
.bg-grad-cta { background-image: linear-gradient(135deg, #1e3a8a, #4c1d95), var(--bg-img) !important; }
.bg-grad-dark { background-image: linear-gradient(135deg, #111d3f, #0d1535), var(--bg-img) !important; }
.bg-grad-process-privacy { background-image: linear-gradient(90deg, #1f0d0d, #0d1535, #1f0d0d), var(--bg-img) !important; }
.bg-grad-process-testing { background-image: linear-gradient(90deg, #0c1f2e, #0d1535, #0c1f2e), var(--bg-img) !important; }

/* Opacity helper for background overlays */
.bg-opacity-15 { opacity: 0.15; }
.bg-opacity-20 { opacity: 0.20; }

/* Visually hide helper (keeps text available to screen readers) */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Hide inline placeholder labels when a --bg-img is present on the element
   (this prevents text like "Five-step testing process illustration" from
   displaying over the background while keeping content accessible)
*/
.img-placeholder[style*="--bg-img"] > .img-placeholder-label,
.img-placeholder[style*="--bg-img"] > span,
.img-placeholder[style*="--bg-img"] .img-placeholder-label {
  /* visually hide but remain in DOM for screen readers */
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Step / badge gradients */
.bg-step-violet { background: linear-gradient(135deg, #7c3aed, #2563eb); }
.bg-step-amber { background: linear-gradient(135deg, #d97706, #2563eb); }
.bg-step-blueviolet { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.bg-step-teal { background: linear-gradient(135deg, #0891b2, #2563eb); }
.bg-step-emerald { background: linear-gradient(135deg, #059669, #2563eb); }

/* CTA / section gradients */
.bg-cta-gradient { background: linear-gradient(135deg, #1e3a8a 0%, #4c1d95 100%); }

