/* Card Flip Styles */
.project-card {
    perspective: 1000px;
}

.project-image {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
}

.card-front {
    z-index: 2;
    display: block;
}

.card-back {
    background-color: #f8f9fa;
    display: none;
    justify-content: center;
    align-items: center;
}

.flip-button-container {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.flip-button {
    background: linear-gradient(45deg, #4e54c8, #8f94fb);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.flip-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.project-iframe {
    width: 100%;
    height: 100%;
    border: none;
}