/* Additional styles for centered neighborhood and amenities */
.text-center {
    text-align: center;
}

.clean-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-content h2 {
    margin-bottom: 15px;
    padding-right: 30px;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.close-modal:hover {
    color: #333;
}

/* Form styles in modal */
.modal-content #leasingForm {
    margin: 20px 0 0;
}

.modal-content .form-group {
    margin-bottom: 20px;
}

.modal-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="tel"],
.modal-content input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.modal-content input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.modal-content button[type="submit"] {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 20px;
    }
}


.clean-list li {
    margin: 1rem 0;
    line-height: 1.6;
}

.amenity-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.amenity-item:hover {
    transform: translateY(-5px);
}

.amenity-icon {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
}

.amenity-icon i {
    transition: transform 0.3s ease;
}

.amenity-item:hover .amenity-icon i:first-child {
    transform: translateX(-2px);
}

.amenity-item:hover .amenity-icon i:last-child {
    transform: translateX(2px);
}

.amenity-item h3 {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: #2c3e50;
}