/* FHIR Portal - Styles */

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Roboto", sans-serif;
    font-weight: 100;
    font-style: normal;
    background-image: linear-gradient(14deg, #045a85 15%, #035f3a 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    color: #234d20; /* Cor do texto padrão verde escuro */
    position: relative; /* Define a posição relativa para o corpo */
}

header {
    text-align: center;
    padding: 20px 0;
    background-color: whitesmoke;
    display: none; /* Oculta o cabeçalho */
    align-items: center; /* Centraliza verticalmente os itens do cabeçalho */
    z-index: 1;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza horizontalmente as logos */
    bottom: 0;
    width: 100%; /* Ocupa toda a largura */
    padding: 20px 0;
    background-color: transparent;
    z-index: 1;
    height: 100%;
}

.logo-sesgo, .logo-cgis, .logo-fhir {
    height: 140px;
    margin-right: 20px;
}

.logo-cgis{
    height: 55px;
    vertical-align: super;
}

/* Guides Grid Layout */
#guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 60px auto 0;
    padding: 0 20px;
    z-index: 1;
}

/* Guide Card Base Styles */
.guide-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--guide-primary), var(--guide-secondary));
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.guide-card:hover::before {
    height: 6px;
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.6);
}

/* Guide Header */
.guide-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 24px 0;
}

.guide-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.guide-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
}

.icon-placeholder {
    font-size: 24px;
    opacity: 0.8;
}

