/* Nhonly Hover Card Styles */
.nh-card-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    background-color: #000;
}

.nh-card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.nh-card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nh-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.nh-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    transform: translateY(10px);
    transition: transform 0.5s ease;
}

.nh-card-title {
    color: #fff !important;
    font-family: var(--font-heading, sans-serif);
    font-size: 1.8rem;
    margin: 0 0 5px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nh-card-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    transform: translateY(10px);
}

.nh-card-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(10px);
}

/* Hover Effects */
.nh-card-wrapper:hover .nh-card-image {
    transform: scale(1.1);
}

.nh-card-wrapper:hover .nh-card-content {
    transform: translateY(0);
}

.nh-card-wrapper:hover .nh-card-text {
    max-height: 150px;
    opacity: 1;
    margin-top: 10px;
    transform: translateY(0);
}

.nh-card-wrapper:hover .nh-card-btn {
    opacity: 1;
    transform: translateY(0);
}

.nh-card-btn:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 768px) {
    .nh-card-title {
        font-size: 1rem;
    }

    .nh-card-text {
        font-size: 0.9rem;
    }

    .nh-card-btn {
        font-size: 0.8rem;
    }

    .nh-card-content {
        padding: 5px;
        text-align: center;
    }

    .simplier .elementor-element {
        --widgets-spacing: 0;
        --widgets-spacing-row: 0;
        --widgets-spacing-column: 20px;
    }
}