/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    padding: 30px 0 30px;
    background: #ffffff;
    overflow: hidden;
}


.breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 1.2rem;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--text-muted);
}


main {
    padding-bottom: 80px;
}

.filter-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 110px;
}

.filter-card h6 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
}

.filter-card label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.search-input {
    display: flex;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.search-input input {
    border: none;
    flex: 1;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
}

.search-input button {
    border: none;
    background: var(--primary-color);
    color: #fff;
    padding: 0 1rem;
    font-weight: 600;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.filter-tags button {
    border: 2px solid var(--border-color);
    border-radius: 999px;
    background: #fff;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.filter-tags button.active,
.filter-tags button:hover {
    border-color: var(--primary-color);
    color: var(--primary-dark);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.project-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.project-media {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #0f172a;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-media img {
    transform: scale(1.05);
}

.project-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-content {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-content h3 {
    font-size: 1.2rem;
    margin: 0;
    color: #0f172a;
}

.project-content h3 a {
    text-decoration: none;
    color: inherit;
}

.project-content p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.project-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-link:hover {
    color: var(--primary-dark);
}

.empty-state {
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    background: #fff;
}

.empty-state h4 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #0f172a;
}

.load-more {
    margin-top: 32px;
    text-align: center;
}

.load-more button {
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 999px;
}







@media (max-width: 991px) {
    body { padding-top: 70px; }
    .hero { padding: 48px 0 32px; }
    .hero h1 { font-size: 2.1rem; }
    .filter-card { position: static; }
}

@media (max-width: 575px) {
    .hero-stats { flex-direction: column; }
    .project-meta { flex-direction: column; gap: 10px; align-items: flex-start; }
}
