/* ═══════════════════════════════════════
   QUANTUM QA LABS — PRINT STYLESHEET
   Print-optimized styles
   ═══════════════════════════════════════ */

@media print {

  /* Hide non-essential elements */
  .header,
  .footer,
  .cta-section,
  .hero,
  .trust-strip,
  .scroll-progress,
  .nav-mobile,
  .nav-mobile-overlay,
  .hamburger,
  .nav-cta,
  .btn,
  .form-actions,
  .social-share,
  .breadcrumb,
  .section-badge {
    display: none !important;
  }

  body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 11pt;
    line-height: 1.5;
    color: #101828;
    background: #fff;
    margin: 0;
    padding: 0;
  }

  .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  .section {
    padding: 0.75rem 0;
    page-break-inside: avoid;
  }

  .section-lg {
    padding: 1rem 0;
  }

  h1 {
    font-size: 18pt;
    color: #071A41;
    margin-bottom: 0.25rem;
    page-break-after: avoid;
  }

  h2 {
    font-size: 14pt;
    color: #071A41;
    margin-top: 1rem;
    margin-bottom: 0.35rem;
    page-break-after: avoid;
  }

  h3 {
    font-size: 12pt;
    color: #071A41;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    page-break-after: avoid;
  }

  h4 {
    font-size: 11pt;
    color: #071A41;
    margin-top: 0.5rem;
    margin-bottom: 0.15rem;
  }

  p {
    color: #101828;
    margin-bottom: 0.4rem;
    font-size: 10.5pt;
  }

  a {
    color: #1455C0;
    text-decoration: underline;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #536174;
  }

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

  .card,
  .service-card-large,
  .industry-card,
  .solution-card,
  .philosophy-card,
  .culture-card {
    border: 1px solid #E9EEF5;
    box-shadow: none;
    break-inside: avoid;
    margin-bottom: 0.5rem;
  }

  .card:hover,
  .service-card-large:hover,
  .industry-card:hover,
  .solution-card:hover {
    transform: none;
    box-shadow: none;
  }

  .footer-brand img {
    max-height: 32px;
  }

  .footer-bottom {
    display: block;
    text-align: center;
    padding-top: 0.75rem;
    border-top: 1px solid #E9EEF5;
  }

  .footer-bottom p {
    color: #536174;
    font-size: 9pt;
  }

  .legal-page {
    max-width: 100%;
    padding: 0;
  }

  .legal-page p {
    font-size: 10.5pt;
  }

  /* Page breaks */
  @page {
    margin: 1.5cm 1.8cm;
    size: A4;
  }

  .page-break {
    page-break-before: always;
  }

  .no-break {
    page-break-inside: avoid;
  }

  /* Contact form prints as plain text */
  .contact-form-wrapper {
    border: none;
    box-shadow: none;
    padding: 0;
  }

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

  .form-group label {
    font-weight: 600;
    font-size: 10pt;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    border: 1px solid #ccc;
    padding: 0.25rem 0.4rem;
    font-size: 10pt;
  }

  .form-consent {
    margin-top: 0.5rem;
    font-size: 9pt;
    color: #536174;
  }

  /* Counter values print statically */
  .hero-stat-value {
    color: #F5B51B;
    font-size: 14pt;
  }

  .hero-stat-label {
    color: #536174;
    font-size: 8pt;
  }

  /* Stats strip prints compactly */
  .trust-strip {
    background: none;
    padding: 0.35rem 0;
    border-bottom: 1px solid #E9EEF5;
  }

  .trust-strip .container {
    gap: 0.5rem 1rem;
  }

  .trust-item {
    color: #101828;
    font-size: 9pt;
    white-space: nowrap;
  }

  .trust-item svg {
    width: 14px;
    height: 14px;
  }

  /* Error page prints as normal */
  .error-page {
    background: none;
    min-height: auto;
    padding: 0;
  }

  .error-content {
    max-width: 100%;
    text-align: left;
  }

  .error-code {
    font-size: 24pt;
    color: #071A41;
    background: none;
    -webkit-text-fill-color: #071A41;
  }

  .error-content h2 {
    color: #071A41;
  }

  .error-content p {
    color: #536174;
  }

  /* about page */
  .about-content {
    grid-template-columns: 1fr;
  }

  .about-visual {
    background: none;
    border: 1px solid #E9EEF5;
    min-height: auto;
    padding: 1rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-map-placeholder {
    display: none;
  }

  /* Breadcrumbs */
  .breadcrumb {
    display: none;
  }

  /* Print page header */
  .print-header {
    display: none;
  }

  @page {
    @top-center {
      content: "Quantum QA Labs Pvt Ltd";
      font-family: 'Inter', sans-serif;
      font-size: 8pt;
      color: #536174;
    }
    @bottom-center {
      content: "Page " counter(page) " of " counter(pages);
      font-family: 'Inter', sans-serif;
      font-size: 8pt;
      color: #536174;
    }
  }
}
