/* Certifications Section Styles */
.certifications-section {
    padding: 6rem 2rem;
    background-color: rgba(15, 22, 33, 0.97);
    position: relative;
    overflow: hidden;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Certification Card */
.certification-card {
    background: linear-gradient(135deg, rgba(30, 45, 61, 0.8) 0%, rgba(15, 22, 33, 0.9) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(78, 205, 196, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1) 0%, rgba(30, 45, 61, 0) 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-8px);
    border-color: rgba(78, 205, 196, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(78, 205, 196, 0.3);
}

.certification-card:hover::before {
    opacity: 1;
}

/* Certificate Header */
.cert-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cert-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cert-logo.comptia {
    background: linear-gradient(135deg, #E53E3E 0%, #C53030 100%);
    color: white;
}

.cert-logo.itil {
    background: linear-gradient(135deg, #805AD5 0%, #6B46C1 100%);
    color: white;
}

.cert-logo.linux {
    background: linear-gradient(135deg, #F7931E 0%, #E67E22 100%);
    color: white;
}

.cert-info {
    flex: 1;
}

.cert-info h3 {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.cert-issuer {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.cert-dates {
    font-size: 0.8rem;
    color: #aaa;
    font-family: 'Roboto Mono', monospace;
}

/* Status Indicator */
.cert-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 8px rgba(78, 205, 196, 0.6);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Skills Tags */
.cert-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.skill-tag {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1) 0%, rgba(78, 205, 196, 0.2) 100%);
    border: 1px solid rgba(78, 205, 196, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #ddd;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.2) 0%, rgba(78, 205, 196, 0.3) 100%);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2), 0 0 6px rgba(78, 205, 196, 0.3);
}

/* Verification Button */
.cert-actions {
    display: flex;
    justify-content: flex-end;
}

.verify-btn {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1) 0%, rgba(78, 205, 196, 0.2) 100%);
    border: 1px solid rgba(78, 205, 196, 0.4);
    color: var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Roboto Mono', monospace;
}

.verify-btn:hover {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.2) 0%, rgba(78, 205, 196, 0.3) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(78, 205, 196, 0.3);
}

.verify-btn i {
    font-size: 0.75rem;
}

/* Certification Statistics */
.cert-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(78, 205, 196, 0.2);
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(78, 205, 196, 0.5);
    margin-bottom: 0.5rem;
    font-family: 'Roboto Mono', monospace;
}

.stat-label {
    font-size: 0.9rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .certifications-section {
        padding: 4rem 1rem;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cert-header {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .cert-stats {
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .certification-card {
        padding: 1rem;
    }
    
    .cert-header {
        gap: 0.75rem;
    }
    
    .cert-logo {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .cert-info h3 {
        font-size: 1rem;
    }
    
    .cert-skills {
        gap: 0.4rem;
    }
    
    .skill-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    .verify-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .cert-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* Animation for stats counter */
.cert-stats.visible .stat-number {
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}