/* ======================
   Projects Section
   ====================== */

.projects-section {
    padding: 100px 0;
    background: #fff;
}

/* Project Categories Filter */
.project-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 28px;
    background: #f8fafc;
    border: 2px solid #eaeaea;
    border-radius: 50px;
    color: #666;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    border-color: #00bfff;
    color: #00bfff;
    background: rgba(0, 191, 255, 0.05);
}

.category-btn.active {
    background: linear-gradient(135deg, #002e5f, #00bfff);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(0, 46, 95, 0.2);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #00bfff;
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 46, 95, 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-view-btn {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #002e5f;
    font-size: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-view-btn:hover {
    background: #00bfff;
    color: white;
    transform: scale(1.1);
}

.project-content {
    padding: 30px;
}

.project-category {
    display: inline-block;
    background: rgba(0, 191, 255, 0.1);
    color: #00bfff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-title {
    font-size: 2.2rem;
    color: #002e5f;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.project-description {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-tag {
    background: #f0f7ff;
    color: #002e5f;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: 500;
    border: 1px solid rgba(0, 46, 95, 0.1);
}

.project-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
}

.status-badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.completed {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.project-duration {
    font-size: 1.4rem;
    color: #666;
    font-weight: 600;
}

.project-actions {
    display: flex;
    gap: 15px;
}

.project-actions .btn-sm {
    flex: 1;
    padding: 12px 20px;
    font-size: 1.4rem;
    min-height: 48px;
    border-radius: 12px;
}

/* View All Projects */
.view-all-projects {
    text-align: center;
    margin-top: 60px;
}

.view-all-projects .btn {
    padding: 18px 45px;
    font-size: 1.7rem;
    border-radius: 50px;
    min-width: 250px;
}

.view-all-projects .btn i {
    font-size: 1.8rem;
}

/* ======================
   Stats Section
   ====================== */

.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #002e5f 0%, #004a99 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2300bfff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.stat-icon i {
    font-size: 3rem;
    color: white;
}

.stat-content {
    color: white;
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1;
    background: linear-gradient(135deg, #fff, #a8e6cf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* ======================
   Responsive Design
   ====================== */

/* Tablet */
@media (max-width: 991px) {
    .projects-section {
        padding: 80px 0;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .project-categories {
        gap: 10px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 1.4rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .projects-section {
        padding: 60px 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-categories {
        gap: 8px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .category-btn {
        white-space: nowrap;
        padding: 8px 18px;
        font-size: 1.3rem;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stats-section {
        padding: 60px 0;
    }
    
    .stat-item {
        padding: 25px 15px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .stat-icon i {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1.4rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .projects-grid {
        gap: 25px;
    }
    
    .project-content {
        padding: 25px;
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}