.guide-badges {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* Guide Content */
.guide-content {
    padding: 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.guide-title {
    font-size: 22px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 8px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

.guide-id {
    font-size: 13px;
    color: var(--guide-primary);
    font-weight: 500;
    margin: 0 0 12px 0;
    opacity: 0.9;
    font-family: 'Courier New', monospace;
}

.guide-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

/* Guide Footer */
.guide-footer {
    padding: 0 24px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.guide-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    min-width: 140px;
}

.guide-link:hover {
    background: var(--guide-primary);
    color: white;
    border-color: var(--guide-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.guide-link svg {
    transition: transform 0.3s ease;
}

.guide-link:hover svg {
    transform: translateX(2px);
}

/* Uniform Color Scheme for All Guides */
.guide-card {
    --guide-primary: #2196F3;
    --guide-secondary: #4CAF50;
}

.content {
    display: flex;
    justify-content: center; /* Centraliza os boxes na tela */
    gap: 20px;
    padding: 50px;
    margin-top: 20px; /* Adiciona margem acima dos boxes */
    flex-wrap: wrap; /* Permite que os elementos dentro do container sejam organizados em várias linhas */
}

.content-titulo {
    display: flex;
    justify-content: center; /* Centraliza os boxes na tela */
    gap: 20px;
    margin-top: 20px; /* Adiciona margem acima dos boxes */
}

.content-titulo h1 {
    max-width: 800px;
    text-align: center; /* Centraliza o texto */
}

.box {
    width: 300px; /* Largura fixa dos boxes */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        0 4px 16px 0 rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.box:hover::before {
    opacity: 1;
}

.box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px 0 rgba(31, 38, 135, 0.5),
        0 8px 24px 0 rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.box:active {
    transform: translateY(-4px) scale(1.01);
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.box p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 15px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.box h2 {
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 0;
    margin-bottom: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.box h2::before {
    content: '';
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #00d4aa, #4fd1c7);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.4);
}

h1 {
    margin: 0;
    font-size: 24px; /* Tamanho da fonte do título */
    margin-top: 10px; /* Adiciona margem acima do título */
    color: #f0f0f0; /* Cor do texto do título */
}

h2 {
    margin-top: 0;
}

.wrapper {            
    height: auto;            
}

.bodyContent {
    padding-bottom: 100px;
}

.logo-inovacao {
    position: absolute;
    top: 20px;
    left: 80px; /* Aproximadamente 80px da borda esquerda */
    height: 100px; /* Defina o tamanho desejado para a imagem */
    z-index: 2;
}

.footer-content {
    height: 100%;
    min-height: 100%;
    display: contents;
}

/* Navigation Styles */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 35px;
    width: auto;
}

.nav-title {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.nav-item.active .nav-link {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Badge System */
.badge {
    position: relative;
    top: 0;
    right: 0;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: badge-pulse 2s infinite;
    white-space: nowrap;
}

.badge.new {
    background: linear-gradient(45deg, #2196f3, #42a5f5);
    color: white;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.4);
}

.badge.updated {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: white;
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.4);
}

.badge.recommended {
    background: linear-gradient(45deg, #f7b801, #f18701);
    color: white;
    box-shadow: 0 2px 8px rgba(247, 184, 1, 0.4);
}

.badge.popular {
    background: linear-gradient(45deg, #a8edea, #fed6e3);
    color: #333;
    box-shadow: 0 2px 8px rgba(168, 237, 234, 0.4);
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Remove nav padding since nav is removed */

/* Page Loading Overlay */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #045a85, #035f3a);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-size: 18px;
    font-weight: 500;
    animation: pulse 1.5s ease-in-out infinite alternate;
}

@keyframes pulse {
    from { opacity: 0.6; }
    to { opacity: 1; }
}

/* Search and Filter Styles */
.search-section {
    max-width: 1000px;
    margin: 40px auto 20px;
    padding: 0 20px;
    z-index: 1;
    position: relative;
}

.search-container {
    margin-bottom: 25px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 12px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.search-box:focus-within {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.search-icon {
    color: rgba(255, 255, 255, 0.6);
    margin-right: 12px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 400;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-clear {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.search-clear:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.tags-container {
    margin-bottom: 20px;
}

.tags-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-filter {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.tag-filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.tag-filter:hover::before {
    left: 100%;
}

.tag-filter:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tag-filter.active {
    background: linear-gradient(45deg, rgba(0, 212, 170, 0.3), rgba(79, 209, 199, 0.3));
    border-color: rgba(0, 212, 170, 0.5);
    color: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.2);
}

.tag-count {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.tag-filter.active .tag-count {
    background: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 1);
}

.search-results-info {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

/* Guide item filtering */
.guide-item {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: top center;
    opacity: 1;
    transform: scale(1) translateY(0);
}

.guide-item.hidden {
    display: none !important;
}

.guide-item.filtering {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
    pointer-events: none;
}

.guide-item.filtered-out {
    opacity: 0.3;
    transform: scale(0.98);
    filter: grayscale(0.3);
}

.guide-item.showing {
    animation: slideInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    60% {
        transform: scale(1.02) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* No results message */
.no-results {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin: 20px 0;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Additional animations and effects */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes fadeInScale {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile nav toggle animation */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Enhanced hover effects for links */
.box a[href]:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Contributors Section */
.contributors-section {
    margin: 80px auto 60px;
    max-width: 1200px;
    padding: 0 20px;
}

.contributors-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contributors-header {
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.contributors-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: -0.5px;
}

.contributors-title svg {
    opacity: 0.8;
}

.contributors-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px;
    color: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contributors-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.toggle-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.contributors-toggle.expanded .toggle-icon {
    transform: rotate(180deg);
}


.contributors-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contributors-content.expanded {
    max-height: 1000px;
}

.contributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 24px;
    padding: 32px;
}

.contributor-group {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contributor-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.group-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 16px;
}

.group-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.group-icon.ufg {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
}

.group-icon.ses {
    background: linear-gradient(135deg, #2196F3, #42A5F5);
}

.group-icon svg {
    color: white;
}

.group-title {
    flex: 1;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.3;
}

.group-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 500;
}

.contributors-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    padding: 20px 24px;
}

.contributor-item {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 400;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    line-height: 1.4;
}

.contributor-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#fundo {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none; /* Impede que o SVG interfira com os cliques */
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .logo-inovacao {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 20px; /* Adiciona margem abaixo da imagem */
    }

    .content-titulo {
        margin-top: 20px; /* Adiciona margem acima dos boxes */
    }

    .content-titulo h1 {
        text-align: center; /* Centraliza o texto */
        font-size: 35px;
    }

    .logo-sesgo {
        zoom: 70%;
    }

    #guides-grid {
        grid-template-columns: repeat(2, 1fr);
        margin: 40px auto 0;
        padding: 0 15px;
        gap: 16px;
    }

    .contributors-section {
        margin: 60px auto 40px;
        padding: 0 15px;
    }

    .contributors-header {
        padding: 20px 24px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .contributors-title {
        font-size: 20px;
    }

    .contributors-grid {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 20px;
    }

    .contributor-group {
        min-width: 0;
    }

    .group-header {
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .group-title {
        font-size: 16px;
    }

    .contributors-list {
        grid-template-columns: 1fr;
        padding: 16px 20px;
    }

    .guide-card {
        min-height: 180px;
    }

    .guide-header {
        padding: 20px 20px 0;
    }

    .guide-content {
        padding: 16px 20px;
    }

    .guide-footer {
        padding: 0 20px 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .guide-title {
        font-size: 20px;
    }

    .guide-description {
        font-size: 13px;
    }

    .content {
        padding: 30px 15px;
    }

    .box {
        width: 100%;
        max-width: 350px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-container {
        padding: 0 20px;
    }

    .search-section {
        margin: 30px auto 15px;
        padding: 0 15px;
    }

    .tags-list {
        gap: 8px;
    }

    .tag-filter {
        padding: 6px 12px;
        font-size: 13px;
    }

    .search-box {
        padding: 10px 16px;
    }

    .search-input {
        font-size: 15px;
    }
}

@media screen and (max-width: 500px) {
    .logo-sesgo {
        zoom: 40%;
    }

    .content-titulo h1 {
        font-size: 28px;
    }

    #guides-grid {
        grid-template-columns: 1fr;
        margin: 30px auto 0;
        padding: 0 10px;
        gap: 12px;
    }

    .contributors-section {
        margin: 40px auto 30px;
        padding: 0 10px;
    }

    .contributors-header {
        padding: 16px 20px;
    }

    .contributors-title {
        font-size: 18px;
    }

    .contributors-toggle {
        padding: 10px;
        width: 36px;
        height: 36px;
    }

    .contributors-grid {
        padding: 20px;
        gap: 16px;
    }

    .group-header {
        padding: 14px 16px;
    }

    .group-icon {
        width: 40px;
        height: 40px;
    }

    .group-title {
        font-size: 15px;
    }

    .contributors-list {
        padding: 14px 16px;
    }

    .contributor-item {
        padding: 10px 14px;
        font-size: 13px;
    }

    .guide-card {
        min-height: 160px;
    }

    .guide-header {
        padding: 16px 16px 0;
    }

    .guide-content {
        padding: 12px 16px;
    }

    .guide-footer {
        padding: 0 16px 16px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .guide-icon {
        width: 70px;
        height: 70px;
    }

    .guide-icon img {
        width: 60px;
        height: 60px;
    }

    .icon-placeholder {
        font-size: 20px;
    }

    .guide-title {
        font-size: 18px;
    }

    .guide-description {
        font-size: 12px;
    }

    .content {
        padding: 20px 10px;
    }

    .tags-list {
        justify-content: center;
    }
    
    .tag-filter {
        flex: 0 1 auto;
        min-width: fit-content;
    }
}

@media screen and (min-width: 1200px) {
    #guides-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1400px;
    }
}
