/* Project Portfolio Styles */
.project-filter {
    margin-bottom: 2rem;
}

.filter-button {
    border: none;
    padding: 8px 20px;
    margin: 5px;
    border-radius: 30px;
    color: #555;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.filter-button:hover,
.filter-button.active {
    background: var(--bs-primary);
    color: #fff;
}

.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 36, 91, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 20px;
    background: #fff;
}

.project-category {
    color: var(--bs-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #333;
}

.project-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* Project Modal Styles */
.project-modal .modal-content {
    border-radius: 10px;
    overflow: hidden;
}

.project-modal .modal-header {
    background: var(--bs-primary);
    color: #fff;
    border: none;
}

.project-modal .close {
    color: #fff;
}

.project-details {
    padding: 20px 0;
}

.project-info-item {
    margin-bottom: 15px;
}

.project-info-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.project-gallery {
    margin: 20px 0;
}

.project-gallery img {
    border-radius: 5px;
    margin-bottom: 15px;
}

.project-stats {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.stat-box {
    text-align: center;
    padding: 15px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--bs-primary);
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Timeline Styles */
.project-timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    padding: 20px;
    border-left: 2px solid var(--bs-primary);
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 24px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bs-primary);
}

.timeline-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .project-card {
        margin-bottom: 20px;
    }

    .project-image {
        height: 200px;
    }

    .project-title {
        font-size: 1.1rem;
    }

    .stat-box {
        margin-bottom: 15px;
    }
} 