.ng-39227584-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    width: 100%;
}

.ng-39227584-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    text-decoration: none !important;
    padding: 24px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.ng-39227584-col-4 {
    grid-column: span 4;
}

.ng-39227584-col-3 {
    grid-column: span 3;
}

.ng-39227584-intro {
    color: #fff;
    justify-content: center;
    align-items: flex-start;
}

.ng-39227584-card-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 1;
}

.ng-39227584-card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2;
    transition: background 0.3s ease;
}

.ng-39227584-card-content {
    position: relative;
    z-index: 3;
    color: #fff;
    width: 100%;
}

.ng-39227584-title {
    color: #fff;
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.ng-39227584-desc {
    color: #f1f1f1;
    margin: 0 0 16px 0;
    font-size: 1rem;
}

.ng-39227584-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    color: #fff;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.ng-39227584-link {
    display: inline-block;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hover effects */
.ng-39227584-image-card:hover .ng-39227584-card-bg {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .ng-39227584-col-4,
    .ng-39227584-col-3 {
        grid-column: span 6;
    }
}

@media (max-width: 767px) {
    .ng-39227584-col-4,
    .ng-39227584-col-3 {
        grid-column: span 12;
    }
}
