/* ============================================
   MODERN PROJECTS PAGE STYLES
   ============================================ */

.projects-header .header-inner.hi-about-us {
    position: relative;
    overflow: hidden;
}

.projects-hero {
    background: linear-gradient(135deg, #071426 0%, #102a4a 40%, #153b63 100%);
    color: #ffffff;
}

.projects-page {
    background: #f5f7fb;
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Stats Section */
.projects-stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0d3a5c 0%, #0a2d4a 100%);
    color: #ffffff;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    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-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Filter Section */
.projects-filter-section {
    padding: 40px 0;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 12px 28px;
    background: transparent;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #0d3a5c, #0a2d4a);
    border-color: #0d3a5c;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Projects Grid */
.projects-grid-section {
    padding: 60px 0;
}

.project-item {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.project-item.hidden {
    display: none;
}

.project-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(58, 166, 245, 0.2);
}

.project-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2138 0%, #153b63 100%);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s 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(13, 58, 92, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d3a5c;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.project-link:hover {
    transform: scale(1.1) rotate(45deg);
}

.project-category {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0d3a5c;
}

.project-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-description {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
    flex: 1;
}

.project-meta {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    color: #999;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-meta i {
    font-size: 16px;
    color: #0d3a5c;
}

/* References Showcase */
.references-showcase-section {
    padding: 80px 0;
    background: #ffffff;
}

.references-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.reference-logo-item {
    width: 180px;
    height: 120px;
    background: #f5f7fb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.reference-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #0d3a5c;
}

.logo-placeholder {
    font-size: 48px;
    color: #999;
}

/* CTA Section */
.projects-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f2138 0%, #153b63 100%);
    color: #ffffff;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-cta-primary {
    padding: 18px 40px;
    background: linear-gradient(135deg, #0d3a5c, #0a2d4a);
    color: #ffffff;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(58, 166, 245, 0.4);
    color: #ffffff;
}

.btn-cta-secondary {
    padding: 18px 40px;
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: #ffffff;
    color: #0d3a5c;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .stat-card {
        margin-bottom: 20px;
    }
    
    .references-logos {
        gap: 30px;
    }
    
    .reference-logo-item {
        width: 150px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .projects-page {
        padding-top: 40px;
        padding-bottom: 60px;
    }
    
    .projects-stats-section {
        padding: 40px 0;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .project-image {
        height: 240px;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .stat-icon {
        font-size: 36px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .project-title {
        font-size: 18px;
    }
    
    .reference-logo-item {
        width: 120px;
        height: 80px;
    }
}
