html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth; /* enables smooth scrolling */
}

.logo img {
  display: block; /* makes <img> respect margins */
  margin: 0 auto; /* centers horizontally */
}

.custom-services-icon-size {
  font-size: 60px !important;
}

#pdf-viewer {
  width: 70%;
  margin: 40px auto; /* centers horizontally */
  background: #ffffff;
}

#pdf-viewer canvas {
  display: block;
  width: 100%; /* scale canvas to container width */
  height: auto; /* keep aspect ratio */
  margin-bottom: 32px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.12);
  transition: max-height 0.7s ease-out, opacity 0.5s ease-out,
    margin 0.5s ease-out;
  overflow: hidden;
}

#pdf-wrapper {
  margin: 40px auto;
  text-align: center;
}

.pdf-toggle {
  margin-top: 20px;
}

#togglePdfBtn {
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  background: #111;
  color: #fff;
  border-radius: 4px;
}

#togglePdfBtn:hover {
  background: #333;
}

.hidden-pdf-page {
  max-height: 0 !important; /* Forces the element to collapse */
  opacity: 0; /* Fades it out */
  margin-bottom: 0 !important; /* Collapses the margin as well */
}
