/* Certificates Page Specific Styles */

.certificates-page {
    padding-top: 80px;
}

.page-hero {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #d1d5db;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.certificates-showcase {
    padding: 100px 0;
    background: #f9fafb;
}

.certificates-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    border-color: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.certificates-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.certificate-detailed {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.certificate-detailed:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.certificate-image {
    height: 200px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.certificate-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.certificate-placeholder i {
    font-size: 3rem;
    color: white;
}

.certificate-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.certificate-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.certificate-issuer {
    color: #00d4ff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.certificate-date {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.certificate-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.certificate-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.certificate-skills span {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
}

.certificate-actions {
    display: flex;
    gap: 1rem;
}

.btn-verify,
.btn-download {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
}

.btn-verify {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-verify:hover {
    background: linear-gradient(135deg, #0099cc, #007acc);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.btn-download {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
}

.btn-download:hover {
    background: #00d4ff;
    color: white;
    transform: translateY(-2px);
}

.achievements-stats {
    padding: 100px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.stat-icon i {
    font-size: 2rem;
    color: white;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #6b7280;
    font-weight: 500;
}

/* Active state for side navigation */
.side-link.active {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.nav-link.active {
    color: #00d4ff;
}

.nav-link.active::after {
    width: 100%;
}

/* Filter Animation */
.certificate-detailed {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

.certificate-detailed.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .certificates-grid-detailed {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .certificate-detailed {
        flex-direction: column;
    }
    
    .certificate-actions {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .certificates-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .certificate-info {
        padding: 1.5rem;
    }
}
