/* Sertifikatlar */
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.certificate {
    perspective: 1000px;
}

.cert-card {
    position: relative;
    width: 100%;
    height: 200px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.certificate:hover .cert-card {
    transform: rotateY(180deg);
}

.cert-front {
    position: absolute;
    width: 100%;
    
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
}

 .cert-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
}


.cert-front {
    background: #f5f5f5;
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cert-back {
    background: #1976d2;
    color: #fff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-align: center;
}

.cert-back h3 {
    font-size: 16px;
    margin: 5px 0;
}

.cert-back p {
    font-size: 14px;
    margin: 0;
}

/* Animasiyalar */
@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes wave {
    0% { transform: translate(-10%, -10%) rotate(0deg); }
    50% { transform: translate(10%, 10%) rotate(180deg); }
    100% { transform: translate(-10%, -10%) rotate(360deg); }
}

/* Responsive Dizayn */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .sidebar, .main-content {
        width: 100%;
    }
    .certificate-grid {
        grid-template-columns: 1fr;
    }
}