/* front/css/print.css */

@media print {
    /* Hide non-essential elements */
    .no-print,
    header,
    footer,
    .page-header-section .breadcrumb,
    .team-member-header .breadcrumb,
    .social-links,
    .other-doctors-section,
    .other-services,
    .custom-btn-book.no-print { /* Hide the print button itself */
        display: none !important;
    }

    /* Show logo and adjust its size for print */
    .navbar-brand-box .logo-lg img,
    .navbar-brand-box .logo-sm img {
        display: block !important;
        max-height: 50px !important; /* Adjust as needed */
        width: auto !important;
        margin: 0 auto !important; /* Center the logo */
    }

    /* Ensure main content is visible and takes full width */
    body {
        margin: 0;
        padding: 0;
        background-color: #fff !important;
        color: #000 !important;
    }

    .container,
    .container-fluid {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    main {
        padding: 20px !important;
    }

    /* Adjust text and heading styles for readability */
    h1, h2, h3, h4, h5, h6 {
        color: #000 !important;
        page-break-after: avoid;
    }

    p, li {
        font-size: 12pt !important;
        line-height: 1.5 !important;
        orphans: 3;
        widows: 3;
    }

    /* Ensure accordion items are expanded */
    .faq-section .accordion-collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }

    .faq-section .accordion-button::after {
        display: none !important;
    }

    .faq-section .accordion-button {
        background-color: #fff !important;
        color: #000 !important;
        border: 1px solid #eee !important;
        margin-bottom: 5px;
    }

    .faq-section .accordion-body {
        background-color: #fff !important;
        border: 1px solid #eee !important;
        border-top: none !important;
    }

    /* Remove shadows and borders from cards */
    .card,
    .card-body {
        box-shadow: none !important;
        border: none !important;
        background-color: transparent !important;
    }

    /* Ensure images are printed */
    img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
        margin: 10px 0;
    }

    /* Page breaks for better flow */
    .section-title-large,
    .section-title-small {
        page-break-before: avoid;
    }

    .row {
        display: block;
    }

    .col-lg-9 {
        width: 100%;
    }

    /* Specific for Privacy Policy */
    .privacy-policy-content {
        font-family: serif;
    }
}
