@media print {
  header, nav, footer, .sidebar, .dropdown-menu, .form-list, .profile-pic, .btn, .navbar-toggler, .container-xxl {
      display: none;
  }

  video {
      display: none;
  }

  * {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

    .container,
    .container-fluid,
    .row,
    .col {
    padding: 0 !important;
    margin: 0 !important;
}   
  img {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 30% !important;
    height: auto !important;
  }
  
  img.img-fluid {
    width: 30% !important;
    height: auto !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
  }

  .carousel-item img {
    width: 30% !important;
    height: auto !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
  }
  
  
  .indexImage {
    width: 30% !important;
    border: none !important;
    aspect-ratio: 3 / 2 !important;
    object-fit: cover !important;
    border-radius: none !important;
    box-shadow: none !important;
  }

  .indexImage {
    width: 100%;                  /* responsive width */
    aspect-ratio: 3 / 2;          /* 600x400 = 3:2 ratio */
    object-fit: cover;            /* fill the box, crop if needed */
    border-radius: 20px;          /* smooth rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* optional soft shadow */
  }
  
  
  body {
      font-size: 12pt;
      line-height: 1.4;
  }

  .container {
      width: 100%;
      padding: 0;
  }

  main, article, section {
      margin: 0;
      padding: 0;
  }

  main, article {
      page-break-inside: avoid;
  }

  h1, h2, h3, h4 {
      page-break-before: always;
      font-size: 16pt;
      font-weight: bold;
  }

  table {
      page-break-inside: avoid;
  }

  @page {
      margin: 1cm;
  }

  .comments, .social-links {
      display: none;
  }

  * {
      border: none !important;
      background: none !important;
      color: #000 !important;
  }

  .container,
  .container-fluid,
  .row,
  .col,
  .col-* {
      border: none !important;
      box-shadow: none !important;
  }

  .navbar,
  .navbar-nav,
  .navbar-collapse,
  .nav-item,
  .nav-link {
      border: none !important;
      box-shadow: none !important;
  }

  .form-control,
  .form-list,
  .form-sub,
  .btn,
  .dropdown-menu {
      border: none !important;
      box-shadow: none !important;
  }

  .table,
  #softwaretable {
      border: none !important;
      box-shadow: none !important;
  }

  .list-group-item {
      border: none !important;
      box-shadow: none !important;
  }

  .profile-pic,
  .indexImage {
      border: none !important;
      box-shadow: none !important;
  }

  .footer-right,
  .transparent-btn,
  .video-wrapper {
      border: none !important;
      box-shadow: none !important;
  }

  .starryback {
      background: transparent !important;
  }

  /* Ensure all buttons and links are borderless and shadowless */
  .btn {
      border: none !important;
      box-shadow: none !important;
  }

  /* Make sure any padding in form controls or tables is removed */
  .table {
      padding: 0 !important;
  }

  /* Hide unnecessary elements for printing */
  .navbar,
  .footer-right,
  .transparent-btn,
  .video-wrapper,
  .dropdown-menu {
      display: none !important;
  }
}

