/* 99acres Style Project Card (NN Classes) */
.nn-project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.nn-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.nn-card-top {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.nn-card-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nn-project-card:hover .nn-card-top img {
    transform: scale(1.05);
}

.nn-badge-container {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
}

.nn-badge {
    background: #fff;
    color: #444;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rera-badge {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.nn-fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4d4d;
    transition: background 0.3s;
}

.nn-fav-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.nn-card-body {
    padding: 15px;
    flex-grow: 1;
}

.nn-title {
    font-size: 16px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 4px;
}

.nn-location {
    font-size: 13px;
    color: #727272;
    margin-bottom: 12px;
}

.nn-rating-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.nn-rating {
    background: #ffb400;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
}

.nn-rating i {
    font-size: 10px;
}

.nn-rating-label {
    font-size: 11px;
    color: #999;
}

.nn-price-section {
    margin-bottom: 15px;
}

.nn-price-range {
    font-size: 20px;
    font-weight: 800;
    color: #000;
}

.nn-price-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
}

.nn-config-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nn-config-tags span {
    font-size: 12px;
    color: #444;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 4px;
}

.nn-card-footer {
    padding: 15px;
    border-top: 1px dashed #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nn-developer {
    display: flex;
    flex-direction: column;
}

.nn-dev-label {
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
}

.nn-dev-name {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
}

.nn-view-btn {
    color: #007aff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.nn-view-btn:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .nn-card-top {
        height: 160px;
    }

    .nn-title {
        font-size: 14px;
    }

    .nn-price-range {
        font-size: 18px;
    }
}