/* Latest Property Section - Modern Fintech Style */
.latest-property-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.latest-property-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    z-index: 0;
}

.latest-property-section .container {
    position: relative;
    z-index: 1;
}

/* Section Header */
.latest-property-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.latest-property-section .section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.latest-property-section .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.2;
}

.latest-property-section .section-subtitle {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Property Cards Grid */
.latest-property-section .property-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Individual Property Card */
.latest-property-section .property-card-modern {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.latest-property-section .property-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

/* Card Image */
.latest-property-section .property-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.latest-property-section .property-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.latest-property-section .property-card-modern:hover .property-image-wrapper img {
    transform: scale(1.1);
}

/* Image Overlay */
.latest-property-section .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.6) 100%);
}

/* Property Tags */
.latest-property-section .property-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.latest-property-section .property-tag {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.latest-property-section .property-tag.type {
    background: #2563eb;
    color: #ffffff;
}

.latest-property-section .property-tag.installment {
    background: rgba(255, 255, 255, 0.95);
    color: #2563eb;
}

/* Wishlist Button */
.latest-property-section .wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
    font-size: 16px;
}

.latest-property-section .wishlist-btn:hover {
    background: #2563eb;
    color: #ffffff;
    transform: scale(1.1);
}

.latest-property-section .wishlist-btn.active {
    background: #ef4444;
    color: #ffffff;
}

/* Price Badge */
.latest-property-section .price-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
}

/* Completed Badge */
.latest-property-section .completed-badge {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Card Body */
.latest-property-section .property-card-body {
    padding: 24px;
}

/* Property Title */
.latest-property-section .property-title {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.latest-property-section .property-title:hover {
    color: #2563eb;
}

/* Property Address */
.latest-property-section .property-address {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 16px;
}

.latest-property-section .property-address i {
    color: #2563eb;
}

/* Amenities */
.latest-property-section .property-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.latest-property-section .amenity-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 13px;
    color: #6b7280;
}

.latest-property-section .amenity-item i {
    color: #2563eb;
    font-size: 14px;
}

/* Investment Details */
.latest-property-section .investment-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.latest-property-section .detail-item {
    text-align: center;
    flex: 1;
}

.latest-property-section .detail-item:not(:last-child) {
    border-right: 1px solid #e5e7eb;
}

.latest-property-section .detail-value {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 4px;
}

.latest-property-section .detail-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Actions */
.latest-property-section .card-actions {
    display: flex;
    gap: 12px;
}

.latest-property-section .btn-invest {
    flex: 1;
    padding: 14px 24px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.latest-property-section .btn-invest:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.latest-property-section .btn-invest:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.latest-property-section .btn-contact {
    padding: 14px 24px;
    background: #ffffff;
    color: #2563eb;
    border: 2px solid #2563eb;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.latest-property-section .btn-contact:hover {
    background: #2563eb;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
    .latest-property-section .property-cards-wrapper {
        grid-template-columns: 1fr;
    }
    
    .latest-property-section .section-title {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .latest-property-section {
        padding: 60px 0;
    }
    
    .latest-property-section .section-title {
        font-size: 26px;
    }
    
    .latest-property-section .investment-details {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .latest-property-section .detail-item {
        flex: 1 1 30%;
    }
    
    .latest-property-section .detail-item:not(:last-child) {
        border-right: none;
    }
}
