/* === Estilos generales === */
html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  
  .page-container {
    padding: 60px 0;
  }
  
  .section-title {
    text-align: center;
    padding-bottom: 30px;
  }
  
  .section-title h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: #2c3e50;
  }
  
  .section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 80px;
    height: 3px;
    background: #3498db;
    bottom: 0;
    left: calc(50% - 40px);
  }
  
  .section-title p {
    margin-bottom: 0;
    font-size: 16px;
    color: #7b7b7b;
  }
  
  /* === Estilos para el visualizador de PDF === */
  #pdfModal .modal-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 80vh;
  }
  
  #pdf-container {
    flex: 1;
    overflow-y: auto;
    width: 100%;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
  }
  
  .pdf-page-container {
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: white;
  }
  
  .pdf-page {
    max-width: 100%;
    height: auto !important;
    display: block;
    margin: 0 auto;
  }
  
  /* === Botón de scroll hacia arriba === */
  #scrollToTopPdf {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
    border: none;
    background: #3498db;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  #scrollToTopPdf:hover {
    background: #2c80b4;
  }
  
  /* === Enlace de descarga PDF === */
  #pdfDownload {
    display: inline-block;
    margin: 10px auto;
    text-align: center;
    background: #3498db;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  
  #pdfDownload:hover {
    background: #2c80b4;
  }
  
  /* === Responsive === */
  @media (max-width: 768px) {
    #pdfModal .modal-dialog {
      margin: 10px auto;
      max-width: 95%;
      height: 90vh;
    }
  
    #pdf-container {
      height: calc(100% - 60px);
    }
  
    .pdf-page-container {
      margin-bottom: 15px;
    }
  }
  
  @media (max-width: 576px) {
    #pdfModal .modal-body {
      height: 85vh;
    }
  
    .pdf-page {
      width: 95% !important;
    }
  }
  