/* Print-specific styles */
@media print {

    *{
        box-shadow: none !important;
        text-shadow: none !important;
    }

    .card-wrapper{
        border: none !important;
    }
    .display-2{
        font-size: 2rem;
        font-weight: bold;
    }
    .display-5{
        font-size: 1.5rem;
    }
    .display-1{
        font-size: 2.5rem;
    }

  /* Reset basics for print */
  body {
    color: #000;
    background: #fff !important;
    margin: 0;
    padding: 0;
    width: 100%;
    font-size: 12pt;
    line-height: 1.5;
    overflow-x: hidden;
  }

  /* Hide non-essential elements */
  .navbar,
  .mbr-section-btn,
  .btn,
  video,
  .jarallax-container,
  iframe,
  .image01.mbr-parallax-background,
  #menu-1-uUlbAKbDiP,
  .mbr-label,
  .label-wrapper {
    display: none !important;
  }

  /* Fix hero image position */
  #hero-1-uUlbAKdejY .image-wrapper img {
    object-position: center calc(50% + 75px) !important;
  }

  /* Hide or adjust About section image */
  #generic-text-2-uUlbAKdlHy .kg-card--short {
    display: none;
  }

  /* Ensure content is printable */
  .container,
  .container-fluid {
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: 100%;
  }

  /* Improve text contrast */
  h1, h2, h3, h4, h5, h6 {
    color: #000;
    break-after: avoid;
    page-break-after: avoid;
  }

  p, li {
    color: #000;
    orphans: 3;
    widows: 3;
  }

  /* Handle images */
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  /* Section spacing */
  section {
    page-break-inside: avoid;
    break-inside: avoid;
    margin: 20pt 0;
    padding: 0;
  }

  /* Ensure dark backgrounds print well and remove borders */
  .holidaym5,
  [class*="cid-"] {
    background: none !important;
    color: #000 !important;
    border: none !important;
  }

  /* Center specific sections */
  #hero-2-uUlbAKgUpm .content-wrapper,
  #features-4-uUlbAKjdMv .container {
    margin: 0 auto !important;
    text-align: center !important;
  }

  /* Adjust cards and grids */
  .row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
  }

  /* Team bios width adjustment */
  #team-1-uUlbAKTeam .col-sm-6{
    width: 50% !important;
    float: left !important;
  }
  .team01 .section-title{
    margin-bottom: 0 !important;
  }


 

  /* History timeline adjustments */
  .history-track *{
   margin: 0 !important;
   padding: 0 !important;
  }
  .history-track{
    display: block !important;
  }
  #history-timeline .history-event {
    display: block !important;
    width: 50% !important;
    float: left;
    margin-bottom: 20pt !important;
  }

  #history-timeline .history-image {
    max-width: 200pt !important;
    margin: 10pt auto !important;
  }

  /* Specific section adjustments */
  /* Timeline adjustments */
  .timeline01 .timeline {
    margin-left: 1rem;
  }

  .timeline01 .timeline-item {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  /* FAQ adjustments */
  .faq-group details {
    padding: 10pt 0 !important;
  }

  .faq-group details > summary {
    list-style: none !important;
    font-weight: bold !important;
  }

  .faq-group details > summary::marker,
  .faq-group details > summary::-webkit-details-marker {
    display: none !important;
  }

  .faq-group details .faq-content {
    display: block !important;
    margin-top: 5pt !important;
    padding-left: 15pt !important;
  }
  .faq-section summary::after{
    display: none !important;
  }
  .faq-group-title{
    font-size: 16pt;
  }

  .faq-section *{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .faq-section h2, .faq-section h3, .faq-section .display-5{
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .faq-section .contact-info{
    margin-top: 2rem !important;
  }

  /* Cards and containers */
  .testimonial-card,
  .team-card {
    page-break-inside: avoid;
    break-inside: avoid;
    margin: 10pt 0;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* What we do */
  .cid-uUlbAKjdMv * {
    display: block !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  .cid-uUlbAKjdMv .card_1, .cid-uUlbAKjdMv .card_2, .cid-uUlbAKjdMv .card_3,
  .cid-uUlbAK .card_4, .cid-uUlbAKjdMv .card_5 {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  /* Show full URLs for links */
  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    font-style: italic;
  }

  /* Except for internal anchors */
  a[href^="#"]:after {
    content: "";
  }

  /* Footer adjustments */
  .footer01 {
    border-top: 1pt solid #000;
    margin-top: 20pt;
    padding-top: 10pt;
  }

  .footer01 * {
    color: #000 !important;
  }

  /* Print-specific elements */
  .print-header {
    display: block !important;
    text-align: center;
    margin-bottom: 20pt;
  }

  .print-header img {
    
    margin-bottom: 10pt;
  }
  
  /* Stats */
  .stats01 *{
    margin: 0 !important;
    margin-bottom: 0.25rem !important;
    padding: 0 !important;  
    border: none !important;
    display: block !important;
  }

  .stats01 * .col-6{
    float: left;
  }

  /* Page breaks before major sections */
  #features-5-uUlbAKeVVj,
  #team-1-uUlbAKTeam,
  #features-4-uUlbAKjdMv,
  #generic-text-3-uUlbAKjLcu,
  #faq-1-uUlbAKprMt {
    page-break-before: always;
    break-before: page;
  }

  /* QR Code for digital version */
  .print-footer {
    display: block !important;
    text-align: center;
    margin-top: 20pt;
    padding-top: 10pt;
    border-top: 1pt solid #ccc;
  }

  .print-footer p {
    font-size: 10pt;
    color: #666;
  }
  .no-print {
    display: none !important;
  }
}