/*
|--------------------------------------------------------------------------
| VABCORE Print Styles
|--------------------------------------------------------------------------
*/

@media print {

    /*
    |--------------------------------------------------------------------------
    | General Print Reset
    |--------------------------------------------------------------------------
    */

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        filter: none !important;
        text-shadow: none !important;
    }

    html,
    body {
        width: 100% !important;
        max-width: none !important;
        overflow: visible !important;
        background: #ffffff !important;
    }

    body {
        color: #111827 !important;
        font-size: 11pt;
        line-height: 1.5;
    }

    /*
    |--------------------------------------------------------------------------
    | Disable Fixed and Sticky Elements
    |--------------------------------------------------------------------------
    */

    .site-header,
    .header,
    header {
        position: static !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        width: 100% !important;
        box-shadow: none !important;
    }

    .site-header .nav-wrapper,
    .site-header .nav-menu,
    .site-header .nav-cta,
    .site-header .nav-toggle {
        display: none !important;
    }

    .site-header .navbar {
        display: flex !important;
        min-height: auto !important;
        justify-content: flex-start !important;
        padding: 0 !important;
    }

    .site-header .brand {
        display: inline-flex !important;
    }

    .back-to-top,
    .nav-toggle,
    .floating-card,
    .testimonial-navigation,
    .testimonial-autoplay-control,
    .testimonial-dots {
        display: none !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Reveal All Animated Content
    |--------------------------------------------------------------------------
    */

    [data-reveal],
    [data-reveal-group],
    [data-reveal-group] > *,
    .is-revealed {
        visibility: visible !important;
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Prevent Awkward Page Splits
    |--------------------------------------------------------------------------
    */

    section,
    article,
    .service-card,
    .feature-card,
    .stat-card,
    .process-step,
    .product-card,
    .industry-card,
    .project-card,
    .client-card,
    .testimonial-card,
    .blog-card,
    .faq-item,
    .final-cta-card,
    .footer-newsletter,
    .footer-project-strip {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    h1,
    h2,
    h3,
    h4 {
        break-after: avoid !important;
        page-break-after: avoid !important;
    }

    p,
    li {
        orphans: 3;
        widows: 3;
    }

    /*
    |--------------------------------------------------------------------------
    | Containers and Sections
    |--------------------------------------------------------------------------
    */

    .container {
        width: 100% !important;
        max-width: none !important;
        padding-right: 18mm !important;
        padding-left: 18mm !important;
    }

    .section,
    section {
        padding-top: 12mm !important;
        padding-bottom: 12mm !important;
    }

    .hero {
        min-height: auto !important;
        padding-top: 14mm !important;
        padding-bottom: 14mm !important;
    }

    .latest-insights-header,
    .products-preview-header,
    .industries-header,
    .portfolio-preview-header,
    .clients-section-header,
    .testimonials-header {
        margin-bottom: 10mm !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Preserve Main Desktop Layouts in Print
    |--------------------------------------------------------------------------
    */

    .hero-grid {
        grid-template-columns:
            minmax(0, 1.05fr)
            minmax(0, 0.95fr) !important;
        align-items: center !important;
        gap: 28px !important;
    }

    .home-about-grid,
    .services-preview-header,
    .development-process-header,
    .products-preview-header,
    .industries-header,
    .portfolio-preview-header,
    .clients-section-header,
    .testimonials-header,
    .latest-insights-header,
    .faq-layout,
    .final-cta-card,
    .footer-newsletter {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
        gap: 28px !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Preserve Card Grids Where Practical
    |--------------------------------------------------------------------------
    */

    .services-grid,
    .feature-card-grid,
    .statistics-grid,
    .process-timeline,
    .products-grid,
    .industries-grid,
    .portfolio-grid,
    .clients-grid,
    .testimonial-metrics {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Statistics
    |--------------------------------------------------------------------------
    */

    .stat-counter,
    .client-trust-number {
        opacity: 1 !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Testimonials
    |--------------------------------------------------------------------------
    */

    .testimonials-track {
        min-height: auto !important;
    }

    .testimonial-card {
        position: relative !important;
        inset: auto !important;
        display: grid !important;
        visibility: visible !important;
        margin-bottom: 20px !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .testimonial-card[aria-hidden="true"] {
        display: none !important;
    }

    /*
    |--------------------------------------------------------------------------
    | FAQ
    |--------------------------------------------------------------------------
    */

    .faq-answer {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }

    .faq-answer[hidden] {
        display: block !important;
    }

    .faq-question-icon {
        display: none !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Printed Links
    |--------------------------------------------------------------------------
    */

    a {
        text-decoration: none !important;
    }

    a::after {
        content: none !important;
    }

    .btn-primary,
    .final-cta-primary-button {
        color: #ffffff !important;
    }

    .btn-outline,
    .btn-outline-light {
        color: inherit !important;
    }

    .brand::after,
    .btn::after,
    .project-card-link::after,
    .product-card-link::after,
    .industry-card-link::after,
    .client-card-link::after {
        content: none !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Hide Decorative Layers
    |--------------------------------------------------------------------------
    */

    [class*="decoration"],
    [class*="glow"],
    [class*="grid-pattern"],
    [class*="shape"] {
        display: none !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Images
    |--------------------------------------------------------------------------
    */

    img,
    svg,
    video,
    canvas {
        max-width: 100% !important;
        height: auto !important;
        page-break-inside: avoid !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Footer
    |--------------------------------------------------------------------------
    */

    .site-footer {
        background: #ffffff !important;
        color: #111827 !important;
    }

    .footer-main {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .footer-bottom {
        grid-template-columns: 1fr !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Page Setup
    |--------------------------------------------------------------------------
    */

    @page {
        size: A4 portrait;
        margin: 14mm;
    }
}