/* General Print Styles */
@media print {
    body {
        font-family: Georgia, 'Times New Roman', Times, serif;
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff !important;
    }

    /* Hide non-essential elements */
    header,
    footer,
    #mobile-menu,
    #mobile-menu-button,
    #back-to-top-btn,
    #lightbox,
    #video-lightbox,
    .newsletter-form,
    .filter-btn,
    #load-more-projects,
    .map-pin-group,
    .interactive-map-bg .absolute.bottom-4, /* Map zoom buttons */
    .contact-grid iframe, /* Map on contact page */
    .hero video, /* Hide homepage video */
    .flex.flex-wrap.gap-4.mt-8, /* Hide hero buttons */
    .media-filter, /* Hide media filter buttons */
    .video-item button, /* Hide video playlist buttons */
    .social-links, /* Hide social links if they have this class */
    .mt-6.flex.flex-wrap.gap-4 /* Hide social links in footer */
    {
        display: none !important;
    }

    /* Reset main content layout and remove shadows */
    main, .layout-container, .p-4, .sm\:p-10, .px-4, .py-16 {
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* Remove background images and colors for readability */
    .news-hero-bg, .academy-hero-bg, .involve-hero-bg, .about-hero-bg, .mission-bg, .vision-bg, .bg-primary, .bg-primary\/5, .bg-slate-100 {
        background-image: none !important;
        background-color: transparent !important;
        color: #000 !important;
    }

    /* Ensure text in hero sections is visible */
    .news-hero-bg h1, .news-hero-bg p,
    .academy-hero-bg h1, .academy-hero-bg p,
    .involve-hero-bg h1, .involve-hero-bg p,
    .about-hero-bg h1, .about-hero-bg h2 {
        color: #000 !important;
    }

    /* Make links print-friendly by showing the URL */
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #555;
    }

    /* Make links print-friendly */
    a {
        color: #000 !important;
        text-decoration: underline;
    }

    /* Avoid printing URLs for internal navigation, buttons, and mailto links */
    a[href^="#"]:after,
    a[href^="/"]:after,
    a[href^="../"]:after,
    a[href^="mailto:"]:after,
    .project-card a:after,
    .btn:after {
        content: "";
    }
}