.simulator-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4),
                0 5px 15px rgba(0, 173, 181, 0.2),
                inset 0 0 0 1px rgba(255, 255, 255, 0.1),
                0 0 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    background: #222831;
    margin: 0 auto;
    max-height: 200px;
    width: 100%;
    position: relative;
}

.simulator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5),
                0 8px 20px rgba(0, 173, 181, 0.3),
                inset 0 0 0 1px rgba(255, 255, 255, 0.2),
                0 0 50px rgba(0, 0, 0, 0.4);
}

.simulator-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    box-shadow: inset -6px 0 12px rgba(0, 0, 0, 0.3);
}

.simulator-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
    background: #222831;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.card-title {
    color: #EEEEEE;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.card-description {
    color: #EEEEEE;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    opacity: 0.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background-color: #00ADB5;
    color: #EEEEEE;
    border: none;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    box-shadow: 0 6px 15px rgba(0, 173, 181, 0.4),
                0 2px 5px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    pointer-events: auto !important;
    cursor: pointer !important;
}

.btn-primary:hover {
    background-color: #00959E;
    transform: scale(1.05);
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(0, 173, 181, 0.5),
                0 4px 10px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 40, 49, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

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

/* Enhanced glow effect on hover */
.simulator-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 173, 181, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.simulator-card:hover::after {
    opacity: 1;
}

/* Add container max-width for larger screens */
@media (min-width: 1400px) {
    .container-fluid {
        max-width: 1800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .simulator-card {
        max-height: none;
    }

    .simulator-img-wrapper {
        height: 140px;
    }

    .card-body {
        padding: 1rem;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 3;
    }

    .btn-primary {
        padding: 0.4rem 1.2rem;
    }
}
