body {
    padding-top: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  p {
    font-size: 18px;
  }
  
  main {
    margin-top: 20px;
    flex: 1;
    overflow-y: auto;
  }
  
  .team-section,
  .research-section,
  .projects-section,
  .contact-section,
  .about-section {
    padding: 60px 0;
  }
  
  .team-photo,
  .research-graphic img,
  .project-graphic,
  .map-placeholder,
  .about-photo {
    border: 2px dashed #ccc;
    height: auto;
    width: 100%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero {
    position: relative;
    color: #fff;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
  }
  
  .hero-title {
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 1rem;
  }
  
  footer {
    flex-shrink: 0;
  }
  
  .disabled {
    pointer-events: none;
    color: #ccc;
    text-decoration: none;
  }
  
  .hero video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .custom-modal {
    max-width: 60%; /* Ajusta este valor según tus necesidades (aprox. la mitad de la pantalla) */
  }
  
  @media (max-width: 768px) {
    .custom-modal {
      max-width: 90%;
    }
  }
  
  .modal-body {
    max-height: 70vh;  /* Limita el alto al 70% de la ventana */
    overflow-y: auto;  /* Habilita el scroll vertical */
  }
  