:root {
    --primary:#0056b3;
    --secondary: #1b9c26;
}

/* Hero Search */
.hero-search-section {
    background: url(guia.png);
    padding: 70px 20px;
    color: white;
    text-align: center;
    border-bottom: 5px solid var(--secondary);
}

.search-container {
    max-width: 600px;
    margin: 30px auto 0;
    position: relative;
}

#global-search {
    width: 100%;
    padding: 18px 20px 18px 55px;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    outline: none;
}

.search-icon {
    position: absolute; left: 20px; top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.2rem;
}

/* Tabs */
.tabs-nav {
    display: flex; justify-content: center; gap: 15px;
    margin: -30px 0 50px 0;
}

.tab-btn {
    padding: 15px 25px; 
    border-radius: 30px; 
    border: none;
    background: white; 
    color: var(--primary); 
    font-weight: bold;
    cursor: pointer;
     box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.tab-btn.active { background: var(--secondary); color: white; }

/* Grid */
.resource-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
}

.resource-card {
    background: white; border-radius: 15px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s;
}

.resource-card:hover { transform: translateY(-5px); }

.video-box video 
{    width: 100%; 
     aspect-ratio: 16/9;
     background: #000;
      display: block; }

.manual-icon-box {
    background: #f0f7ff; 
    padding: 40px;
     text-align: center;
    font-size: 4rem; 
    color: #cd3d2d;
}

.card-info { padding: 20px; }
.category-tag {
    font-size: 0.7rem;
     background: #e1f5ff;
      color: var(--primary);
     padding: 4px 10px;
     border-radius: 10px;
      font-weight: bold;
}

.btn-action {
    display: inline-block; 
    margin-top: 15px;
     padding: 10px 20px;
    background: var(--primary);
     color: white; 
     text-decoration: none;
      border-radius: 5px;
}

/* Utilities */
.tab-panel { display: none; }
.tab-panel.active {
     display: block; 
     animation: fadeIn 0.5s ease; }
.hidden { display: none !important; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
#empty-state { 
    text-align: center; 
    padding: 50px;
     color: #ccc; }