/* Portfolio View All Button */
.portfolio-view-all {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.portfolio-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.portfolio-view-all-btn:hover {
    background: #C1121F;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(193, 18, 31, 0.3);
    border-color: #C1121F;
}

.portfolio-view-all-btn i {
    transition: transform 0.3s ease;
}

.portfolio-view-all-btn:hover i {
    transform: translateX(5px);
}

/* Portfolio Search Container */
.portfolio-search-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
}

/* Search Tabs */
.search-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.search-tab {
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    position: relative;
    padding: 0 0 10px 0;
    transition: all 0.3s ease;
}

.search-tab.active {
    color: #C1121F;
}

.search-tab.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #C1121F;
    border-radius: 2px 2px 0 0;
}

.search-tab:hover {
    color: #C1121F;
}

/* Search Form */
.portfolio-search-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 20px;
    align-items: center;
}

.form-group {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #555;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    transition: all 0.3s ease;
}

.form-control:hover,
.form-control:focus {
    background-color: #ffffff;
    border-color: #ddd;
    outline: none;
}

.search-submit-btn {
    background: linear-gradient(135deg, #E62020 0%, #C1121F 100%);
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 32, 32, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .portfolio-search-form {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-submit-btn {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .portfolio-search-form {
        grid-template-columns: 1fr;
    }

    .search-submit-btn {
        grid-column: span 1;
    }

    .search-tabs {
        gap: 15px;
        overflow-x: auto;
        padding-bottom: 5px;
        margin-bottom: 20px;
    }

    .search-tab {
        font-size: 0.9rem;
        white-space: nowrap;
    }
}