#portfolio-filters {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

#portfolio-filters li {
  cursor: pointer;
  padding: 10px 22px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 50px;
  background-color: #f8f9fa;
  color: #444444;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease-in-out;
}

#portfolio-filters li:hover,
#portfolio-filters li.filter-active {
  background-color: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

.row.portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.file-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    max-width: 310px;
    min-height: 230px;
    margin: 0px 6px;
}

.file-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.file-card .file-icon {
    font-size: 2.5rem;
    color: #0077b6;
    margin-bottom: 5px;
    text-align: center;
}

.file-card .file-info {
    flex-grow: 1;
    text-align: center;
}

.file-card .file-info h4 {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #343a40;
    word-break: break-word;
}

.file-card .file-meta {
    display: flex;
    justify-content: space-around;
    font-size: 0.85rem;
    color: #6c757d;
    /* margin-bottom: 20px; */
    margin-bottom: 0px !important;
}

.file-card .file-meta span {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.file-card .file-meta i {
    margin-right: 5px;
    font-size: 1rem;
}

.file-card .file-actions {
    display: flex;
    gap: 10px;
}

.file-card .file-actions button {
    width: 100%;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.file-card .view-file-data {
    background-color: #f8f9fa;
    color: #0077b6;
    border-color: #dee2e6;
}

.file-card .view-file-data:hover {
    background-color: #e9ecef;
}

.file-card .file-actions form {
    width: 100%;
    margin: 0;
}

.file-card .download-button {
    background-color: #0077b6;
    color: #ffffff;
}

.file-card .download-button:hover {
    background-color: #0b5ed7;
}

.file-card .download-button:disabled {
    background-color: #ced4da;
    cursor: not-allowed;
    border-color: #ced4da;
}

.tooltipLeft {
    position: relative;
    display: inline-block;
    width: 100%;
}

.tooltipLeft .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #343a40;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltipLeft .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #343a40 transparent transparent transparent;
}

.tooltipLeft:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* --- Estilos do Modal de Metadados --- */

/* titulo colorido no modal */
.modal-body .metadata-section {
  margin-bottom: 1.8rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.modal-body .metadata-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.metadata-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #eaf6ff;
  color: #0077b6;
  padding: 10px 15px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 5px;
  margin-bottom: 1.5rem;
  border-left: 4px solid #0077b6;
  text-align: center;
  justify-content: center;
}

.metadata-section-title .bi {
    font-size: 1.1rem;
}

.titulo-modal{
    color: #0077b6;
    font-weight: 800;
    font-size: 20px;
}

.txt-modal{
    color: #444444;
    font-weight: 600;
    font-size: 16px;
}

.data-modal{
    color: #0077b6;
    font-weight: 600;
    font-size: 14px;
}

.row-modal{
    padding-bottom: 20px;
}

.btn-modal{
    background-color: #0077b6 !important;
    border-color: #0077b6 !important;
    color: white !important;
    font-weight: 550 !important;
    justify-content: center !important;
    text-align: center !important;
    align-items: center !important;
}
.metadata-table {
  margin-top: 1rem;
  font-size: 0.85rem;
}

.metadata-table thead {
  background-color: #0077b6;
  color: #ffffff;
}

.metadata-table thead th {
  font-weight: 600;
}

.metadata-table tbody td {
    vertical-align: middle;
}

.metadata-image-wrapper img {
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 5px;
  max-width: 80%;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
}

/* --- Estilos da Página de Seminários --- */

.seminars-section {
    padding: 60px 0;
}

.seminar-card {
    width: 100%;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.seminar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.seminar-card .seminar-video .ratio {
    /* Garante que o iframe dentro do link se ajuste corretamente */
    background-color: #000;
}

.seminar-card .seminar-video iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.seminar-card .seminar-title {
    padding: 20px 15px;
    background-color: #f8f9fa;
    text-align: center;
    border-top: 1px solid #e9ecef;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seminar-card .seminar-title h5 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #444444;
}

/* --- Estilos da Página de Notícias (Blog) --- */

.blog .blog-card {
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease-in-out;
}

.blog .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.blog .blog-card-body {
    padding: 25px;
    flex-grow: 1;
}

.blog .blog-card-meta {
    font-size: 0.85rem;
    color: #8c8c8c;
    margin-bottom: 10px;
}

.blog .blog-card-meta i {
    margin-right: 5px;
    color: #0d6efd;
}

.blog .blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog .blog-card-title a {
    color: #333;
    transition: color 0.3s;
}

.blog .blog-card-title a:hover {
    color: #0d6efd;
}

.blog .blog-card-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.blog .blog-card-footer {
    padding: 15px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.blog .blog-card-footer .read-more {
    display: inline-flex;
    align-items: center;
    color: #0d6efd;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.blog .blog-card-footer .read-more i {
    margin-left: 8px;
    font-size: 1rem;
    transition: margin-left 0.3s;
}

.blog .blog-card-footer .read-more:hover i {
    margin-left: 12px;
}

/* --- Estilos da Página de Política (LGPD) --- */

.policy-page {
    padding: 40px 0;
}

.policy-content {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

/* Estilo para Títulos e Subtítulos dentro do texto */
.policy-content h1,
.policy-content h2,
.policy-content h3,
.policy-content h4 {
    font-weight: 700;
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #0d6efd;
}

.policy-content h2 {
    font-size: 1.8rem;
}

.policy-content h3 {
    font-size: 1.5rem;
}

/* Estilo para Parágrafos */
.policy-content p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
    text-align: justify;
}

/* Estilo para Listas */
.policy-content ul,
.policy-content ol {
    padding-left: 25px;
    margin-bottom: 1rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: #555;
    text-align: justify;
}

/* Estilo para Links */
.policy-content a {
    color: #0d6efd;
    font-weight: 500;
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}

/* Estilo para texto em negrito */
.policy-content strong,
.policy-content b {
    color: #222;
}

/* --- Estilos da Página de Cadastro --- */

.form_cadastro {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.registration-form-wrapper {
    background-color: #fff;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    overflow: hidden; /* Garante que o radius do header funcione */
}

.registration-form-wrapper .form-header {
    background-color: #f8f9fa;
    padding: 25px 30px;
    border-bottom: 1px solid #e9ecef;
}

.registration-form-wrapper .form-header h4 {
    margin: 0;
    font-weight: 700;
    color: #333;
}

.registration-form-wrapper .form-header p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.registration-form-wrapper .form-body {
    padding: 30px;
}

.form-body .campos_obrigatorios {
    font-size: 0.8rem;
    color: #03045e;
    text-align: right;
    margin-top: -15px;
}

.enviar-msg{
    background-color: #0077b6 !important;
    width: 250px;
    height: 60px;
    border-radius: 5px;
    BORDER: none;
     color: white !important;
    font-weight: 800;
}

.enviar-msg:hover{
    background-color: #03045e;
    transition: 0.3ms ease;
}

.limpar-msg{
    background-color: #03045e;
    border-radius: 20px;
    color: white !important;
    font-weight: 800;
    width: 150px;
    height: 50px;
    border: none;

}

.download-arq a{
    background-color: #0077b6 !important;
    width: 200px !important;
    height: 50px !important;
    border: none !important;
    border-radius: 10px !important;
    color: white !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.form-body .form-label {
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

.form-body .form-label i {
    color: #0d6efd;
    margin-right: 5px;
}

.registration-form-wrapper .form-footer {
    padding: 20px 30px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-footer .btn {
    padding: 10px 25px;
    font-weight: 600;
}

/* --- Estilos da Página de Contato --- */

.contact-page {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.contact-info-card {
    width: 100%;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-top: 4px solid #0d6efd;
    transition: all 0.3s ease-in-out;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.contact-info-card i {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 20px;
    display: inline-block;
}

.contact-info-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info-card p {
    color: #6c757d;
    margin-bottom: 0;
}

.contact-info-card a {
    color: #6c757d;
    transition: color 0.3s;
}

.contact-info-card a:hover {
    color: #0d6efd;
}

/* Estilos do Formulário */
.contact-form-wrapper {
    background-color: #fff;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.contact-form-wrapper .form-header {
    background-color: #f8f9fa;
    padding: 25px 30px;
    border-bottom: 1px solid #e9ecef;
}

.contact-form-wrapper .form-header h4 {
    margin: 0;
    font-weight: 700;
    color: #333;
}

.contact-form-wrapper .form-header p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.contact-form-wrapper .form-body {
    padding: 30px;
}

.contact-form-wrapper .form-body .campos_obrigatorios {
    font-size: 0.8rem;
    color: #03045e;
    font-weight: 700;
    text-align: right;
    margin-top: -15px;
}

.contact-form-wrapper .form-body .form-label {
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.contact-form-wrapper .form-footer {
    padding: 20px 30px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
