/* =====================================================================
   PROJECT PAGE SPECIFIC STYLES
   ===================================================================== */

/* Project Header Section */
.project-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    position: relative;
    overflow: hidden;
}

.project-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    opacity: 0.3;
}

.project-stats .stat-box {
    min-width: 120px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-stats .stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Project Filters */
.project-filters {
    margin-bottom: 2rem;
}

.filter-btn {
    border-radius: 50px;
    padding: 8px 20px;
    margin: 0 5px 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
}

.filter-btn.active {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

/* Project Cards */
.project-card {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.project-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .card-img-top {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.tech-badge {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Project Process Section */
.process-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    position: relative;
}

.process-icon i {
    font-size: 2rem;
    color: #0d6efd;
}

.process-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

/* Project Modals */
.modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}

/* Animation for filter transitions */
.project-item {
    transition: all 0.5s ease;
}

.project-item.hide {
    opacity: 0;
    transform: scale(0.8);
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* No Results Message */
#noResults {
    opacity: 0;
    transition: opacity 0.5s ease;
}

#noResults.show {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .project-header {
        text-align: center;
    }
    
    .project-stats {
        justify-content: center !important;
        margin-top: 2rem !important;
    }
}

@media (max-width: 767.98px) {
    .process-card {
        margin-bottom: 1rem;
    }
    
    .filter-btn {
        font-size: 0.85rem;
        padding: 6px 15px;
    }
}
/* Search Bar Styling */
.search-wrapper {
    margin-bottom: 1.5rem;
}

.search-wrapper .input-group {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    overflow: hidden;
}

.search-wrapper .input-group-text {
    border-radius: 50px 0 0 50px;
    border-right: none;
}

.search-wrapper .form-control {
    border-radius: 0 50px 50px 0;
    font-size: 0.95rem;
    height: 50px;
    border-left: none;
}

.search-wrapper .form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.search-wrapper .btn {
    border-radius: 50px;
    width: 50px;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.search-wrapper .btn i {
    font-size: 0.9rem;
}

#searchFeedback {
    min-height: 24px;
    font-size: 0.9rem;
}

/* Highlight search matches */
.search-highlight {
    background-color: rgba(255, 193, 7, 0.3);
    padding: 0 2px;
    border-radius: 3px;
}

/* Search animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.search-pulse {
    animation: pulse 0.5s ease-in-out;
}
